RE: script for clicking help balloons in Windows XP

  • From: "Terra Syslo" <tlsyslo@xxxxxxxxx>
  • To: <jfw@xxxxxxxxxxxxx>
  • Date: Tue, 23 Jan 2007 16:39:40 -0600

Hi, can someone tell me how I would add this script? Thank you. I missed
most of the posts.


-----Original Message-----
From: jfw-bounce@xxxxxxxxxxxxx [mailto:jfw-bounce@xxxxxxxxxxxxx]On
Behalf Of Allan Wong
Sent: Tuesday, January 23, 2007 3:15 PM
To: jfw@xxxxxxxxxxxxx
Subject: script for clicking help balloons in Windows XP


hi,
i know Blake just respond to the list that he'll modify the script soon, but
however, if any one need the original script, this is
his email that he've send to the list last year on january 28.

From: "Blake Sinnett" <frequency660@xxxxxxxxxxx>
To: <jfw@xxxxxxxxxxxxx>
Sent: Saturday, January 28, 2006 01:00


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

--
JFW related links:
JFW homepage: http://www.freedomscientific.com/
Scripting mailing list:
http://lists.the-jdh.com/listinfo.cgi/scriptography-the-jdh.com
JFW List instructions:
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

--
JFW related links:
JFW homepage: http://www.freedomscientific.com/
Scripting mailing list: 
http://lists.the-jdh.com/listinfo.cgi/scriptography-the-jdh.com
JFW List instructions:
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: