techtonik Posted May 17, 2007 Share Posted May 17, 2007 Is there a way to produce a log of AutoIt3 script execution line by line? My script works ok while I debug it, but hangs after some days working as a scheduled job. I can see script icon in system tray, but I can't see the place where it hung. Is there a way to get this information about last executed AutoIt3 command or log about AutoIt3 script execution? Link to comment Share on other sites More sharing options...
Davo Posted May 17, 2007 Share Posted May 17, 2007 Hi, There is a better method then using a log for every line Opt("TrayIconDebug",1) this will show you the line that is currently being executed when you put your mouse on the autoit icon in your taskbar. Hope it helps Dave. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------"I don't need to know everything, I just need to know where to find it when I need it"....EinsteinAnd in our case... That's the AutoIT helpfile ;) Please read before posting!!! Link to comment Share on other sites More sharing options...
MHz Posted May 17, 2007 Share Posted May 17, 2007 Is there a way to produce a log of AutoIt3 script execution line by line? My script works ok while I debug it, but hangs after some days working as a scheduled job. I can see script icon in system tray, but I can't see the place where it hung. Is there a way to get this information about last executed AutoIt3 command or log about AutoIt3 script execution?Yes you can see once you put this at the top of your script. Opt('TrayIconDebug', 1) oÝ÷ ØÚ0§¶¬r¸©¶§Èî²Ù¨½ëazj.±ê/z»azÚÚÊ'(Ú,yëayË«éí)Þ¶¶¬r¸©¶+)jëu«H*.Ê'qêçyÖ¢ëey«âaz'(ìi¢Ç¶ZºÈ§Ø^±Êâ¦Ø§¦º¹Ëb¢w§¾*èg§¶Ø^*.q©î±àky©-¡Ø¬i¹^¶¬¢rߢ¹©jë" +{x-ë®*mjëh×6 Break(False) Link to comment Share on other sites More sharing options...
techtonik Posted May 17, 2007 Author Share Posted May 17, 2007 Thanks! Just what I need. 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