HockeyFan Posted March 24, 2008 Share Posted March 24, 2008 Can someone tell me what I am doing wrong???? When I run my script with the following line enabled: AutoItSetOption("TrayIconDebug", 1) ;0-off I only get the script name when I hover the mouse over the autoit icon. Here is the beginning of my script: ; Script Start #include <GUIConstants.au3> #include <Date.au3> AutoItSetOption("TrayIconDebug", 1);0-off Opt("RunErrorsFatal", 0) ;1=fatal, 0=silent set @error This is really buggin me! Is there something else I need to do to enable the current script line to be seen in the tray icon tip to help debugging? Thanks in advance!! Link to comment Share on other sites More sharing options...
DarkMatter Posted March 24, 2008 Share Posted March 24, 2008 If I use this code: #include <GUIConstants.au3> #include <Date.au3> AutoItSetOption("TrayIconDebug", 1);0-off Opt("RunErrorsFatal", 0) ;1=fatal, 0=silent set @error Sleep(3000) I see the below (attached image) It shows where my code is at while it is running... (Line 18: Sleep(3000)) [sub]Quantum mechanics: The dreams stuff is made of[/sub] Link to comment Share on other sites More sharing options...
HockeyFan Posted March 24, 2008 Author Share Posted March 24, 2008 If I use this code: #include <GUIConstants.au3> #include <Date.au3> AutoItSetOption("TrayIconDebug", 1);0-off Opt("RunErrorsFatal", 0) ;1=fatal, 0=silent set @error Sleep(3000) I see the below (attached image) It shows where my code is at while it is running... (Line 18: Sleep(3000)) Very interesting....I've now run my script on a couple of other PC's and it works fine. There must be something odd about the machine I am using for testing. Thanks for you help! Link to comment Share on other sites More sharing options...
HockeyFan Posted March 24, 2008 Author Share Posted March 24, 2008 Just for S&G's, I ran the same code below on my test PC and it still doesn't show the debug information...so, it must be the PC. hmmmmm. #include <GUIConstants.au3> #include <Date.au3> AutoItSetOption("TrayIconDebug", 1);0-off Opt("RunErrorsFatal", 0) ;1=fatal, 0=silent set @error Sleep(3000) Link to comment Share on other sites More sharing options...
DarkMatter Posted March 24, 2008 Share Posted March 24, 2008 Sounds like it could be something to do with the machine. Worst case just uninstall and reinstall autoit. [sub]Quantum mechanics: The dreams stuff is made of[/sub] Link to comment Share on other sites More sharing options...
HockeyFan Posted March 24, 2008 Author Share Posted March 24, 2008 Sounds like it could be something to do with the machine. Worst case just uninstall and reinstall autoit.Actually, my test PC didn't have autoit installed so I downloaded the lastest version, restarted, and it still doesn't work. I'm about to give up and find another PC. Thanks for your help! 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