iMacro Help Desk



The war chest thread is for code, not for macros.

Most of us are using the free version of iMacros. There are tons of macro programs, few of them are free, and even less have the browser based capacities iMacros does.

You've dropped the MacroMachine link almost a half dozen times this week. We get it. Big deal. What is the difference from AutoIt which is also free? You probably dont know, and yet you keep asking the same question as though our silence isn't answer enough.

If you are using iMacros to save 15 minutes, it's not that valuable. I use it to save dozens of hours each week. Setting up 1 or 5 blogs by hand doesn't take a long time unless you have a very low level of technical proficiency. Setting up 1000 by hand takes a long time for anyone. That is where iMacros provides a large benefit. I can create a macro in 10 minutes that will do 20 hours of my work.
 
The war chest thread is for code, not for macros.

Most of us are using the free version of iMacros. There are tons of macro programs, few of them are free, and even less have the browser based capacities iMacros does.

You've dropped the MacroMachine link almost a half dozen times this week. We get it. Big deal. What is the difference from AutoIt which is also free? You probably dont know, and yet you keep asking the same question as though our silence isn't answer enough.

If you are using iMacros to save 15 minutes, it's not that valuable. I use it to save dozens of hours each week. Setting up 1 or 5 blogs by hand doesn't take a long time unless you have a very low level of technical proficiency. Setting up 1000 by hand takes a long time for anyone. That is where iMacros provides a large benefit. I can create a macro in 10 minutes that will do 20 hours of my work.


Do you have to turn every thread into pure idiocy? I asked a legit and sincere question because I wanted an answer. If you need an outlet to feed your inadequacies - this is not the place.

YAY GUERILLA IS A MACROS EXPERT!!

HE CAN INDULGE HIS EMOTIONAL INSECURITIES THROUGH UNWARRANTED CONDESCENSION & UTTER BALDERDASH!

Foolish idiot.

If anyone is interested in the macro I mentioned above PM and I'll be happy to send it to you.

Somehow I KNEW you'd find a way to turn my comments into an opportunity for a snipe.

Life must be hard in that rented room of yours- but at least you're an iMacros hegemon/political theorist/economist-laureate in the making so there's still hope for you yet.

Perhaps you can show us all the iMacros loop you created to bring the world out of global recession, as I'm sure you probably spent the weekend working on it....

-rest assured you'll never sway my focus through my responding to any other thread of yours on this forum - and that is a fact.
 
Do you have to turn every thread into pure idiocy?
If you need an outlet to feed your inadequacies - this is not the place.
HE CAN INDULGE HIS EMOTIONAL INSECURITIES THROUGH UNWARRANTED CONDESCENSION & UTTER BALDERDASH!
Foolish idiot.
Life must be hard in that rented room of yours- but at least you're an iMacros hegemon/political theorist/economist-laureate in the making so there's still hope for you yet.

Perhaps you can show us all the iMacros loop you created to bring the world out of global recession, as I'm sure you probably spent the weekend working on it....
And I didn't even make a personal comment to you in my post. All I did, was call you out on asking other people to do your research for you.

@erect, someone else will have to start that thread. You can PM me anytime if you want to talk iMacros.
 
Okay, seems like it's best just to run it on fast and put wait statements in as needed.

Second question if you don't mind. I have a form within an expanding menu and can't seem to get it to fill. Forms not within the expanding menu on the same page work fine. Any idea what the syntax is for forms within an expanding menu?
Missed this. PM me the URL or a screenshot so I can see what you mean by expanding menu.
 
Sounds like you want iMacros to think again. It doesn't do that.

Your technique is good. I would generate them in advance, and then pull them in from my datasource.

Are you using CSV files yet?
 
Yea, I tackled that problem too the other day.

You have 2 options, use a service like above (or roll your own php script to just output a random number) and then scrape the output

-or-

put the imacro inside of a javascript loop and pass the variable from js > imacro

i = 1;
do
{
var randomnumber=Math.floor(Math.random()*999999999)
iimSet("rnumber", randomnumber);
iimPlay("mymacro.iim");
i=i+1;
}
while (i < 10);

You'd have to run the .js file instead of the .iim file to start the macro but you could pass the variable from js > iim by {{rnumber}}

Edit: notice I started the i = 1 instead of i = 0 .... this is because of the issues I had when passing the row# into the datasource. It wouldn't accept anything except a positive number when I tried to do this.

iimSet("myloop", i);

fuck, I should have just PMd you and done away with the guesswork.
 
  • Like
Reactions: LogicFlux
I think just fetching the value from outside is simplest for me at this point. I extracted the data from random.org, but I can't figure out how to set it as a variable. Right now I have,

Code:
URL GOTO = http://www.random.org/integers/?num=1&min=1&max=42&col=1&base=10&format=html&rnd=new
ADD !RANDOM TAG POS=1 TYPE=PRE ATTR=CLASS:data&&TXT:* EXTRACT=TXT

