![]() SplitPath, SUS_ProcessName,, , SUS_ProcessExt WinGet, SUS_ProcessName, ProcessName, ahk_id %SUS_WinID% WinGetClass, SUS_WinClass, ahk_id %SUS_WinID% If ( (SUS_WinMinMax = 0) and (SUS_WinX = 0) and (SUS_WinY = 0) and (SUS_WinW = A_ScreenWidth) and (SUS_WinH = A_ScreenHeight) ) WinGetPos, SUS_WinX, SUS_WinY, SUS_WinW, SUS_WinH, ahk_id %SUS_WinID% WinGet, SUS_WinMinMax, MinMax, ahk_id %SUS_WinID% SYS_TrayTipText = NiftyWindows is resumed now.`nPress WIN ESC to suspend it again. SYS_TrayTipText = NiftyWindows is suspended now.`nPress WIN ESC to resume it again. SYS_TrayTipBalloon := SYS_TrayTipBalloonCU and SYS_TrayTipBalloonLM SYS_TrayTipBalloonLM := ErrorLevel or SYS_TrayTipBalloonLM RegRead, SYS_TrayTipBalloonLM, HKEY_LOCAL_MACHINE, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, EnableBalloonTips SYS_TrayTipBalloonCU := ErrorLevel or SYS_TrayTipBalloonCU RegRead, SYS_TrayTipBalloonCU, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, EnableBalloonTips SYS_ToolTipY = %SYS_TrayTipDisplayBottom% SYS_ToolTipSeconds = %SYS_TrayTipSeconds% SYS_ToolTipText = %SYS_TrayTipTitle%:`n`n%SYS_TrayTipText% SetTimer, SYS_TrayTipHandler, %SYS_TrayTipMillis% ![]() TrayTip, %SYS_TrayTipTitle%, %SYS_TrayTipText%, %SYS_TrayTipSeconds%, %SYS_TrayTipOptions% If ( SYS_TrayTipBalloon and !A_IconHidden ) SYS_TrayTipMillis := SYS_TrayTipSeconds * 1000 SetTimer, SYS_ToolTipHandler, %SYS_ToolTipMillis% ToolTip, %SYS_ToolTipText%, %SYS_ToolTipX%, %SYS_ToolTipY% ![]() SYS_ToolTipMillis := SYS_ToolTipSeconds * 1000 SendMessage, 0x001A,, ,, ahk_id 0xFFFF 0x001A is WM_SETTINGCHANGE 0xFFFF is HWND_BROADCAST RegWrite, REG_DWORD, HKEY_LOCAL_MACHINE, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, EnableBalloonTips, %SYS_TrayTipBalloon% RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, EnableBalloonTips, %SYS_TrayTipBalloon% If you leave the messages disabled NiftyWindows will show some plain`nmessages as tooltips instead (in front of the system tray).`n`nDo you want to enable balloon messages now (highly recommended)? These visual messages`nabove the system tray are often used by tools as additional information four`nyour interest.`n`nNiftyWindows uses balloon messages to show you some important operating`ndetails. MsgBox, 4148, Balloon Handler - %SYS_ScriptInfo%, The balloon messages are disabled on your system. SplitPath, MIR_MirandaFullPath,, MIR_MirandaDir MIR_MirandaFullPath = %ProgramFiles%\Miranda\Miranda32.exe TODO : a nulled key delay may produce problems for WinAmp control SYS_ScriptInfo = %SYS_ScriptNameNoExt% %SYS_ScriptVersion% SplitPath, A_ScriptFullPath, SYS_ScriptNameExt, SYS_ScriptDir, SYS_ScriptExt, SYS_ScriptNameNoExt, SYS_ScriptDrive * Author: Oliver Pfeiffer, Bremen (GERMANY) * Company: Enovatic-Solutions (IT Service Provider) * If you have any suggestions of new features or further questions * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ![]() * along with this program if not, write to the Free Software * You should have received a copy of the GNU General Public License * GNU General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * but WITHOUT ANY WARRANTY without even the implied warranty of * This program is distributed in the hope that it will be useful, * the Free Software Foundation either version 2 of the License, or * it under the terms of the GNU General Public License as published by * This program is free software you can redistribute it and/or modify * Copyright (c) 2004-2005 by Enovatic-Solutions.
0 Comments
Leave a Reply. |