I am trying to shut down Firefox with MS but it frequently seems to freeze/crash and the closewindow command isn't sufficient to shut it down. Is there a way of "killing" a window somehow?
Thanks
How to close a window that doesn't want to close?
Moderators: Dorian (MJT support), JRL
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Check out http://www.mjtnet.com/forum/viewtopic.p ... ll+process
and/or do a Search on "kill process" (without quotes) in Macro Scheduler forum.
and/or do a Search on "kill process" (without quotes) in Macro Scheduler forum.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
If CloseWindow doesn't work (the application may ignore the WM_CLOSE message coming from someone else) resort to simulating keystrokes and just have Macro Scheduler do what you do. I don't use FireFox so I'm not sure what the keystrokes are but it's probably something like ALT-fx as in most applications. In which case you do:
SetFocus>FireFox*
Press ALT
Send>fx
Release ALT
SetFocus>FireFox*
Press ALT
Send>fx
Release ALT
MJT Net Support
[email protected]
[email protected]
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
In addition to ALT-Fx, Firefox also uses generic ALT-F4 also works.
Code: Select all
SetFocus>FireFox*
Press ALT
Press F4
Release ALT
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!