SET !DATASOURCE username.csv 
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE_LINE {{RANDOM}}

The ADD on the 3rd line is obviously wrong, but I can't figure out what the correct syntax for it is. Any help would be great.
 
Are you trying to pull from your datasource randomly? That's actually pretty cool if you are.

Some thoughts.

You need to remove

Code:
ADD !RANDOM
Let the extraction occur

Code:
TAG POS=1 TYPE=PRE ATTR=CLASS:data&&TXT:* EXTRACT=TXT
Then the extracted value should be stored in !EXTRACT

I think you should be able to echo the extracted value with {{!EXTRACT}}

Otherwise, you could use SET to transfer the extracted value to a variable

Code:
SET !VAR1 {{!EXTRACT}}
Then you might be able to do this

Code:
SET !DATASOURCE username.csv 
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE_LINE {{!EXTRACT}}
or this

Code:
SET !DATASOURCE username.csv 
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE_LINE {{!VAR1}}

Let us know if that works.
 
Yeah I have a bunch of usernames in the .csv file, choose one randomly and then use it to fill in form. Your code works great but I ran into another issue I'm having trouble with.

If I try to loop the code the extract command appends the value to the last variable. So I drew 39 as the first random number and 47 as the second it tries to choose the 3947 on the list, instead of just the 47th. So I guess my question is is there a way to reset the extract variable so it doesn't use the old one as well? Google couldn't find me anything.
 
Yeah I have a bunch of usernames in the .csv file, choose one randomly and then use it to fill in form. Your code works great but I ran into another issue I'm having trouble with.

If I try to loop the code the extract command appends the value to the last variable. So I drew 39 as the first random number and 47 as the second it tries to choose the 3947 on the list, instead of just the 47th. So I guess my question is is there a way to reset the extract variable so it doesn't use the old one as well? Google couldn't find me anything.
I might not understand what you are trying to do. I have been using imacros for a bit and seem to do fairly well when making things.

Is there any reason this number is random. I ask mainly because I better route would be to run imacros in a loop and just pull from the csv file in order.

If you need a program to produce random numbers/names or other crap.
Look into randombots.com. It is really cheap and the programs do the job.

If you want me to run mine and send you over some let me know.

All you would do is place it in the csv and then have imacros call up that csv in the loop
it would go down the list. On every run.
 
Thanks again guerrila, code worked perfectly. Here is the full script, with some personal data removed, if anyone was curious or has a use for it.

Basically it goes to delicious, fetches one my bookmarks, copies the bookmark url and then deletes the bookmark. Then it goes to random.org to randomly choose a username from the .csv file. Finally it adds the username, the url copied earlier and some other information to the submission form.

Code:
VERSION BUILD=6240709 RECORDER=FX
SET !EXTRACT_TEST_POPUP NO

SET !EXTRACT NULL
TAB OPEN
TAB T=1
URL GOTO=http://delicious.com/username
CLICK X=325 Y=198
SET !VAR1 {{!URLCURRENT}}
TAB T=2
URL GOTO=http://delicious.com/username
TAG POS=1 TYPE=A  ATTR=TXT:DELETE
WAIT SECONDS = .5
TAG POS=2 TYPE=A  ATTR=TXT:YES
WAIT SECONDS = .5
URL GOTO = http://www.random.org/integers/?num=1&min=1&max=100&col=1&base=10&format=html&rnd=new
TAG POS=1 TYPE=PRE ATTR=CLASS:data&&TXT:* EXTRACT=TXT
SET !VAR2 {{!EXTRACT}}
SET !DATASOURCE username.csv 
SET !DATASOURCE_COLUMNS 1
SET !DATASOURCE_LINE {{!VAR2}}
URL GOTO=http://example.com/add
TAG POS=1 TYPE=INPUT  ATTR=NAME:url CONTENT={{!VAR1}}
TAG POS=1 TYPE=INPUT  ATTR=NAME:name CONTENT={{!COL1}}   
TAG POS=1 TYPE=INPUT  ATTR=NAME:date CONTENT=2011-08-29<sp>23:42:35<sp>
 
  • Like
Reactions: guerilla
2 Questions.

1. Why are you deleting bookmarks?

2. Are you inputting them at another site?

The macro looks great, although X/Y values vary from screen to screen IIRC.

Nice job.

I am off to figure out how to use {{!CLIPBOARD}} :D
 
What do you say we just petition to change the name of this thread to something like "iMacro Help Desk" and roll with the new thread here?
Sounds good to me. We can bend the mods to our will by getting them liquored up.
 
guerilla - how do you use tor? do you load tor and use it to grab a proxy and then use firefox, or is there a part of the script where you grab a proxy or?? i've tried to use general proxies using the proxy command in the imacros script itself - but i get an error message saying that the proxy command isn't supported....