Closing Firefox?

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Posts: 1
Joined: Tue Mar 04, 2008 1:23 am

Closing Firefox?

Post by Curiousity » Tue Mar 04, 2008 1:27 am

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.
Hello 71
Posts: 96
Joined: Mon Feb 18, 2008 12:06 am
Location: Toronto, ON, Canada

Sort of

Post by Hello 71 » Tue Mar 04, 2008 2:19 am

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 Wed Mar 05, 2008 1:52 am, edited 1 time in total.
User avatar
Tech Support
Posts: 4947
Joined: Tue Sep 20, 2005 7:25 pm

Post by Tech Support » Tue Mar 04, 2008 10: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.
Posts: 69
Joined: Wed Apr 23, 2008 9:23 pm

Re: Closing Firefox?

Post by questions » Sat Oct 25, 2008 10:40 pm

how do you open a new window?
Posts: 5
Joined: Thu May 28, 2009 6:00 pm

Re: Closing Firefox?

Post by rysquash » Tue Jun 02, 2009 5:44 pm

To open a window put

Code: Select all
in a js file.
Post Reply