DonationCoder.com Forum

Other Software => Developer's Corner => Topic started by: projecttemp on July 22, 2009, 03:42 PM

Title: autohotkey script help?
Post by: projecttemp on July 22, 2009, 03: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
Title: Re: autohotkey script help?
Post by: wr975 on July 22, 2009, 04: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.

Title: Re: autohotkey script help?
Post by: projecttemp on July 22, 2009, 04:53 PM
ty