Batch commands for imacros for mac

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
Post Reply
htahir1
Posts: 5
Joined: Tue Jul 09, 2013 12:46 am

Batch commands for imacros for mac

Post by htahir1 » Mon Aug 12, 2013 6:35 pm

I have iMacros for Firefox for my Macbook pro, and i'm using a macro that auto-likes some pictures, waits an hour, and then starts the whole process again.

The problem is, the script I wrote gets slowed down a lot after a few hours. I've looked into it and I think the solution to my problem is using command line commands to restart Firefox after every run, so that the memory clears out. However, i'm a new Mac user, and I don't know the command line batch commands.

From the iMacros wiki, I see that the lines would be something like this:

Code: Select all

/usr/bin/open /Applications/Firefox.app "imacros://run/?m=mymacro.iim"
Can anyone tell me the whole command line command for starting Firefox, running the macros, closing firefox, waiting an hour, and then repeating?

iMacros version: VERSION BUILD=8300326 RECORDER=FX (The Firefox plugin)
Using MacBook Pro
techimac
Posts: 283
Joined: Fri Feb 20, 2015 9:27 pm

Re: Batch commands for imacros for mac

Post by techimac » Thu May 31, 2018 3:59 am

windows has bat file to execute command
what is the file in mac?
Post Reply