Search found 4 matches

by sayuto
Wed Jul 27, 2016 4:57 pm
Forum: iMacros for Chrome
Topic: How to run a macro from the command line using Chrome
Replies: 22
Views: 33044

Re: How to get it working in Chrome

Hello! i've found a way to get the "embed in a local page" to work without using alert(), i added this <script></script> before the end of the page like this, at least it works for me </body> <script language="JavaScript"> <!-- window.onload = setTimeout("launchMacro()", 100); //--> </script> </htm...
by sayuto
Wed Jul 27, 2016 4:56 pm
Forum: iMacros for Chrome
Topic: How to run a macro from the command line using Chrome
Replies: 22
Views: 33044

Re: How to get it working in Chrome

Another workaround to use iMacros for Chrome via the command line. 1. Make sure "Allow access to file URLs" is checked: http://wiki.imacros.net/iMacros_for_Chrome#Using_Chrome_with_the_iMacros_RunAs_Agent_.28iimRunner.29 2. Let's assume that file 'D:\Temp\crIimLaunch.html' has the following content...
by sayuto
Tue Jul 26, 2016 6:31 am
Forum: General Support & Discussions
Topic: how to get random line form txt file
Replies: 3
Views: 2648

Re: how to get random line form txt file

i have a file data csv ( user agent ) my code SET !ERRORIGNORE YES SET !VAR1 EVAL("var min = 1; var max =5; var randomNumber = Math.floor(Math.random() * (max - min + 1)) + min; randomNumber;") SET !DATASOURCE E:\convertcsv.csv SET !DATASOURCE_LINE {{!VAR1}} SET !DATASOURCE_COLUMNS 1 SET !USERAGENT...
by sayuto
Mon Jul 25, 2016 5:30 pm
Forum: General Support & Discussions
Topic: how to get random line form txt file
Replies: 3
Views: 2648

how to get random line form txt file

i have a file data csv ( user agent ) my code SET !ERRORIGNORE YES SET !VAR1 EVAL("var min = 1; var max =5; var randomNumber = Math.floor(Math.random() * (max - min + 1)) + min; randomNumber;") SET !DATASOURCE E:\convertcsv.csv SET !DATASOURCE_LINE {{!VAR1}} SET !DATASOURCE_COLUMNS 1 SET !USERAGENT ...