One thing should be noted, if the script is run from a secured location it would
probably be ok to look for a special Icon. What we are finding is that scripts
deployed in user areas need special signon's with specific menus and Icons. This is
because the users were able to stop the script and have access to functions they did
not have previously. When creating the Special user we control the possible access
they can have. Most of my scripts are <Down><Enter>
>>> [EMAIL PROTECTED] 07/11/03 23:06 PM >>>
I think we've determined that simple icon {tab}ing can't be done, but
considering Joe's situation (lots of sites, each with different icon
fields), I can see the importance of it.
We thought of a simple roundabout way to accomplish the task by keying a
{right} until you find the label. On every 6th (right), key 6 {left}s
and a {down} to get to the next row. The script would be something
like:
Do Until At("[EMAIL PROTECTED],4")
If I Mod 6 = 5 Then
Key "{left}{left}{left}{left}{left}{left}{down}"
Else
Key "{right}"
Endif
I = I + 1
If I > 50 Then Err.Raise seHalt 'can't find label
Stable
Loop
This shouldn't take much longer that if we had access to a real "tab".
Rich McNeil
Boston Software Systems
866 653 5105
www.bostonworkstation.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jobin, Michael
Sent: Friday, July 11, 2003 4:25 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [Talk] find icon routine
Joe,
Meditech C/S with universal client does not allow to "tab" across
lines of
icons. You will need to know what line the icon is on and down arrow to
that line then arro across to the icon you need.
Michael Jobin
-----Original Message-----
From: Joe Strauss [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 11:37 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [Talk] find icon routine
"{Right}" does not work either. It goes through the icons in one row,
but
does not continue on to the next.
Joe.
-----Original Message-----
From: Rich McNeil [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 3:14 PM
To: [EMAIL PROTECTED]
Subject: RE: [Talk] find icon routine
I believe there is a key that will scan through all the icons. Maybe a
Key "{right}"? I'd suggest playing around with it by hand. (I'd try it
myself but my Client Server access is currently down.)
Rich McNeil
Boston Software Systems
866 653 5105
www.bostonworkstation.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Strauss
Sent: Thursday, July 10, 2003 12:36 PM
To: '[EMAIL PROTECTED]'
Subject: [Talk] find icon routine
Using Meditech Client Connection with VB6. Does anyone have a routine
that
looks through all icons on a screen and goes to a particular one?
Something
like (from the Boston help)
Do Until At("[EMAIL PROTECTED],4") ' Tab until Inpatients icon has
focus
Tab_
Stable ' one second delay
Loop
This, though, does not work for me. When I hit "Tab" a menu pops up
instead
of moving the focus to another icon. I tried repeated "{DN}" commands,
but
this only goes through the icons in one column and does not continue on
to
the next column.
Thanks.
Joe Strauss
Senior Programmer / Analyst
Specialty Laboratories @ http://www.specialtylabs.com
310-828-6543 x1240
[EMAIL PROTECTED]