Hi David. Here is a script I wrote using the dlg select function to simulate the different jaws cursors. Perhaps you can get an idea from this.
Script cursormenue () var string MyMenu, ; variable to hold menu text. string MenuTitle, ; variable to hold menu title. int index ; integer variable to hold menu numbers. let MenuTitle="Cursor Menu" ; assign name . let MyMenu="|Pc cursor"+ "|Jaws Cursor"+ "|Rout Jaws To PC"+ "|Rout Pc To Jaws"+ "|Rout Pc To Jaws"+ "|Invisible Cursor"+ "|Left Mouse Click" let index=DlgSelectItemInList(MyMenu,MenuTitle,FALSE) IsSelectItemDlg() ; function to ensure focus is correct If(index==1) Then PerformScript PCCursor() ElIf(index==2) Then PerformScript JawsCursor() ElIf(index==3) Then PerformScript RouteJawsCursorToPc() ElIf(index==4) Then PerformScript RoutePCCursorToJaws() ElIf(index==5) Then InvisibleCursor () Else Say("Menu cancelled.",ot_message) EndIf EndScript -----Original Message----- From: jaws-users-list-boun...@jaws-users.com [mailto:jaws-users-list-boun...@jaws-users.com] On Behalf Of David Ferrin Sent: 10 July 2009 15:11 To: jaws-users-list@jaws-users.com Subject: [JAWS-Users] scripting a menu I'm trying to build a script that displays a menu from which choices can be made as to selecting functions and so forth. Obviously I'm having some trouble kicking it off, so if there is anybody out there who is capable of giving me a pointer or 2 in the right direction I would sure appreciate it. David Ferrin http://www.jaws-users.com VIP Conduit Tech Support For answers to frequently asked questions about this list visit: http://www.jaws-users.com/help/ For answers to frequently asked questions about this list visit: http://www.jaws-users.com/help/