Welcome my dear colleagues
I want to open and close this file (SampleSaveFile.ahk) In notepad using the same key,
can someone help me to do that?
Any help would be much appreciated.
Thanks in advance.
Open/Close specific file with same key Topic is solved
-
- Posts: 854
- Joined: 21 Dec 2015, 02:34
Re: Open/Close specific file with same key Topic is solved
Code: Select all
Window=SampleSaveFile.ahk - Notepad
FileLocation=you must enter the full path to your file here. So for example, type c:\SampleSaveFile.ahk on this line
z::
IfWinExist, %Window%
Winclose, %Window%
else
run, "notepad.exe" "%FileLocation%"
Return
Re: Open/Close specific file with same key
scriptor2016
Thank you very much, my wonderful colleague.
Thank you very much, my wonderful colleague.
Who is online
Users browsing this forum: doodles333, Frogrammer and 252 guests