DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Open a new window at a specific location  (Read 7,192 times)

cocu25

  • Participant
  • Joined in 2009
  • *
  • Posts: 2
Open a new window at a specific location
« on: February 13, 2009, 11:08 AM »
Hi There. I'm new here and I hope I post in the right section. I'm really new to setting program (but I use a lot of AHK scripts) and I'm looking to fix something that bug me forever. Donation for sure, even if its just a link to a already known solution ! :)

Ok So I play some poker Online and I want that, when a new table open (because I was on a waiting list or whatever), that it goes to a specific location (active position in ahk window info is : 971,0)

other info from ahk active window info :
ahk_class  = PokerStarsTableFrameClass
w : 800  h:580

Also I want to be able to replace that screen anywhere i want on the screen. I ask that because I know some program that can automatically open windows at a place BUT it lock it to that place .

btw : Ho I leave the country for 1 week so I can't response until feb 21st.

Thanks and forgive the n00b that I am :)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Open a new window at a specific location
« Reply #1 on: February 13, 2009, 12:40 PM »
you can use Skrommel's WinWarden to monitor the window and reposition it.



cocu25

  • Participant
  • Joined in 2009
  • *
  • Posts: 2
Re: Open a new window at a specific location
« Reply #2 on: February 23, 2009, 06:36 AM »
Did not work but thanks anyway !

code tried :
Creating    ,- PokerStarsTableFrameClass,,,,,,971,580,,,,,,,,,,,,

SleepingWolf

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 118
Re: Open a new window at a specific location
« Reply #3 on: March 02, 2009, 11:18 PM »
I use sizer to pick a predefined size for certain windows. Unfortunately automatic resizing is not catered for.

http://www.brianapps.net/sizer.html
-------------------------------------------

Question everything, use a fact-checker.
Respect yourself and respect others.
Peace out!

Original address: https://www.donationcoder.com/forum/index.php?topic=17025.0