Example:
Moving a window

Actions used:

File - Execute

Window - Bring to Front

Window - Find

Window - Move

In this example, we'll open Notepad, bring it to the front of the user's desktop, and move it to the top left corner of the screen.

Here's what the action list looks like:

First, we use a "File - Execute" action to run notepad.

Then, we use a "Window - Find" action to search for the exact text that appears in Notepad's title bar, which should be "Untitled - Notepad". The hWnd value for the window will be stored in a variable called %hWnd%.

Next we use a "Window - Bring to Front" action to bring Notepad to the front.

Finally, we use a "Window - Move" action to move Notepad's window to the upper left corner of the screen.

Here's a link to the finished example, as an AutoPlay Media Studio 4.0 actions XML file that you can import into an action list:

(Note: save this file to your hard drive and use a tool like WinZip to extract the XML file)