[jawsscripts] Re: scripting User Guides

  • From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 18 Aug 2009 16:50:21 +0100

Can you not get a frame to 'activate' by running your script?

  Martin


----- Original Message ----- 
From: "Steven Hicks (HICKSSM)" <Steven.HicksSM@xxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, August 18, 2009 3:38 PM
Subject: [jawsscripts] Re: scripting User Guides


>I have just realised, this isn't really going to do what I want after all 
>as
> it is not running in real time if you get my meaning.
> The fram activates when something changes on that line of text on the
> screen, this is where I would need my script to kkkick in to check what 
> the
> number has changed to if this makes any sense?
>
> ----- Original Message ----- 
> From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Tuesday, August 18, 2009 11:08 AM
> Subject: [jawsscripts] Re: scripting User Guides
>
>
>> no probs.
>>
>>
>> ----- Original Message ----- 
>> From: "Steven Hicks (HICKSSM)" <Steven.HicksSM@xxxxxxxxxxxxx>
>> To: <jawsscripts@xxxxxxxxxxxxx>
>> Sent: Tuesday, August 18, 2009 7:53 PM
>> Subject: [jawsscripts] Re: scripting User Guides
>>
>>
>>> Brilliant, thanks very much indeed!
>>>
>>> ----- Original Message ----- 
>>> From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>> Sent: Tuesday, August 18, 2009 10:43 AM
>>> Subject: [jawsscripts] Re: scripting User Guides
>>>
>>>
>>> > If you use something like GetWord () to pick up some text from the
>> screen,
>>> > you can then convert that to an integer before doing the comparison.
>>> > So
>>> > assuming you have moved the cursor to the appropriate point on the
>> screen,
>>> > your code might look like:
>>> >
>>> > Var
>>> >  string sScreenText,
>>> >  int iNumber
>>> >
>>> > let sScreenText = GetWord ()
>>> > let iNumber = StringToInt (sScreenText)
>>> > if (iNumber > 7) then
>>> > ; do whatever is necessary
>>> > else
>>> > ; handle the case where iNumber <= 7
>>> > endif
>>> >
>>> > The function to produce a beep is beep ().
>>> >
>>> >  If you are writing your code using the Script Manager, then hitting
>>> > control+i will show you a dialog which lists all the available
>> functions,
>>> > and by tabbing and arrowing around, you can read some information 
>>> > about
>>> > what
>>> > the selected function does, what it might return, the values needed 
>>> > for
>>> > its
>>> > parameters, etc.  When you fill in the various fields in this dialog,
>> the
>>> > appropriately formatted function will be entered into the code you are
>>> > writing in Script Manager.
>>> >
>>> > This is like a mini-FSDN, but available without leaving the Script
>>> > Manager.
>>> >
>>> >  hth
>>> >
>>> > Martin
>>> >
>>> >
>>> > ----- Original Message ----- 
>>> > From: "Steven Hicks (HICKSSM)" <Steven.HicksSM@xxxxxxxxxxxxx>
>>> > To: <jawsscripts@xxxxxxxxxxxxx>
>>> > Sent: Tuesday, August 18, 2009 10:20 AM
>>> > Subject: [jawsscripts] Re: scripting User Guides
>>> >
>>> >
>>> >> Absolutely brilliant, thanks very much indeed.
>>> >>
>>> >> If I am taking a number from the screen and want to do a comparison
>> e.g.
>>> >> if
>>> >> numbr is greaterthan 7, would I have to convert the text string with
>> the
>>> >> ifnormation in to a number value if that makes any sense?
>>> >> Also is there a function in the scripting language to make a beep?
>>> >>
>>> >> You are really helpful, thank you very much indeed, this list is
>>> >> brilliant!
>>> >>
>>> >> ----- Original Message ----- 
>>> >> From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
>>> >> To: <jawsscripts@xxxxxxxxxxxxx>
>>> >> Sent: Tuesday, August 18, 2009 9:38 AM
>>> >> Subject: [jawsscripts] Re: scripting User Guides
>>> >>
>>> >>
>>> >>> The first word after the Var keyword must be another keyword giving
>> the
>>> >>> type
>>> >>> of the variable.  So
>>> >>>
>>> >>> Var
>>> >>>  string TestTextString
>>> >>>
>>> >>> should compile.  If you want a list of variables declared, the
>>> >>> entries
>>> >>> must
>>> >>> be separated by commas:
>>> >>>
>>> >>> Var
>>> >>>  string TestTextString,
>>> >>>  string AnotherTextString,
>>> >>>  int TestInteger
>>> >>>
>>> >>>
>>> >>> To download the FSDN, go to:
>>> >>>
>>> >>> http://www.freedomscientific.com/fs_support/doc_scriptfunction.asp
>>> >>>
>>> >>>  hth
>>> >>>
>>> >>> Martin
>>> >>>
>>> >>>
>>> >>>
>>> >>> ----- Original Message ----- 
>>> >>> From: "Steven Hicks (HICKSSM)" <Steven.HicksSM@xxxxxxxxxxxxx>
>>> >>> To: <jawsscripts@xxxxxxxxxxxxx>
>>> >>> Sent: Tuesday, August 18, 2009 8:57 AM
>>> >>> Subject: [jawsscripts] scripting User Guides
>>> >>>
>>> >>>
>>> >>>> Hi friends,
>>> >>>> two questions really, does anyone know why:
>>> >>>> Var TestTextString
>>> >>>> won't work.
>>> >>>>
>>> >>>> also, I used to have a resource type kit that allowed me to lookup
>>> >>>> functions and things etc, does anyone know a direct link that I can
>>> >>>> download this so i don't have to keep bothering the list with 
>>> >>>> simple
>>> >>>> things please?
>>> >>>> I am working on some quite advanced scripts which is quite 
>>> >>>> exciting.
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>>
>>>>>> -----------------------------------------------------------------------
>> ------------------
>>> >>>> The information in this e-mail and any attachments is
>>> >>>> confidential and is intended for the attention and use of the
>>> >>>> named addressee(s).  It  must not be disclosed to any other
>>> >>>> person  without our authority.  If you are not the intended
>>> >>>> recipient, or a person responsible for delivering it to
>>> >>>> the intended recipient or are aware that this e-mail has been
>>> >>>> sent to you in error, you are not authorised to and must not
>>> >>>> disclose, copy, distribute, or retain this message or any part of
>>> >>>> it.
>>> >>>>
>>> >>>> We sweep all outgoing messages for the presence of computer
>>> >>>> viruses. However, we cannot accept any responsibility for any
>>> >>>> loss or damage to your systems due to viruses or malicious
>>> >>>> code not detected.
>>> >>>>
>>> >>>> The statements and opinions expressed in this message are
>>> >>>> those of the author and do not necessarily reflect those of the
>>> >>>> organisations within the Cornwall & Isles of Scilly Health
>>> >>>> Community.
>>> >>>>
>>> >>>> This email may be disclosed under the Freedom of Information
>>> >>>> Act 2000 or the Environmental Information Regulations 2004.
>>>
>>>>>> -----------------------------------------------------------------------
>> ------------------
>>> >>>>
>>> >>>> __________
>>> >>>> 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
>>> >>>>
>>> >>>
>>> >>>
>>>
>>>>> ------------------------------------------------------------------------
>> --------
>>> >>>
>>> >>>
>>> >>>
>>> >>> No virus found in this incoming message.
>>> >>> Checked by AVG - www.avg.com
>>> >>> Version: 8.5.392 / Virus Database: 270.13.58/2309 - Release Date:
>>> >>> 08/17/09
>>> >>> 06:08:00
>>> >>>
>>> >>> __________
>>> >>> 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
>>> >>>
>>> >>
>>> >>
>>>
>>>> -------------------------------------------------------------------------
>> ----------------
>>> >> The information in this e-mail and any attachments is
>>> >> confidential and is intended for the attention and use of the
>>> >> named addressee(s).  It  must not be disclosed to any other
>>> >> person  without our authority.  If you are not the intended
>>> >> recipient, or a person responsible for delivering it to
>>> >> the intended recipient or are aware that this e-mail has been
>>> >> sent to you in error, you are not authorised to and must not
>>> >> disclose, copy, distribute, or retain this message or any part of it.
>>> >>
>>> >> We sweep all outgoing messages for the presence of computer
>>> >> viruses. However, we cannot accept any responsibility for any
>>> >> loss or damage to your systems due to viruses or malicious
>>> >> code not detected.
>>> >>
>>> >> The statements and opinions expressed in this message are
>>> >> those of the author and do not necessarily reflect those of the
>>> >> organisations within the Cornwall & Isles of Scilly Health
>>> >> Community.
>>> >>
>>> >> This email may be disclosed under the Freedom of Information
>>> >> Act 2000 or the Environmental Information Regulations 2004.
>>>
>>>> -------------------------------------------------------------------------
>> ----------------
>>> >> __________
>>> >> 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
>>> >>
>>> >
>>> >
>>>
>>> --------------------------------------------------------------------------
>> ------
>>> >
>>> >
>>> >
>>> > No virus found in this incoming message.
>>> > Checked by AVG - www.avg.com
>>> > Version: 8.5.409 / Virus Database: 270.13.60/2311 - Release Date:
>> 08/18/09
>>> > 06:03:00
>>> >
>>> > __________
>>> > 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
>>> >
>>>
>>>
>>> --------------------------------------------------------------------------
>> ---------------
>>> The information in this e-mail and any attachments is
>>> confidential and is intended for the attention and use of the
>>> named addressee(s).  It  must not be disclosed to any other
>>> person  without our authority.  If you are not the intended
>>> recipient, or a person responsible for delivering it to
>>> the intended recipient or are aware that this e-mail has been
>>> sent to you in error, you are not authorised to and must not
>>> disclose, copy, distribute, or retain this message or any part of it.
>>>
>>> We sweep all outgoing messages for the presence of computer
>>> viruses. However, we cannot accept any responsibility for any
>>> loss or damage to your systems due to viruses or malicious
>>> code not detected.
>>>
>>> The statements and opinions expressed in this message are
>>> those of the author and do not necessarily reflect those of the
>>> organisations within the Cornwall & Isles of Scilly Health
>>> Community.
>>>
>>> This email may be disclosed under the Freedom of Information
>>> Act 2000 or the Environmental Information Regulations 2004.
>>> --------------------------------------------------------------------------
>> ---------------
>>> __________
>>> 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
>>
>
>
> -----------------------------------------------------------------------------------------
> The information in this e-mail and any attachments is
> confidential and is intended for the attention and use of the
> named addressee(s).  It  must not be disclosed to any other
> person  without our authority.  If you are not the intended
> recipient, or a person responsible for delivering it to
> the intended recipient or are aware that this e-mail has been
> sent to you in error, you are not authorised to and must not
> disclose, copy, distribute, or retain this message or any part of it.
>
> We sweep all outgoing messages for the presence of computer
> viruses. However, we cannot accept any responsibility for any
> loss or damage to your systems due to viruses or malicious
> code not detected.
>
> The statements and opinions expressed in this message are
> those of the author and do not necessarily reflect those of the
> organisations within the Cornwall & Isles of Scilly Health
> Community.
>
> This email may be disclosed under the Freedom of Information
> Act 2000 or the Environmental Information Regulations 2004.
> -----------------------------------------------------------------------------------------
> __________
> 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
>


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.60/2311 - Release Date: 08/18/09 
06:03:00

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