Load an .ahk file via include from a URL

Get help with using AutoHotkey and its commands and hotkeys
Posts: 3
Joined: 29 Aug 2015, 16:14

Load an .ahk file via include from a URL

13 Sep 2015, 20:20

I am trying to load an .ahk file from a URL with an include line:

#Include *i http://cent-os.science/test.ahk

Its a duplicate of another script that works locally, and I can confirm the url shows the file. However, I cannot get the function to execute.

Is it possible for me to include a file from a URL? If so, can anybody help with the syntax?

EDIT: Well, I found a workaround:

UrlDownloadToFile,http://cent-os.science/test.ahk,%A_ScriptDir%\My Codes\test.ahk

But I would still like to be able to reference it from a URL.

Return to “Ask For Help”

Who is online

Users browsing this forum: DadRabbit, Google [Bot], malcev, mikeyww, PuzzledGreatly, RafaelCardoso and 30 guests