Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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 15 years ago.

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by Zedna

comment:1 Changed 15 years ago by Zedna

Example for Obfuscator /striponly

#AutoIt3Wrapper_Run_Obfuscator=y
#obfuscator_parameters=/striponly

comment:2 Changed 15 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to 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 Changed 15 years ago by Zedna

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 follow-up: Changed 15 years ago by Jpm

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

comment:5 in reply to: ↑ 4 Changed 15 years ago by Valik

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.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Gary.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.