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 

hover over mirc tabs

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



Joined: 07 Jun 2007
Posts: 296

PostPosted: Mon Oct 22, 2007 4:53 pm    Post subject: hover over mirc tabs Reply with quote

hello

this is a script that clicks tabs in mirc by hovering, by the respected jgpaiva

Code:

#singleinstance,force
coordmode,mouse,screen

loop
{
  sleep,200
  mousegetpos,x,y,window,control
  WinGetClass,WindowClass,ahk_id %window%
  if(x < (oldX +10) and y < (oldY +10) and x > (oldX -10) and y > (oldy -10) and windowclass = "mIRC" and control = "mIRC_SwitchBar1")
  {
    if(!flag)
    {
      click
      flag := true
    }
  }
  else
    flag := false
  oldx := x
  oldy := y
}


however, there are some problems:

when sleep is too low, it flickers the window (clicks multiple times) and also I would like to prevent it from clicked an already active tab after hovering (so it wont minimze active tabs, it will only maximize background tabs)

any suggestion?

thanks
Back to top
View user's profile Send private message
azure



Joined: 07 Jun 2007
Posts: 296

PostPosted: Wed Oct 24, 2007 4:54 pm    Post subject: Reply with quote

...
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