Jump to content

@ScriptName uses old script name


Recommended Posts

I am writing several log files with results from my script. The @ScriptName is writing an old script name.

I uninstalled AutoIt and SCITE and deleted the AutoIt directory, reinstalled everything and reran my script. Same issue.

I had started out with (for example) "MyScript.au3". Added Debugging and renamed the script "MyScript_Debug.au3". Finished debugging my script and renamed it back to "MyScript.au3". However my @ScriptName is being displayed and written as "MyScript_Debug.au3".

Where is this saved so I can remove it and get the correct Script Name?

Thanks

Jibberish

Link to post
Share on other sites
  • Developers

Think Danp2 is correct, but else show the total SciTE OutputPane information when running the script to see what is happening.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By AndyS01
      I want to display the file name of the #include file in my _DebugOut() statements, but I always get the file name of the main script that includes it.  The @ScriptLineNumber macro gives me the line number in the #include file, but I don't see a way to display its file name.
      Like this:
      _Debugout("+++:" & @ScriptLineNumber & ": [" & @ScriptFullPath & "] bla bla bla ...")  
×
×
  • Create New...