AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

new foobar 9.5 default UI: Has anybody got it working?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
urlwolf



Joined: 16 Mar 2006
Posts: 101

PostPosted: Wed Dec 26, 2007 9:51 pm    Post subject: new foobar 9.5 default UI: Has anybody got it working? Reply with quote

I'm sure many people here use foobar.
The new foobar 9.5 default UI is great... but it produces weird ahk_class names. Has anybody got it working?

I just wanted to have a shortcut to toggle it from/to the tray. It worked fine for panels_UI, but not for default_UI.

Thanks
Back to top
View user's profile Send private message
selyb



Joined: 20 Jul 2007
Posts: 11

PostPosted: Sat Feb 16, 2008 7:33 pm    Post subject: Reply with quote

Code:
IfWinExist, ahk_class {97E27FAA-C0B3-4b8e-A693-ED7881E99FC1}
   {
      WinGet,now,MinMax, ahk_class {97E27FAA-C0B3-4b8e-A693-ED7881E99FC1}
      if (now = 0)
         WinMinimize, ahk_class {97E27FAA-C0B3-4b8e-A693-ED7881E99FC1}
      else if (now = -1)
      {
         WinRestore, ahk_class {97E27FAA-C0B3-4b8e-A693-ED7881E99FC1}
         WinActivate, ahk_class {97E27FAA-C0B3-4b8e-A693-ED7881E99FC1}
      }
   else
      Run c:\programs\Foobar2000\foobar2000.exe
   }
}
return
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group