Simple script that types from a collection Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
eramark1
Posts: 1
Joined: 16 Jun 2017, 12:00

Simple script that types from a collection

22 Mar 2018, 20:08

Okay so i asked this once before and it got answered but sadly the script got deleted from my computer and i cant seem to find the old thread here on ahk forums.
What i need is basicly a simple script that types something from a collection when a key is pressed.

To further clarify this :
I will have a group of links and i want them bound on certain keys ( lets say numpad 1 - 8 ),
so when i press 1 the script will type the coresponding text / link.

If anybody can help me with this or atleast show me the general direction on how i should do this, i would realy appreciate this.
Thnaks in advanced.
Rohwedder
Posts: 7644
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Simple script that types from a collection  Topic is solved

23 Mar 2018, 01:07

Hallo,
try:

Code: Select all

NumPad1::Send https://autohotkey.com/docs/commands/Hotstring.htm
NumPad2::Send https://autohotkey.com/docs/commands/Hotkey.htm
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Simple script that types from a collection

23 Mar 2018, 09:42

Try searching via Bing.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
MaxAstro
Posts: 557
Joined: 05 Oct 2016, 13:00

Re: Simple script that types from a collection

23 Mar 2018, 10:05

Rohwedder wrote:Hallo,
try:

Code: Select all

NumPad1::Send https://autohotkey.com/docs/commands/Hotstring.htm
NumPad2::Send https://autohotkey.com/docs/commands/Hotkey.htm
I wish this forum had an upvote system. Subtle, yet effective. :)

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], ht55cd3, OrangeCat and 298 guests