Modify

#250 closed Feature Request (Rejected)

@CurrentScript

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

Description

I would like to request a macro for the script you are currently running in, such as Array.au3 or My_Included_File.au3. This would help me a lot when I am Debugging.

@ScriptName only returns the name of the file executed.

@CurrentScript - Returns the name of where the code is being executed from.

Attachments (0)

Change History (6)

comment:1 by McGod, on May 8, 2008 at 10:58:32 PM

After thought:X

Maybe you could add In-Function Macros, Namely @CalledScript and @CalledLine or something to give you what script and where you were called from. ATM I use a couple parameters in the function for it.

comment:2 by Valik, on May 8, 2008 at 11:29:26 PM

Resolution: Rejected
Status: newclosed

There's already a @ScriptLineNumber. As for anything else, it's a lot of overhead for little gain. There are debugging techniques and tools to provide the same effect without requiring AutoIt to provide macros.

comment:3 by TicketCleanup, on May 9, 2008 at 12:00:03 AM

Milestone: Future Release
Version: 3.2.10.0

Automatic ticket cleanup.

comment:4 by Jpm, on May 14, 2008 at 10:19:38 AM

Milestone: 3.2.11.13
Owner: set to Jpm
Resolution: RejectedFixed

Fixed in version: 3.2.11.13

comment:5 by Valik, on May 14, 2008 at 4:55:14 PM

Resolution: Fixed
Status: closedreopened

Re-opening to fix JP's mistake. This is still Rejected. JP just accidentally triggered the script which automatically sets the fields he set.

comment:6 by Valik, on May 14, 2008 at 4:55:28 PM

Milestone: 3.2.11.13
Resolution: Rejected
Status: reopenedclosed

Modify Ticket

Action
as closed The owner will remain Jpm.

Add Comment


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