iMacro script syntax highlighting in Notepad++ editor

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Re: iMacro script syntax highlighting in Notepad++ editor

by MattBell7 on Fri Dec 18, 2009 2:45 am

Thats the iMacros for Firefox plugin. It has a built in macro editor which performs the syntax colorising, without needing any other applications.

To create an xml file, create a new text document, and rename it to match the required file name (e.g. 'New Text Document.txt' to 'userDefineLang.xml')

As for the content of the xml file, you do not want the content of the image at the top. You want the content of the code block at the bottom of master_jaf's first post, put this, into the xml file, in the right location, and notepad++ will syntax colorise your macros.

Which plugin/version are you using that you cannot find the paths bit on?
MattBell7
 
Posts: 628
Joined: Thu Nov 26, 2009 4:07 am
Location: United Kingdom

Re: iMacro script syntax highlighting in Notepad++ editor

by RobotCow on Sat Mar 06, 2010 1:04 am

What editors are supported for iMacros with Firefox in Linux? It would be nice to see support for Vim or gVim and gedit.
RobotCow
 
Posts: 10
Joined: Thu Aug 06, 2009 7:23 am

Re: iMacro script syntax highlighting in Notepad++ editor

by Necross on Fri Mar 26, 2010 4:28 am

How can I change editor for viewing page source from notepad to notepad++ for imacros browser ? Changing paths in options only allows to view my macros in different editor but not the page source.
Necross
 
Posts: 6
Joined: Sat Mar 20, 2010 3:55 pm

Re: iMacro script syntax highlighting in Notepad++ editor

by poojamangal on Wed Jun 30, 2010 1:15 pm

Hi all

everybody is talking about the highlighting feature in Notepad++
But i am unable to see it.

Image

Please provide me guidelines.

Thanks ...
poojamangal
 
Posts: 2
Joined: Wed Jun 30, 2010 12:59 pm

Re: iMacro script syntax highlighting in Notepad++ editor

by poojamangal on Sun Jul 11, 2010 11:34 am

THNX FOR REPLYING.
ACTUALLY I WANT TO ASK THAT WHY HIGHLIGHTING FEATURE IS NOT WORKING FOR ME. AS YOU CAN SEE IN IMAGE FONT COLOR IS SAME FOR ALL. BUT WHEN I SEE TE FONT COLOR POSTED BY ANY OTHER, THEN FONT COLOR IS DIFFERENT. OPE SO, NOW YOU GET MY PROBLEM AND HELP ME TO SOLVE IT OUT.
poojamangal
 
Posts: 2
Joined: Wed Jun 30, 2010 12:59 pm

Re: iMacro script syntax highlighting in Notepad++ editor

by BrianR on Fri Jul 23, 2010 1:35 pm

I just upgraded to Version 7.

I am not sure if this is a bug, or I need to modify a setting.

My Macros are stored on a network drive "S:\ITS\ISDATA\Web Scraping\iMacros {Macros}"

The Macro I wish to modify is "Bank Detail.iim"

When I select Edit Macro using the NotePad++ Editor, I get the following Error:

Error1.png
Error1.png (6.08 KIB) Viewed 14223 times


Then,
Error2.png
Error2.png (6.84 KIB) Viewed 14223 times


It appears that when iMacros passes the path to NotePad++, there is an issue with spaces in the path.

Does anyone have any ideas on how to get around this?

Thank you,

Brian Rees
BrianR
 
Posts: 126
Joined: Wed Jun 11, 2008 9:13 am

Re: iMacro script syntax highlighting in Notepad++ editor

by brazoayeye on Mon Jan 03, 2011 4:04 am

On linux i'm using Gedit, which is the best?
brazoayeye
 
Posts: 30
Joined: Wed Jul 15, 2009 3:34 am

Re: iMacro script syntax highlighting in Notepad++ editor

by Chib on Tue Jan 04, 2011 2:47 am

RobotCow wrote:What editors are supported for iMacros with Firefox in Linux? It would be nice to see support for Vim or gVim and gedit.


See this thread for the syntax highlighting script I created for VIM/GVIM:
viewtopic.php?f=2&t=10677
Chib
 
Posts: 13
Joined: Tue Mar 03, 2009 8:56 pm

Re: iMacro script syntax highlighting in Notepad++ editor

by shellster on Thu Apr 07, 2011 10:17 am

I'm a little late to the party, but you should submit your syntax highlighting script to the cchris over in the notepad++ dev group so it can be added to their wiki of user defined languages. PM me if you want help.
shellster
 
