PhantomScript v1.7 Reference - Copyright © 2006 P1 Systems Incorporated. All Rights Reserved.

Prev | Next | Users Guide | PhantomScript Reference | P1 Systems


The Mouse

WaitForRightButtonClick

Syntax

WaitForRightButtonClick

Description

Wait for the user to click the right mouse button.

Remarks

To use this statement in an executable generated by Phantom you must use the MakeExeFromScript statement and make sure the Phantom.DLL and PwLib.DLL files are available to the executable when it is executed.

Example

WaitForRightButtonClick
MessageBox title="Mouse Position" text=MousePosition

Execution of the script continues after the user clicks the left mouse button. The current mouse position is then displayed in the message box.



Prev | Next | Users Guide | PhantomScript Reference | P1 Systems

PhantomScript v1.7 Reference - Copyright © 2006 P1 Systems Incorporated. All Rights Reserved.