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 

Down/Up Keys with mouse controls

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Santa's Little Helper
Guest





PostPosted: Wed Jul 21, 2004 10:27 am    Post subject: Down/Up Keys with mouse controls Reply with quote

Instead of having to manually put down a timer of it. I wish that

Send, {CtrlDown}
MouseClick, left, 100, 100
Send, {CtrlUp}

will actually hold the ctrl key AND left click on the mouse. The timer just doesn't work as precisely as this and it's a pain in the butt to accurately time the duration. Please add this to the next update. Or a little patch just for me. Very Happy
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10465

PostPosted: Wed Jul 21, 2004 12:25 pm    Post subject: Reply with quote

The example you posted should work fine; there's no need to use a timer. Note that SetDefaultMouseSpeed, SetMouseDelay, and SetKeyDelay will affect how quickly the action occurs.
Back to top
View user's profile Send private message Send e-mail
Santa's Little Helper
Guest





PostPosted: Fri Aug 20, 2004 10:48 pm    Post subject: Reply with quote

I tried it but it doesn't work. So I suspected the holding of the control keys ends at the end of the line. Am not doing something wrong? Crying or Very sad
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10465

PostPosted: Sat Aug 21, 2004 1:26 am    Post subject: Reply with quote

I ran the exact example you posted and it works on Windows XP in MS Excel (it selects two separate cells, like Ctrl-click should).

Note that some games are resistant to automation so it might not work in that case. Try testing it a normal window such as MS Excel. If it still doesn't work and you're using Windows 9x, post another reply and I'll test it further.
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 -> Wish List 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