Icon in taskbar(toolbar)
Icon in taskbar(toolbar)
Is there any way to hide an icon of running programm in taskbar( or toolbar - i dont know how to call it in English. Nor tray )
Re: Icon in taskbar(toolbar)
Please excuse my spelling I am dyslexic.
Re: Icon in taskbar(toolbar)
Not tray. Theese or that. - http://prntscr.com/cwoqto
Re: Icon in taskbar(toolbar)
I doubt this is the best approach, but you can make your window a ToolWindow.
Code: Select all
Gui, +ToolWindow
Please excuse my spelling I am dyslexic.
Re: Icon in taskbar(toolbar)
Could you write a script which will hide skype`s icon in Toolbar, please?
Re: Icon in taskbar(toolbar)
hiding another programs? that won't be so straight forward (I have no idea how. seems quite complex). Capn Odin & mine were for gui's made in AHK.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
*poke*
Is it December 21, 2012 yet?
Re: Icon in taskbar(toolbar)
Ok, how to hide skype for example?
Re: Icon in taskbar(toolbar)
Code: Select all
#Include TrayIcon.ahk
trayIcons := TrayIcon_GetInfo()
Loop, % trayIcons.MaxIndex()
if (trayIcons[A_Index].process = "skype.exe")
TrayIcon_Remove(trayIcons[A_Index].hwnd, trayIcons[A_Index].uid)
Re: Icon in taskbar(toolbar)
Works only with tray. :/
Re: Icon in taskbar(toolbar)
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
ITaskbarList := ComObjCreate("{56FDF344-FD6D-11d0-958A-006097C9A090}", "{56FDF342-FD6D-11d0-958A-006097C9A090}")
if (DllCall(NumGet(NumGet(ITaskbarList+0)+3*A_PtrSize), "Ptr", ITaskbarList) == 0) ; ITaskbarList::HrInit
{
if (DllCall("IsTopLevelWindow", "Ptr", (skypeHwnd := WinExist("Skype™ - ahk_class tSkMainForm")))) {
DllCall(NumGet(NumGet(ITaskbarList+0)+5*A_PtrSize), "Ptr", ITaskbarList, "Ptr", skypeHwnd) ; ITaskbarList::DeleteTab
/*
Sleep 1000
DllCall(NumGet(NumGet(ITaskbarList+0)+4*A_PtrSize), "Ptr", ITaskbarList, "Ptr", skypeHwnd) ; ITaskbarList::AddTab
*/
}
}
ObjRelease(ITaskbarList)
Even better: Skype->Tools->Options->Advanced->[ ] Keep Skype in the taskbar while [you're] signed in...
Who is online
Users browsing this forum: garry and 144 guests