Stdlib functionality in compiled scripts

Propose new features and changes
User avatar
gwarble
Posts: 524
Joined: 30 Sep 2013, 15:01

Stdlib functionality in compiled scripts

27 Sep 2016, 22:22

I wish that stdlib functionality was included in compiled scripts with a new stdlib location being RCData\<Lib> or even RCData\<stdlibFunc1.ahk> and RCData\stdlibFunc2.ahk (as well as possibly the existing stdlib file locations)

just a thought
- gwarble

Edit: the new resource location might as well apply to uncompiled scripts using resources of autohotkey.exe as well, so you could add the common stdlib functions you use as resources to the autohotkey.exe you use (or rename to something else)
EitherMouse - Multiple mice, individual settings . . . . www.EitherMouse.com . . . . forum . . . .
lexikos
Posts: 9599
Joined: 30 Sep 2013, 04:07
Contact:

Re: Stdlib functionality in compiled scripts

28 Sep 2016, 02:51

What is the purpose of a stdlib embedded in a compiled script? All files from stdlib that the script uses are already inserted into the script by Ahk2Exe. The only way you could make use of unused libraries would be to load them (or a script that uses them) dynamically, but AutoHotkey does not support that. If you are using AutoHotkey_H, you should specify that.

What's wrong with distributing a Lib folder with AutoHotkey.exe?

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 23 guests