Page 3 of 4

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Sun Sep 22, 2013 4:28 pm
by zenoGlitch
Here is a quick tutorial for mac users wishing to add in syntax highlighting to text wrangler ... http://www.ogre3d.org/tikiwiki/tiki-ind ... xtWrangler

Would be nice if iOpus provided the needed xml files for the conversion ;)

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Wed Mar 05, 2014 7:19 pm
by artistdedigital
This works so good...Thanks a lot...cheers... :mrgreen:

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Tue Mar 18, 2014 11:40 am
by petr
Is there any syntax highlighting for Sublime Text 3?

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Tue Mar 18, 2014 3:33 pm
by chivracq
petr wrote:Is there any syntax highlighting for Sublime Text 3?


Short Answer: I don't think so...

Longer Answer: I was about to install Sublime Text 3 a few weeks ago (because, as I've mentioned in some other Thread, the iMacros Editor is very-very slow with long Scripts (4000+ Lines) when doing extensive Find&Replace (10 sec per Item) on a PC with little RAM (512Mb), but I got another Laptop with more RAM and I can work with it, so I didn't install ST3 in the end...).

But I remember that Syntax Highlighting for iMacros was the first thing I checked with ST3 and it was not supported but I remember having a look at how the customized Language Syntax Files work and thinking that it wouldn't be difficult to port the Syntax File for Notepad++ to ST3.

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Wed Mar 26, 2014 2:14 pm
by petr
Thanks chivracq for your answer. I'll try to see if I can make syntax highlighting in ST3 work using your suggestion, importing the syntax file from Notepad++, maybe I'll get it to work.

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Wed Jul 16, 2014 11:05 pm
by rdavidson1911
Wow! This is a really great tool. I cannot wait to being using it. Thank you for creating it. Hopefully one day I can return the favor. :D

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Sat Aug 16, 2014 1:47 am
by Withful
This is a very interesting article. The information is well researched and highly
informative. I love the way the topic are choose. They are so useful in our
day to day life.By the way, I found this post shared on www.toptrafficsafty.com/ . took the licence and made a couple of minor edits in your file.

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Mon May 11, 2015 11:32 am
by JonnyDee
petr wrote:Thanks chivracq for your answer. I'll try to see if I can make syntax highlighting in ST3 work using your suggestion, importing the syntax file from Notepad++, maybe I'll get it to work.



Im just getting into the ST environment .... did you create the setup to use iMacros sytax highlighting with it?

IF yes, please share ... :wink:

TIA!
Jon

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Mon May 18, 2015 1:20 pm
by Cobra99
Does anyone have a current iMacros colour scheme for Notepad++?

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Tue May 19, 2015 9:25 am
by chivracq
Cobra99 wrote:Does anyone have a current iMacros colour scheme for Notepad++?

