Fidel Posted August 19, 2009 Share Posted August 19, 2009 (edited) Hello, I've added Opt("TrayIconDebug", 1) to the top of my script. It helps me debug by hovering the mouse above the tray icon. However, when I compile the au3 to an exe, the tray icon no longer shows the current line of code. Question: Is it possible to make the tray icon of a compiled script show the current line text? Ta, Fidel Edited August 19, 2009 by Fidel Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted August 19, 2009 Share Posted August 19, 2009 Compiled scripts doesn't have any sense of "lines" so that isn't possible to know. Just run the uncompiled script to find any errors. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Fidel Posted August 19, 2009 Author Share Posted August 19, 2009 Compiled scripts doesn't have any sense of "lines" so that isn't possible to know. Just run the uncompiled script to find any errors.no worries, thanks Link to comment Share on other sites More sharing options...
Simpel Posted September 1, 2016 Share Posted September 1, 2016 Hi, but how can the autoit error msgbox include an error line then? Regards, Conrad SciTE4AutoIt = 3.7.3.0 AutoIt = 3.3.14.2 AutoItX64 = 0 OS = Win_10 Build = 19044 OSArch = X64 Language = 0407/german H:\...\AutoIt3\SciTE H:\...\AutoIt3 H:\...\AutoIt3\Include (H:\ = Network Drive) Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. Link to comment Share on other sites More sharing options...
JohnOne Posted September 1, 2016 Share Posted September 1, 2016 Because Compiled scripts do have a sense of "lines". They just do not correspond to your non-compiled script. argumentum 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
argumentum Posted September 2, 2016 Share Posted September 2, 2016 (edited) 8 hours ago, JohnOne said: Because Compiled scripts do have a sense of "lines". @Simpel , if you use #AutoIt3Wrapper_Run_Au3Stripper=y #Au3Stripper_Parameters=/MO you can use the _stripped.au3 to correlate to the line number Edited September 2, 2016 by argumentum called the attention of an uninvolved party. AutoBert 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Simpel Posted September 12, 2016 Share Posted September 12, 2016 @argumentum, I know and I used it some times. (There were times when shown error lines and the corresponding line in the _stripped.au3 couldn't match. But in the last few times it matched.) Is it possible not only to have the line number but the code in this line too? Regards, Conrad SciTE4AutoIt = 3.7.3.0 AutoIt = 3.3.14.2 AutoItX64 = 0 OS = Win_10 Build = 19044 OSArch = X64 Language = 0407/german H:\...\AutoIt3\SciTE H:\...\AutoIt3 H:\...\AutoIt3\Include (H:\ = Network Drive) Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. Link to comment Share on other sites More sharing options...
argumentum Posted September 13, 2016 Share Posted September 13, 2016 6 hours ago, Simpel said: have the line number but the code in this line too? _AutoItErrorTrap.au3 may be what you are looking for. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. 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