mentosan Posted February 2, 2009 Share Posted February 2, 2009 Hi ! Why I cannot set a visible tray tip for a couple of seconds ? I'm using : TrayTip("Information", "blablabla", 4, 1) so it should be displayed for around 4 secs, but on my computer I think is less than a second. I compiled the script and tested it on another computer and the result is the same - the tray tip is displayed very quick. Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 2, 2009 Share Posted February 2, 2009 Hi ! Why I cannot set a visible tray tip for a couple of seconds ? I'm using: TrayTip("Information", "blablabla", 4, 1) so it should be displayed for around 4 secs, but on my computer I think is less than a second. I compiled the script and tested it on another computer and the result is the same - the tray tip is displayed very quick. Does anything keep the script running in the mean time? If the script closes, the tip goes away. If nothing else, add a Sleep(4000) after the TrayTip(). Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Authenticity Posted February 2, 2009 Share Posted February 2, 2009 TrayTip('Title', 'Text', 10, 1) $Time = TimerInit() Do Sleep(30) $TimeDiff = TimerDiff($Time) Until $TimeDiff > 5000 Exit If this won't work it's something you're doing wrong with your code. 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