Search the Community
Showing results for tags '@scriptname'.
-
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
-
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 ...")