Run command

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
derz00
Posts: 497
Joined: 02 Feb 2016, 17:54
Location: Middle of the round cube
Contact:

Run command

11 Feb 2016, 12:03

The help file has a big lecture on "Run", but I'm lost. Can someone tell me how to do a simple thing like opening an ahk file in SciTE4AutoHotkey? :think:
I couldn't find anything on this forum either, or is that because I don't know how to use the search feature? :?
try it and see
...
SifJar
Posts: 398
Joined: 11 Jan 2016, 17:52

Re: Run command

11 Feb 2016, 12:28

Code: Select all

Run, C:\Path\To\Scite\Scite.exe example.ahk
Simple as that, just replace the path to Scite with whatever it is on your system, and replace "example.ahk" with the name (and path, if it isn't in the same directory as the script you're running) of the script you want to edit
User avatar
derz00
Posts: 497
Joined: 02 Feb 2016, 17:54
Location: Middle of the round cube
Contact:

Re: Run command

11 Feb 2016, 16:36

Cool. But the script the above line is in will look in the folder the script itself is in and if the file is not there it will make one. There's no way to specify the path of the .ahk file? Excuse my stupidity.
try it and see
...
helpy

Re: Run command

11 Feb 2016, 17:11

How about this?

Code: Select all

Run, C:\Path\To\Scite\Scite.exe "C:\this folder\example.ahk"

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: arrondark, Google [Bot], mikeyww, Noitalommi_2, Zedcars and 206 guests