[JAWS-Users] scripting a menu
Thank you Stuart, this might be the Rosetta stone I have been looking for. Sorry it's been almost a month since you sent it but I save such messages for safe keeping. David Ferrin www.jaws-users.com VIP Conduit Tech Support www.vipconduit.com For answers to frequently asked questions about this list visit: http://www.jaws-users.com/help/
Re: [JAWS-Users] scripting a menu
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/
Re: [JAWS-Users] scripting a menu
I sure will give it a shot, thank you. The idea here is to build a menu to select from multiple scripts or functions that I may wish to execute. David Ferrin http://www.jaws-users.com VIP Conduit Tech Support - Original Message - From: Stuart stupo...@gmail.com To: jaws-users-list@jaws-users.com Sent: Saturday, July 11, 2009 7:36 AM Subject: Re: [JAWS-Users] scripting a menu 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/ For answers to frequently asked questions about this list visit: http://www.jaws-users.com/help/
[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/
Re: [JAWS-Users] scripting a menu
Hi David, Unsure what you want to do and what application you are using. Anyway if it is a non standard window you might want to reclass window to menu in configuration manager. To explore application, Put cursor on window in question, press insert+space bar to turn home row on. you press F3 to get info about window. press f1 to get more info. Press f3 again to class press f1 to get info. press insert+space bar to exit home row utility. Unsure if you know about home row. Ann Ann - Original Message - From: David Ferrin d...@jaws-users.com To: jaws-users-list@jaws-users.com Sent: Friday, July 10, 2009 10:10 AM 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/
Re: [JAWS-Users] scripting a menu
What I am trying to do is create a script that will generate it's own menu like the menu for changing speech engines. David Ferrin http://www.jaws-users.com VIP Conduit Tech Support - Original Message - From: Ann M. Medlar amedl...@gmail.com To: jaws-users-list@jaws-users.com Sent: Friday, July 10, 2009 2:42 PM Subject: Re: [JAWS-Users] scripting a menu Hi David, Unsure what you want to do and what application you are using. Anyway if it is a non standard window you might want to reclass window to menu in configuration manager. To explore application, Put cursor on window in question, press insert+space bar to turn home row on. you press F3 to get info about window. press f1 to get more info. Press f3 again to class press f1 to get info. press insert+space bar to exit home row utility. Unsure if you know about home row. Ann Ann - Original Message - From: David Ferrin d...@jaws-users.com To: jaws-users-list@jaws-users.com Sent: Friday, July 10, 2009 10:10 AM 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/ For answers to frequently asked questions about this list visit: http://www.jaws-users.com/help/