Open Side Menu Go to the Top

02-13-2008 , 03:14 PM
anyone know of a simple script that will just bring whatever pokerstars table I have under my cursor to the foreground without having to click? I play like 12+ and this would be extremely useful for dealing with overlap.
ahk script for activating table with hover Quote
ahk script for activating table with hover
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
ahk script for activating table with hover
02-13-2008 , 05:29 PM
with autohotkey

Code:
#persistent
setTimer, activator, 100
return

activator:
MouseGetPos, , , id, control
WinActivate, ahk_id %id%
return
activates any window under mouse cursor

Last edited by tsod; 02-13-2008 at 05:36 PM.
ahk script for activating table with hover Quote
02-13-2008 , 09:38 PM
just what i needed thanks a lot
ahk script for activating table with hover Quote
02-13-2008 , 09:58 PM
From experience doing this with keyboard_redirect script - you will want to avoid activating an already active window - it costs many CPU cycles for some reason

Quote:
Originally Posted by tsod
with autohotkey

Code:
#persistent
setTimer, activator, 100
return

activator:
MouseGetPos, , , id, control
IfWinActive, ahk_id%id%
{
  return
}
else
{
  WinActivate, ahk_id %id%
}
return
activates any window under mouse cursor
may be more efficient.
ahk script for activating table with hover Quote
02-14-2008 , 04:35 AM
Quote:
Originally Posted by _dave_
From experience doing this with keyboard_redirect script - you will want to avoid activating an already active window - it costs many CPU cycles for some reason



may be more efficient.
Does rather mess up the context menu though
But not on the script icon itself
ahk script for activating table with hover Quote
02-14-2008 , 01:23 PM
You can also download Tweak UI and use the X-Mouse feature. Check out the following article: http://articles.techrepublic.com.com...1-5082157.html
ahk script for activating table with hover Quote
02-15-2008 , 12:31 AM
Yes, Tweak UI does this very well.
ahk script for activating table with hover Quote
02-15-2008 , 12:36 AM
Quote:
Originally Posted by Ricks
Yes, Tweak UI does this very well.
I had assumed the very asking for such script meant TweakUI was not working
ahk script for activating table with hover Quote
02-15-2008 , 04:36 AM
Quote:
Originally Posted by h0ser
You can also download Tweak UI and use the X-Mouse feature. Check out the following article: http://articles.techrepublic.com.com...1-5082157.html
Understanding the X-Mouse settings
After you enable the X-Mouse feature, you'll want to make sure that the Autoraise When Activating check box is selected as well
ahk script for activating table with hover Quote
02-23-2011 , 09:14 PM
Sick bump

I'm trying to use this with Hjalper and having trouble moving tables. I'm also using Placemint btw. If I try to move a table to another slot, it won't work for some reason.
ahk script for activating table with hover Quote
02-25-2011 , 05:22 AM
nice ahk ty
ahk script for activating table with hover Quote
02-26-2011 , 12:10 PM
for me it stops working whenever i do something with the task bar so i just right-click reload it.
ahk script for activating table with hover Quote
12-24-2011 , 12:54 PM
Quote:
Originally Posted by _dave_
From experience doing this with keyboard_redirect script - you will want to avoid activating an already active window - it costs many CPU cycles for some reason



may be more efficient.
I just tried this, it seems really good apart from when there are popups or drop down menu's. What's the best way around this?
ahk script for activating table with hover Quote
03-20-2013 , 07:27 PM
can anyone help make this work??

Trying to run it with simple ahk script i tweaked for ipoker/888. doesn't do anything for me but I also dont really know what im looking at.

Code:
#persistent  **I think this is for mouse hover but dont know what it means
setTimer, activator, 100
return

activator:
MouseGetPos, , , id, control ** gets the position of the mouse?
IfWinActive, ahk_id%id% **I dont get this, ifwinactive? I thought the window would not be active yet.
{
  return
}
else
{
  WinActivate, ahk_id %id%
}
return
Yea i dont really have a clue
ahk script for activating table with hover Quote
03-20-2013 , 08:39 PM
http://www.autohotkey.com/docs/commands.htm

