Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Define AutoText for Multiple Lines of Code
#8
I follow the above method, create a new AutoText (amc) but the code can not run, where the error? thank you very much

Autotext Autotext
Trigger $t     Help - how to add the trigger to the macro
Code:
Copy      Help
/b/i/c/p3

imc :sub.Sub1

#sub Sub1 m
_s=
;IDispatch iim._create("iMacros")
;int status=iim.iimOpen("")
;str macro
;
;macro=
;;VERSION BUILD=7500718 RECORDER=FX
;;TAB T=1
;;URL GOTO=http://demo.imacros.net/Automate/Filter
;status=iim.iimPlayCode(macro)
;
;mes "press ok to next"
;
;macro=
;;TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=NAME:textfield CONTENT="Image Filter"
;status=iim.iimPlayCode(macro)
paste _s


amc :sub.Sub2

#sub Sub2 m
_s2=
;IDispatch iim._create("iMacros")
;int status=iim.iimOpen("")
;str macro
;
;macro=
;;VERSION BUILD=7500718 RECORDER=FX
;;TAB T=1
;;URL GOTO=http://demo.imacros.net/Automate/Filter
;status=iim.iimPlayCode(macro)
;
;mes "press ok to next"
;
;macro=
;;TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=NAME:textfield CONTENT="Image Filter"
;status=iim.iimPlayCode(macro)
paste _s2


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)