Opened 12 years ago

Closed 12 years ago

#2243 closed Feature Request (Rejected)

#Include <%Environment variable path%\Script.au3>

Reported by: wretched Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


That would be awesome if AutoIt could include files that have an environment variable path.


#include <%Environmentvariablepath%\Script.au3>

This would make it less tedious to update and maintain that registry key.

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed
  • Version deleted

Yeah, that's an exceptionally stupid idea. It outright guarantees scripts must be edited to adjust paths if you ever try to use the script on a different machine that doesn't have the environment variable set.

Then there's the FUD in your post. It's not tedious to update the registry unless you have to do it often which you should not have to do.

Finally... write your own simple GUI? I did and I even posted it on the forum although I can't find it now. It's like 30 minutes work and ~100 lines of code to present a UI that lists the current directories and provides add and remove buttons.

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

as closed The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.