Inside click?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
marky03
Newbie
Posts: 6
Joined: Sun Jul 04, 2004 3:49 am

Inside click?

Post by marky03 » Sun Aug 15, 2004 11:16 pm

Instead of the mouse actually moving, is there a command for a inside click. So like when your playing a Slots game you can just have the bet max button in view but you can still do anything without the mouse moving and interupting when clicking? Does any one catch what im saying.

User avatar
Marcus Tettmar
Site Admin
Posts: 7393
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Aug 17, 2004 7:12 pm

There is the PushButton command. This sends the windows messages that are fired when a button is pressed. So no need to move the mouse. But it will need to be a regular Windows button control. Otherwise, no, you can't click something without moving the mouse to it.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

guest101

Post by guest101 » Sat Aug 21, 2004 4:51 am

can i have the commands?

Lumumba

Post by Lumumba » Sat Aug 21, 2004 6:15 am

You already got it ! It's PushButton>
This command works by attempting to send the BM_CLICK message to the button when it finds a button in the specified window with the given caption.

This will only work with objects of the standard 'Button' class. It may not work for all buttons on all windows. For instance, it doesn't work for buttons on html documents in Netscape Navigator 4.05 or Internet Explorer 3.02, as they are not real buttons. For these use the MouseOver command.

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