Posts: 3
Joined: Thu Apr 07, 2011 10:13 am

Re: iMacro script syntax highlighting in Notepad++ editor

by leegold on Fri Nov 11, 2011 12:23 pm

Hi,

I took the notepad++ syntax file and tried to make it into a TextPad syntax file. I don't know the intricacies of it, I just tried to follow the pattern as laid out in the NP++ file. Maybe some one could improve it. It seems to work a bit. Name it imacros.syn and on my system it goes in C:\Program Files\TextPad 5\Samples, see the help in TP to make a new document class.

Code: Select all

; TextPad syntax file for Imacros, usally imm extension

C=1

[Syntax]
Namespace1 = 6
IgnoreCase = Yes
BracketChars=()
PreprocStart =
OperatorChars=*/+-><{}
SyntaxStart =
SyntaxEnd =
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment = '
SingleCommentCol = 1
StringStart = "
StringEnd = "
StringAlt =
StringEsc =
CharStart =
CharEnd =
CharEsc =

[Preprocessor keywords]

[Keywords 1]
ADD
ACK
CLEAR
CLICK
CMDLINE
DISCONNECT
DS
EXTRACT
FILEDELETE
FILTER
FRAME
IMAGECLICK
IMAGESEARCH
ONCERTIFICATEDIALOG
ONDIALOG
ONDOWNLOAD
ONERRORDIALOG
ONLOGIN
ONPRINT
ONSECURITYDIALOG
ONWE
PAGEDIALOG
PAUSE
PRINT
PROMPT
PROXY
REDIAL
REFRESH
SAVEAS
SET
SIZE
STOPWATCH
TAB
TAG
URL
VERSION
WAIT
WINCLICK

[Keywords 2]
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 3]
!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 4]
!COL



leegold
 
Posts: 8
Joined: Wed Oct 27, 2010 2:04 am

Re: iMacro script syntax highlighting in Notepad++ editor

by Jordinou on Sun Dec 11, 2011 6:06 am

coucou s'il vous plait
je suis français et j'aurai besoin d'aide de personne doué
j'aimerai faire une macro qui mette 20 coms par article sur skyrock mais le problème j'y arrive pas à faute de leur mise jour.
Voilà ce que j'ai fait
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog/ADD-COMMENT ATTR=ID:body CONTENT=01
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:addComment ATTR=NAME:create&&VALUE:Poster

erreur indiquer → RuntimeError: element * specified by ID:comment was not found, line: 1 (Error code: -921)
merci énormément

hello please
I am French and I shall need help of nobody endowed
I shall like making a macro which puts 20 comments by article on skyrock but the problem I arrive there not in for lack of their stake in the daytime.


That is what
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog/ADD-COMMENT ATTR=ID:body CONTENT=01
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:addComment ATTR=NAME:create&&VALUE:Poster

I was mistaken to indicate → RuntimeError: element * specified by ID:comment was not found, line: 1 (Error code: -921)
Thank you enormously
Jordinou
 
Posts: 8
Joined: Sun Dec 11, 2011 5:53 am

Re: iMacro script syntax highlighting in Notepad++ editor

by soma on Thu Aug 16, 2012 9:09 am

What about for Emacs?
soma
 
Posts: 33
Joined: Thu Aug 09, 2012 5:02 pm

Re: iMacro script syntax highlighting in Notepad++ editor

by i_macro_user on Mon Dec 03, 2012 4:55 am

Have you a file for syntax Highlighting for "Ultra Edit"?
iMacros 10, Windows 8 / 64, I use the iMacros Browser (not MSIE) - sometimes Firefox - every time the last version - 2014-12-10
i_macro_user
 
Posts: 71
Joined: Sun Dec 02, 2012 10:28 am

Re: iMacro script syntax highlighting in Notepad++ editor

by Thais on Mon Jan 14, 2013 6:25 am

Hi,

An idea for Smultron (for mac Users) .....

Thais
Mac Os : 10.6.8
Firefox : 46.0.1
iMacros for Firefox : 8.9.6
Thais
 
Posts: 37
Joined: Mon Sep 24, 2012 12:33 pm

Re: iMacro script syntax highlighting in Notepad++ editor

by stevenp on Thu Jul 04, 2013 1:17 am

The built-in editor is great for iim, how can I set to use external editor only for Javascript?
I would like to use Notepad++ for iim and SublimeText for js.
Thanks
stevenp
 
Posts: 16
Joined: Mon Jun 17, 2013 5:27 pm

PreviousNext

Return to General Support & Discussions

Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests

-->