Modify

#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)

GUIConstantsAll.au3 (969 bytes ) - added by Zedna on Jun 26, 2009 at 2:21:55 PM.

Download all attachments as: .zip

Change History (6)

comment:1 by Zedna, on Jun 26, 2009 at 2:24:32 PM

Example for Obfuscator /striponly

#AutoIt3Wrapper_Run_Obfuscator=y
#obfuscator_parameters=/striponly

comment:2 by Valik, on Jun 26, 2009 at 5:05:36 PM

Resolution: Rejected
Status: newclosed

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 Zedna, 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.

comment:4 by Jpm, on Jul 4, 2009 at 9:24:15 PM

perhaps not all dev's. difficult to convince Valik ...

in reply to:  4 comment:5 by Valik, 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.

Modify Ticket

Action
as closed The owner will remain Gary.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.