AutoHotkey Community

It is currently May 26th, 2012, 1:37 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: December 5th, 2008, 10:11 pm 
Offline

Joined: August 17th, 2004, 7:05 pm
Posts: 38
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Newl, patgenn123, poserpro, Yahoo [Bot] and 19 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group