Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

iMacros help

Name: Anonymous 2010-01-18 14:04

I was working on a macro to guess this particular code:
CowBoyBeebopXvj5ks21o73kdp4if9md5jp47???? (number, letter, letter, number)

The macro is done in imacro.
For my macro I have a file in datasources folder called input.txt. It has a copy of every possible combination, like this:
[iOpus]
name0=0
name1=0aa0
name2=0ab0
name3=0ac0

My code is:
SET !DATASOURCE input.txt
SET !VAR1 CowBoyBeebopXvj5ks21o73kdp4if9md5jp47{{name!LOOP}}
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regf ATTR=ID:register_username CONTENT={{!VAR1}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:regf ATTR=NAME:Submit&&VALUE:I<SP>agree<SP>-<SP>continue<SP>sign<SP>
;up
wait seconds=1

However the string it actually inputs is: CowBoyBeebopXvj5ks21o73kdp4if9md5jp47__undefined__

Question is:  How do I get it to put out the string as you may have guessed I want it being output like?

Name: Anonymous 2010-01-18 18:48

>>10
Thank you for attempting; however it still returns CowBoyBeebopXvj5ks21o73kdp4if9md5jp47__undefined_

That is the reason I put the string into a variable; to see if I could debug it.

If I run
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regf ATTR=ID:register_username CONTENT={{!LOOP}}
It returns whatever the !LOOP variable is.

As soon as I make it
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regf ATTR=ID:register_username CONTENT={{name!LOOP}}
the undefined output is given.

Testing with concatenation:
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regf ATTR=ID:register_username CONTENT=test{{!LOOP}}
This will return the string "test1" where !LOOP = 1.

This leads me to believe I have made an error in the input.txt
If I did make a error with the file iMacros would bring it up.
When there is no file it tells me.  The document conforms to the standards given at http://wiki.imacros.net/Form_Filling#Input_from_List_of_Variables_File

When this code is attempted
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regf ATTR=ID:register_username CONTENT={{name!LOOP}}
The same undefined error occurs.

I reduced the size of my file to have only 3 entries, name1=test, name2=hello and name3=bye
The same error.

This leads me to believe that {{name!LOOP}} isn't been treated as their website leads me to believe.  I believe it is being treated as if the variable name was name!LOOP instead of changing !LOOP to the value of !LOOP

Unless there is something I've looked over and missed, I don't believe I am wrong.  Unless anyone is able to show me where I think I'll have to contact the producers of iMacro's.

Name: Anonymous 2010-01-18 19:00

>>12
what browser are you using? from the documentation it appears as though this functionality is only supported in the IE version.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List