Open Side Menu Go to the Top

10-27-2008 , 06:34 PM
I cant get this script to work with ipoker game windows. It works fine with other windows like notepad and browsers etc.
Any idea why?


Code:
SetTitleMatchMode, 2

F1::
WinGetActiveTitle, Title1
WinMove, %Title1%,, 0, 0
return

F4::
WinGetActiveTitle, Title1
WinMove, %Title1%,, 0, 390
return

F2::
WinGetActiveTitle, Title1
WinMove, %Title1%,, 870, 0
return

F3::
WinGetActiveTitle, Title1
WinMove, %Title1%,, 870, 390
return
Help needed with basic AHK script. Quote
Help needed with basic AHK script.
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
Help needed with basic AHK script.
10-28-2008 , 06:56 AM
(didn't test the code)

Instead of 'WinGetActiveTitle' and dealing with titles try 'WinGet' (dealing with IDs) like this:
Code:
F1::
  WinGet, active_id, ID, A
  WinMove, ahk_id%active_id%,, 0, 0
return
Help needed with basic AHK script. Quote
Help needed with basic AHK script.
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
Help needed with basic AHK script.

      
m