Mouse copy/paste AHK Script

Discussion, questions and support.
Post Reply
kadybee
Posts: 2
Joined: Feb 2nd, ’16, 01:22

Post by kadybee » Feb 2nd, ’16, 01:31

Hi

I'm wanting to setup my PC to automatically COPY text highlighted by the mouse to the clipboard, then paste on middle click. This script is exactly what I need :

https://autohotkey.com/board/topic/4406 ... mentation/

I have copied the script and attempted to set it up as an auto start item in FastKeys yet it doesn't work and just seems to loop - bringing up the 'debug' screen.

Am I missing something in the way AHK scripts work with FastKeys?

Thanks

Klaus
User avatar
Tom
Posts: 791
Joined: Nov 24th, ’15, 23:39

Post by Tom » Feb 2nd, ’16, 11:34

Hi Klaus, for more complex scripts it is generally recommended to use Type: Script option to run it from external ahk file.

This script may also interfere with Gestures - you may need to change the gestures default shortcut (RButton) to something else.
kadybee
Posts: 2
Joined: Feb 2nd, ’16, 01:22

Post by kadybee » Feb 3rd, ’16, 08:43

Thanks Tom

Didn't think about mouse gestures, thanks for that. Turned them off and tried the script a few different ways, still no joy :(

Klaus
User avatar
Tom
Posts: 791
Joined: Nov 24th, ’15, 23:39

Post by Tom » Feb 3rd, ’16, 12:44

Do you run the script via Type: Script? It should work exactly the same as running it with AutoHotkey.
Post Reply