Close Window

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Example)
 
(2 intermediate revisions by one user not shown)
Line 7: Line 7:
 
== Example ==
 
== Example ==
 
<pre>
 
<pre>
plugin command("WindowsCommands.dll", "close window", "Documents", "CabinetWClass")
+
plugin command("WindowsCommands.dll", "close window", "Windows Media Player", "WMPlayerApp")
 +
 
  
 
</pre>
 
</pre>
  
  
Running this script will close the documents window on the system it is running on.
+
Running this script will close the specified window, which is Windows Media Player in this example.
  
  
 
[[File:wclose.jpg]]
 
[[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.


Wclose.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox