Jump to content

Recommended Posts

Posted (edited)

hey,

how can i show/hide the tryicon during the script runs?

HotKeySet("^!p", "TrayIcon")
 
;Tray-Icon
Func TrayIcon()
    If Opt("TrayIconHide", 0) Then
            Opt("TrayIconHide", 1)
        ElseIf Opt("TrayIconHide", 1) Then
            Opt("TrayIconHide", 0)
    EndIf
EndFunc

that does not work, only, when tray is shown at programs start, it will hide one time, but i cannot show it again.

when tray is disabled at start, it won´t be shown for all the time.

but i can see for milisec. that the icon is shown, but after that it was hide again.

can anybody helps me?

EDIT: works fine with 2 hotkeys, but there must be a way to put it in 1 hotkey =)

Edited by sc4ry

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...