Multiple ways to activate a hotkey Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
Aundras

Multiple ways to activate a hotkey  Topic is solved

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”

Who is online

Users browsing this forum: Calvin, Google [Bot], just me, malcev, maxkill, Odlanir and 90 guests