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.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
MattBell7
Posts: 627
Joined: Thu Nov 26, 2009 11:07 am
Location: United Kingdom

Re: iMacro script syntax highlighting in Notepad++ editor

Post by MattBell7 » Fri Dec 18, 2009 9: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?
RobotCow
Posts: 10
Joined: Thu Aug 06, 2009 2:23 pm

Re: iMacro script syntax highlighting in Notepad++ editor

Post by RobotCow » Sat Mar 06, 2010 8: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.
Necross
Posts: 6
Joined: Sat Mar 20, 2010 10:55 pm

Re: iMacro script syntax highlighting in Notepad++ editor

Post by Necross » Fri Mar 26, 2010 11: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.
poojamangal
Posts: 2
Joined: Wed Jun 30, 2010 7:59 pm

Re: iMacro script syntax highlighting in Notepad++ editor

Post by poojamangal » Wed Jun 30, 2010 8: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 7:59 pm

Re: iMacro script syntax highlighting in Notepad++ editor

Post by poojamangal » Sun Jul 11, 2010 6:34 pm

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.
BrianR
Posts: 126
Joined: Wed Jun 11, 2008 4:13 pm

Re: iMacro script syntax highlighting in Notepad++ editor

Post by BrianR » Fri Jul 23, 2010 8: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 93222 times
Then,
Error2.png
Error2.png (6.84 KiB) Viewed 93222 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
brazoayeye
Posts: 30
Joined: Wed Jul 15, 2009 10:34 am

Re: iMacro script syntax highlighting in Notepad++ editor

Post by brazoayeye » Mon Jan 03, 2011 11:04 am

On linux i'm using Gedit, which is the best?
Chib
Posts: 13
Joined: Wed Mar 04, 2009 3:56 am

Re: iMacro script syntax highlighting in Notepad++ editor

Post by Chib » Tue Jan 04, 2011 9: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:
http://forum.imacros.net/viewtopic.php?f=2&t=10677
shellster
Posts: 3
Joined: Thu Apr 07, 2011 5:13 pm

Re: iMacro script syntax highlighting in Notepad++ editor

Post by shellster » Thu Apr 07, 2011 5:17 pm

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.
leegold
Posts: 8
Joined: Wed Oct 27, 2010 9:04 am

Re: iMacro script syntax highlighting in Notepad++ editor

Post by leegold » Fri Nov 11, 2011 7: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



Jordinou
Posts: 8
Joined: Sun Dec 11, 2011 12:53 pm

Re: iMacro script syntax highlighting in Notepad++ editor

Post by Jordinou » Sun Dec 11, 2011 1:06 pm

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
soma
Posts: 33
Joined: Fri Aug 10, 2012 12:02 am

Re: iMacro script syntax highlighting in Notepad++ editor

Post by soma » Thu Aug 16, 2012 4:09 pm

What about for Emacs?
i_macro_user
Posts: 76
Joined: Sun Dec 02, 2012 5:28 pm

Re: iMacro script syntax highlighting in Notepad++ editor

Post by i_macro_user » Mon Dec 03, 2012 11:55 am

Have you a file for syntax Highlighting for "Ultra Edit"?
Hum ... Only professional answers are helpful
Hum ... No complete quotations - limit to the essentials
Hum ... Can we get along in this forum without personal attacks?
Hum ... I use automatic translations
Yes ... I am iMacros beginners :-)
Thais
Posts: 39
Joined: Mon Sep 24, 2012 7:33 pm

Re: iMacro script syntax highlighting in Notepad++ editor

Post by Thais » Mon Jan 14, 2013 1:25 pm

Hi,

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

Thais
Mac Os : 10.13.3 (17D102)
Firefox : 48.0.2
iMacros for Firefox : 8.9.7
stevenp
Posts: 16
Joined: Tue Jun 18, 2013 12:27 am

Re: iMacro script syntax highlighting in Notepad++ editor

Post by stevenp » Thu Jul 04, 2013 8: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
Post Reply