Jibberish

@ScriptName uses old script name

3 posts in this topic

#1 ·  Posted

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

Share this post


Link to post
Share on other sites



#2 ·  Posted

Did you add any directives to the script related to debugging? Perhaps that is the source of the issue.

Share this post


Link to post
Share on other sites

#3 ·  Posted

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

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


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

  • Similar Content

    • AndyS01
      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 ...")