Re: script for clicking help balloons in Windows XP

  • From: Tony Santiago <tsantiago128@xxxxxxxxxxxxx>
  • To: jfw@xxxxxxxxxxxxx
  • Date: Fri, 03 Feb 2006 10:52:30 -0500

Well, I didn't key in anything; I just copied and pasted the script from the instructions to the default script. I'll double check anyway. Thanks

----- Original Message ----- From: "Allan@3M" <allanwong.3m@xxxxxxxxx>
To: <jfw@xxxxxxxxxxxxx>
Sent: Friday, February 03, 2006 10:43 AM
Subject: Re: script for clicking help balloons in Windows XP



hi,

I'm not sure what is going wrong on your script but what I'm sure is the script that provided is correct. I'm success edit in the script in to my default.jss file without any error message. Maybe you can check all the line, from the error message, it's shown that you has key in something that the script manager does not understand.


Regards, Allan Wong

Mobile: +60-16-202 0000
E-mail: allanwong.3m@xxxxxxxxx
Skype: allan_3m
----- Original Message ----- From: "Tony Santiago" <tsantiago128@xxxxxxxxxxxxx>
To: <jfw@xxxxxxxxxxxxx>
Sent: Friday, February 03, 2006 23:13
Subject: Re: script for clicking help balloons in Windows XP



Hi, while trying to add the following script to my default script file, I got this error message when compiling: "unknown variable OT_NO_Disable" Did I do something wrong, or is there something wrong with the script? Thanks for any help.



Here is a script I made that will click help balloons in Windows XP. It works on my computer, so I would be interested to get some feedback on if it works for you all.


DISCLAIMER


If you don't know how to add a script to the default.jss file, please, i beg you, please don't try to install it without some help from someone who does. I will not be accused of messing someone's computer up, when most likely it was the person's own fault because they didn't know what they were doing! Now with that disclaimer out of the way, here is the script information.


script documentation


script name: ClickHelpBalloon
can be attached to key: checked
synopsis: Clicks help balloons in Windows XP.
description: When this key stroke is pressed, a help balloon is searched for. If one is found, it will be clicked. If one isn't found, JAWS says so. You can only successfully use this key stroke in Windows XP.
catigory: none
assign to hotkey: i used control+B, but you can use whatever you like.


Script body, add this after script ClickHelpBalloon (), and before EndScript

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



I hope this script works. If it doesn't, then I'm back to the drawing board.

Thanks,
Blake


-----------------------------------------------------
"frequency660@xxxxxxxxxxx" is a NetIBA certified email address. Certificate #1070793E. Please visit NetIBA at http://www.netiba.com/?22912



--
To post a message to the list, send it to jfw@xxxxxxxxxxxxx
To unsubscribe from this mailing list, send a message to jfw-request@xxxxxxxxxxxxx with the word unsubscribe in the subject line.
Archives located at: //www.freelists.org/archives/jfw


If you have any concerns about the list, post received from the list, or the way the list is being run, do not post them to the list. Rather contact the list owner at jfw-admins@xxxxxxxxxxxxxx

--
To post a message to the list, send it to jfw@xxxxxxxxxxxxx
To unsubscribe from this mailing list, send a message to jfw-request@xxxxxxxxxxxxx with the word unsubscribe in the subject line.
Archives located at: //www.freelists.org/archives/jfw


If you have any concerns about the list, post received from the list, or the way the list is being run, do not post them to the list. Rather contact the list owner at jfw-admins@xxxxxxxxxxxxxx

--
To post a message to the list, send it to jfw@xxxxxxxxxxxxx
To unsubscribe from this mailing list, send a message to jfw-request@xxxxxxxxxxxxx with the word unsubscribe in the subject line.
Archives located at: //www.freelists.org/archives/jfw


If you have any concerns about the list, post received from the list, or the way the list is being run, do not post them to the list. Rather contact the list owner at jfw-admins@xxxxxxxxxxxxxx

-- To post a message to the list, send it to jfw@xxxxxxxxxxxxx To unsubscribe from this mailing list, send a message to jfw-request@xxxxxxxxxxxxx with the word unsubscribe in the subject line. Archives located at: //www.freelists.org/archives/jfw

If you have any concerns about the list, post received from the list, or the way the list is being run, do not post them to the list. Rather contact the list owner at jfw-admins@xxxxxxxxxxxxxx

Other related posts: