Opened on Jun 9, 2020 at 5:00:25 AM
Closed on Aug 17, 2020 at 9:17:38 PM
Last modified on Mar 16, 2023 at 3:48:09 PM
#3766 closed Feature Request (Duplicate)
@IncludeScriptFullPath and @IncludeScriptName
| Reported by: | argumentum | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
@ScriptLineNumber knows the #include.
I can write Func this($var = @ScriptLineNumber) and it knows, just knows, now, somewhere ( in AutoIt ) is kept\noted.
Therefore these macros, call them @IncludeScriptFullPath and @IncludeScriptName, would be complementary to @ScriptLineNumber.
I added a discussion at https://www.autoitscript.com/forum/topic/203009-scriptlinenumber-knows-the-include/ for a full explanation of the idea.
Attachments (0)
Change History (6)
comment:1 by , on Jun 9, 2020 at 6:00:01 AM
| Version: | 3.3.14.5 |
|---|
comment:4 by , on Aug 17, 2020 at 9:17:38 PM
| Resolution: | → Duplicate |
|---|---|
| Status: | new → closed |
comment:5 by , on Sep 5, 2020 at 2:06:57 PM
for all interested "related" feature is here:
https://www.autoitscript.com/trac/autoit/ticket/2886
comment:6 by , on Mar 16, 2023 at 3:48:09 PM
https://www.autoitscript.com/forum/topic/209823-scriptname-does-not-use-include-file/?do=findComment&comment=1514567 has code to show the importance of it.
Since "In-depth discussions should take place on the forum.", I'll carry this ticket there.

Automatic ticket cleanup.