Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Define AutoText for Multiple Lines of Code
#15
I write the following code, easy to read, and easy to maintain

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

imc :sub.imc
amc :sub.amc

#sub imc 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


#sub amc 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


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)