How I can EXTRACT several words ?

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
trinitrotoluen
Posts: 12
Joined: Fri Nov 28, 2008 6:46 pm

How I can EXTRACT several words ?

Post by trinitrotoluen » Mon Dec 01, 2008 7:58 pm

Code: Select all

VERSION BUILD=6101127 RECORDER=FX
TAB T=1
URL GOTO=https://mail.google.com/mail/#inbox
FRAME F=4
TAG POS=1 TYPE=SPAN ATTR=TXT:You<SP>are<SP>currently<SP>using<SP>0<SP>MB<SP>(0%)<SP>of<SP>your<SP>7268<SP>MB. EXTRACT=TXT
The macro above will extract "You are currently using 0 MB (0%) of your 7268 MB."
But I only want to extract "0 MB (0%)" and "7258 MB".
Plz help me !
dharmendra2000
Posts: 214
Joined: Fri Jul 04, 2008 1:28 pm
Location: Ahmedabad
Contact:

Re: How I can EXTRACT several words ?

Post by dharmendra2000 » Tue Dec 02, 2008 4:23 am

Extract text using iim, and use Java Script for string manipulation to get desired result
trinitrotoluen
Posts: 12
Joined: Fri Nov 28, 2008 6:46 pm

Re: How I can EXTRACT several words ?

Post by trinitrotoluen » Tue Dec 02, 2008 9:16 am

dharmendra2000 wrote:Extract text using iim, and use Java Script for string manipulation to get desired result
Thanks you, but can you do a example in this case, I'm not good at JS :|
Post Reply