On January 17th, 2017, we migrated the community forum to a new hosting provider. If you posted, sent a private message, or applied for board membership between January 10th, 2017 and January 17th 2017, your submission might have been lost. We are currently working on recovering data from this time period. We are also working on getting the theme of the forum back to normal.

If you notice any new issues or have any questions, please contact duerig at jonathonduerig dot com for more assistance. Thanks for your patience.

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: 21
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: 21
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: 314
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: 412
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