Code to use??

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
Posts: 1
Joined: Fri Aug 29, 2014 6:22 pm

Code to use??

Post by enricopal » Fri Aug 29, 2014 6:29 pm

Hi all, i have to register a macro to copy and paste only this red code: <span style="color: #fdc139;">TopAp8jy73k2cmkb</span><br/>
but it always change so..There is a macro code to copy some text unconditionally from which it is ?? Replacing code whit asterisks for example??
Thanks :)
Posts: 108
Joined: Wed Aug 20, 2008 8:14 am

Re: Code to use??

Post by skippyto » Mon Sep 01, 2014 8:31 am

Hi enricopal,

In iMacros * character replace zero or more undefined characters ( :

Code: Select all

If your span is always at the same position, you can use POS=[span position] to always extract the good one.

You can also use the attribute style of your span tag to have a closer identification, like this :

Code: Select all

Post Reply