iMacro Help Desk

aeisn

New member
May 6, 2009
715
12
0
Are if statements possible in iMacro? Basically I want something to hover over a link, check the url it goes to, and if the destination is a certain url click that link. Thanks for the help.
 


No. Not without scripting. The free version does not do conditionals.

iMacros is an automation tool, not an intelligent tool.
 
No. Not without scripting. The free version does not do conditionals.

iMacros is an automation tool, not an intelligent tool.

Ah okay. I don't think I can swing $500 for the scripting version at this point. Are their other free platforms that can do this? Would AutoIt work?
 
I think I might have a way to ghetto rig it with iMacro. Does anyone know of a way to disable page reload when you hit the back button in FireFox and have it just use the cached version of it?
 
I'm like a noob's noob in this area but have you heard about this program?

MacroMachine

It may do what you want of it....
 
I think I might have a way to ghetto rig it with iMacro. Does anyone know of a way to disable page reload when you hit the back button in FireFox and have it just use the cached version of it?
You might be able to disable it with some javascript that sets firefox options on the fly, although you should be able to set it in about:config by hand prior to running your program.

It really depends what you are doing. You can also extract the page code into a VAR. Or you could use multiple tabs, by opening the initial page twice TAB 1, TAB 2, and then operate on TAB 1, and be able to change tabs and hit the original page code on TAB 2.

Without knowing more about your application, I am just spittin random ideas.
 
You might be able to disable it with some javascript that sets firefox options on the fly, although you should be able to set it in about:config by hand prior to running your program.

It really depends what you are doing. You can also extract the page code into a VAR. Or you could use multiple tabs, by opening the initial page twice TAB 1, TAB 2, and then operate on TAB 1, and be able to change tabs and hit the original page code on TAB 2.

Without knowing more about your application, I am just spittin random ideas.

Thanks for the reply. Basically I want to automate the process of unfollowing everyone that isn't following a twitter account. My initial thought was to have it go to the list of people you are following,

Click the action button for a user on the right side
Click the second item on the list (if they aren't following you this will unfollow that user, if they are following you this will take you to a new page to direct message that user)
Click the back button, if you unfollowed them this will do nothing, if you direct messaged them it will take you back to the original page)
Do this 19 more times and then go to the next page

The problem is hitting the back button reloads the page, so the list of people is reset breaking the whole process.

I'm sure there is a simpler way to do this anyway, any suggestions would be great.
 
There are heaps of free services that already do this. Ajax makes this a real pain in the ass and I wasted 15 minutes trying to figure it out I can never get back.

There is a way around it I think, but you are really wasting time doing this when there are easier ways to do it without macros.

Open 20 tabs. Each tab will target a different user. Good luck, because the tag positions were changing on me on the fly. But you could open 20 tabs, start with tab 20, do your operation, close tab 20. Then use tab 19, finish your op, close tab 19, and all the way back to TAB 1.

But again, this is a total waste of all of our time. Like trying to invent instant messaging with iMacros. Already been done. Find Turbo's Twitter tools thread.
 
Thanks, I looked earlier and couldn't find a bulk unfollow tool but turbo's thread is great. reps+
 
Hate to bump this again but I have been on an iMacro swing lately and you guys are incredibly helpful. iMacro has default speeds of slow, medium and fast but is there a way to set a custom value, and/or randomize values?
 
I don't think so. You might be able to set the speed in macro (instead of constantly adjusting your global variables).

I use WAIT statements instead of mixing up my speed. For example, if I am hitting different site after different site, I run the script full tilt boogie because I am only hitting two pages (load form, submit form) or so.

But if I am hitting the same site over and over, then I use WAIT statements to insert pauses so I don't hammer too hard.

I usually run at medium. I could probably run at fast all the time with my technique.

