Speech Recognition Software with AGS Games

Old games, new games, anything goes.

Moderator: Mods

Speech Recognition Software with AGS Games

Postby KQ_SQ_BC_PQ_fan » Sun Mar 22, 2009 4:50 pm

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.

I'd like to run this information by Chris Jones. Who knows what his email address is?
Computer process racer
User avatar
KQ_SQ_BC_PQ_fan
Aban
 
Posts: 5
Joined: Fri Nov 21, 2008 1:54 am
Location: IL, USA

Return to PC Gaming

Who is online

Users browsing this forum: No registered users and 1 guest

cron