Page 1 of 1

Include exe files

Posted: 01 Nov 2016, 11:42
by Rami
Hi,
I'm trying to create GUI AHK script with few buttons, each button will run different tool, tools such as autorun, processmonitor, and others from sysinternal\microsoft, also couple of combiled ahk scripts that I've made before.
I used to write in my script UrlDownloadToFile then Run , but I want to convert my script to exe and use it anywhere even though no internet connection.
Is that possible in AHK to include any tools or software, in order to make them run through my AHK script? Without needing to download them first?
Thank you

Re: Include exe files

Posted: 01 Nov 2016, 12:21
by IvanVanko
Seems like a kinda complicated way: why not use Run, %A_ScriptDir%/putsomeexenamehere.exe ?

Re: Include exe files

Posted: 01 Nov 2016, 12:38
by Rami
mmm, thank you for your response anyway, but it won't work in my situation.
I mean the putsomeexenamehere.exe program is not exist on the computer that will run my script on so i cannot run it.
And I don't want to use the download from internet in case no internet connection to download the putsomeexenamehere.exe from my site as I do usually.

Re: Include exe files  Topic is solved

Posted: 01 Nov 2016, 12:48
by HotKeyIt
See FileInstall.

Code: Select all

FileInstall, processmonitor.exe, %A_ScriptDir%\processmonitor.exe
Run "%A_ScriptDir%\processmonitor.exe
"

Re: Include exe files

Posted: 01 Nov 2016, 13:04
by Rami
FileInstall is what i'm looking for.
Thank you @HotKeyIt