Hi Travis,

Thanks much for your post, but perhaps someone can clarify a bit?

When I open VoiceOver.sdef I can interact with the outer table and traverse the 
available objects and commands.  In Lion, from the top it reads:

VoiceOver suite
perform command
grab screenshot
click
...

No matter which item is selected, I can only jump to the top of the HTML file.  
This does show a table with two columns and one row, but when I attempt to 
interact, VO treats it as text rather than a table.

Perhaps a specific example will better illustrate where I'm stuck.  I have 
AppleScript enabled in VO utility, and when I insert the two voiceOver check 
handler logic from the included "time of day" script can get the expected 
result from a "output" statement.  Don't know why it didn't work when the 
script only consisted of a tell block, but that might be a question for another 
day.

  Lets say that my objective is to toggle the keyboard commander.  The sdef 
file shows a "commander object".  which responds to "perform command".  I could 
not find any documentation of the types of commanders, but assume the available 
options are: "trackpad, keyboard, numeric, and quicknav.  My thought is that 
this must be documented somewhere?

Anyway, I looked up "perform command" which said: "Perform command text -- the 
English name of the VoiceOver command to perform".

  Okay, so based on what I read and already knew about voiceOver commanders I 
entered the following in AppleScriptEditor:

  ... handler logic copied from time of day script

  tell application "VoiceOver"
  Perform command "Toggle Keyboard Commander On or Off"
  end tell
   This is the exact text under commands menu -> general.  I also tried just 
the first three words and adding only one specifier (IE "Toggle Keyboard 
Commander On".  Regardless, I get an error #4 from VoiceOver at runtime.

  TIA for any getting started help, as I'd really like to put together a script 
that would better automate copying large blocks from web pages, which would 
involve toggling a number of VoiceOver objects.

  Best regards.
  Geoff

  ----- Original Message ----- 
  From: Travis Siegel 
  To: Mac OSX & iOS Accessibility 
  Sent: Thursday, September 22, 2011 10:40 PM
  Subject: Re: Browsing sdef files in AppleScriptEditor.


  When you're interacting with the sdef files, I've found no way to  
  jump to sections, headers, and the like, I simply go down the column  
  that lists the functions, then simply go across the row when I hit  
  one I want to know more about.  Once you interact with the table in  
  question, regular vo up/down/right/left arrows works just fine for  
  navigating the information in the table.

  On Sep 20, 2011, at 6:10 PM, Geoff Waaler wrote:

  > Greetings,
  >
  > When opening a scriptable dictionary file (e.g VoiceOver.sdef) the  
  > available commands and objects are placed in a tree view.  I assume  
  > there must be a quick way to view text associated with the item in  
  > focus, but it eludes me so far.  VO-j always goes to the beginning  
  > and there does not appear to be a shortcut menu.
  >
  > Is there an easier method to jump to the item of interest, or is  
  > the item chooser the only game in town?  TIA for any suggestions  
  > and best regards.
  > Geoff
  > <--- Mac Access At Mac Access Dot Net --->
  >
  > To reply to this post, please address your message to mac- 
  > [email protected]
  >
  > You can find an archive of all messages posted    to the Mac-Access  
  > forum at either the list's own dedicated web archive:
  > <http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html>
  > or at the public Mail Archive:
  > <http://www.mail-archive.com/[email protected]/>.
  > Subscribe to the list's RSS feed from:
  > <http://www.mail-archive.com/[email protected]/maillist.xml>
  >
  > The Mac-Access mailing list is guaranteed malware, spyware, Trojan,  
  > virus and worm-free!
  >
  > Please remember to update your membership options periodically by  
  > visiting the list website at:
  > <http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>

  <--- Mac Access At Mac Access Dot Net --->

  To reply to this post, please address your message to 
[email protected]

  You can find an archive of all messages posted    to the Mac-Access forum at 
either the list's own dedicated web archive:
  <http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html>
  or at the public Mail Archive:
  <http://www.mail-archive.com/[email protected]/>.
  Subscribe to the list's RSS feed from:
  <http://www.mail-archive.com/[email protected]/maillist.xml>

  The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus and 
worm-free!

  Please remember to update your membership options periodically by visiting 
the list website at:
  <http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>
<--- Mac Access At Mac Access Dot Net --->

To reply to this post, please address your message to [email protected]

You can find an archive of all messages posted    to the Mac-Access forum at 
either the list's own dedicated web archive:
<http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html>
or at the public Mail Archive:
<http://www.mail-archive.com/[email protected]/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/[email protected]/maillist.xml>

The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus and 
worm-free!

Please remember to update your membership options periodically by visiting the 
list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>

Reply via email to