Jump to content

Recommended Posts

Posted

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

Posted

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]

Posted

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!

Posted

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

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]

Posted

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!

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
×
×
  • Create New...