[jawsscripts] Re: unknown variable in the click baloon script
- From: "John Greer" <jpgreer17@xxxxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Sat, 22 Mar 2008 14:40:44 -0600
A quick and dirty but not Freedom Scientific approved method is to replace
the entire SayFormattedMessage lines with
SayString ("help balloon clicked")
and
SayString ("help balloon not found")
Using SayString won't get you a job working for Freedom Scientific but it
works for quick fixes.
Having tried the script though, it seems to be doing the opposite of what it
is supposed to do. It seems that it clicks the tooltip instead of the help
balloons.
----- Original Message -----
From: "Negoslav Sabev" <negi4a@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Saturday, March 22, 2008 5:54 AM
Subject: [jawsscripts] Re: unknown variable in the click baloon script
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
__________
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
- Follow-Ups:
- [jawsscripts] Re: unknown variable in the click baloon script
- From: Negoslav Sabev
- References:
- [jawsscripts] unknown variable in the click baloon script
- From: Negoslav Sabev
- [jawsscripts] Re: unknown variable in the click baloon script
- From: John Greer
- [jawsscripts] Re: unknown variable in the click baloon script
- From: Negoslav Sabev
Other related posts:
- » [jawsscripts] unknown variable in the click baloon script
- » [jawsscripts] Re: unknown variable in the click baloon script
- » [jawsscripts] Re: unknown variable in the click baloon script
- » [jawsscripts] Re: unknown variable in the click baloon script
- » [jawsscripts] Re: unknown variable in the click baloon script
- » [jawsscripts] Re: unknown variable in the click baloon script
- » [jawsscripts] Re: unknown variable in the click baloon script
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 scriptHello,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.Oncescript manager opens, press control shift d to bring up the default scriptfile.Then move to the bottom of it with control end. then,hit enter once or twiceto make sure your on a blank line,,and paste the contents of the script. Thenmove 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 anddescription 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 andhit control s to recompile the default script file, and use alt f4 to closethedialogue. After that, when a help balloon appears, you should be able to usethe 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 EndScriptI'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
- [jawsscripts] Re: unknown variable in the click baloon script
- From: Negoslav Sabev
- [jawsscripts] unknown variable in the click baloon script
- From: Negoslav Sabev
- [jawsscripts] Re: unknown variable in the click baloon script
- From: John Greer
- [jawsscripts] Re: unknown variable in the click baloon script
- From: Negoslav Sabev