Control+C to a hotkey.

Hi, im new to autohotkey, I already used the search function but didnt found anything that helped me.

Heres what im having problems with:

I bought a mouse from logitech, but for some reason the software from logitech doesnt work with my computer so i decided to use AutoHotkey to bind the keys

I can get these two to work:

XButton1::F2 Xbutton2::F1

And they do work properly, but the extra keys, I have 3 more, are set up to Control+C, Control+V, Control+X and im trying to bind them as this:

^c::F3

^v::F4

^x::F5

But when I press the mouse button that is set up as Control+C instead of doing the action that I have on F3 it just writes F3, everytime i press the mouse button it writes F3.

In other words, I want that when I press the button that is assigned to Control+C in my mouse to work as F3.

Can someone help me with this? It is possible to bind that mouse button ?

Thanks in advance.

Edit: format

Posted Feb 3, 2017, 6:51 PM UTC · edited

110
M3GT2•

To get the name of the button on your mouse click here and scroll to point 6

2
playingtibiaOP•

It shows LControl V and LControlC respectively

1
GroggyOtter•

What do the keys register as when you run them through the script from the "Read This Before Posting!" stickied tutorial post (that I know you read before posting.)

1
playingtibiaOP•

It shows Lcontrol V and LContorl C thats why i was trying to do it like ^c::F3

1
GroggyOtter•

Then that's what it's programmed to do. You'll need to install the software to remap it. Unless you want to remap copy and paste to something else, in which case you won't be able to use copy and paste when you're using that script.

You can use #IfWinActive but you'll need to remap the keys for every single program you use it for.

1
playingtibiaOP•

The software is not compatible with my computer, so im trying to remap it, i really dont care about not being able to use copy and paste how should i do it?

Thanks in advance

1
GroggyOtter•

Same way you make any other hotkey.

^c::Msgbox, You pressed control+c.
1