AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is possible to create Shotcut Keys on Buttons in VB6.0

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Vijay
Guest





PostPosted: Wed Jul 07, 2004 2:15 pm    Post subject: Is possible to create Shotcut Keys on Buttons in VB6.0 Reply with quote

HI,

Please help me..Is it Possible to create a ShortCut key on Button in VB6.0?

Thanks,
Vijay
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Wed Jul 07, 2004 2:40 pm    Post subject: Reply with quote

To make a hotkey to click a button, follow this example, which is the Win+Z hotkey:
#z::MouseClick, left, 300, 400

You need to replace 300 and 400 with the actual X and Y coordinates of the button as shown by Window Spy (which can be launched from the tray menu).
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group