Finding Icons in window

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
craig eades
Newbie
Posts: 4
Joined: Wed Sep 01, 2004 10:53 pm

Finding Icons in window

Post by craig eades » Wed Sep 01, 2004 11:58 pm

I have a script which installs SmartIcons into Lotus notes. These are essentially little pieces of code which can be executed when pressed by the user. We use them to provide custom functions in Lotus. The problem is that they need to be "moved" to the left to become visible. This can be done by selecting the icon within the ToolBar Preferences window and selecting "Move Left" some number of times. I can get locate the Icons by using absolute X,Y coordinates, but they vary from machine to machine (probably due to monitor resolution). Both of the Icons display text when the mouse is "hovered" over them. I've tried using MouseOver to find the Icons, but no luck. Any ideas how I can accomplish this?

Thanks!

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Thu Sep 02, 2004 12:31 am

. I can get locate the Icons by using absolute X,Y coordinates,
Have you tried using RELATIVE coordinates?

See the MouseMoveRel> command.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts