; ; AutoHotkey Version: 1.x ; Language: English ; Platform: Win9x/NT ; Author: A.N.Other <[email="[email protected]"][email protected][/email]> ; ; Script Function: ; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder) ; #Hotstring EndChars . #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. #k:: msgbox HOTKEYS= Mwr - Yargh - Nohelp - PtoP - Meatproduct - Hjtwrong - Nopm - Notstaff - Sfc - Atf - 3days - Smode - Devmngr - Evntvwr - hjtatt - homenet - evrst - dbanit - joinstaff - fixpath - cdgone - bootrebuild - sysrestore - Stupid - TheLine - rimshot - pwd - utubecopy - EML #IfWinActive ahk_class IEFrame ::editt::[color=red]Edit: ::endcolor::[/color] ::mwr:: ( Please read the [url=http://www.geekstogo.com/forum/Malware-Spyware-Cleaning-Guide-t2852.html][b]Malware/Spyware cleaning guide here[/b][/url] follow the instructions at the top.... That will give you several steps that will help you clean up 70 percent of all problems by yourself. If at the end of the process you are still having difficulty (and you may not be) then post an OTL log in [B][url=http://www.geekstogo.com/forum/Malware_Removal_HiJackThis_Logs_Go_Here-f37.html]THE MALWARE FORUM[/url][/B] forum. [color=red][i](Posting OTL logs or ANY other logs requested in the malware/spyware cleaning guide in any other forum other than the malware forum is forbidden. If you post any of these logs in any other forum, it will be removed and it will take you longer to get help, so please make sure you only post logs in the malware forum)[/i][/color] If you are still having problems after getting a clean bill of health from the malware expert, please return to [B]this[/B] thread. )
this is the first few lines of the AHK script that i use currently (very simple, just a text replacer basically)...i'll break it down for you
; ; AutoHotkey Version: 1.x ; Language: English ; Platform: Win9x/NT ; Author: A.N.Other <[email="[email protected]"][email protected][/email]> ; ; Script Function: ; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder) ; #Hotstring EndChars . #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.this bit is the default stuff that came in the default AHK script template...it does something but i've never bothered to figure it out. except for the part that says "#Hotstring EndChars ." this part tells AHK not to process a hotstring unless it's followed by a period. so i can type editt without it processing my editt script (see below for that part of the script) but if i put a period after it, it will process it
#k:: msgbox HOTKEYS= Mwr - Yargh - Nohelp - PtoP - Meatproduct - Hjtwrong - Nopm - Notstaff - Sfc - Atf - 3days - Smode - Devmngr - Evntvwr - hjtatt - homenet - evrst - dbanit - joinstaff - fixpath - cdgone - bootrebuild - sysrestore - Stupid - TheLine - rimshot - pwd - utubecopy - EMLthis is a command that will pop up a message box when i press winkey + k that lists all of the hotkeys that i have defined (sometimes i forget what i called them)
#IfWinActive ahk_class IEFramethis line makes sure that my hotkeys ONLY occur when IE is open (i didn't want it replacing text in emails or whatever)
::editt::[color=red]Edit: ::endcolor::[/color] ::mwr:: ( Please read the [url=http://www.geekstogo.com/forum/Malware-Spyware-Cleaning-Guide-t2852.html][b]Malware/Spyware cleaning guide here[/b][/url] follow the instructions at the top.... That will give you several steps that will help you clean up 70 percent of all problems by yourself. If at the end of the process you are still having difficulty (and you may not be) then post an OTL log in [B][url=http://www.geekstogo.com/forum/Malware_Removal_HiJackThis_Logs_Go_Here-f37.html]THE MALWARE FORUM[/url][/B] forum. [color=red][i](Posting OTL logs or ANY other logs requested in the malware/spyware cleaning guide in any other forum other than the malware forum is forbidden. If you post any of these logs in any other forum, it will be removed and it will take you longer to get help, so please make sure you only post logs in the malware forum)[/i][/color] If you are still having problems after getting a clean bill of health from the malware expert, please return to [B]this[/B] thread. )these are actual hotkeys
the ::word:: bit is what assigns the hotstring to your script action (in this case it's a text replacer. so every time i type one of my hotstrings like mwr, or editt, or endcolor, or whatever else i have, it replaces the hotstring with the block of text in the script). basically anything between one ::word:: and the next ::word:: will constitute the script (again, here i'm only doing text replacement, you can get MUCH more complex with this thing. you can even script mouse movements)
you'll see that some of my scripts have a parenthesis around them, i had to put those in so that the script in question would process the URL codes correctly within the script. not sure why, i just know i had to do it otherwise the script wouldn't process completely.
so basically, if all you're doing is text replacement, you'd do exactly the same thing as this.
if you wanted it to type your email address every time you typed "mymail" you would make a script like this:
::mymail:: [email protected]then any time you type mymail it would replace it.
if you wanted it to do your mail, your boss's mail, and your mom's mail it would look like this
::mymail:: [email protected] ::bossmail:: [email="[email protected]"][email protected][/email] ::mommail:: [email="[email protected]"][email protected][/email]
so with this one, you'd type mymail to do your mail, bossmail for your boss's mail and, mommail for your mom's mail
and basically you'd just continue on from there. you can have an unlimited amount of things in there, as long as you remember what they all do.