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

  • From: Jackie McBride <abletec@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sun, 11 Mar 2012 22:44:13 -0700

Reed, looks like I already did. John, that's a 2-way street, u know.

On 3/11/12, john.falter <john.falter@xxxxxxxxxxx> wrote:
> Now Jackie, be nice. Don't pick on men's patients.
> We put up with the quirks of women.----- Original Message -----
> From: "Jackie McBride" <abletec@xxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Sunday, March 11, 2012 11:03 PM
> 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
>
>


-- 
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

Other related posts: