01-12-2017, 02:46 AM
Use the following VB code can run successfully, but can only run on the iMacros browser, if I want to generate QM exe, in other computers how to run it? do not install iMacros can run it? I found iMacros, do not need to install can also be used directly, like portable software, but how to call it in the EXE file? thank you very much!
Macro Macro1
Trigger SF9
Macro Macro1
Trigger SF9
str code=
;Dim macro
;macro = "VERSION BUILD=11.5.498.2403" + vbNewLine
;macro = macro + "TAB T=1" + vbNewLine
;macro = macro + "TAB CLOSEALLOTHERS" + vbNewLine
;macro = macro + "SET !PLAYBACKDELAY 0.2" + vbNewLine
;macro = macro + "URL GOTO=http://www.google.com/" + vbNewLine
;macro = macro + "TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:word CONTENT=ttkx" + vbNewLine
;macro = macro + "TAG POS=1 TYPE=INPUT:SUBMIT ATTR=ID:su" + vbNewLine
;macro = macro + "TAG POS=1 TYPE=A ATTR=TXT:TTKX<SP>|<SP>wait for you" + vbNewLine
;macro = macro + "'New tab opened" + vbNewLine
;macro = macro + "TAB T=2" + vbNewLine
;status = iim.iimPlayCode(macro)
VbsExec code
5
int w=win("iMacros Browser V11.5.498.2403" "*.Window.*")
lef 1350 12 w ;;push button 'Close'