Can imacros open and edit html files?

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
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
Post Reply
User avatar
322126384
Posts: 32
Joined: Sat Jul 23, 2011 1:39 am

Can imacros open and edit html files?

Post by 322126384 » Fri Aug 12, 2011 1:47 pm

Is it possible for imacros to open a editable html file (open in Notepad) and save data from the !EXTRACT command onto the html and save it? i would like to do this but i don't know how. Please Help!

kind of like this:

Code: Select all

TAB CLOSEALLOTHERS
TAG POS=1 TYPE=P ATTR=TXT:*"Text"* EXTRACT=TXT
'open .html in Notepad
'take the value of !EXTRACT and paste it on page
'save the .html
'open .html in Firefox
SET !EXTRACT NULL
SEARCH SOURCE=REGEXP:"([0-9]{1,2})" EXTRACT=$1
TAG POS=1 TYPE=P ATTR=TXT:{{!EXTRACT}} CONTENT=EVENT:FAIL_IF_FOUND
-322126384
MattBell7
Posts: 627
Joined: Thu Nov 26, 2009 11:07 am
Location: United Kingdom

Re: Can imacros open and edit html files?

Post by MattBell7 » Fri Aug 12, 2011 3:07 pm

no, iMacros cannot open a file in Notepad, it controls your browser, not your computer. if you want to get even close to that, you'll need to use the scripting interface to open your file in notepad and add the text.
Post Reply