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 

Knockout Window in WoW

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



Joined: 03 Jul 2008
Posts: 2

PostPosted: Mon Jul 07, 2008 1:36 pm    Post subject: Knockout Window in WoW Reply with quote

If I'm running two instances of World of Warcraft would it be possible to open a rectangular window in the foreground instance to see that portion of the background instance? I was hoping to be able to see the background window's minimap for gathering purposes.

I see where Winset might be used but I have no experience and wasn't sure if this could be done with game graphics.
Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 730
Location: Florida

PostPosted: Mon Jul 07, 2008 5:18 pm    Post subject: Reply with quote

http://www.autohotkey.com/docs/commands/WinSet.htm

From the examples at the bottom:
Code:
; Here is a region with a more complex area. It creates a see-through rectangular hole inside a window.
; There are two rectangles specified below: an outer and an inner.  Each rectangle consists of 5 pairs
; of X/Y coordinates because the first pair is repeated at the end to "close off" each rectangle.
WinSet, Region, 0-0 300-0 300-300 0-300 0-0   100-100 200-100 200-200 100-200 100-100, WinTitle


This should probably work with a WOW window, but you'll want the first set of coordinates to be the full size of your WOW window. The second set will need to be tweaked based on where your map is on the 2nd WOW. I don't know if there's a way to use PID with WinSet, but if there isn't, you'll perhaps want to run the 1st (top) instance of WOW and then apply the punchout script, and then start your second instance. Hope this helps!
_________________
[Join IRC!]
Back to top
View user's profile Send private message
Katharsis



Joined: 03 Jul 2008
Posts: 2

PostPosted: Mon Jul 07, 2008 6:19 pm    Post subject: Reply with quote

Quote:
Hope this helps!


It worked! I had looked at that example before and even tried it but your instructions made it clear what to do. Thanks for taking the time to explain.
Back to top
View user's profile Send private message
engunneer



Joined: 30 Aug 2005
Posts: 6804
Location: Pacific Northwest, US

PostPosted: Mon Jul 07, 2008 10:36 pm    Post subject: Reply with quote

Rhys wrote:
I don't know if there's a way to use PID with WinSet


Any command that takes WinTitle should be ablt to take ahk_pid just fine.
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
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