Closing Firefox?

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.

Moderators: Community Moderators, iMacros Moderators

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:


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.

Closing Firefox?

by Curiousity on Mon Mar 03, 2008 6:27 pm

Is there a way for the macro to terminate by closing firefox off?

I'd like to be able to use iMacros to automate some scheduled tasks, but I need a way to close the window afterwards.

If there is, thank you for helping. If not, thank you for your time.
Posts: 1
Joined: Mon Mar 03, 2008 6:23 pm

Sort of

by Hello 71 on Mon Mar 03, 2008 7:19 pm

Sort of. As far as I know, there is no way to close a window directly from a macro (.iim file), HOWEVER you can just call the macro from a script then close it from that. Example in Javascript:
Code: Select all

I'm assuming this is for security reasons?
Last edited by Hello 71 on Tue Mar 04, 2008 6:52 pm, edited 1 time in total.
Hello 71
Posts: 101
Joined: Sun Feb 17, 2008 5:06 pm
Location: Toronto, ON, Canada

by Tech Support on Tue Mar 04, 2008 3:23 pm

Hello71 is correct.

In addition, the regular Scripting Interface (part of the iMacros Scripting Edition) contains the iimExitcommand to close Firefox from any external application or script.
User avatar
Tech Support
Posts: 5003
Joined: Tue Sep 20, 2005 12:25 pm

Re: Closing Firefox?

by questions on Sat Oct 25, 2008 3:40 pm

how do you open a new window?
Posts: 68
Joined: Wed Apr 23, 2008 2:23 pm

Re: Closing Firefox?

by rysquash on Tue Jun 02, 2009 10:44 am

To open a window put

Code: Select all

in a js file.
Posts: 5
Joined: Thu May 28, 2009 11:00 am

Return to iMacros for Firefox

Who is online

Users browsing this forum: No registered users and 7 guests