[jawsscripts] Re: VMware Player

  • From: "Donald Marang" <donald.marang@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 15 Aug 2009 20:41:42 -0400

Just a note to let everyone know that I have been making significant 
improvements to the VMware Player scripts.  I now have a new VMwareMenu 
script that uses objects to locate the menu.I also fixed a stupid mistake in 
a script that does not allow the Enter key to pass through when in the 
menus, making it very hard to activate a menu.  I am currently testing the 
new changes so that such a major bug should not be missed again.  I would 
like to do a similar rewrite of the DevicesMenu script using objects.  It 
seems much more reliable.

Don Marang


----- Original Message ----- 
From: "Chris Hallsworth" <christopherh40@xxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Thursday, August 13, 2009 12:42 PM
Subject: [jawsscripts] Re: VMware Player


> Ok no problem. I think JAWS should announce that you're focused in the
> virtual machine window. It should say something like:
> "To switch back to the host, press", followed by the keystroke assigned.
> Hope this is a good suggestion.
>
> --
> Chris Hallsworth
>
> E-mail: christopherh40@xxxxxxxxxxxxxx
>
> MSN: ch9675@xxxxxxxxxxx
>
> Yahoo! Messenger: christopherh40@xxxxxxxxx
>
> Skype: chrishallsworth7266
>
> --------------------------------------------------
> From: "Donald Marang" <donald.marang@xxxxxxxxx>
> Sent: Thursday, August 13, 2009 5:37 PM
> To: <jawsscripts@xxxxxxxxxxxxx>
> Subject: [jawsscripts] Re: VMware Player
>
>> Hi Chris.
>>
>> I had originally forgotten to assign a keystroke to the DoScriptHelp
>> function I copied from another application.  I updated the package  just
>> before posting it.  The function should be associated to Alt + h.  The
>> message uses the %KeyFor(DoScriptHelp) placeholder, which should say the
>> key
>> map in real time.  I will check this out.  It should be a simple fix.
>>
>> Regarding the help message that appears in the virtual window, I want to
>> add
>> helpful keystrokes and hints for the VMware Player as well.  These keys
>> can
>> not be dynamic like script keystrokes and use these placeholders.  Of
>> course, this help keystroke is not available when the client has grabbed
>> the
>> keyboard, where most of these other hints are available.  I would like to
>> add things that would be useful for beginners.  Please forward any
>> information that you think should be added.
>>
>> I will also use your original code to bring up the VMware Player menu 
>> when
>> a
>> Virtual Machine is not running.  At least that way it will work more
>> reliably.  I have had trouble before when attempting to perform any Find
>> function from the bottom up.  Either it is a JAWS bug or I am doing
>> something wrong.
>>
>> I also need to go back and credit your work in this package.  Sorry I
>> forgot
>> on the first post.
>>
>> Don Marang
>>
>>
>> ----- Original Message ----- 
>> From: "Chris Hallsworth" <christopherh40@xxxxxxxxxxxxxx>
>> To: <jawsscripts@xxxxxxxxxxxxx>
>> Sent: Thursday, August 13, 2009 11:55 AM
>> Subject: [jawsscripts] Re: VMware Player
>>
>>
>>> Good work Don! Yes the bug is there in my copy, but so far the 
>>> keystrokes
>>> do
>>> what they say. However JAWS says "Press for help", rather than a more
>>> meaningful phrase like "Press f1 for help".
>>>
>>> --
>>> Chris Hallsworth
>>>
>>> E-mail: christopherh40@xxxxxxxxxxxxxx
>>>
>>> MSN: ch9675@xxxxxxxxxxx
>>>
>>> Yahoo! Messenger: christopherh40@xxxxxxxxx
>>>
>>> Skype: chrishallsworth7266
>>>
>>> --------------------------------------------------
>>> From: "Donald Marang" <donald.marang@xxxxxxxxx>
>>> Sent: Thursday, August 13, 2009 12:21 PM
>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>> Subject: [jawsscripts] Re: VMware Player
>>>
>>>> i guess I would have to call this an alpha!  I got an idea of how to
>>>> attack
>>>> this problem about the night before last.  So I have not tested it
>>>> extensively
>>>> yet.  It still has a problem sometimes finding the VMware Player menu
>>>> whemn
>>>> there is not a  VM running.  This is the FindString statement that I
>>>> previously mentioned.  Sometimes moving away and back from the
>>>> application
>>>> with Alt + F4 allows it to work.  Not sure whhy.  Perhaps I should
>>>> revert
>>>> to
>>>> using the simple JAWS cursor movement commands that Chris originally 
>>>> had
>>>> used.
>>>>
>>>> I figure these scripts would be helpful to the Vinux crowfd as well.  I
>>>> threw together a crude, utilitarian, hand coded  web page where the zip
>>>> and
>>>> self installing packages can be downloaded.  Please give them a try,
>>>> provide
>>>> feedback and let me know where more effort or features are needed.
>>>>
>>>> http://mysite.verizon.net/marangs/VMware.html
>>>>
>>>> Don Marang
>>>>
>>>>
>>>> ----- Original Message ----- 
>>>> From: "Chris Hallsworth" <christopherh40@xxxxxxxxxxxxxx>
>>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>>> Sent: Wednesday, August 12, 2009 4:01 PM
>>>> Subject: [jawsscripts] Re: VMware Player
>>>>
>>>>
>>>>> Yes please package them up and send it. I'd love to try them out.
>>>>> Thanks!
>>>>>
>>>>> --
>>>>> Chris Hallsworth
>>>>> E-mail: christopherh40@xxxxxxxxxxxxxx
>>>>> MSN: ch9675@xxxxxxxxxxx
>>>>> Yahoo! Messenger: christopherh40@xxxxxxxxx
>>>>> Skype: chrishallsworth7266
>>>>> Klango: chrishallsworth
>>>>>
>>>>> --------------------------------------------------
>>>>> From: "Donald Marang" <donald.marang@xxxxxxxxx>
>>>>> Sent: Wednesday, August 12, 2009 12:17 PM
>>>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>>>> Subject: [jawsscripts] Re: VMware Player
>>>>>
>>>>>> Hi Chris and others,
>>>>>>
>>>>>> I finally got something more reliable using mostly FindString
>>>>>> functions
>>>>>> within just the menu bar (hBar).  The FindString statements in your
>>>>>> original
>>>>>> code did not work.  The functions still worked because you had 
>>>>>> already
>>>>>> manually moved the JAWS cursor to the right position before the
>>>>>> FindString
>>>>>> statement.  I still have one problem strictly using the FindString
>>>>>> statement
>>>>>> to bring up the "VMware Player" menu when no Virtual Machine is
>>>>>> running
>>>>>> and
>>>>>> the "Command" dialog is displayed.  There is a graphic with the same
>>>>>> name
>>>>>> before the menu.  I attempted various options to the FindString
>>>>>> function
>>>>>> to
>>>>>> search from the bottom using:
>>>>>> If FindString (hBar, "VMware Player", S_BOTTOM, S_RESTRICTED) Then
>>>>>>    ...
>>>>>> EndIf
>>>>>>
>>>>>> I could not figure out what I was doing wrong, so I just added two
>>>>>> NextWord
>>>>>> statements after the above code using S_TOP.  How do you perform a
>>>>>> search
>>>>>> of
>>>>>> a single control window from the bottom up ()last)?
>>>>>>
>>>>>> I have added an OpenRecent script to set focus on the multi select
>>>>>> list
>>>>>> box
>>>>>> of recently used virtual machines.
>>>>>>
>>>>>> I currently am using the following keystrokes:
>>>>>> [Common Keys]
>>>>>> Alt+V=VMPlayerMenu
>>>>>> Alt+D=DevicesMenu
>>>>>> Control+O=Open
>>>>>> Control+R=OpenRecent
>>>>>> Enter=ActivateListItem
>>>>>>
>>>>>> Would you rather I paste my code within an email or package and host
>>>>>> these
>>>>>> scripts that would merge with the factory scripts (using a JSX
>>>>>> container
>>>>>> file) later today?  I would clean them up a little as well and add a
>>>>>> simple
>>>>>> help key (Alt + h?).
>>>>>>
>>>>>> Don Marang
>>>>>>
>>>>>>
>>>>>> ----- Original Message ----- 
>>>>>> From: "Chris Hallsworth" <christopherh40@xxxxxxxxxxxxxx>
>>>>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>>>>> Sent: Friday, August 07, 2009 3:44 PM
>>>>>> Subject: [jawsscripts] Re: VMware Player
>>>>>>
>>>>>>
>>>>>>> Ok for the benefit of others, here it is again. It's the code only
>>>>>>> and
>>>>>>> I
>>>>>>> will not attach the actual file. Once again, any feedback is 
>>>>>>> welcome.
>>>>>>>
>>>>>>> -- start of code --
>>>>>>> ;scripts for VMware Player
>>>>>>> include "hjconst.jsh"
>>>>>>> include "hjglobal.jsh"
>>>>>>>
>>>>>>>
>>>>>>> Void Function AutoStartEvent ()
>>>>>>> SayString ("Welcome to VMware Player")
>>>>>>>
>>>>>>>
>>>>>>> EndFunction
>>>>>>>
>>>>>>> Script VMwarePlayerMenu ()
>>>>>>> var
>>>>>>> handle hwnd,
>>>>>>> string class,
>>>>>>> string title
>>>>>>> let class="ToolbarWindow32"
>>>>>>> let title=GetAppTitle ()
>>>>>>> if title!="VMware Player" then
>>>>>>> JAWSCursor ()
>>>>>>> JAWSPageUp ()
>>>>>>> JAWSHome ()
>>>>>>> FindString (hwnd, "VMware Player", S_TOP, S_RESTRICTED)
>>>>>>> RoutePcToJAWS ()
>>>>>>> else
>>>>>>> JAWSCursor ()
>>>>>>> JAWSPageUp ()
>>>>>>> JAWSHome ()
>>>>>>> NextWord ()
>>>>>>> NextWord ()
>>>>>>> RoutePcToJAWS ()
>>>>>>> endif
>>>>>>> EndScript
>>>>>>>
>>>>>>> Script DevicesMenu ()
>>>>>>> var
>>>>>>> handle hwnd,
>>>>>>> string class,
>>>>>>> string title
>>>>>>> let class="ToolbarWindow32"
>>>>>>> let title=GetAppTitle ()
>>>>>>> if title!="VMware Player" then
>>>>>>> JAWSCursor ()
>>>>>>> JAWSPageUp ()
>>>>>>> JAWSHome ()
>>>>>>> FindString (hwnd, "Devices", S_TOP, S_RESTRICTED)
>>>>>>> RoutePcToJAWS ()
>>>>>>> else
>>>>>>> SayString ("There is no virtual machine running")
>>>>>>> endif
>>>>>>> EndScript
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Script OpenButton ()
>>>>>>> var
>>>>>>> string class,
>>>>>>> string title
>>>>>>> let class="Button"
>>>>>>> let title=GetAppTitle ()
>>>>>>> if title=="VMware Player" then
>>>>>>> JAWSCursor ()
>>>>>>> JAWSPageUp ()
>>>>>>> JAWSHome ()
>>>>>>> NextLine ()
>>>>>>> NextLine ()
>>>>>>> NextLine ()
>>>>>>> NextLine ()
>>>>>>> NextWord ()
>>>>>>> LeftMouseButton ()
>>>>>>> PCCursor ()
>>>>>>> else
>>>>>>> SayString ("There is already a virtual machine running")
>>>>>>> endif
>>>>>>> EndScript
>>>>>>>
>>>>>>> Script ClickDownloadButton ()
>>>>>>> var
>>>>>>> string class,
>>>>>>> string title
>>>>>>> let class="Button"
>>>>>>> let title=GetAppTitle ()
>>>>>>> if title=="VMware Player" then
>>>>>>> JAWSCursor ()
>>>>>>> JAWSPageUp ()
>>>>>>> JAWSHome ()
>>>>>>> NextLine ()NextLine ()
>>>>>>> NextLine ()
>>>>>>> NextLine ()
>>>>>>> NextLine ()
>>>>>>> NextLine ()
>>>>>>> NextLine ()
>>>>>>> NextWord ()
>>>>>>> LeftMouseButton ()
>>>>>>> PCCursor ()
>>>>>>> else
>>>>>>> SayString ("There is already a virtual machine running")
>>>>>>> endif
>>>>>>> EndScript
>>>>>>>
>>>>>>> Script ScriptFileName ()
>>>>>>> ScriptAndAppNames ("VMware Player")
>>>>>>>
>>>>>>>
>>>>>>> EndScript
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ;end of cscript file
>>>>>>>
>>>>>>> -- end of code --
>>>>>>>
>>>>>>> Thanks in advance.
>>>>>>> --
>>>>>>> Chris Hallsworth
>>>>>>> E-mail: christopherh40@xxxxxxxxxxxxxx
>>>>>>> MSN: ch9675@xxxxxxxxxxx
>>>>>>> Skype: chrishallsworth7266
>>>>>>> Klango: chrishallsworth
>>>>>>>
>>>>>>> --------------------------------------------------
>>>>>>> From: "Dave" <dave.mehler@xxxxxxxxx>
>>>>>>> Sent: Friday, August 07, 2009 8:12 PM
>>>>>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>>>>>> Subject: [jawsscripts] Re: VMware Player
>>>>>>>
>>>>>>>> Hello,
>>>>>>>> I did not get any scripts. Can you write me directly and send them?
>>>>>>>> Thanks.
>>>>>>>> Dave.
>>>>>>>>
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>>>>>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Chris
>>>>>>>> Hallsworth
>>>>>>>> Sent: Friday, August 07, 2009 2:24 PM
>>>>>>>> To: jawsscripts@xxxxxxxxxxxxx
>>>>>>>> Subject: [jawsscripts] Re: VMware Player
>>>>>>>>
>>>>>>>> So where's the message. I have some scripts, did anyone receive the
>>>>>>>> code
>>>>>>>> because I've not yet had any feedback.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Chris Hallsworth
>>>>>>>> E-mail: christopherh40@xxxxxxxxxxxxxx
>>>>>>>> MSN: ch9675@xxxxxxxxxxx
>>>>>>>> Skype: chrishallsworth7266
>>>>>>>> Klango: chrishallsworth
>>>>>>>>
>>>>>>>> --------------------------------------------------
>>>>>>>> From: "Dave" <dave.mehler@xxxxxxxxx>
>>>>>>>> Sent: Friday, August 07, 2009 3:11 PM
>>>>>>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>>>>>>> Subject: [jawsscripts] Re: VMware Player
>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>>>>>>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Chris
>>>>>>>>> Hallsworth
>>>>>>>>> Sent: Wednesday, August 05, 2009 4:57 PM
>>>>>>>>> To: jawsscripts@xxxxxxxxxxxxx
>>>>>>>>> Subject: [jawsscripts] VMware Player
>>>>>>>>>
>>>>>>>>> Hello all,
>>>>>>>>> I'd like to have a go at creating some scripts to make VMware
>>>>>>>>> Player
>>>>>>>>> more keyboard friendly, particularly when wanting to use the 
>>>>>>>>> menus.
>>>>>>>>> Any starters would be greatly appreciated. At the moment it works
>>>>>>>>> fine
>>>>>>>>> with JAWS, however you have to use the JAWS cursor to first find
>>>>>>>>> either the VMware Player or, if a virtual machine is running,
>>>>>>>>> devices.
>>>>>>>>> Once I've found that I just click on it and a standard pull down
>>>>>>>>> occurs and JAWS can read the menus and associated dialogue boxes
>>>>>>>>> fine.
>>>>>>>>> So I would like to enhance the accessibility so that JAWS can
>>>>>>>>> quickly
>>>>>>>>> locate and click on the appropriate menus, which I think are
>>>>>>>>> actually
>>>>>>>>> toolbars, according to the tutor message, using keystrokes.
>>>>>>>>> Thanks in advance for any starters.
>>>>>>>>> --
>>>>>>>>> Chris Hallsworth
>>>>>>>>> E-mail: christopherh40@xxxxxxxxxxxxxx
>>>>>>>>> MSN: ch9675@xxxxxxxxxxx
>>>>>>>>> Skype: chrishallsworth7266
>>>>>>>>> Klango: chrishallsworth
>>>>>>>>>
>>>>>>>>> __________
>>>>>>>>> Visit and contribute to The JAWS Script Repository
>>>>>>>>> http://jawsscripts.com
>>>>>>>>>
>>>>>>>>> View the list's information and change your settings at
>>>>>>>>> http://www.freelists.org/list/jawsscripts
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> __________
>>>>>>>>> Visit and contribute to The JAWS Script Repository
>>>>>>>>> http://jawsscripts.com
>>>>>>>>>
>>>>>>>>> View the list's information and change your settings at
>>>>>>>>> http://www.freelists.org/list/jawsscripts
>>>>>>>>>
>>>>>>>> __________
>>>>>>>> Visit and contribute to The JAWS Script Repository
>>>>>>>> http://jawsscripts.com
>>>>>>>>
>>>>>>>> View the list's information and change your settings at
>>>>>>>> http://www.freelists.org/list/jawsscripts
>>>>>>>>
>>>>>>>>
>>>>>>>> __________
>>>>>>>> Visit and contribute to The JAWS Script Repository
>>>>>>>> http://jawsscripts.com
>>>>>>>>
>>>>>>>> View the list's information and change your settings at
>>>>>>>> http://www.freelists.org/list/jawsscripts
>>>>>>>>
>>>>>>> __________
>>>>>>> Visit and contribute to The JAWS Script Repository
>>>>>>> http://jawsscripts.com
>>>>>>>
>>>>>>> View the list's information and change your settings at
>>>>>>> http://www.freelists.org/list/jawsscripts
>>>>>>>
>>>>>>
>>>>>> __________
>>>>>> Visit and contribute to The JAWS Script Repository
>>>>>> http://jawsscripts.com
>>>>>>
>>>>>> View the list's information and change your settings at
>>>>>> http://www.freelists.org/list/jawsscripts
>>>>>>
>>>>> __________
>>>>> Visit and contribute to The JAWS Script Repository
>>>>> http://jawsscripts.com
>>>>>
>>>>> View the list's information and change your settings at
>>>>> http://www.freelists.org/list/jawsscripts
>>>>>
>>>>
>>>> __________
>>>> Visit and contribute to The JAWS Script Repository
>>>> http://jawsscripts.com
>>>>
>>>> View the list's information and change your settings at
>>>> http://www.freelists.org/list/jawsscripts
>>>>
>>>>
>>> __________
>>> Visit and contribute to The JAWS Script Repository 
>>> http://jawsscripts.com
>>>
>>> View the list's information and change your settings at
>>> http://www.freelists.org/list/jawsscripts
>>>
>>
>> __________
>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> http://www.freelists.org/list/jawsscripts
>>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
> 

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: