Reassign F12 ?

Advanced Macro Recorder/Editor.

Moderator: Pulover

dorsalmo
Posts: 5
Joined: 15 Jul 2022, 16:51

Reassign F12 ?

15 Jul 2022, 16:53

I want to reassign F12 so I can use it in Visual Studio. How do I do this?
Last edited by gregster on 15 Jul 2022, 16:59, edited 1 time in total.
Reason: Moved topic from "Pulovers Macro Creator", since this seems like a generic AHK question.
User avatar
mikeyww
Posts: 27146
Joined: 09 Sep 2014, 18:38

Re: Reassign F12 ?

15 Jul 2022, 17:24

Welcome to this AutoHotkey forum!

Code: Select all

F12::x
dorsalmo
Posts: 5
Joined: 15 Jul 2022, 16:51

Re: Reassign F12 ?

18 Jul 2022, 08:50

Thanks for responding, but I'm a newbie. Where do I use that code? In a new macro? At the top of every macro I create? In some system-wide configuration area?
User avatar
mikeyww
Posts: 27146
Joined: 09 Sep 2014, 18:38

Re: Reassign F12 ?

18 Jul 2022, 10:12

This may help. https://www.autohotkey.com/docs/Program.htm

When you run a script with hotkeys, it stays resident and will execute the hotkey routines when they are triggered. Have a look at examples in the documentation or here on the forum.
dorsalmo
Posts: 5
Joined: 15 Jul 2022, 16:51

Re: Reassign F12 ?

21 Jul 2022, 20:04

I forgot to mention that I'm using Pulover's Macro Creator, not AutoHotkey. It has reassigned important function keys, which I did not want. I just wanted to create a couple simple text macros, but now I need to figure out how to disable PMC's key assignments so I can use Visual Studio's keys again!
User avatar
mikeyww
Posts: 27146
Joined: 09 Sep 2014, 18:38

Re: Reassign F12 ?

21 Jul 2022, 20:36

Since the script is just a plain text file, you can use a text editor to delete the hotkey routines that you do not want.
dorsalmo
Posts: 5
Joined: 15 Jul 2022, 16:51

Re: Reassign F12 ?

22 Jul 2022, 13:42

I have created the script using Notepad, but I have no idea how to run it in PMC. It doesn't appear to support scripts, only recorded macros.
User avatar
tidbit
Posts: 1273
Joined: 29 Sep 2013, 17:15
Location: USA

Re: Reassign F12 ?

22 Jul 2022, 13:55

Most of us don't use PMC. If you're using PMC, use the dedicated PMC section for those who do use it: viewforum.php?f=63
Maybe consider learning ahk? It's not as hard as it looks. start here: https://autohotkey.com/docs/Tutorial.htm

moved the topic for you.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
dorsalmo
Posts: 5
Joined: 15 Jul 2022, 16:51

Re: Reassign F12 ?

25 Jul 2022, 12:48

Yes, AutoHotKey was much easier to use for my purposes - and it didn't reassign keys I use in Visual Studio. Thanks.

Return to “Pulovers Macro Creator”

Who is online

Users browsing this forum: No registered users and 6 guests