Specifically, I am manually dragging the files from Windows Explorer to the open PhraseExpress window (into a particular folder), using the mouse. When the start-import dialog opens, I then call a Macro Scheduler macro to do simple key-presses that iterate through the multiple dialogs--one per imported file.
Code: Select all
Let>i=iTotalFiles
Repeat>i
Press Page Down
Wait>iWaitSameFocus
Press Up //Desc-Content-Autotext
Wait>iWaitSameFocus
Press Tab
Wait>iWaitSameFocus
Press Tab //Tab is the delimiter
Wait>iWaitSameFocus
Press Enter
Wait>iWaitNewFocus
Press Left //Import dups
Wait>iWaitSameFocus
Press Enter
Wait>iWaitNewFocus
Let>i=i-1
MessageModal>%i% more to go
Until>i<1
I realize that one macro program automating another may be pushing the envelope, but I'm only using it when the PhraseExpress editor is open, meaning that it's not listening to keystrokes.
I'm not sure where to start. I've tried explicitly focusing on the Window, as well as just finding the window via image detection and then clicking on the title bar (which is the center on the image I'm searching for) with the mouse, but although I can see the mouse moving and clicking the correct spot, neither is making a difference.
I would greatly appreciate a bit of advice here. Thank you.