| View previous topic :: View next topic |
| Author |
Message |
Katharsis
Joined: 03 Jul 2008 Posts: 2
|
Posted: Mon Jul 07, 2008 1:36 pm Post subject: Knockout Window in WoW |
|
|
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 |
|
 |
Rhys
Joined: 17 Apr 2007 Posts: 730 Location: Florida
|
Posted: Mon Jul 07, 2008 5:18 pm Post subject: |
|
|
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 |
|
 |
Katharsis
Joined: 03 Jul 2008 Posts: 2
|
Posted: Mon Jul 07, 2008 6:19 pm Post subject: |
|
|
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 |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6804 Location: Pacific Northwest, US
|
Posted: Mon Jul 07, 2008 10:36 pm Post subject: |
|
|
| 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 |
|
 |
|