Change directory where is saved the AutoHotkey .exe file on Sublimetext3 -


i need make autohotkey scripts run @ startup, think best way save file .exe in startup folder, .exe file saved automatically in same folder of source, save source in startup folder solution too, opens source @ startup.

now i'm using syntax highlight plugin autohotkey in sublimetext3, don't know if there way save .exe file different folder 1 source (i'm noob in informatic).

i'd tried using setworkingdir in autohotkey script , costumizing autohotkey.sublime-build file using working_dir, don't know how work, didn't achieve goal.

i need way edit .ahk sublimetext3, keeping scripts in "documents" and, when build, save exe in folder.

if you're looking have ahk files load when start windows, startup folder indeed right location. elegant solution call other scripts main script.

since default autohotkey.ahk script contained in documents folder, can include or run various other ahk scripts, depending on whether want them run under 1 autohotkey instance, 1 per script, or combination of two.

documentation on include solid. example linked page:

#include c:\my documents\scripts\utility subroutines.ahk #include %a_scriptdir%  ; changes working directory subsequent #includes , fileinstalls. #include c:\my scripts  ; same above explicitly named directory. 

similarly, can run below:

run, c:\my documents\scripts\utility subroutines.ahk 

Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -