Posts

The RUN and SEND keywords , basic use

RUN --- the run command is mainly used for opening an applications by a hotkey press.. these work like hotkey:: run Chrome; this run command basically takes the app name as a parameter and if that does not work , we can specify the path of the application hotkey:: run C:/programfiles/google/chrome.exe to open a file , hotkey:: run "\documents\new.txt" to open a folder , hotkey:: run "path" to launch a webpage in the default browser , hotkey:: run www.google.com ------------------------------------------------------------------------------- SEND ---- the send command is used to either send a particular text to a text field or send a key combination when you think the hotkey is too long and want to minimise it or something like that. hotkey:: send, text this is for sending a particular text when a hot key os pressed. ^+#hotkey:: run chrome #v:: send ^+#hotkey here , the combination ctrl+shift+win+v runs chrome and as the combination is too leng...

Some very basic scripts

first , we will start with launching apps and opening folders using AHK. for example , if I want to open chrome on clicking WIN+C , i will write the script as - #c:: run Chrome; if this doesn't work , try - #c:: run C:\program files\google\chrome\chrome.exe and if I want to open a folder or a file on clicking WIN+f , the script will be as follows #f:: run D:\files\software; this is for opening a folder #f:: run D:\files\data\songs\1.mp3; this is for opening a file or if you wan to send a string or some text , #m:: send text; replace text with the string you desire. here are some basic scripts for reference -

Basic

Image
A "Hotkey" is simply a key or a combination of keys used to trigger some actions like opening file explorer on windows when we press "WIN+E". now to create a hot key , all we have to do is - hotkey :: trigger ; here , the hotkey (or) key combination goes to the left side of the '::' and the trigger or the event goes to the right side of the '::' . this works like if(hotkeypressed) {          event; } here are a few special keys and their symbols- WIN key-  # CTRL key-  ^ ALT key-  ! SHIFT key-  + So , if i want to open chrome if i press WIN+C , #c:: run Chrome #g:: run C:\Games\Counter-Strike Source\run_css.exe Or if i want to send a string when i pressed a key combination , #m:: send hello world!! #p:: send my first script To create and run a script , 1.Install and run Auto Hot Key from  HERE!!! 2.Right click and in the context menu , click on new->auto hot key script 3.Rename the file to desired name...
Hello everyone, This is my blog that I post the auto hot key scripts that i use the most.... I will post and update the  scripts from time to time and I am always learning.