johnynardi Posted April 17, 2012 Share Posted April 17, 2012 Hy ! i have created a small script that check a clickes and save it into array. and gives to the user a TrayTip if the condition is true (as you can see in the including code) The only problem i have is that the TrayTip is Jumping to the screen only if the mouse is move on the AutoIt icon. if the mouse didnt touch it... its doesnt show any TrayTip ... any ideas how can i make it work? like backgruond working? here the code: for $i = 1 to $count if $u= $s[$i] Then ControlFocus("[CLASS:Shell_TrayWnd]","","ToolbarWindow321") TrayTip("Test", ""& $note[$i], 6, 1) EndIf Next Creers form the Help! Link to comment Share on other sites More sharing options...
johnynardi Posted April 18, 2012 Author Share Posted April 18, 2012 ? Link to comment Share on other sites More sharing options...
BrewManNH Posted April 18, 2012 Share Posted April 18, 2012 Substitute ToolTip for TrayTip possibly? If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
johnynardi Posted April 18, 2012 Author Share Posted April 18, 2012 amm iam sorry iam new in auto it :- what his Tooltip? its give the user msg? Link to comment Share on other sites More sharing options...
BrewManNH Posted April 18, 2012 Share Posted April 18, 2012 Dog ate your help file? If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
johnynardi Posted April 18, 2012 Author Share Posted April 18, 2012 lol no mate.. and Tooltip have the same problem :its work only in the mouse is over the autoit iconsee the imghttp://imageshack.us/photo/my-images/341/65543548.jpg/ Link to comment Share on other sites More sharing options...
BrewManNH Posted April 18, 2012 Share Posted April 18, 2012 No it doesn't, it creates a tooltip where ever you tell it to create the tooltip and it shows up as soon as you create the tooltip. You're obviously doing it wrong. For $I = 1 To 500 $MousePos = MouseGetPos() ToolTip("This is a tooltip", $MousePos[0], $MousePos[1]) Sleep(20) ; Sleep to give tooltip time to display Next This snippet will create a tooltip that follows your mouse pointer around the screen for about 10 seconds. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
armoros Posted April 18, 2012 Share Posted April 18, 2012 (edited) Hey friend you oppened 2 same posts for same issue....or im doing a mistake ?anyway look or is ur second post wtch i answer if it is helpfull Edited April 18, 2012 by armoros [font="verdana, geneva, sans-serif"] [/font] Link to comment Share on other sites More sharing options...
johnynardi Posted April 18, 2012 Author Share Posted April 18, 2012 BrewManNH Thanks Alot ! its work! Armoros yes be mistake... i will delet it and its help me its not show any X icon like its use to! Link to comment Share on other sites More sharing options...
armoros Posted April 18, 2012 Share Posted April 18, 2012 BrewManNH Thanks Alot ! its work!Armoros yes be mistake... i will delet itand its help me its not show any X icon like its use to!No prob brother...if it was helpful the u are the first that i helped mani feel proud wiith my self [font="verdana, geneva, sans-serif"] [/font] 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