I think this the one I was using 2 years ago with Notepad++:
Code: Select all
<NotepadPlus>
    <UserLang name="iMacros" ext="IIM" udlVersion="2.0">
        <Settings>
            <Global caseIgnored="no" allowFoldOfComments="no" forceLineCommentsAtBOL="no" foldCompact="no" />
         <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="yes" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments" id="0">1 1 2 2 0&apos;</Keywords>
            <Keywords name="Numbers, additional" id="1"></Keywords>
            <Keywords name="Numbers, prefixes" id="2"></Keywords>
            <Keywords name="Numbers, extras with prefixes" id="3"></Keywords>
            <Keywords name="Numbers, suffixes" id="4"></Keywords>
            <Keywords name="Operators1" id="5">{ } + &lt; = &gt;</Keywords>
            <Keywords name="Operators2" id="6">&& *</Keywords>
            <Keywords name="Folders in code1, open" id="7"></Keywords>
            <Keywords name="Folders in code1, middle" id="8"></Keywords>
            <Keywords name="Folders in code1, close" id="9"></Keywords>
            <Keywords name="Folders in code2, open" id="10"></Keywords>
            <Keywords name="Folders in code2, middle" id="11"></Keywords>
            <Keywords name="Folders in code2, close" id="12"></Keywords>
            <Keywords name="Folders in comment, open" id="13"></Keywords>
            <Keywords name="Folders in comment, middle" id="14"></Keywords>
            <Keywords name="Folders in comment, close" id="15"></Keywords>
            <Keywords name="Keywords1" id="16">ADD BACK CLEAR CLICK CMDLINE DISCONNECT DS EXTRACT
            FILEDELETE FILTER FRAME IMAGECLICK IMAGESEARCH ONCERTIFICATEDIALOG ONDIALOG ONDOWNLOAD
            ONERRORDIALOG ONLOGIN ONPRINT ONSECURITYDIALOG ONWEBPAGEDIALOG PAUSE PRINT PROMPT PROXY
            REDIAL REFRESH SAVEAS SET SIZE STOPWATCH TAB TAG URL VERSION WAIT WINCLICK</Keywords>
            <Keywords name="Keywords2" id="17">OPEN CLOSE GOTO T POS TYPE FORM ATTR CONTENT BUILD
            RECORDER EXTRACT CLOSEALLOTHERS FOLDER FILE CLICK X Y CMD STATUS F IMAGE CONFIDENCE
            C BUTTON CONTINUE USER PASSWORD KEYS ADDRESS BYPASS ISP ID SECONDS</Keywords>
            <Keywords name="Keywords3" id="18">!DATASOURCE !DATASOURCE_COLUMNS !DATASOURCE_LINE
            !DIALOGMANAGER !ENCRYPTION !ERRORIGNORE !ERRORMACRO !EXTRACT !EXTRACT_TEST_POPUP
            !EXTRACTADD !EXTRACTDIALOG !FILELOG !FILESTOPWATCH !FOLDERIMACROS !IMAGEX !IMAGEY
            !LOADCHECK !LOOP !MACROTIMEOUT !NOW !POINTER !REPLAYSPEED !SINGLESTEP !STOPWATCHTIME
            !TIMEOUT !URLCURRENT !URLSTART !USERAGENT !VAR1 !VAR2 !VAR3 !VARDEFAULT</Keywords>
            <Keywords name="Keywords4" id="19">!COL</Keywords>
            <Keywords name="Keywords5" id="20"></Keywords>
            <Keywords name="Keywords6" id="21"></Keywords>
            <Keywords name="Keywords7" id="22"></Keywords>
            <Keywords name="Keywords8" id="23"></Keywords>
            <Keywords name="Delimiters" id="24">000000</Keywords>
        </KeywordLists>
      <Styles>
            <WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="COMMENTS" styleID="1" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="LINE COMMENTS" styleID="2" fgColor="008000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="NUMBERS" styleID="3" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS1" styleID="4" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS2" styleID="5" fgColor="FF0000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS3" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS4" styleID="7" fgColor="8000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS5" styleID="8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS6" styleID="9" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS7" styleID="10" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS8" styleID="11" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="OPERATORS" styleID="12" fgColor="008800" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN CODE1" styleID="13" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN CODE2" styleID="14" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN COMMENT" styleID="15" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS1" styleID="16" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS2" styleID="17" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS3" styleID="18" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS4" styleID="19" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS5" styleID="20" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS6" styleID="21" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS7" styleID="22" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS8" styleID="23" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
        </Styles>
    </UserLang>
</NotepadPlus>

Save it as a .XML File... (I had customized it..., but I don't have Notepad++ installed anymore (other PC since), so I cannot check its Content...) I've been using the Standard Editor with iMacros for FF since, and sometimes the one that comes with iMacros for IE... and I did install ST3 a few months ago but didn't really dig into it nor really use it...

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Wed Aug 05, 2015 8:48 pm
by AdaBrown
Thanks for the tutorial, especially for the important part.

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Thu Jul 14, 2016 3:18 pm
by serbeer
Does anyone has iim syntax highlighting file for UltraEdit folks? If so, please post.
Thanks!

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Tue Aug 16, 2016 7:51 am
by chivracq
serbeer wrote:Does anyone has iim syntax highlighting file for UltraEdit folks? If so, please post.
Thanks!

I don't know how UltraEdit works but here is the "raw" Content of my "personal" 'Notepad++ iMacros UDL.xml' File I was using when I was using Notepad++ (pfff, quite a few years ago now, I switched to the iMacros Internal Editor around iMacros for FF v8.x or v8.3.x I think, as the EVENT Mode Keywords/Commands are missing, you'll need to add them yourself...).

