- 1. Specify the text editor (and start it with Admin right if I were running the "master AHK script" with Admin);
2. Open the file as specified in the Clipboard (Full-path) using the text editor.
A failed attempt:
+#i:: ; Note, this is a failed attempt
clipback := ClipboardAll
ShellRun("C:\vim\vim80\gvim.exe", %clipback% , "", 3)
; run "C:\vim\vim80\gvim.exe" %clipback%
I see two interesting errors (if we may call them errors) as attached. Using the simple `run` method tries to use the text editor to open a file named as the special character.
Please advise how to fix the script. Reference for ShellRun: https://github.com/Lexikos/AutoHotkey-R ... ellRun.ahk