my macro is taking ages to start after you hit the run button. i do have a timeout limit in the code set to 18.5 seconds, but i'm not sure if this means the macro will allocate those seconds before it actually starts.
u can see below the first thing it runs is the EXE file then clicks a button withing the EXE window, but when you hit the run button, it opens the EXE file, but then does nothing for about 20-25secs before doing the LCLICK part and moving thru the code.
not sure what the problem is, i've run it on 2 different machines and still getting the same problem. It doesn't seem like a big issue, but because i'm using this prog to manually save over 32000 files, an extra 20secs per file makes the process take a lot longer than it should.
any help is appreciated.
thanks
Code: Select all
//BlockInput>1
Let>k=1
Label>start
Let>WSI_TIMEOUT=18.5
ReadLn>c:\\\PP5\\\OpenMsgAttachment\\\MsgAttachmentIDs.txt,k,line
StringReplace>line, ,,tmpline
If>line=##EOF##,finish
run>C:\PP5\OpenMsgAttachment\OpenMsgAttachment.exe %tmpline%
WaitScreenImage>C:\PP5\OpenMsgAttachment\MsgProg.bmp,20
SetFocus>Open Pro-Planner MSG Attachment
MouseMove>410,343
lclick
WaitScreenImage>C:\PP5\OpenMsgAttachment\button.bmp,20
//SetFocus>Message*
wait>2.5