[jawsscripts] Re: What Am I doing wrong on this script?

  • From: "Bob Kennedy" <intheshop@xxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 12 Mar 2012 19:47:37 -0400

I don't think it was meant to discourage you in any way.  I don't know all 
that much about scripting, but I got my foundation from working through the 
manual first and then attending the classes at FS.

What may help you more is to try working through the manual a little at a 
time, and if you run into a problem there, post those questions as well.
----- Original Message ----- 
From: "mark" <marktorgerson@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, March 12, 2012 10:27 AM
Subject: [jawsscripts] Re: What Am I doing wrong on this script?


Hi Jackie,
     Your comments are in fact extremely discouraging. I fully admit that 
when I read the basics of scripting manual as I did a few years back, it was 
way over my head. I was so happy to find this E-Mail list where a person 
could come and learn from the experts without feeling embarrassed by one's 
appalling lack of knowledge. Well, now after your comments I am feeling like 
I need to avoid posting on this list again. This is very sad because I have 
learned allot over time by asking questions on this list.

Mark

God Loves you!
You can visit my website at:
http://christiantraditions.info
Please visit my blog at:
http://christian-traditions.blogspot.com

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jackie McBride
Sent: Sunday, March 11, 2012 8:03 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: What Am I doing wrong on this script?

Mark, this is in no way trying to be either nasty or discouraging, but
your code & your questions lead me to believe u really do not have a
good understanding of scripting basics. Unfortunately, if u intend to
do any degree of scripting, such understanding really is essential.
Scripters need to understand cursors, focus, data types, constants,
variables, window handles--& a lot more. In addition, when the
compiler calls ralph due to a syntax error, scripters need to know how
to interpret what the compiler is saying & fix the mistake.

I know it's tempting to just dive right in & start scripting. I really
do urge, though, that u instead take the time to read the basics of
scripting manual & work the exercises. Your program will be waiting
when you're done, & u will have gained a significant understanding of
Jaws scripting in the process. It'll be an investment of time that
will return dividends in spades.

I know--I know--patience is a virtue; find it where u can; usually
found in women, hardly ever found in men. Please do be patient,
though, & acquire the understandings u need. Then, when u start
scripting for real, you'll have a foundation of rock on which to
build, & not merely shifting sand. It's not what u wanted to hear, I
know--but it is what u need to hear, Mark.

I wish u every success in your scripting endeavors.

On 3/11/12, Geoff Chapman <gch@xxxxxxxxxxxxxxxx> wrote:
> you'd of course have had to define test in the partial code below, as a
> string variable, before you could do any conditional logic checking like
> that,
> which Mark might not be aware of yet John?
>
>
> are you familiar Mark with what variables are? their different types, and
> how they can be, "stuffed," with actual content etc?
>
>
> ----- Original Message -----
> From: "john.falter" <john.falter@xxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Sunday, March 11, 2012 11:28 AM
> Subject: [jawsscripts] Re: What Am I doing wrong on this script?
>
>
>> You should have quotes around the view certificate phrase.
>> I suggest using stringContains for your test.
>> The chunk may not be formatted exactly as "view certificate".
>> I would write:
>> let test = getChunk ()
>> if stringContains (test == "view certificate" then
>> ----- Original Message -----
>> From: "mark" <marktorgerson@xxxxxxxxx>
>> To: <jawsscripts@xxxxxxxxxxxxx>
>> Sent: Saturday, March 10, 2012 6:28 PM
>> Subject: [jawsscripts] What Am I doing wrong on this script?
>>
>>
>>> Hi
>>>     One of the servers I receive mail from sets of a message whenever I
>>> open my E-Mail program. I know the server is safe to use. So, I always
>>> close
>>> the message. It seems to me that I should be able to create a script 
>>> that
>>> runs automatically and closes the message for me. However, the following
>>> script I wrote refuses to compile. What am I doing wrong?
>>> If GetChunk () == View Certificate... then
>>> {alt+y}
>>> EndIf
>>> Any thoughts are appreciated.
>>>
>>> God bless,
>>> Mark Torgerson
>>> God Loves you!
>>> You can visit my website at:
>>> <http://christiantraditions.info> http://christiantraditions.info
>>> Please visit my blog at:
>>> <http://christian-traditions.blogspot.com>
>>> http://christian-traditions.blogspot.com
>>>
>>>
>>> __________�
>>>
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/jawsscripts
>>>
>>
>> __________�
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>>
>
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>


-- 
Blame the computer--why not? It can't defend itself & occasionally
might even be the culprit
Jackie McBride
Ask Me Computer Questions at: www.pcinquirer.com
Jaws Scripting training materials: www.screenreaderscripting.com
homePage: www.abletec.serverheaven.net
__________�

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



__________�

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

__________�

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

Other related posts: