Jump to content

Recommended Posts

Posted

Hi, I just want to open many firefox profiles with loop and each profile can start an imacros code as well. So I have this batch script like this

set /p start=Profile from: 
set /p end=To Profile : 
FOR /L %%X IN (%start%,1,%end%) DO start /B "" "C:\Program Files\Mozilla Firefox\firefox.exe" -P -no-remote "%%X" imacros://run/?m=#Run.js"
 

Can anyone show me how to do it with AutoIt? Thank you

Posted

Now I know how to run specific firefox with imacros :

#include <Process.au3>
$rc = _RunDos("start firefox.exe -p <profile> -no-remote imacros://run/?m=<imacros>")

with <profile> is firefox profile and <imacros> is imacros file name.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...