Set Active Window

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Example)
Line 7: Line 7:
 
== Example ==
 
== Example ==
 
<pre>
 
<pre>
plugin command("WindowsCommands.dll", "set active window", "Documents", "CabinetWClass")
+
plugin command("WindowsCommands.dll", "set active window", "Windows Media Player", "WMPlayerApp")
  
 
</pre>
 
</pre>
Line 15: Line 15:
  
  
[[File:set.jpg]]
+
[[File:wset.jpg]]

Revision as of 15:50, 29 September 2013

This command sets the active window using a wizard that grabs the parent class of the window.

Set Active Window is a Windows Command.

The command comes with a wizard that allows you to select the desired window by hitting the CTRL button over the title bar of the window.

Example

plugin command("WindowsCommands.dll", "set active window", "Windows Media Player", "WMPlayerApp")


Running the script sets the active window to the desired window.


Wset.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox