08-30-2022, 01:59 PM
In function AutoInputDialog:
Also can leave the text in the clipboard, in case the function fails to paste or send keys.
In PasteAutoInputDialog, insert before paste s:
opt clip 1
In KeyAutoInputDialog, insert before key (s):
s.setclip
int wActive=win
int wFocus=child
if(!ShowDialog(dd 0 &c[0])) end
act wActive; err
act wFocus; err
Also can leave the text in the clipboard, in case the function fails to paste or send keys.
In PasteAutoInputDialog, insert before paste s:
opt clip 1
In KeyAutoInputDialog, insert before key (s):
s.setclip