Edit an specific script with Notepad Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Guill
Posts: 141
Joined: 09 Jun 2016, 22:00

Edit an specific script with Notepad

09 Oct 2019, 21:31

First, greetings everyone.
I am a newbie in AHK, and I have the following need:

I have the ScitE4AutoHotkey program installed, because I usually open Ahk scripts with it.


Anyway, occasionally I would like to open a particular script with Notepad.

How could I reflect that?

Example:

Code: Select all

^ 3 ::
Run edit C:\My Documents\Script 322.ahk

; (Run with Notepad; usually it does with Scite4AutoHotkey)

Return
Last edited by Guill on 09 Oct 2019, 22:37, edited 2 times in total.
User avatar
gregster
Posts: 9224
Joined: 30 Sep 2013, 06:48

Re: Run any script with Notepad  Topic is solved

09 Oct 2019, 21:43

Try to use the file path of the AHK script as a parameter for notepad.exe:

Code: Select all

^3::Run notepad.exe C:\My Documents\Script 322.ahk
Then Notepad will open it for editing.
Guill
Posts: 141
Joined: 09 Jun 2016, 22:00

Re: Run any script with Notepad

09 Oct 2019, 21:58

gregster wrote:
09 Oct 2019, 21:43
Try to use the file path of the AHK script as a parameter for notepad.exe:

Code: Select all

^3::Run notepad.exe C:\My Documents\Script 322.ahk
Then Notepad will open it for editing.
Great!

Thank you very much

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: AlFlo and 142 guests