wraithdu Posted April 22, 2008 Share Posted April 22, 2008 (edited) Here's an easy example For $i = 1 To 20 TrayTip("Flashing Tip", "Loop: " & $i, 10, 16) Sleep(250) Next The TrayTip() looks and works great in XP, but in Vista it flashes to an epileptic degree on each update. Anything I can do about this, or is it just Vista being annoying? Edited April 22, 2008 by wraithdu Link to comment Share on other sites More sharing options...
wraithdu Posted April 24, 2008 Author Share Posted April 24, 2008 Wow, this got buried fast. Anyone with the same problem or any ideas? Link to comment Share on other sites More sharing options...
C2C Posted April 24, 2008 Share Posted April 24, 2008 Vista Ultimate x86 user over here. I loaded your script and i get nothing out of the ordinary it just blinks a bit and changes the Loop: NUMBER Hmm ----------------------------------90% of teens today would die if Myspace,Bebo + FaceBook had a system failure and was completely destroyed. If you are one of the 10% that would be laughing, copy and paste this to your signature.----------------------------------Code to win, 'till you die, 'till the compiler dies from your linesCode to win, take it all, just keep coding till you fallDay by day, codin' all the way, I'm not cavin' inLet another App begin, code to win Link to comment Share on other sites More sharing options...
herewasplato Posted April 24, 2008 Share Posted April 24, 2008 A search of the forum for +TrayTip +Vista will net you a wide variety of performance reports from no TrayTip at all to moderate flickering to intolerable flickering.The help file clearly states:TrayTip works for only Windows 2000/XP or better.So Vista must not be better :-)/sarcasm [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
wraithdu Posted April 24, 2008 Author Share Posted April 24, 2008 LOL. Yeah, that's what I was thinking...sucks. Well at least it's pretty on XP. Wonder if MSDN has any info...I'll look. Link to comment Share on other sites More sharing options...
zorphnog Posted April 24, 2008 Share Posted April 24, 2008 Well TrayTip was never meant to be constantly updated like you are trying to do. If you are trying to use it as a countdown or something that is constantly updated, you should probably look at using a notification window like these examples:http://www.autoitscript.com/forum/index.ph...l=msn+messengerhttp://www.autoitscript.com/forum/index.ph...ic=59959&hlhttp://www.autoitscript.com/forum/index.ph...ic=22603&hl Link to comment Share on other sites More sharing options...
Joon Posted April 24, 2008 Share Posted April 24, 2008 I'm running AutoIt 3.2.10.0 and help file says TrayTip is only for 2000/XP. Link to comment Share on other sites More sharing options...
herewasplato Posted April 24, 2008 Share Posted April 24, 2008 I'm running AutoIt 3.2.10.0 and help file says TrayTip is only for 2000/XP.The help file says:TrayTip works for only Windows 2000/XP or better.Meaning that it should work with operating systems (OS) released after XP.The help file is saying that it should work with Vista and it does for some users. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Joon Posted April 24, 2008 Share Posted April 24, 2008 Straight from the help file.... Function Reference TrayTip -------------------------------------------------------------------------------- Displays a balloon tip from the AutoIt Icon. (2000/XP only) TrayTip ( "title", "text", timeout [, option] ) Parameters title Text appears in bold at the top of the balloon tip. (63 characters maximum) text Message the balloon tip will display. (255 characters maximum) 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.) option [optional] See Remarks. 0=No icon (default), 1=Info icon, 2=Warning icon, 3=Error icon Return Value None. Remarks TrayTip works for only Windows 2000/XP or better. A Tray tip will close if the AutoIt tray icon disappears. Consequently, the TrayTip may not appear if AutoItSetOption("TrayIconHide", 1) is set or if the user has disabled balloon tips via registry settings! Windows XP usually plays a sound when displaying a balloon tip. This sound can be disabled by adding 16 to the options parameter or by setting an empty title. To clear a balloon tip that is being displayed, call another tip with an empty text string (and any title). Related MsgBox, ToolTip, TrayIconHide (Option) Link to comment Share on other sites More sharing options...
zorphnog Posted April 24, 2008 Share Posted April 24, 2008 The tray tip works fine in Vista for me. The issue, from my perspective, is the flickering caused by a new GUI being drawn everytime you want to update the text. Thats why I suggested a notification popup where you can control the text via a GUICtrlLabel instead of redrawing the whole GUI. Link to comment Share on other sites More sharing options...
Joon Posted April 24, 2008 Share Posted April 24, 2008 AutoIt version 3.2.10.0, Tray Tip won't even shows up. Link to comment Share on other sites More sharing options...
AzKay Posted April 24, 2008 Share Posted April 24, 2008 Straight from the help file....RemarksTrayTip works for only Windows 2000/XP or better. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Joon Posted April 24, 2008 Share Posted April 24, 2008 Function ReferenceTrayTip --------------------------------------------------------------------------------Displays a balloon tip from the AutoIt Icon. (2000/XP only) Link to comment Share on other sites More sharing options...
zorphnog Posted April 24, 2008 Share Posted April 24, 2008 OMG this thread should be dead. It works on Vista with mixed results. I have 3.2.10.0 and it works perfectly fine. Yes we can all agree the help file contradicts itself, so please stop citing the help file over and over. Link to comment Share on other sites More sharing options...
AzKay Posted April 24, 2008 Share Posted April 24, 2008 Function ReferenceTrayTip --------------------------------------------------------------------------------Displays a balloon tip from the AutoIt Icon. (2000/XP only)Did you even look at the bolded part from what YOU posted, from the helpfile?Look at the helpfile, under REMARKS. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Joon Posted April 24, 2008 Share Posted April 24, 2008 Did you even look at the bolded part from what YOU posted, from the helpfile?Look at the helpfile, under REMARKS.I see that. I'm also telling you that help file also says it 2000/XP only. Link to comment Share on other sites More sharing options...
herewasplato Posted April 25, 2008 Share Posted April 25, 2008 I see that. I'm also telling you that help file also says it 2000/XP only.Yes, let's beat the horse until it is dead.I see the first line that you are quoting as a summary and as such it does not conflict with or contradict the more detailed info in the remarks section. Others may see it differently.You will find the same format with MouseWheel. However, RunAsSet and WinSetTrans regurgitate the "or later" part in that summary line. So, we are two for two.<click> [size="1"][font="Arial"].[u].[/u][/font][/size] 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