[jawsscripts] Re: unknown variable in the click baloon script

Thanks for the suggestion. It seems reasonable. Maybe I should download jaws9 demo and try it. Or better - if someone can send me the jaws9 message file it would be nice.
Thanks,
Negoslav

----- Original Message ----- From: "Jackie McBride" <abletec@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Saturday, March 22, 2008 6:58 PM
Subject: [jawsscripts] Re: unknown variable in the click baloon script


Probably the easiest is to open your jaws 9 message file, find that
particular message, select & copy it, then open your jaws 8 message
file & paste it in there.

On 3/22/08, Negoslav Sabev <negi4a@xxxxxxxxx> wrote:
Thank you. So what can I do to include it?
Negoslav

----- Original Message -----
From: "John Greer" <jpgreer17@xxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Saturday, March 22, 2008 11:25 AM
Subject: [jawsscripts] Re: unknown variable in the click baloon script


> Looks to me like that particular Jaws Message is not included in the > Jaws
> 8 jsm file that it is calling for
> ----- Original Message -----
> From: "Negoslav Sabev" <negi4a@xxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Saturday, March 22, 2008 1:18 AM
> Subject: [jawsscripts] unknown variable in the click baloon script
>
>
>>
>> Hello,
>>
>> I tried to transfer the click baloon script from jaws 9 in my jaws 8. >> I
>> follow the below procedure:
>> "First, select the entire script text and copy it
>> to the clipboard. Then, hit insert f2 and bring up script manager.Once
>> script manager opens, press control shift d to bring up the default
>> script
>> file.
>> Then move to the bottom of it with control end. then,hit enter once or
>> twice
>> to make sure your on a blank line,,and paste the contents of the >> script.
>> Then
>> move into the body of the script and hit control d. Once you do, a >> script
>> information dialogue box will appear. Tab through it and fill in the
>> various
>> fields, leaving the script name box intact. You can fill in the >> synopsis
>> and
>> description fields if you wish. Make sure the can be attached to key
>> checkbox
>> is checked. You can use any keystroke you wish that won't conflict
>> with another keystroke. I used control shift l myself. Then click ok >> and
>> hit control s to recompile the default script file, and use alt f4 to
>> close
>> the
>> dialogue. After that, when a help balloon appears, you should be able >> to
>> use
>> the keystroke you assigned to click it."
>>
>> By doing this I get the folowing error
>> "Compile Error
>> Unknown variable OT_NO_Disable
>> OK".
>>
>> This is the script itself.
>>
>> Script clickhelpballoon ()
>>
>> Var
>>
>> String SClass, ; The name of the window class.
>>
>> String SName, ; The name of the window.
>>
>> Handle HWND ; The handle of the current window.
>>
>> Let SClass = GetWindowClass (GetFirstWindow (FindTopLevelWindow
>>
>> ("Shell_TrayWnd", "")))
>>
>> Let SName = GetWindowName (GetFirstWindow (FindTopLevelWindow
>>
>> ("Shell_TrayWnd", "")))
>>
>> Let HWND = GetFocus ()
>>
>> GetFocus ()
>>
>> If SClass == "tooltips_class32"
>>
>> & SName != "" then ; Click the balloon.
>>
>> SayFormattedMessage (OT_NO_Disable, "Clicked help balloon.", >> "Clicked.")
>>
>> SetFocus (GetFirstWindow (FindTopLevelWindow ("Shell_TrayWnd", "")))
>>
>> SaveCursor ()
>>
>> RouteJAWSToPc ()
>>
>> RoutePcToJAWS ()
>>
>> {LeftMouseButton}
>>
>> SetFocus (HWND) ; Return the focus to its previous window.
>>
>> Else
>>
>> if SClass != "tooltips_class32"
>>
>> || SName == "" then ; State that a help balloon wasn't found.
>>
>> SayFormattedMessage (OT_No_Disable, "Help balloon not found.", "Not
>> found.")
>>
>> EndIf
>>
>> EndIf
>>
>> EndScript
>>
>> I'm not a scripter and my knolage is very limited, so please keep it
>> simple.
>> Negoslav
>> __________ View the list's information and change your settings at
>> http://www.freelists.org/list/jawsscripts
>>
>>
>
> __________ View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>

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




--
Jackie McBride
Please join my fight against breast cancer
<http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
& Check out my homepage at:
www.abletec.serverheaven.net
__________
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts


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

Other related posts: