I would like to open the notepad and then press "Alt" to activate the toolbar.
After that, I am going to send a couple of letters to choose to "Save as" and write a file name.
However, I could not find how to simply "press" Alt using AutoHotkey script.
Here is my code
Code: Select all
#n::
Run Notepad
Send This is what I want to write ...
Send {Alt}; Is this line wrong?
Send F
Send A
Send file_name.txt {enter}
Sleep %2%000 ; Sleep for 2 seconds.
return
Cheers