I figured out how to link AHK to Imacros and wanted to make sure that the information got out there.
Try:
Run <!-- m -->http://run.imacros.net/?m=yourfile.iim<!-- m -->
Also,
When you send that command to AHK, the browser is going to open it up in a new window which is great if that's what you want. If you just want it to flip tabs for you and input one liners, then delete in imacros the call to open tab and run the program:
(When testing be sure to open up an extra tab. This is going to compensate for the opening of the tab when you run the .iim file.)delete this:
TAB T=1
URL GOTO=http://www.autohotkey.com/forum/posting.php?mode=newtopic&f=2
replace with:
TAB Close
I use these as Web Modules. AHK is a great program and can call programs and address quickly, (as well as many more complex tasks),
it does a great job as a controller and with Gui is great at helping the user decide on what 'hotkey' they want to activate.
In the Gui, you can write:
User Selection Interface (barebones) Gui, new Gui, Add, Button, ChoiceA Gui, Add, Button, ChoiceB Gui, Add, Button, ChoiceC ;lets say option c is your escalation form and you need a new .iim to fill that Gui, show GuiClose: ExitApp ButtonChoiceA WinActivate My webforms name ;Assuming Scheduler is Web-based Run http://run.imacros.net/?m=yourformautofillfile.iim ;flips tabs and inputs Return ButtonChoiceB WinActivate My webforms name Run http://run.imacros.net/?m=yourformautofillfile.iim Return ButtonChoiceC WinActivate My escalation webforms name Run http://run.imacros.net/?m=yourescalationautofill.iim Sleep, 200 Run http://run.imacros.net/?m=senturgentattentionfax/email.iim Return