How do you save a page as a tab?

click tab paste click tab paste...automate this please?

  • Simple problem: record a macro and play it back in firefox.Hard part: recording a macro and playing it back in firefox. Really simple problem here that's killing me. I've got a web-based client management app that we use. I have about 161 clients. Each client has pages that must contain data---goals, disability, etc. Thankfully much of the information is duplicated from person to person. Enter a macro. Right? So I have a list of names, and I click a name. From that page, I want a macro that: -moves the mouse to the "goals" tab -clicks the "goals" tab -clicks the "add" button -moves cursor to date box -fills in a date (same date for everyone) -moves cursor to the goals box -pastes in the goal -moves mouse to "save" button -presses it -moves mouse to client list button -presses it. Then I load the next client, rinse/repeat. Same basic process for the other fields. I tried using iMacros for firefox, and I LOVE the speed and the recording is SPOT ON. The problem is that it looks at the url, so when I play it back it only ads goals to the consumer for whom the macro was recorded, NOT the person on the screen. I cannot figure out how to make it play the macro and ignore the url. I asked a question in their forums but no answer so far. This is really an awfully simple thing to try to script out in autoit/autohotkey...and the autohotkey recorder didn't do such a hot job anyway. So...I come to you for support. I'm sure someone will have my answer in 50 seconds and I will have wasted my question, but so it goes. Thanks!

  • Answer:

    Regarding iMacros: Have you tried deleting the line "URL GOTO..." from the Macro document? (Right-click on Macro.iim and select Edit Macro) If you don't mind that you will have to manually click on every client name and THEN start the macro, it should work. If you asked me how to automate it so it went through every single client one after the other, I don't know.

TomMelee at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

I think you can achieve this with the http://www.iopus.com/iMacros/firefox/. You can save your macros and load them in other instances of firefox.

edmz

I've recently been using AutoIT and made a script for manipulating a webpage. It sounds like it would do the job fine if you are prepared to invest some time learning it. It has a lot of built in functions for IE, and only runs on windows.

a womble is an active kind of sloth

http://seleniumhq.org/ can do this I think.

PenDevil

Thanks so far. Selenium is still remembering the entire URL instead of just clicking at x/y, even when I set the options to NOT do that. I'm pretty sure that's how imacros/selenium are getting really good speeds, they're remembering the target url and not the click.

TomMelee

Enki, I thought of that, and the macro just sort of flops around on the source page and doesn't do anything.

TomMelee

Ok, so actually if I turned down the run speed Enki, that works, but it's having trouble clicking on the drop down boxes accurately. I set the clicks to x/y but for some reason it's not picking up the dropdown list. Weird.

TomMelee

You might want to try http://groups.csail.mit.edu/uid/chickenfoot/. You might also read about doing this http://curl.haxx.se/docs/httpscripting.html, which removes a browser from the process entirely (though you might have to love the UNIX way of doing things in order to like it.)

massysett

All right, well, I managed to make it work. For posterity, in iMacros, it works best to set click option to "auto", and then record the macro, then remove the GOTO line from the top of the script. It will work at full speed. Interestingly, it prefers mouse moves to tabs/arrows. Definitely an ugly solution for right now, so if anyone pops into this thread to add suggestions PLEASE feel free to do so.

TomMelee

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.