Modify

Opened 17 years ago

Closed 17 years ago

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

Change History (6)

comment:1 Changed 17 years ago by McGod

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 Changed 17 years ago by Valik

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

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 Changed 17 years ago by TicketCleanup

  • Milestone Future Release deleted
  • Version 3.2.10.0 deleted

Automatic ticket cleanup.

comment:4 Changed 17 years ago by Jpm

  • Milestone set to 3.2.11.13
  • Owner set to Jpm
  • Resolution changed from Rejected to Fixed

Fixed in version: 3.2.11.13

comment:5 Changed 17 years ago by Valik

  • Resolution Fixed deleted
  • Status changed from closed to reopened

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 Changed 17 years ago by Valik

  • Milestone 3.2.11.13 deleted
  • Resolution set to Rejected
  • Status changed from reopened to closed

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

Author


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

 
Note: See TracTickets for help on using tickets.