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.
Closing Firefox?
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
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
-
- Posts: 1
- Joined: Tue Mar 04, 2008 1:23 am
Sort of
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:
I'm assuming this is for security reasons?
Code: Select all
iimPlay(yourmacro);
window.close()
Last edited by Hello 71 on Wed Mar 05, 2008 1:52 am, edited 1 time in total.
- Tech Support
- Posts: 4948
- Joined: Tue Sep 20, 2005 7:25 pm
- Contact:
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.
In addition, the regular Scripting Interface (part of the iMacros Scripting Edition) contains the iimExitcommand to close Firefox from any external application or script.
Re: Closing Firefox?
how do you open a new window?
Re: Closing Firefox?
To open a window put
in a js file.
Code: Select all
window.open()