thinkstorm
Joined: 17 Aug 2004 Posts: 38
|
Posted: Fri Dec 05, 2008 9:11 pm Post subject: Tweetdeck Minimize / Restore - HowTo? |
|
|
Hello,
I have problems with Minimizing/Restoring TweetDeck. If I use the WinMinimize function the application minimizes to the taskbar - when I use the Windows "_" button it actually goes to the system tray. So I'm using the SendMessage function now which does do the trick, but then for some reason neither WinActivate, WinRestore, or WinShow work anymore...
Here's the script:
| Code: | RestoreMinimizeTweetDeckWindow()
{
; TweetDeck
; ahk_class ApolloRuntimeContentWindow
DetectHiddenWindows, On
SetTitleMatchMode, 1
WinGet, hwnd, ID, TweetDeck ahk_class ApolloRuntimeContentWindow
If hwnd
{
ifWinActive, ahk_id %hwnd%
{
SendMessage, 0x112, 0xF020,,, ahk_id %hwnd%
} else {
; any idea?
}
} else {
Run, C:\Program Files\TweetDeck\TweetDeck.exe
}
} |
Any idea what I have to put into the else part? SendMessage with 0x1c doesn't do the trick, it seems... _________________ Cheers,
Thorsten |
|