[gui-talk] Fwd: New Relative Position package for Window-Eyes

Steve Pattison srp at internode.on.net
Wed Jan 14 03:38:46 UTC 2009


From: Jamal Mazrui empower at smart.net
To: gw-scripting at gwmicro.com

Relative Position 1.0

This script intercepts the hotkey action for saying the cursor position
(Control-NumPad-+ in the default Window-Eyes layout).  It tries to 
provide
more useful information than the pixel coordinates of a caret, if 
present.

The information provided depends on the type of control with focus.  For
an EditBox, RichEdit, Word document, or browse mode, it says the line 
and
column position of the cursor, followed by the percentage point of that
position in the whole text (rounded).  For a ListBox, ComboBox, or
ListView, it says the item number, count, and percentage.  For a Button,
RadioButton, or CheckBox, it says the number relative to consecutive
instances of the same control.  For other controls, it says the number 
of
the control relative to its siblings (children of the same parent window
that are enabled and visible).

You can still obtain focus pixel information by routing the mouse 
pointer
or WE cursor and pressing that position hotkey (Control-Insert-NumPad-+ 
by
default).

This global script uses GW Toolkit.

Jamal

Regards Steve
Email:  srp at internode.on.net
Windows Live Messenger:  internetuser383 at hotmail.com
Skype:  steve1963 





More information about the GUI-Talk mailing list