Find Button In Utility/Game

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Danny

Find Button In Utility/Game

Post by Danny » Wed Jan 01, 2003 11:05 am

Hey

Im having trouble using the pushbutton command as im not sure what the name of a button is or its correct title i was wondering if you could help me, eg suggest a utility that may find the button name etc.

I am trying to create a macro script click a button which says Log In.... not sure what button name would be.

Secondly, i have trouble with scripting ingame using the press Shift command, it presses shift for a milisecond, i wish to have it held down whilst i can mouse click myself etc. plz advise me.

Thnx for the help

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

Post by armsys » Wed Jan 01, 2003 1:14 pm

Hi Danny,

I have trouble in trying to understand your problem description.

For Press Shift command, it won't be released until you issue Release Shift command.

Please clarify your PushButton problem. Thanks.

Ernest

Post by Ernest » Thu Jan 02, 2003 8:49 pm

Hi Danny,
it's not really necessary to identify a button's caption, as long as you know which button has the focus at the time the window gets active and you have to press it.

e.g. WIN2K: Start/Run/Browse

Code: Select all

//StartButton
Press CTRL
Press ESC

//Run
Send>r

//OKButton has initially the focus, move to the BrowseButton
Press TAB
Press TAB
Release CTRL
Release ESC

//Press the button
Press Enter
If you wanna control a nag/button which changes the position with every session, you should have a look at Buzof
http://www.basta.com/ProdBuzof.htm.

Rgds,
Ernest

Ernest

Post by Ernest » Thu Jan 02, 2003 10:35 pm

Hey,
check that Buzof look-a-like http://www.johanneshuebner.com/en/clickoff.html, it's freeware :D

HavePhun
E.

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