Open Side Menu Go to the Top

03-04-2010 , 06:35 PM
how do i send the click not to active window but
to window currently under mouse?


INSERT::
Click 250,250
return

Thanks in advance
Adjusting AHK code Quote
Adjusting AHK code
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
Adjusting AHK code
03-04-2010 , 06:41 PM
probably:
MouseGetPos, then WinActivate, then Click

http://www.autohotkey.com/docs/commands.htm
Adjusting AHK code Quote
03-04-2010 , 06:47 PM
INSERT::
Mousegetpos
Winactivate
Click 250,250
return

Like this?
Adjusting AHK code Quote
03-04-2010 , 06:53 PM
Thank you for your help, but it doesn't work.
Adjusting AHK code Quote
03-04-2010 , 07:04 PM
greg just suggested order of functions to use but you should use them correctly

INSERT::
MousegetPos,,,WinID
Winactivate,ahk_id%WinID%
Click 250,250
return
Adjusting AHK code Quote
03-04-2010 , 07:14 PM
Thanks!
Adjusting AHK code Quote
Adjusting AHK code
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
Adjusting AHK code

      
m