Colon : Hotstring/Hotkey Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Bernd
Posts: 56
Joined: 03 Sep 2016, 13:56

Colon : Hotstring/Hotkey

Post by Bernd » 02 May 2021, 13:33

I want to turn a single colon into a Hotstring.
It works with ::: but I need also the asterisk * to make it fire immediately, i.e. with no ending character.
I tried

Code: Select all

:?c*:`:::
:*:`:::
:*:`::
without success.
Is there a 'local' function to emulate the asterisk?

User avatar
mikeyww
Posts: 26891
Joined: 09 Sep 2014, 18:38

Re: Colon : Hotstring/Hotkey  Topic is solved

Post by mikeyww » 02 May 2021, 14:03

Code: Select all

:::Send f

Bernd
Posts: 56
Joined: 03 Sep 2016, 13:56

Re: Colon : Hotstring/Hotkey

Post by Bernd » 02 May 2021, 16:16

I know ::: works :) But I also need the asterisk function...

User avatar
boiler
Posts: 16932
Joined: 21 Dec 2014, 02:44

Re: Colon : Hotstring/Hotkey

Post by boiler » 02 May 2021, 16:17

That is a hotkey, not a hotstring. It fires immediately.

Bernd
Posts: 56
Joined: 03 Sep 2016, 13:56

Re: Colon : Hotstring/Hotkey

Post by Bernd » 17 May 2021, 10:45

I made a "spelling" mistake. Now my code works! :)

Post Reply

Return to “Ask for Help (v1)”