Code:
TAB T=1
URL GOTO=http://{{!col1}}/origin.asp?ID={{!col2}}
WAIT SECONDS=5
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://{{!col1}/origin.asp ATTR=NAME:name CONTENT=dude
TAG POS=1 TYPE=TEXTAREA FORM=ACTION:http://{{!col1}/origin.asp ATTR=NAME:answer CONTENT={{!col3}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:http://{{!col1}/origin.asp ATTR=VALUE:Submit
WAIT SECONDS=15
 
  • Like
Reactions: LogicFlux
I thought I should add, depending on how many loops you are running, running fast vs. medium can make a big difference in total running time.

If you are hitting 1000 loops in a run, cutting 2 seconds reading through the macro line by line is a 1/2 hour time savings. if the macros is more than 12 lines, you could be saving an extra second per loop, so another 15 minutes.

If you want to cut your time in half, run two browser instances. You can open a second FF window, and run a second macro.
 
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?
 
@ guerilla

You seem to be the resident imacros guru around these parts ... what do you think about just opening a thread for it to keep everything under one roof?

It seems more and more users are becoming interested after riddar's automation thread (even her after she fought it a bit). I've played around with it some and will continue to do so. It seems to be a bit easier to work with in certain situations than curl + php.

For instance, I wrote a quick little hack a few days ago that dealt with using javascript + datasource to loop through and do some shit with imacros. Since I'm far from experienced, passing the correct datasource row to the macro (since the loop was in javascript) took me longer than it should have even though I'm a professional hack. Dropping a line your way via PM almost happened but keeping the questions in a thread would have residual benefits for others.

... just a thought
 
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?

Nevermind I'm an idiot, I had the wrong type of form down.

I would be all for an imacro thread, having examples in a publicish setting is great.
 
@ guerilla

You seem to be the resident imacros guru around these parts ... what do you think about just opening a thread for it to keep everything under one roof?
Sure, you want me to start the thread?
 
@ guerilla



It seems more and more users are becoming interested after riddar's automation thread (even her after she fought it a bit).

haha :usa:
Actually I've schedule the 26th-31st to dig into this. Van Prooven was kind enough to share/demonstrate over MSN some cool scripts - such as one that can widdle down what might take 15 minutes down to 30 seconds for those of us that do it by hand - it adds add on domains + loads a WP blog.

If he reads this perhaps he can jump in and help us n00bs out as he told me over the weekend that he's working on one that loads the plugins an activates them too...



Would be nice to add little scripts like this to the "war chest" thread erect started. Basically, one would have to change the personal bits...but you can get
---
I would really love to get to know the CSV Loop Input + Download task ask I can see it being so useful - anyone else working on this.....
http://www.iopus.com/imacros/tutorials/Macrotaxsalelists.wmv

PS
Someone told me about a program that is supposedly quite similar to iMacros in it's functionality but costs about $450 less - lol


anyone used it?

MacroMachine - General
 
Sure, you want me to start the thread?

I'd love it, I wouldn't expect it to be too much maintenance as most people don't use iim that much.

haha :usa:
Actually I've schedule the 26th-31st to dig into this.

If I only had 5 days off to learn ......

Van Prooven was kind enough to share/demonstrate over MSN some cool scripts - such as one that can widdle down what might take 15 minutes down to 30 seconds for those of us that do it by hand - it adds add on domains + loads a WP blog.

^^ That's the kind of stuff that imacros would be perfect for that's a total headache to do with php. That macro would also be reusable across different hosting platforms that use cpanel.

If he reads this perhaps he can jump in and help us n00bs out as he told me over the weekend that he's working on one that loads the plugins an activates them too...

Send him to the thread guerilla is about to create. This one is titled poorly to be a catch-all.

PS
Someone told me about a program that is supposedly quite similar to iMacros in it's functionality but costs about $450 less - lol


anyone used it?

MacroMachine - General

Likely the 1st question I'd be asking. I'm just using the free plugin at the moment since my needs are minimal. It's still pretty powerful when mixed with other languages. I'd like to know the advantage of the $500 scripting version (or MM's version) ... it sounds right up my alley. Guerilla, is that what you use?