Is there a way to link scripts in separate AHK files?
I have one login script that is used in multiple other scripts, can I call it from the other scripts without including it (the login script) in each one?
Linking AHK scripts
Re: Linking AHK scripts
You can run the script from your other scripts:
You might want to use RunWait depending on what you plan to do next.
Code: Select all
Run, login.ahk
Re: Linking AHK scripts
The #Include directive is also a way to include an external script without having to replicate the code directly in each "host" script. The directive takes care of that.
Re: Linking AHK scripts
Thanks! I used RunWait and it works perfectly.
Who is online
Users browsing this forum: Google [Bot], wjt936826577 and 158 guests