AutoHotkey Community

It is currently May 27th, 2012, 10:28 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: February 14th, 2005, 4:53 am 
Offline

Joined: April 23rd, 2004, 4:38 am
Posts: 34
Location: Adelaide, South Australia
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 14th, 2005, 5:17 am 
Offline

Joined: November 6th, 2004, 11:03 am
Posts: 170
Location: Salt Lake City, UT
it might be easier to help if you could post what code you have so far... :D Then we don't have to start from scratch!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 14th, 2005, 5:27 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 14th, 2005, 5:58 am 
Offline

Joined: December 28th, 2004, 12:33 am
Posts: 60
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 14th, 2005, 7:34 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 14th, 2005, 8:21 am 
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...?


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: chaosad, robotkoer, Yahoo [Bot] and 69 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group