Step 1
Launch RobotSoft Calculator.
Note: Do not minimize the window. Background operations support inactive windows, but do not support minimized windows.
Step 2
Launch Automatic Mouse and Keyboard, and use the “Find Window” command.
Find Window
Step 3
Click the function name FindWindowEx, and the click the popup menu “Pick Window“.
Pick Window
Find the window of RobotSoft Calculator, select it and then click “OK“.
Pick Window
FindowWindowEx
Step 4
Click the “ReturnValue“, then enter a variable name for the window handle. And then click “OK” to confirm the Call Function command.
Return Value
Step 5
Click the toolbox, then find “More Functions“, and then find “Background Operations“, and then click “Sub Window From Point“.
Sub Window From Point
Step 6
Click the function name SubWindowFromPoint, and then click the popup menu “Set Point“.
Set Point
Then move mouse on to the Edit control of RobotSoft Calculator, and then press Ctrl to set the point. And then click “OK“.
Set Point in Window
Set Point in Window
SubWindowFromPoint
Step 7
Set the Window parameter and ReturnValue of SubWindowFromPoint. And then click “OK” to confirm the Call Function command.
SubWindowFromPoint
Step 8
Find the “Background Operations” again, and then click “Send String“.
Send String
Set the parameters of SendString, and then click “OK” to confirm the Call Function command.
Send String
Step 9
Click the mouse button, and then click “Background Click“.
Background Click
Step 10
Click the function name Bkgnd_MouseClick, and then click the popup menu “Set Point“.
Set Point
Then move mouse on to the “Calculate” button of RobotSoft Calculator, and then press Ctrl.
Set Point
Then click “OK” to confirm.
Set Point
Bkgnd_MouseClick
Step 11
Set the rest arguments of Bkgnd_MouseClick. And then click “OK” to confirm the Call Function command.
Background Mouse Click
Now you can run the script.
Background Operations
And you will see the execution result:
Execution Result
While the script is running, you can still use your mouse and keyboard. Background operations are very useful features in Automatic Mouse and Keyboard. Automatic Mouse and Keyboard has the best tools to help you to build a script which can run in the background.
Komentar
Posting Komentar