Search found 627 matches

by MattBell7
Wed Sep 14, 2011 8:44 am
Forum: Command Line and Scripting Interface
Topic: Tags change attributes – what can I do?
Replies: 1
Views: 1253

Re: Tags change attributes – what can I do?

that should work. without a url it would be hard to diagnose though... Try recording it a couple of times, and see if anything else changes. You'll also need to be careful in case there are other Select boxes before that one, which it may now select instead. Try turning on Complete HTML mode, record...
by MattBell7
Wed Sep 14, 2011 8:42 am
Forum: Command Line and Scripting Interface
Topic: Is this possible?
Replies: 2
Views: 1050

Re: Is this possible?

imacros is not the right tool for manipulating existing text files... its a browser automation addon...
by MattBell7
Wed Sep 14, 2011 8:41 am
Forum: Data Extraction and Web Screen Scraping
Topic: Extract last CELL from table
Replies: 1
Views: 631

Re: Extract last CELL from table

Select the table Select the next object after the table (regardless of what it is) select the previous cell. This will be the last cell in the table. Then you can select the cell before that to get the second to last. code (untested, written from memory) : TAG POS=1 TYPE=TABLE ATTR=TXT:* TAG POS=R1 ...
by MattBell7
Tue Sep 13, 2011 12:14 pm
Forum: Command Line and Scripting Interface
Topic: How to Search Repeating Numbers eg. 222
Replies: 13
Views: 7410

Re: How to Stop if Found something

SEARCH SOURCE=REGEXP:".*(([0-9])\\2\\2).*" EXTRACT=$1 TAG POS=1 TYPE=* ATTR=TXT:*{{!EXTRACT}}* CONTENT=EVENT:FAIL_IF_FOUND you can use something like the above, but it doesn't work if the page source has 3 consecutive numbers in it. the first line searches for the 3 numbers, the second checks if it ...
by MattBell7
Fri Sep 09, 2011 4:27 pm
Forum: iMacros for Firefox
Topic: Need help with youtube upload
Replies: 9
Views: 2452

Re: Need help with youtube upload

ah, the version i wrote used the basic uploader, not the java one, for that exact reason. although i don't see why the basic uploader doesn't do what you need it to...
by MattBell7
Fri Sep 02, 2011 12:07 pm
Forum: iMacros for Firefox
Topic: Error -910
Replies: 1
Views: 771

Re: Error -910

user PROMPT not alert. alert is a JS function. PROMPT is the iMacros equivelant

http://wiki.imacros.net/PROMPT
by MattBell7
Fri Sep 02, 2011 12:04 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Why SEARCH does not return #EANF# ?
Replies: 3
Views: 958

Re: Why SEARCH does not return #EANF# ?

what you could do would be fire the lines individually, then interrogate their response in your JS. e.g. iimPlay(Extract1) x1 = iimGetLastExtract(1) iimPlay(Extract2) x2 = iimGetLastExtract(1) iimPlay(Extract3) x3 = iimGetLastExtract(1) iimPlay(Extract4) x4 = iimGetLastExtract(1) then run this iimSe...
by MattBell7
Tue Aug 23, 2011 9:56 am
Forum: General Support & Discussions
Topic: change forum password
Replies: 1
Views: 424

Re: change forum password

User Control Panel
Profile
Edit Account Settings
by MattBell7
Mon Aug 22, 2011 7:43 am
Forum: iMacros for Firefox
Topic: Any way to play iim on the firefox which is already open?
Replies: 6
Views: 1541

Re: Any way to play iim on the firefox which is already open

when you do iimInit you can pass in -false (possible just false) and this will tell the engine to re-use the existing browser. this would save you repeating Macro1, but not the other lines. I don't know much about Python, but could you not pass w around as a variable to reuse in other modules?
by MattBell7
Fri Aug 19, 2011 3:44 pm
Forum: General Support & Discussions
Topic: Please create better command for timeout error #802
Replies: 15
Views: 7942

Re: Please create better command for timeout error #802

it would be doable with the scripting interface, you could interogate the return code, and if it was a timeout, go round the loop again, or fire off a refresh, etc.
by MattBell7
Fri Aug 19, 2011 10:56 am
Forum: iMacros for Firefox
Topic: Any way to play iim on the firefox which is already open?
Replies: 6
Views: 1541

Re: Any way to play iim on the firefox which is already open

to play extra macros in the browser, just use another iimPlay command. e.g. w.iimPlay("App Automation\\App_Login") w.iimPlay("App Automation\\Test1.iim") w.iimPlay("App Automation\\Test2.iim") to pass a variable in use iimSet e.g. yourVar="random value" v.iimSet("macroVarName", yourVar) then in your...
by MattBell7
Fri Aug 19, 2011 10:53 am
Forum: General Support & Discussions
Topic: Datasource larger than 16 records
Replies: 2
Views: 776

Re: Datasource larger than 16 records

looking at your data you've got a load of blank columns after your data.

row 15 has 7 of them ,,,,,,,
row 16 has 5 of them ,,,,,

your rows MUST have the same number of columns, or iMacros will get confused.
by MattBell7
Fri Aug 19, 2011 9:45 am
Forum: General Support & Discussions
Topic: help with inefficient code
Replies: 3
Views: 663

Re: help with inefficient code

right, in that case, don't change the format.

in can be done with the freeware version, you'll need to use the Firefox Scripting interface. Have a look on the wiki and it'll show you how.
by MattBell7
Thu Aug 18, 2011 12:08 pm
Forum: General Support & Discussions
Topic: help with inefficient code
Replies: 3
Views: 663

Re: help with inefficient code

easiest option would be to split each item onto seperate lines so with your data you 'd have something more like this: A1,B1,C1,D1 A1,B1,E1,F1 A1,B1,G1,H1 A2,B2,C2,D2 then your macro won't try to process blank cells, it'll only do what it needs. The best solution would be to use the scripting interf...
by MattBell7
Thu Aug 18, 2011 11:12 am
Forum: iMacros for Firefox
Topic: why isn't relative positioning working?
Replies: 1
Views: 412

Re: why isn't relative positioning working?

Relative positioning starts from the end of the current element, and won't match anything inside it. again i've already raised this with iopus as there is no way to dynamically select an element inside the currently selected item. What you'll need to do, is select an element either before or after t...