Search found 215 matches

by dharmendra2000
Thu Sep 02, 2010 9:12 am
Forum: iMacros for Firefox
Topic: MACRO SCRIPT
Replies: 1
Views: 1665

Re: MACRO SCRIPT

If format of email except link is same then it is possible.
by dharmendra2000
Tue Jun 16, 2009 4:45 am
Forum: Command Line and Scripting Interface
Topic: Looking to have a simple Script written?
Replies: 2
Views: 2532

Re: Looking to have a simple Script written?

MyScript.js

Code: Select all

for (i = 1000; i < 1099; i++)
{
iimSet ("myloop", i)
retcode = iimPlay("mysite.iim");
}
mysite.iim

Code: Select all

URL GOTO=http://www.exampleurl.com/{{myloop}}/
Its not a complete solution but It will help to solve your problem.
by dharmendra2000
Thu Mar 05, 2009 8:25 am
Forum: Data Extraction and Web Screen Scraping
Topic: Extracting a URL from a simple page
Replies: 3
Views: 3261

Re: Extracting a URL from a simple page

You can extract URL using below command.......
EXTRACT {{!URLCURRENT}}
by dharmendra2000
Thu Feb 12, 2009 8:40 am
Forum: Data Extraction and Web Screen Scraping
Topic: Extract URLs and then perform a task on the URL
Replies: 1
Views: 2240

Re: Extract URLs and then perform a task on the URL

JavaScript.js
for(i=1000,i<1100,i++)
{
iimSet("userid", x)
iimPlay("callpage.iim")
}

callpage.iim
URL GOTO=mysite.com/page.aspx?userid={{x}}

Not sure it will help, let me know anything else is required
by dharmendra2000
Sat Jan 31, 2009 4:34 am
Forum: Command Line and Scripting Interface
Topic: Stop loop if expected page has changed
Replies: 2
Views: 3014

Re: Stop loop if expected page has changed

This is only possible using script, You can use Java Script Extract required value using Macro and pass it to Java Script Once value is available in Java Script, you can compare and based on that you can stop/continue loop for(i=0;i<100;i++) { iimPlay("mymacro.iim") value=iimGetLastExtract...
by dharmendra2000
Sat Jan 31, 2009 4:22 am
Forum: General Support & Discussions
Topic: How a macro can call a second one?
Replies: 3
Views: 2954

Re: How a macro can call a second one?

All these you can do using Java Script

Below are command to call macro from Java Script
iimPlay("macro1.iim")
iimPlay("macro2.iim")

You can pass values from Java Script to Macro and Macro to Java Script based on your requirement.

Cheers!
by dharmendra2000
Wed Jan 28, 2009 8:46 am
Forum: iMacros for Firefox
Topic: Pasting From .txt File?
Replies: 11
Views: 6231

Re: Pasting From .txt File?

I think it's not possible....
B'Coz different forum have different HTML tags for page controls like text box, text area and buttons

iMacor identify controls based on HTML tags, so it is not possible. :(
by dharmendra2000
Wed Jan 28, 2009 4:45 am
Forum: iMacros for Firefox
Topic: Component returned failure code: 0x80500001 [solved]
Replies: 18
Views: 34155

Re: what's wrong in my code...

It is working fine with provided code at my end. Please try PROMPT command to see whether data is coming or not! SET !DATASOURCE P:\magic.csv SET !DATASOURCE_LINE {{!LOOP}} PROMPT {{!COL1}} PROMPT {{!COL2}} 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:index.php ATTR=NAME:newnb CONTENT={{!COL1}} 'TAG POS=1...
by dharmendra2000
Tue Jan 27, 2009 1:38 pm
Forum: iMacros for Firefox
Topic: Component returned failure code: 0x80500001 [solved]
Replies: 18
Views: 34155

Re: what's wrong in my code...

Is it working now?
by dharmendra2000
Tue Jan 27, 2009 11:14 am
Forum: iMacros for Firefox
Topic: Best way to do search and replace
Replies: 3
Views: 3231

Re: Best way to do search and replace

Question is not 100% clear but looking at below code...
Information from ABC Company
Information from DEF Organisation

I think you want to enter different values in textbox, and underlined value will change every time, is it so?
by dharmendra2000
Tue Jan 27, 2009 11:06 am
Forum: iMacros for Firefox
Topic: Component returned failure code: 0x80500001 [solved]
Replies: 18
Views: 34155

Re: what's wrong in my code...

I think you are missing to set source file path/name
SET !DATASOURCE your-data-file.csv

&

There is no need of
SET !DATASOURCE_COLUMNS 2

Please try and let me know, if still have some problem.
by dharmendra2000
Thu Jan 22, 2009 4:28 am
Forum: iMacros for Firefox
Topic: Traces of iMacros
Replies: 2
Views: 2612

Re: Traces of iMacros

It does not leaves any traces on the server.
by dharmendra2000
Wed Jan 21, 2009 5:02 am
Forum: Data Extraction and Web Screen Scraping
Topic: How do I click a button that changes caption depending ..
Replies: 1
Views: 2199

Re: How do I click a button that changes caption depending ..

Please try
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:selector ATTR=VALUE:*
Instead of
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:selector ATTR=VALUE:Aktualisieren

It might solve your purpose, otherwise you have to select proper tag which diffrentiate that button (Other that caption of button).
by dharmendra2000
Wed Jan 21, 2009 4:37 am
Forum: General Support & Discussions
Topic: CSV Data Filling Question
Replies: 1
Views: 2060

Re: CSV Data Filling Question

You can use Java Script for Looping MyScript.js for(x=1;x<10;x++) { iimSet("xloop",x) iimPlay("MyMacro.iim") } MyMacro.iim VERSION BUILD=6111213 RECORDER=FX TAB T=1 SET !DATASOURCE MyCSVfile.csv SET !DATASOURCE_LINE {{xloop}} TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f ATTR=NAME:q CONT...
by dharmendra2000
Tue Jan 20, 2009 1:50 pm
Forum: General Support & Discussions
Topic: !NOW does not print time but is printed as string
Replies: 4
Views: 3566

Re: !NOW does not print time but is printed as string

Use nn for Minutes, as mm is used for Month
Here in your case "220104" 01 is showing month, not minutes.

So finally your command would be like {{!NOW:ddmmyy_hhnnss}}