Sign in to follow this  
Followers 0
johnynardi

TrayMenuMode Problem!

10 posts in this topic

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!

Share this post


Link to post
Share on other sites



?

Share this post


Link to post
Share on other sites

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 Gude
How 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

Share this post


Link to post
Share on other sites

amm iam sorry iam new in auto it :-

what his Tooltip?

its give the user msg?

Share this post


Link to post
Share on other sites

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 Gude
How 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

Share this post


Link to post
Share on other sites

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 Gude
How 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

Share this post


Link to post
Share on other sites

#8 ·  Posted (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 by armoros

[font="verdana, geneva, sans-serif"] [/font]

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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!

No prob brother...

if it was helpful the u are the first that i helped man

i feel proud wiith my self ;)


[font="verdana, geneva, sans-serif"] [/font]

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