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 

Detecting buttons on Canon scanner

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



Joined: 23 Apr 2004
Posts: 34
Location: Adelaide, South Australia

PostPosted: Mon Feb 14, 2005 3:53 am    Post subject: Detecting buttons on Canon scanner Reply with quote

Does anyone know how I can use a script to detect pressing the buttons on the front of my scanner? (Canon LIDE30)

I have tried to find the scan codes using the method described in the help with no luck. I've tried both with the Canon software installed and not installed. The Canon software responds to them fine but it's not configurable enough to do what I want.
Back to top
View user's profile Send private message AIM Address
ranomore



Joined: 06 Nov 2004
Posts: 178
Location: Salt Lake City, UT

PostPosted: Mon Feb 14, 2005 4:17 am    Post subject: Reply with quote

it might be easier to help if you could post what code you have so far... Very Happy Then we don't have to start from scratch!
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Mon Feb 14, 2005 4:27 am    Post subject: Reply with quote

I think people are confused when we talk about scancodes and the immense versatility of AutoHotkey. It is not possible at all to detect such buttons using this language. They are hardwired and usually require a special driver. AutoHotkey is meant for keyboards and mice, and there are even some keys it can't detect (i.e. on multimedia keyboards). You're simply asking too much of it.
Back to top
View user's profile Send private message
Watcher



Joined: 27 Dec 2004
Posts: 60

PostPosted: Mon Feb 14, 2005 4:58 am    Post subject: Reply with quote

Although jonny is exactly right what he said is NOT to say that those buttons can not be manipulated by AHK, simply that AHK has no way to know how without more information or a driver.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Mon Feb 14, 2005 6:34 am    Post subject: Reply with quote

Of course. In a lower level language (like the one the drivers were undoubtedly written in), I'm sure it's possible. AutoHotkey's just about as high-level as you can get, though, except for those novelty beginner sets like Leopard.
Back to top
View user's profile Send private message
Mats
Guest





PostPosted: Mon Feb 14, 2005 7:21 am    Post subject: Reply with quote

As jonny said, you will most likely not be able to detect the keys themselves, but maybe you can "force" your driver software to show some unique reaction (like popping up a window, showing some text, etc.) that can be detected and handled by AHK...?
Back to top
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