Multiple ways to activate a hotkey

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Aundras

Multiple ways to activate a hotkey

26 Jan 2018, 09:56

Hi all,

I'm trying to create a unscramble script. For example the word "Hour", scrambled it can be "huor", "uohr", "ohur" etc.
My question is, is it possible to activate the hotkey by typing either huor uohr or ohur?

This is my current code:

Code: Select all

;Hour
::huor::
Unscrambled: Hour{Enter}
return
GreatGazoo
Posts: 69
Joined: 28 Dec 2017, 02:53

Re: Multiple ways to activate a hotkey

26 Jan 2018, 11:00

hotstring will do it

this is a script that includes a lot of auto corrections for common misspelling and includes a WIN+H hotkey to add new strings to the list on the fly
https://www.autohotkey.com/download/AutoCorrect.ahk


Code: Select all

#hotstring Z0

:*:huor::hour
:*:uohr::hour
:*:rouh::hour
:*:ourh::hour

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: filipemb, Google [Bot], haomingchen1998, mikeyww, Oblomov228, RussF and 264 guests