Monk Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

NPP for iMacros

2 posters

Go down

NPP for iMacros  Empty NPP for iMacros

Post by lessigfan August 11th 2011, 1:32 am

I don't know how many of you are using iMacros to manage multiple alts, I know at least two guys are besides myself, but I thought I'd share some advice. I'd used Notepad++ for some coding before, since you can plug in compilers, but it is amazing for iMacros stuff too.

  • You can set it as a default editor, instead of the useless built-in one
  • You can set it up to do iMacro syntax highlighting (tutorial*) to catch errors and let you write code instead of just recording
  • You can record notepad++ macros that make modifying lots of lines easily
  • Find (Ctrl-F) lets you replace one line at a time, and Find/Replace (Ctrl-R) lets you do find/replace for entire sections and does partial regex
  • When you start it up, it re-opens your text files from last time
  • You can search/find/replace across multiple files
I can't tell you how many other features there are, it makes everything much more pleasant. Give it a look.

* The "userDefineLang.xml" text in the link only covers upper case stuff. I redid it to include lower case as well, here it is below:

Code:
<NotepadPlus>
    <UserLang name="IIM" ext="IIM">
        <Settings>
            <Global caseIgnored="no" />
            <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix words1="no" words2="no" words3="no" words4="yes" />
        </Settings>
        <KeywordLists>
            <Keywords name="Delimiters">000000</Keywords>
            <Keywords name="Folder+"></Keywords>
            <Keywords name="Folder-"></Keywords>
            <Keywords name="Operators">{ } + < = ></Keywords>
            <Keywords name="Comment">1 1 2 2 0'</Keywords>
            <Keywords name="Words1">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  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="Words2">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 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="Words3">!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 !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="Words4">!COL</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF"
fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="800000" bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="8000FF" bgColor="FFFFFF"
fontName="" fontStyle="2" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="8000FF" bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="000000" bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF"
fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF"
fontName="" fontStyle="0" />
        </Styles>
    </UserLang>
</NotepadPlus>

lessigfan
Retired General
Retired General

Number of posts : 3477
High Path or Class : Inquisitor
Avatar URL : My Profile
Headshot : NPP for iMacros  41152

Back to top Go down

NPP for iMacros  Empty Re: NPP for iMacros

Post by Howie Feltersnatch August 11th 2011, 2:06 pm

What exactly is that code?

Howie Feltersnatch
Retired Lieutenant General
Retired Lieutenant General

Number of posts : 2900
High Path or Class : Berserker
Avatar URL : Estiah
Headshot : Estiah

Back to top Go down

NPP for iMacros  Empty Re: NPP for iMacros

Post by lessigfan August 11th 2011, 6:09 pm

The code lets N++ do iMacro syntax highlighting. This is from the link I posted:

1. Of course, first you need to install the Notepad++ editor. Homepage: http://notepad-plus.sourceforge.net/

2. Look for a file "userDefineLang.xml" in example: c:\Documents and Settings\USERNAME\Application Data\Notepad++\userDefineLang.xml (on XP) or c:\Users\USERNAME\AppData\Roaming\Notepad++\userDefineLang.xml (on Vista)

3. If this file does not exists, create it and paste in the xml code
OR
3. If the file exists, edit it and paste in the full xml content.

4. Go to iMacro Settings -> Paths -> External Editor and point it to "notepad++.exe" (usually it is c:\program files\notepad++\notepad++.exe)

Thats it !

Important: If you already defined your own user defined language, than you have to merge the xml contents manually, cause Notepad++ does not support such imports right now. Exclamation

lessigfan
Retired General
Retired General

Number of posts : 3477
High Path or Class : Inquisitor
Avatar URL : My Profile
Headshot : NPP for iMacros  41152

Back to top Go down

NPP for iMacros  Empty Re: NPP for iMacros

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum