Closing Firefox?

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

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
Curiousity
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

iimPlay(yourmacro);
window.close()
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: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

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.
questions
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?
rysquash
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

window.open()
in a js file.
Post Reply