DaJ23 Posted August 24, 2005 Share Posted August 24, 2005 Hi i'm new to AutoIT v3 and using the latest Beta (autoit-v3.1.1.68-beta), but i missing a debug function for administration thingies. Often a script runs on a machine, but if a machine is a little bit slower or faster, then different to the testet machine, the script don't will function or/and it never ends.So my question is, if i activate Opt("TrayIconDebug", 1) running script will show me the line where it holds. but at many different machines it could be many different errors so a savefunction for those errors would be great (communicate with a external script and give that line back to it calling script)I also tryed tuape`s Systray_UDF (and want modify it to my needs) but it doesn't function and will give me just a zero for existing trayicons. the _FindTrayToolbarWindow() also give me just a "0x00000000" back. Im using Windows 2000 Prof. with SP4.Any suggestions? (sorry for my spelling, im a little bit tired!)P.S.: Very Great work to all AutoIT Members and Developers! :"> Link to comment Share on other sites More sharing options...
Holger Posted August 24, 2005 Share Posted August 24, 2005 In the current beta there is a new macro @ScriptLineNumber.So you could for instance use this number together with FileReadLine, something like:... Func DebugLine() $line = FileReadLine(@ScriptFullPath, @ScriptLineNumber) ... EndFunc ...So long... Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
DaJ23 Posted August 24, 2005 Author Share Posted August 24, 2005 Great!! Thank you very much Holger, how could i miss that? Hope i could give in next time also some nice code-examples 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