2000a Posted February 23, 2005 Share 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 Link to comment Share on other sites More sharing options...
jpm Posted February 23, 2005 Share 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 Link to comment Share on other sites More sharing options...
2000a Posted February 23, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
2000a Posted February 25, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now