MouseOver

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
BobDDstryr
Junior Coder
Posts: 38
Joined: Fri Oct 22, 2010 2:47 am

MouseOver

Post by BobDDstryr » Sat Feb 05, 2011 2:46 am

I'm trying to get MouseOver to work, and tried the sample in the help file to see how it works - but it didn't seem to do anything. the sample is:

RunProgram>rundll32.exe shell32.dll,Control_RunDLL TimeDate.cpl
WaitWindowOpen>Date and Time Properties
/..
MouseOver>Date/Time*,OK

I did try changing the WaitWindowOpen command to just WWO>Date and Time, but it still didn't seem to do anything. This is with Win7-64, by the way.

What I would like to do is open the network control panel (ncpa.cpl) and access one of the network connections, and right-click it to bring up the properties menu. So I was hoping to be able to use MouseOver to find the "Wireless Network Connection", and then right-click it. This way it wouldn't need to be in the same position every time, and would work on machines with different resolutions and stuff. Is there any easy way to do this? Or am I completely wrong about MouseOver, and how it works?

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Sat Feb 05, 2011 5:20 am

I would stay away from PushButton and MouseOver. Instead, I use FindImagePos to locate the desired button.

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