AutoHotkey Community

It is currently May 27th, 2012, 11:06 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: show buddly list pigdgin
PostPosted: May 15th, 2007, 1:12 pm 
Offline

Joined: March 21st, 2007, 1:55 pm
Posts: 11
Location: Lyon (France)
Hi,

I use pidgin (new gaim) and you can put the "buddy list" in the tray. I need to left double click on the icon to get back the list. So here is the script I to do:

Code:
^F11::
   DetectHiddenWindows, On
   SetTitleMatchMode, 2
   IfWinNotExist, Buddy List
   {
      return
   }
   WinActivate, Buddy List
   Send, {LButton 2}
return


Apparenlty it doesn't work. Perharps {LButton 2} is not the right way to send double click to the application ?

Regards.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: HMMM
PostPosted: May 15th, 2007, 8:25 pm 
Offline

Joined: January 18th, 2006, 12:37 am
Posts: 290
I couldn't get it to to work. Pidgin doesn't want to be restored using AHK. But if you use AHK to hide your buddy list you can use it to restore it.

The only other way would be to figure out how to move the mouse over the icon in the system tray and double click it there.

Here's some things to try.
Code:
F11::
DetectHiddenWindows, On
SetTitleMatchMode, 2
IfWinNotExist, Buddy List
  return
PostMessage, 0x112, 0xF120,,, Buddy List ;, WinText  ; 0x112 = WM_SYSCOMMAND, 0xF120 = SC_RESTORE
WinShow, Buddy List
WinRestore, Buddy List
WinActivate, Buddy List
return

F12::
WinHide, Buddy List

_________________
My AutoHotkey Program for Warcraft III:
Warkeys
http://warkeys.sourceforge.net/

Remap your hotkeys
Healthbars always on
Remap inventory


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 16th, 2007, 4:20 am 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8667
Location: Salem, MA
you can find the icon with Imagesearch

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, Edd, Exabot [Bot], Google Feedfetcher, HotkeyStick and 13 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