Sign in to follow this  
Followers 0
wesdegroot

TrayTip

4 posts in this topic

Hello I`ve tested some traytips,

;
; By Windows Vista it gives...
;
; ... are there more icons what can in a TrayTip?

TrayTip("1","1","",1); information
Sleep(1000);
TrayTip("2","2","",2); warning
Sleep(1000);
TrayTip("3","3","",3); error
Sleep(1000);
TrayTip("4","4","",4); autoit icon
Sleep(1000);
TrayTip("5","5","",5); BIG warning
Sleep(10000);

but are there other traytips?

Share this post


Link to post
Share on other sites



Hello I`ve tested some traytips,

but are there other traytips?

You can test it like this:

For $n = 0 To 15
    TrayTip($n, $n, "", $n); information
    Sleep(2000)
Next

On XP Pro SP2, I found 13 was a "window" icon.

:rolleyes:


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

tnx i`ve changed to 25 and the max. of icons higer is the same icons :rambo:

but i`ve found something else whats cool :rolleyes:

$count = 0;
$max   = 278;
While $count < $max+1
    TraySetToolTip("Icon " & $count & " Of " & $max);
    TraySetIcon(@SystemDir & "\shell32.dll",$count);
    TrayTip("Icon " & $count & "/" & $max,"Icon " & $count & " Of " & $max,"",4); information TIP
    $count = $count + 1  
    Sleep(500);
Wend

Share this post


Link to post
Share on other sites

tnx i`ve changed to 25 and the max. of icons higer is the same icons :mad:

but i`ve found something else whats cool :x

Nice. :rolleyes:

For something that's going to run that long, you might want to add a way to quit:

HotKeySet("{ESC}", "_Quit")

$max = 278
For $count = 0 to $max
    TraySetIcon(@SystemDir & "\shell32.dll",$count)
    TrayTip("Icon " & $count & "/" & $max,"Icon " & $count & " Of " & $max,"",4); information TIP
    Sleep(500)
Next

Func _Quit()
    Exit
EndFunc

:rambo:


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

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