Page 1 of 1

Script's anyone?

Posted: 03 Jun 2011, 17:37
by SUZZY_NINJA
Hello everyone!
Ive decided to code a hotkey, and put it up here!

So, basically what you need is notepad, and a program called autohotkey.

http://www.autohotkey.com

Ah, so once you've downloaded it, open up your note pad and paste this in:

Code: Select all

SetKeyDelay 1

PgUp::
Send t/home{enter}
return

PgDn::
Send t/chunkme{enter}
return

]::
Send t/ch l{enter}
return

[::
Send t/ch g{enter}
return

END::
Send t Hello Everyone!{enter}
return

Delete::
Send t/cprivate{enter}
return

INS::
Send t/spawn{enter}
return
Copy this as it is, or it may not work.

Now, if you would like to change what button does what. Then on the top row, where it says "INS, Delete, END etc etc" Change it to whatever button you wish. But the key cant be something you would press shift then click. e.g a colon.

Now, to change a key Where it says "Send t/spawn{enter}" etc etc, change from / onwards. So, if i wanted to change the /spawn to /home for the button INS it would be...

Code: Select all

INS::
Send t/home{enter}
return
and, obviously if you want to make a new command. You could copy a previous script, paste it, then change the required areas.

Oh, and to edit a script, you right click the ".ahk" file, and click edit. Make sure, to when you paste this onto your note pad, save it as a .ahk and, make sure that the field is not selected at "Text Documents" but.."All Files"

Alright, Haz fun! :D

Re: Script's anyone?

Posted: 03 Jun 2011, 20:53
by Skunk_Giant
Wow, this looks awesome! I'll try it soon!