AzKay Posted June 30, 2006 Share Posted June 30, 2006 (edited) Ok, I make the tray tip, with, say, a 5 second time out. but the traytip doesnt time out after 5 seconds >< TrayTip("", "Dont Forget To Read The Readme", 5, 1) ^ Doesnt go away after 5 seconds ^ Edited June 30, 2006 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 30, 2006 Moderators Share Posted June 30, 2006 Ok, I make the tray tip, with, say, a 5 second time out. but the traytip doesnt time out after 5 seconds >< TrayTip("", "Dont Forget To Read The Readme", 5, 1) ^ Doesnt go away after 5 seconds ^timeout:A rough estimate of the time (in seconds) the balloon tip should be displayed. (Windows has a min and max of about 10-30 seconds but does not always honor a time in that range.) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
AzKay Posted June 30, 2006 Author Share Posted June 30, 2006 Hmm, Ooops, sorry bought thatm missread, the min-max part ^^; But I promise you, I DID read it. =3 # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 30, 2006 Moderators Share Posted June 30, 2006 (edited) Make something custom:TrayTip("", "Dont Forget To Read The Readme", 5, 1) Sleep(5000) TrayTip('', '', 0) Edited June 30, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
AzKay Posted June 30, 2006 Author Share Posted June 30, 2006 (edited) Not kewl, I put it on 10 seconds, still stays there until 30 seconds is up >< Thanks ^^ Edited June 30, 2006 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
wakillon Posted February 3, 2009 Share Posted February 3, 2009 (edited) May be it help later...Dim $Paused, $_TimerInit = TimerInit ( ) _Pause ( ) Func _Pause ( ) $Paused = NOT $Paused While $Paused _TrayTipTimed ( 'Launcher', 'En "Pause"...', 3000, 20000, 1, 0 ); 0= NoIcon, 1=Info icon, 2=Warning icon, 3=Error icon Sleep ( 100 ) WEnd EndFunc; <=== _Pause ( ) Func _TrayTipTimed ( $_Title= " ", $_Texte= " ", $_TrayTipOnTime=2000, $_TrayTipOffTime=30000, $_Icon=0, $_NoSound=1 ) Local $_TimerDiff = TimerDiff ( $_TimerInit ), $_Space = '' If $_Icon Then $_Space = ' ' If $_NoSound Then $_Icon = $_Icon + 16 If $_TimerDiff < 500 Then TrayTip ( $_Title, $_Space & $_Texte, 1, $_Icon ) If $_TimerDiff > $_TrayTipOnTime And $_TimerDiff < $_TrayTipOnTime + 500 Then TrayTip ( '', '', 1, 1 ) ElseIf $_TimerDiff > $_TrayTipOnTime + $_TrayTipOffTime Then TrayTip ( $_Title, $_Space & $_Texte, 1, $_Icon ) $_TimerInit = TimerInit ( ) EndIf EndFunc; <=== _TrayTipTimed ( ) Edited February 3, 2009 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts 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