Like this question: Automate GUI tasks?
I'm asking for a way to automate GUI tasks. I understand that those 2 apps are what's used for that sort of stuff, but those 2 apps are hard to use.
OK, here's my script attempt using autoscript writer II:
I first open up the app, then open a file using the app. I believe this part is opening the file and then double clicking on it:
Clicking the open button
MouseClick, left, 63, 100
Sleep, 100
WinWait, Open,
IfWinNotActive, Open, , WinActivate, Open,
WinWaitActive, Open,
Double clicking to select file:
MouseClick, left, 144, 111
MouseClick, left, 144, 111
I need for the above portion of the script to select the next file for each iteration.
Then it does stuff in the app:
WinWait, App Unicode,
IfWinNotActive, App Unicode, , WinActivate, App Unicode,
WinWaitActive, App Unicode,
MouseClick, left, 304, 459
Sleep, 100
MouseClick, left, 405, 467
Sleep, 100
MouseClick, left, 219, 133
Sleep, 100
And then saves it:
WinWait, Save As,
IfWinNotActive, Save As, , WinActivate, Save As,
WinWaitActive, Save As,
MouseClick, left, 527, 366
Sleep, 100
The app open window goes directly to a folder with all my files in it. I just need to open up each file in turn with autohotkey.
Thanks!