Notepad++ iMacros UDL.xml:
Code: Select all
<NotepadPlus>
    <UserLang name="iMacros" ext="IIM" udlVersion="2.0">
        <Settings>
            <Global caseIgnored="no" allowFoldOfComments="no" forceLineCommentsAtBOL="no" foldCompact="no" />
         <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="yes" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments" id="0">1 1 2 2 0&apos;</Keywords>
            <Keywords name="Numbers, additional" id="1"></Keywords>
            <Keywords name="Numbers, prefixes" id="2"></Keywords>
            <Keywords name="Numbers, extras with prefixes" id="3"></Keywords>
            <Keywords name="Numbers, suffixes" id="4"></Keywords>
            <Keywords name="Operators1" id="5">{ } + &lt; = &gt;</Keywords>
            <Keywords name="Operators2" id="6">&& *</Keywords>
            <Keywords name="Folders in code1, open" id="7"></Keywords>
            <Keywords name="Folders in code1, middle" id="8"></Keywords>
            <Keywords name="Folders in code1, close" id="9"></Keywords>
            <Keywords name="Folders in code2, open" id="10"></Keywords>
            <Keywords name="Folders in code2, middle" id="11"></Keywords>
            <Keywords name="Folders in code2, close" id="12"></Keywords>
            <Keywords name="Folders in comment, open" id="13"></Keywords>
            <Keywords name="Folders in comment, middle" id="14"></Keywords>
            <Keywords name="Folders in comment, close" id="15"></Keywords>
            <Keywords name="Keywords1" id="16">ADD BACK CLEAR CLICK CMDLINE DISCONNECT DS EXTRACT
            FILEDELETE FILTER FRAME IMAGECLICK IMAGESEARCH ONCERTIFICATEDIALOG ONDIALOG ONDOWNLOAD
            ONERRORDIALOG ONLOGIN ONPRINT ONSECURITYDIALOG ONWEBPAGEDIALOG PAUSE PRINT PROMPT PROXY
            REDIAL REFRESH SAVEAS SET SIZE STOPWATCH TAB TAG URL VERSION WAIT WINCLICK</Keywords>
            <Keywords name="Keywords2" id="17">OPEN CLOSE GOTO T POS TYPE FORM ATTR CONTENT BUILD
            RECORDER EXTRACT CLOSEALLOTHERS FOLDER FILE CLICK X Y CMD STATUS F IMAGE CONFIDENCE
            C BUTTON CONTINUE USER PASSWORD KEYS ADDRESS BYPASS ISP ID SECONDS</Keywords>
            <Keywords name="Keywords3" id="18">!DATASOURCE !DATASOURCE_COLUMNS !DATASOURCE_LINE
            !DIALOGMANAGER !ENCRYPTION !ERRORIGNORE !ERRORMACRO !EXTRACT !EXTRACT_TEST_POPUP
            !EXTRACTADD !EXTRACTDIALOG !FILELOG !FILESTOPWATCH !FOLDERIMACROS !IMAGEX !IMAGEY
            !LOADCHECK !LOOP !MACROTIMEOUT !NOW !POINTER !REPLAYSPEED !SINGLESTEP !STOPWATCHTIME
            !TIMEOUT !URLCURRENT !URLSTART !USERAGENT !VAR1 !VAR2 !VAR3 !VARDEFAULT</Keywords>
            <Keywords name="Keywords4" id="19">!COL</Keywords>
            <Keywords name="Keywords5" id="20"></Keywords>
            <Keywords name="Keywords6" id="21"></Keywords>
            <Keywords name="Keywords7" id="22"></Keywords>
            <Keywords name="Keywords8" id="23"></Keywords>
            <Keywords name="Delimiters" id="24">000000</Keywords>
        </KeywordLists>
      <Styles>
            <WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="COMMENTS" styleID="1" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="LINE COMMENTS" styleID="2" fgColor="008000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="NUMBERS" styleID="3" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS1" styleID="4" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS2" styleID="5" fgColor="FF0000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS3" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS4" styleID="7" fgColor="8000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS5" styleID="8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS6" styleID="9" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS7" styleID="10" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS8" styleID="11" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="OPERATORS" styleID="12" fgColor="008800" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN CODE1" styleID="13" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN CODE2" styleID="14" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN COMMENT" styleID="15" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS1" styleID="16" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS2" styleID="17" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS3" styleID="18" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS4" styleID="19" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS5" styleID="20" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS6" styleID="21" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS7" styleID="22" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS8" styleID="23" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
        </Styles>
    </UserLang>
</NotepadPlus>


And I'll attach it to this Thread...

Hum, yep, it's pretty old indeed, many Commands are missing. like most '!TIMEOUT_xxx' Commands for example I notice..., but that's already a good starting point, I would think...
Re-upload your Version to the Thread once you'll have completed it, that could be useful for other Users...

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Tue Aug 30, 2016 3:28 pm
by Lightja
Just want to express my gratitude to those who built these .xml files. Great work!

Also, for anyone using Windows 10, your userDefineLang.xml file can be found at "C:\Users\Username\AppData\Roaming\Notepad++"

Re: iMacro script syntax highlighting in Notepad++ editor

Posted: Thu Sep 01, 2016 9:53 am
by chivracq
Lightja wrote:Just want to express my gratitude to those who built these .xml files. Great work!

Also, for anyone using Windows 10, your userDefineLang.xml file can be found at "C:\Users\Username\AppData\Roaming\Notepad++"

You're welcome,ah-ah...!
But mine is a bit old already, I switched around v8.0/3 which must be some 5 years ago to the iMacros Editor (for FF) and didn't maintain it anymore...

Hum, a bit surprised btw not to get any Reaction from @serbeer who was asking for a working XML Sample...!? :shock: