Daniel Reetz, the founder of the DIY Book Scanner community, has recently started making videos of prototyping and shop tips. If you are tinkering with a book scanner (or any other project) in your home shop, these tips will come in handy. https://www.youtube.com/channel/UCn0gq8 ... g_8K1nfInQ

AHK script : mouse click -> F8

General discussion about software packages and releases, new software you've found, and threads by programmers and script writers.
Post Reply
bartek158
Posts: 22
Joined: 02 Dec 2016, 04:47
Number of books owned: 0
Country: Poland

AHK script : mouse click -> F8

Post by bartek158 » 12 Feb 2017, 07:52

Hello
I try to make scanning more quickly. Instead of turning mouse whell by hand I try to do it by foot ( I put mouse on the floor). It will be more comfortable to trigger making photo not by turning mouse whell but just by mouse click. I write simple code in AHK but it doest't work:

Click
send, {F8}
return

How to correct this code ?

Best regards

bartek158
Posts: 22
Joined: 02 Dec 2016, 04:47
Number of books owned: 0
Country: Poland

Re: AHK script : mouse click -> F8

Post by bartek158 » 13 Feb 2017, 04:22

The perfect will be if it will be Right Click

duerig
Posts: 328
Joined: 01 Jun 2014, 17:04
Number of books owned: 1000
Country: United States of America

Re: AHK script : mouse click -> F8

Post by duerig » 13 Feb 2017, 11:22

I'm not sure how to do exactly what you want. But you might give a USB foot pedal a try. They are fairly cheap and they act as a programmable one-key 'keyboard' that can send any key or even a mouse click to your computer. It might be a good way to trigger things for you.

-D

dtic
Posts: 422
Joined: 06 Mar 2010, 18:03

Re: AHK script : mouse click -> F8

Post by dtic » 13 Feb 2017, 15:41

bartek158 wrote:
12 Feb 2017, 07:52
I write simple code in AHK but it doest't work

Code: Select all

Rbutton::
send {F8}
return
If you instead want left button change "Rbutton" to "Lbutton". Reference page https://autohotkey.com/docs/KeyList.htm

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests