|

ResultVariable


When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

image

Window.Hide

OverviewExamples

Window.Hide ( number WndHandle )


De s cr ip t ion


Hides a specific window given it's window handle.


P arame t er s


WndHandle


(number) The integer value that represents the specific window on the user's desktop. (Commonly referred to as an hWnd.)


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

Window.Maximize

OverviewExamples

Window.Maximize ( number WndHandle )


De s cr ip t ion


Maximizes a specific window given it's window handle. This is the same as clicking the "Maximize" button on the title bar of a window.


P arame t er s


WndHandle


(number) The integer value that represents the specific window on the user's desktop. (Commonly referred to as an hWnd.)


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

Window.Minimize

OverviewExamples

Window.Minimize ( number WndHandle )


De s cr ip t ion


Minimizes a specific window given it's window handle. This is the same as clicking the "Minimize" button on the title bar of a window.


P arame t er s


WndHandle


(number) The integer value that represents the specific window on the user's desktop. (Commonly referred to as an hWnd.)


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

Window.Restore

OverviewExamples

Window.Restore ( number WndHandle )


De s cr ip t ion


Restores a specific window given it's window handle. Restoring means that if the window is currently maximized or minimized, the window will be re-sized to it's original size and position.


P arame t er s


WndHandle


(number) The integer value that represents the specific window on the user's desktop. (Commonly referred to as an hWnd.)


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

Window.SetMask

OverviewExamples

Window.SetMask ( number WindowHandle,


string MaskFile,


boolean FitToWindow = true,


number TransparentColor = 0 )


De s cr ip t ion


image

Applies an image mask to the specified window. This allows you to change the shape of your application's window at runtime.


Note: On Windows 9x systems, this action will only work on AutoPlay created windows at runtime. This means masks cannot be applied to any windows belonging to other programs on Windows 9x systems.


Tip: You can use this action to change the shape of certain objects which are actually windows within your autoplay application. The following objects are technically windows within your application: Video, Flash, ComboBox, ListBox, Input, Tree, Progress, Web, PDF, QuickTime and xButton. You can get the window handles for any of these objects by using their respective GetProperties actions.


P arame t er s


WindowHandle


(number) The integer value that represents the specific window on the user's desktop. (Commonly referred to as an hWnd.)


|