I've found that Windows Vista's "click that" command and Dragon NaturallySpeaking’s "mouse click" command don't work with any games that were created using Adventure Game Studio. However, I've engineered a script that enables me to circumvent the problem.
Using Dragon NaturallySpeaking Legal, Medical, or Professional, you will be able to create voice commands that launch the scripts below.
Launching the following script will cause an AGS game to recognize a left mouse click at the current mouse position.
Sub Main
RememberPoint
Wait .001
DragToPoint 1
End Sub
Launching the following script will cause an AGS game to recognize a right mouse click at the current mouse position.
Sub Main
RememberPoint
Wait .001
DragToPoint 2
End Sub
These scripts work only when the game is run in a window; they do not work when the game is run full-screen.
Using Dragon NaturallySpeaking Legal, Medical, or Professional, you will be able to create voice commands that launch the scripts below.
Launching the following script will cause an AGS game to recognize a left mouse click at the current mouse position.
Sub Main
RememberPoint
Wait .001
DragToPoint 1
End Sub
Launching the following script will cause an AGS game to recognize a right mouse click at the current mouse position.
Sub Main
RememberPoint
Wait .001
DragToPoint 2
End Sub
These scripts work only when the game is run in a window; they do not work when the game is run full-screen.