Opened on Jun 26, 2009 at 2:21:08 PM
Closed on Jun 26, 2009 at 5:05:36 PM
Last modified on Jul 4, 2009 at 10:16:53 PM
#1045 closed Feature Request (Rejected)
ConstantsAll.au3 or GUIConstantsAll.au3 - new include file/files
| Reported by: | Zedna | Owned by: | Gary |
|---|---|---|---|
| Milestone: | Component: | Standard UDFs | |
| Version: | Severity: | None | |
| Keywords: | include UDF | Cc: |
Description
ConstantsAll.au3 or GUIConstantsAll.au3
- new include file/files containing include statement for all *contants*.au3 files
I have such file on all my computers where I use AutoIt.
In my case it has name GUIConstants.au3.
It has these advantages:
- backward compatibility for older scripts using just #include <GUIConstants.au3>
- for new scripts we don't need to think what include files are needed for what constants
There is no problem when we use scripts directly from Scite - it's quick also with all these inlude files
There is no problem when we compile scripts because we can simply use Obfuscator /striponly
Note this is "only" for constants and not for all Autoit's include files.
Here is attached such include file
Attachments (1)
Change History (6)
by , on Jun 26, 2009 at 2:21:55 PM
| Attachment: | GUIConstantsAll.au3 added |
|---|
comment:2 by , on Jun 26, 2009 at 5:05:36 PM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Absolutely not. You should be shot on the spot for even suggesting this. I did a tremendous amount of work to remove this stupid bloated cock-up from our library and now you want it back? No way in hell.
Rejected with extreme prejudice.
comment:3 by , on Jun 26, 2009 at 5:25:36 PM
OK.
Sorry Valik for getting you angry/upset or whatever else.
I was really dissapointed by "optimization" of GUIConstants include file
so I finally maded this hack (as simplest solution) for me and I use it personally all the time.
Now I thought it could usefull also for others.
But I see it's nott good/possible from developers' point of view so I will not bring this back anymore.
follow-up: 5 comment:4 by , on Jul 4, 2009 at 9:24:15 PM
perhaps not all dev's. difficult to convince Valik ...
comment:5 by , on Jul 4, 2009 at 10:16:53 PM
Replying to Jpm:
perhaps not all dev's. difficult to convince Valik ...
It's not hard at all to convince me.... if the idea is good. This is not a good idea. It's an idea lazy people want so they don't have to think. If you don't want to think don't write scripts. Otherwise, suck it up and turn your brain on.

Example for Obfuscator /striponly