DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: autohotkey script help?  (Read 4,909 times)

projecttemp

  • Participant
  • Joined in 2009
  • *
  • Posts: 2
autohotkey script help?
« on: July 22, 2009, 08:42 PM »
hello, i need someone to help me write a simple script, i just want the script to write a sentence and then press enter and then write another sentence and press enter etc and the activator is just when you type a certain word

wr975

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 369
    • Coding Snacks
Re: autohotkey script help?
« Reply #1 on: July 22, 2009, 09:18 PM »
You're talking about Hotstrings.

Documentation: http://www.autohotkey.com/docs/Hotstrings.htm


Script example for your request:

:*:MaxHeadroom::This is the first line{enter}This is the second line{enter}This is the third line

Save the script as "whatever.ahk", launch it and if you type "MaxHeadroom" it'll be replaced.

projecttemp

  • Participant
  • Joined in 2009
  • *
  • Posts: 2
Re: autohotkey script help?
« Reply #2 on: July 22, 2009, 09:53 PM »
ty

Original address: https://www.donationcoder.com/forum/index.php?topic=19261.0