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 lengthy to remember , we activate it using win+v and it
in return sends the key combination ctrl+shift+win+v and that executes the respective event or trigger linked to it.

Comments