Quote:
**I think this is for mouse hover but dont know what it means
Keeps a script permanently running (that is, until the user closes it or ExitApp is encountered)
Quote:
** gets the position of the mouse?
Gets the ahk_id of window under current mouse position
Quote:
**I dont get this, ifwinactive? I thought the window would not be active yet.
This together with the following 7 lines reads as, "if window under mouse is active -> do nothing; otherwise -> activate it"
ahk script for activating table with hover Quote
03-20-2013 , 09:20 PM
Quote:
Originally Posted by Baobhan-Sith
http://www.autohotkey.com/docs/commands.htm

Keeps a script permanently running (that is, until the user closes it or ExitApp is encountered)
Gets the ahk_id of window under current mouse position
This together with the following 7 lines reads as, "if window under mouse is active -> do nothing; otherwise -> activate it"
cool thanks a lot.
ahk script for activating table with hover Quote
03-20-2013 , 11:41 PM
ah yeah i looked over the offical website a few times but I'm way to Ratarded to actually understand anything
ahk script for activating table with hover Quote
03-25-2013 , 12:57 PM
How would i make this script only work for the poker windows and not with all windows?

I tired to add #IfWinActive, **name of window title here**

But obv that doesnt work because windows not active. So i need to tell it only to work for a window with a certain title or class
ahk script for activating table with hover Quote
03-25-2013 , 01:30 PM
Quote:
Originally Posted by richbrown360
How would i make this script only work for the poker windows and not with all windows?

I tired to add #IfWinActive, **name of window title here**

But obv that doesnt work because windows not active. So i need to tell it only to work for a window with a certain title or class
something like this:
Code:
...
else
{
   WinGetClass, this_class, ahk_id %id%
   if (this_class = "PTIODEVICE")   ;// matches only ipoker
      WinActivate, ahk_id %id%
}
ahk script for activating table with hover Quote
03-25-2013 , 01:32 PM
Code:
#persistent  
setTimer, activator, 100
return

activator:
MouseGetPos, , , id, control 
WinGetClass, class, ahk_id %id%
if (class = PokerStarsTableFrameClass)
{
   IfWinActive, ahk_id%id% 
     {
     return
     }
   else
     {
     WinActivate, ahk_id %id%
     }
}
else, return
return
Try this (untested), PokerStars only, if you're playing other rooms simultaneously you'd have to create an ahk_group containing all ahk_classes, or repeat the procedure for every class.

Last edited by Baobhan-Sith; 03-25-2013 at 01:35 PM. Reason: slow pony, just ignore me ;)
ahk script for activating table with hover Quote
03-26-2013 , 01:43 AM
Will try them out thanks.
ahk script for activating table with hover Quote
04-08-2013 , 09:46 AM
Quote:
Originally Posted by greg nice
something like this:
Code:
...
else
{
   WinGetClass, this_class, ahk_id %id%
   if (this_class = "PTIODEVICE")   ;// matches only ipoker
      WinActivate, ahk_id %id%
}
Hey, this doesnt seem to work. PTIODEVICE is the right class though
ahk script for activating table with hover Quote
04-08-2013 , 12:38 PM
Ok, it worked (sort of) by just putting my username (as window title) after the winactivate.
ahk script for activating table with hover Quote
06-22-2014 , 01:21 PM
This works for me for 888:

Code:
#persistent
setTimer, activator, 0
return
activator:
MouseGetPos, , , id, control
IfWinActive, ahk_id%id%
{
  return
}
else
{
   WinGetClass, this_class, ahk_id %id%
   if (this_class = "#32770")
   WinActivate, ahk_id %id%
}
return
However, I want to only have it do the title, not the class (since I do not want the lobby continually activated).

I tried switching out class with title, so the bottom part looks like this:

Code:
   WinGetTitle, this_title, ahk_id %id%
   if (this_title = "NLH")
   WinActivate, ahk_id %id%
This isn't working though, and I tried a ton of different combinations.
ahk script for activating table with hover Quote
06-22-2014 , 01:59 PM
try:

Code:
if (InStr(this_title, "NLH"))
Your window titles are not going to exactly match "NLH" I should think, rather they will contain "NLH" somewhere within
ahk script for activating table with hover Quote
ahk script for activating table with hover
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
ahk script for activating table with hover

      
m