David,
 
this is *exactly* why I wrote (am still writing) the wiki article I emailed
you about earlier; and, it works up to, a long list of example code for
different situations.  It's supposed to help you make sense out of the help
manual.  I'll look at adding your particular problem to the examples, but I
don't use braille, so I don't know what it is you're really trying to do.
still, I think I can work up an example for what you just asked about.
 
Chip
 

  _____  

From: David [mailto:eleph...@tele2.no] 
Sent: Saturday, January 16, 2010 2:24 AM
To: gw-scripting@gwmicro.com
Subject: Re: Braille Table question


Yes, Chip! I know of the help on each item, if I get your description right;
and we are talking the same language. 
 
Still, I think I get lost somewhere in here. As far as I can make it, to get
the name of the active Braille table, I have to get to the 
ACTIVE
Which can be retrieved from
BrailleTables
Which is to be retrieved from 
TRANSLATIONTABLES
Which is retrieved from 
BRAILLESETTINGS
Which is retrieved from 
BRAILLE
Which is retrieved from 
SETFILE object.
PWEEW! Allright, where is it I got lost? Could someone, please, have
provided me a short sample code, that would return the name or number of the
currently active Braille Table? I thought it would be possible, but find the
manual of very little help, as it only reads a load of 'can be retrieved
from', and provides absolutely NO example, whatsoever. Feels like one or two
lines of sample code every now and then, would have been really helpful.
This is actually one of the BIG drawback I find about the Scripting manual.
Cases like this, I feel like you are linked in an ever ongoing circle, and
you keep swirling around therein, all till someone provides a bit of sample
code, and Woopsy, you start to grasp some meaning in all of it. Don't know,
if it is only me, who feels that way. And, for right now, it doesn't matter
too much whether or not. What keeps my project stuck, at the moment, is that
I can't get the info as to which Braille table is active, or how to change
it. 
 
Hope someone can provide me a bit of help, since I have been running in
circles in the manual for a few hours now. 
 
Thanks alot!
 
 
 

----- Original Message ----- 
From: Chip  <mailto:lists3...@comcast.net> Orange 
To: gw-scripting@gwmicro.com 
Sent: Saturday, January 16, 2010 4:21 AM
Subject: RE: Braille Table question

Hi David,
 
if you will go into the help file, and find the brailletables object, and
press enter on it, this will open it up in the tree structure, but it will
also make a help topic for the object available, which you can see as usual
with the f6 key.  it took me a while to catch on to this, I thought the top
level objects were just there as containers for the properties and methods
in the tree structure, but they do have their own help, and each one tells
you how to get that particular kind of object.  here is what it says for
brailleTables:
 
"Usage
Use the
BrailleTables
 object to retrieve a collection of Braille tables. A
BrailleTables
 object can be obtained from a
BrailleSettings
 object's
TranslationTables
 property."

 hth,
 
Chip
 
  _____  

From: David [mailto:eleph...@tele2.no] 
Sent: Friday, January 15, 2010 9:37 PM
To: Scripting List WE
Subject: Braille Table question


I am pretty sure, I don't understand the manual. So every bit of direction
is greatly appriciated. Here is my script, please let me know what I am
missing, and how to do it correctly.
 
Dim BrlTab
Set BrlTab = BrailleTables.Active
Speak "Current Braille Table is: " & BrlTab
 
I get the following error message:
Variable is undefined: 'BrailleTables'
Ok, what do I do to define the BrailleTables object, described in the
manual?
 
Thanks again,
 

  _____  

I am using the Free version of SPAMfighter <http://www.spamfighter.com/len>
.
We are a community of 6 million users fighting spam.
SPAMfighter has removed 320 of my spam emails to date.
The Professional version does not have this message.


Reply via email to