[download newfile.ahk or file.ahk *] [ newfolder download newfolder.ahk or folder.ahk* ]
update w10 + 11 github.com/syon/ahk/blob/master/NewFile/NewFile.ahk
• the 1st shortcut usage creates "New Text Document.txt"
• the second ↑ usage opens the file
you can use the following code @ the end of your script file.
If you use the code @ the beginning, you can't open the APP file via a double click on the tray icon
requierement: an active explorer window ( or extend the code with run + winactivate if else lines)
~ctrl & n:: ; or keySstroke ~ctrl & shift::
send !f
loop
{
StatusBarGetText, status
IfInString, status, new
{
break
}
send {right}
send t{enter}
return
}
return
* •rightclick •save target as
clicking the links will show the file preview