How to create a Ctrl+Shift+C and a Numpad hotkey?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Ylantron
Posts: 2
Joined: 18 Apr 2018, 05:15

How to create a Ctrl+Shift+C and a Numpad hotkey?

18 Apr 2018, 05:35

Hi guys! I'm creating a clipboard manager for handling multiple copied text or images and paste later when I need them. I created a first version that works just fine for my needs, but that works with Home, Page up, Page down and End keys. Instead I want to assign the process of storing the clipboard with an hostring like Ctrl+Shift+C and a Numpad number based on the slot where I want the data to be stored (example: I need to store the clipboard in the slot 5 so I need to press Ctrl+Shift+C+Numpad5). Seems I can't find any solutions online so I'm asking directly here for your help
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: How to create a Ctrl+Shift+C and a Numpad hotkey?

18 Apr 2018, 06:25

personally id advise against hotkeys involving more than 3 keys

Code: Select all

#If, GetKeyState("LCtrl", "P") && GetKeyState("LShift", "P") 
c & Numpad5::doStuff()
#If
Ylantron
Posts: 2
Joined: 18 Apr 2018, 05:15

Re: How to create a Ctrl+Shift+C and a Numpad hotkey?

19 Apr 2018, 05:31

it works, but not like i was expecting, nevermind. would be you also so kind to tell me if there's a way to store clipboardAll in some arrays? As for now I only managed to store clipboard (therefore only text) in the arrays, but I would like to keep everything I can copy, so the entire clipboardAll

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Joey5, just me and 192 guests