Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Define AutoText for Multiple Lines of Code
#6
Use the Text dialog to create the AutoText item. Paste the multiline text, select Paste, click OK. Then replace "text".

Code:
Copy      Help
imc :"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)"

If want visual multiple lines, in the dialog check Multiline.

Code:
Copy      Help
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)