in the lines after the "PostMessage" command will set the searchpath to c:\ and go back to the search for field.
Of course you'll have to recompile the script. But if you want to modify the script I recommend to associate the AHK extension to Autohotkey. Thus you can run the script and test if it works without conpiling each and every time.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
I guess that is what Raymond is interested in: The different syntax (to send a command to TC).
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
I want to send cm_MoveOnly to TC, and when Move diaglogbox comes up, press BACKSPACE key to delete the pre_filled filename. But "Send" function doesn't work. The Move diaglogbox simply stop there. Did I miss something?
It's supposed to unpack each archive to a separate subdir in the current folder. But when Pack dialog appears, the script simply hold on there. The interesting thing is, if you cancel the dialog and make it appear again, the rest of the script will go on and work fine.
What can I do to deal with this?
2Raymond
You should try PostMessage instead. The difference is, that SendMessage waits for the result, PostMessage returns immediately without waiting. It is possible, that AI3 has problems with the synchronous SendMessage call.
I switched to Linux, bye and thanks for all the fish!
SanskritFritz wrote:2Raymond
You should try PostMessage instead. The difference is, that SendMessage waits for the result, PostMessage returns immediately without waiting. It is possible, that AI3 has problems with the synchronous SendMessage call.
But as you know, there is no PostMessage in AutoIt3.
Is there any other way?