Jump to content

Recommended Posts

Posted

ok, i have a problem with the trytip, it doesnt show up when i hide autoit program in the tryicons, is there a way to show a try even if the autoit try is hidden or to show a try in the system clock?

Posted

Not that I know of. What you can do is search the help file for "TraySetState". You can show the tray icon just while the traytip is active.

Another idea would be to make your own gui and just put it in the bottom corner of the screen.

Posted

AutoItSetOption("TrayIconHide", 1)

$tip = ToolTip("This is a tooltip", @DesktopWidth - 140, @DesktopHeight - 100,"Example",1,"")

Sleep(5000)

_____________________________________________________________________________

Posted

AutoItSetOption("TrayIconHide", 1)

$tip = ToolTip("This is a tooltip", @DesktopWidth - 140, @DesktopHeight - 100,"Example",1,"")

Sleep(5000)

That is an option, but then you can't do anything in those 5 seconds.

Posted

ok, i have a problem with the trytip, it doesnt show up when i hide autoit program in the tryicons, is there a way to show a try even if the autoit try is hidden or to show a try in the system clock?

You can use this code to cleanup Residual Tray Icons.

;//Refresh the ICON Tray after performing a ProcessClose [Clear Residual Icons]
Func _UpdateTray()
    Local $iMode = Opt("WinTitleMatchMode", 4)
    Local $hControl = ControlGetHandle("[CLASS:Shell_TrayWnd]", "", "[CLASSNN:ToolbarWindow321]")
    Local $acSize = WinGetClientSize($hControl)
    For $x = 0 To $acSize[0] Step 5
        For $Y = 0 To $acSize[1] Step 5
            DllCall("user32.dll", "lparam", "SendMessage", "hwnd", $hControl, "int", 0x0200, "wparam", 0, "lparam", BitOR($Y * 0x10000, BitAND($x, 0xFFFF)))
        Next
    Next
    Opt("WinTitleMatchMode", $iMode)
EndFunc   ;==>_UpdateTray

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
×
×
  • Create New...