2000a 0 Posted February 23, 2005 Is it possible to display the line number of the script at execution. Similar to Opt('TrayIconDebug', 1)... If not then, can I store Opt('TrayIconDebug', 1) into a variable? For example: 1 Run(...) 2 Winwait (...) 3 $Line = ... 4 MsgBox(0, 'Current Script Line', 'Current Script Line is: ' & $Line) ;$Line = 4 Any help is appreciated. thanks Share this post Link to post Share on other sites
jpm 93 Posted February 23, 2005 Is it possible to display the line number of the script at execution. Similar to Opt('TrayIconDebug', 1)... If not then, can I store Opt('TrayIconDebug', 1) into a variable?For example: 1 Run(...)2 Winwait (...)3 $Line = ...4 MsgBox(0, 'Current Script Line', 'Current Script Line is: ' & $Line) ;$Line = 4Any help is appreciated. thanks<{POST_SNAPBACK}>use the Scite editor you have a wonderful addition/suppresion of debug command.Even tracing with ConsoleWrite Share this post Link to post Share on other sites
2000a 0 Posted February 23, 2005 I want the line number to display on a messagebox somewhere in the script. I don't need this while writting the script on SciTE. Is there a way of getting the text from "Opt('TrayIconDebug', 1)" and putting it in a varaiable? It displays in the trayicon at executions... $myVar=Opt('TrayIconDebug', 1) ??? many thanks. Share this post Link to post Share on other sites
2000a 0 Posted February 25, 2005 I guess that it is not possible to get the text from the tooltip (system tray) that is set by: Opt('TrayIconDebug', 1)... Thank you anyways. AutoIt3 is great. Share this post Link to post Share on other sites