Close Window
From UBot Studio
(Difference between revisions)
(Created page with "This command closes a window on your windows system using a wizard that grabs the parent class of the window. Close Window is a Windows Command. The accom...") |
(→Example) |
||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
This command closes a window on your windows system using a wizard that grabs the parent class of the window. | This command closes a window on your windows system using a wizard that grabs the parent class of the window. | ||
+ | |||
Close Window is a [[Windows Commands|Windows Command]]. | Close Window is a [[Windows Commands|Windows Command]]. | ||
+ | |||
The accompanying wizard allows you to grab the Parent Class and the Parent Window of the desired window by moving your mouse over the window's title bar and hitting the ctrl button. | The accompanying wizard allows you to grab the Parent Class and the Parent Window of the desired window by moving your mouse over the window's title bar and hitting the ctrl button. | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
− | plugin command("WindowsCommands.dll", "close window", " | + | plugin command("WindowsCommands.dll", "close window", "Windows Media Player", "WMPlayerApp") |
+ | |||
</pre> | </pre> | ||
− | |||
− | [[File: | + | Running this script will close the specified window, which is Windows Media Player in this example. |
+ | |||
+ | |||
+ | [[File:wclose.jpg]] |
Latest revision as of 14:47, 29 September 2013
This command closes a window on your windows system using a wizard that grabs the parent class of the window.
Close Window is a Windows Command.
The accompanying wizard allows you to grab the Parent Class and the Parent Window of the desired window by moving your mouse over the window's title bar and hitting the ctrl button.
[edit] Example
plugin command("WindowsCommands.dll", "close window", "Windows Media Player", "WMPlayerApp")
Running this script will close the specified window, which is Windows Media Player in this example.