Posts: 37
Threads: 8
Joined: Sep 2013
04-20-2022, 09:10 AM
(This post was last modified: 04-20-2022, 09:15 AM by conanjou.)
hi, I test one code in QM, the code can work, it can push the bottom for other tool.
But if I make this code to exe file, it can not work, can you suggest me, thanks.
Macro [b]Macro2[/b] [help1][/help1]
int w=win("xxx " "ThunderRT6FormDC")
if w>0
,act w
,wait 2
,Acc a2.Find(w "PUSHBUTTON" "Read" "class=ThunderRT6CommandButton[]id=78" 0x1005)
,a2.DoDefaultAction
,wait 2
[/code]
Posts: 12,071
Threads: 140
Joined: Dec 2002
04-20-2022, 12:45 PM
(This post was last modified: 04-20-2022, 12:46 PM by Gintaras.)
Try to run the exe as administrator. Or run that tool program not as administrator.
Posts: 37
Threads: 8
Joined: Sep 2013