FAQ Database Discussion Community


“URL GOTO” keeps looping from iMacros javascript

javascript,loops,firefox,command-line,imacros
I have two files in the folder ~/iMacros/Macros/ that are related. One is an imacro (TodaysEvents.iim) like below: VERSION BUILD=8920312 RECORDER=FX TAB T=1 URL GOTO=http://www.event.com/schedual SET !EXTRACT_TEST_POPUP NO SET !ERRORIGNORE YES TAG POS={{loop}} TYPE=A ATTR=TXT:02 EXTRACT=HTM SAVEAS TYPE=EXTRACT FOLDER=/root/Desktop FILE=TodaysEvents.csv TAB CLOSE And the other is a javascript file (TodaysEvents.js)...

How to run Javascript in iMacros

javascript,imacros
How can I run javascript code in iMacros. Can I run: function pageScroll() { window.scrollBy(0,50); // horizontal and vertical scroll increments scrolldelay = setTimeout('pageScroll()',100); // scrolls every 100 milliseconds } <body onLoad="pageScroll()"> There was one question here on stackoverflow, but I instructions were not helpful enough also iMacros editor has...

Can't read first row of CSV file

csv,vbscript,imacros
I can't figure out why my script is not reading and storing the first row of the CSV file. It is starting with the second row for some reason. I have the following code (reading from a 2 column CSV file): Set rs = CreateObject("ADOR.Recordset") 'this just gets the folder...

Need solution regarding imacros !DATASOURCE_LINE issue

csv,macros,imacros
I have a csv file containing info for tv-series and each tv-series has its own macro. I can get all info without any problems using {{!COL1}} etc. But I need some help on the scenario below. tv-series.csv Game of Thrones, 2011, Season 2 The Walking Dead, 2015, Season 5 etc....

imacros don't show commas from csv file

imacros
Im new to iMacros and I tried a small iMacros to fill out a form. Here is the code: VERSION BUILD=10022823 TAB T=1 TAB CLOSEALLOTHERS SET !DATASOURCE C:\Users\Sahil\Desktop\cloth.csv SET !DATASOURCE_COLUMNS 2 SET !LOOP 2 SET !DATASOURCE_LINE {{!LOOP}} SET !ERRORIGNORE YES URL GOTO=the website/ FRAME NAME=links TAG POS=1 TYPE=SPAN FORM=NAME:form1 ATTR=TXT:MEN...

Simulate the use of a website with a client [closed]

javascript,c#,web,simulation,imacros
I would like to achieve the following scenario: Create a client that opens a web site, for example www.stackoverflow.com, click a button with an id (for example the button "Ask Question"), fill the forms (knowing the ids of the fields) and press another button. No, I do not want to...

How to use this javascript code with eval or in a iim file?

javascript,eval,imacros
I want to use this code with eval or in a iim file without using js file.I tried for using it into eval but didn't work.Or is there any other way that can allow this code into iim file directly? please help me! do { do { iimPlay("CODE:ondialog pos=1 button=ok...

Scraping dynamic data with imacro to excell

web-scraping,imacros
I want to scrape dynamic data (refreshable every 4 seconds and it's a number ) with imacro and represent that number changing along the time in excell ( or any other way ). How can i do this ? Imacro, as further as i know can get the data...

Looping with Excel VBA and iMacros

vba,excel-vba,imacros
Alright, the scenario is this. I am working to move a client list from one backend manager to another, but unfortunately the one I am moving the list from (which contains addresses, phone numbers, notes about the account and general information about what each client likes) cannot export to excel....

iMacros 10 macro has stopped working after upgrade from iMacros 9

excel,vba,internet-explorer,excel-vba,imacros
I have a macro using (Excel VBA) that goes through out invoice application. The macro opens an invoice and extracts information on a number of different screens. It then closes the invoice, looks for the word "reservation" on the next screen. Once it finds "reservation, it should open the next...

How to highlight active row in excel and then return to base background color in VBA

excel-vba,user-controls,imacros
How do you highlight an active row in excel in VBA. and then when another row is selected, return that row to base background color, and highlight the new row. Also how to clear all rows highlighted, using a clear button on the user form. so there are tow question...

iMacro's !LOOP from command line

javascript,bash,loops,firefox,imacros
I'm not sure how to articulate this question other then describing the problem and putting out hope that someone will point me in the right direction. I have written a bash script that calls a macro from iMacros. The macro looks like below: VERSION BUILD=8920312 RECORDER=FX TAB T=1 URL GOTO=http://www.event.com/schedual...

iMacros TAG to Find TXT and Click Nearby (previous) Link

javascript,dom,web-scraping,scrape,imacros
Below is the example code of Wordpress Backend tag management section. I'm trying to write an iMacros to find a tag and delete it. However the Tag text doesn't below in any HTML's tag. <div class="tagchecklist"> <span> <a id="post_tag-check-num-0" class="ntdelbutton" tabindex="0">X</a> &nbsp;Orange </span> <span> <a id="post_tag-check-num-1" class="ntdelbutton" tabindex="0">X</a> &nbsp;Apple </span>...

How do I set the Select All “checkbox” iMacros Without using the button “Play (Loop)”

javascript,select,checkbox,imacros
How do I set the Select All "checkbox" iMacros Without using the button "Play (Loop)" and without making the tag to 50 lines since our site I visited was no key select all and I need to choose 50 categories. Here's the code that I use and try This version...