Jump to content
Sign in to follow this  
mentosan

traytip() issue

Recommended Posts

mentosan

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.

Share this post


Link to post
Share on other sites
PsaltyDS

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

Share this post


Link to post
Share on other sites
Authenticity

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.

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  

×