Sign in to follow this  
Followers 0
HockeyFan

TrayIconDebug Help!

6 posts in this topic

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!!

Share this post


Link to post
Share on other sites



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))

post-33596-1206386750_thumb.jpg


[sub]Quantum mechanics: The dreams stuff is made of[/sub]

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0