FAQ  •  Register  •  Login

Dynamic slot-to-region

Moderator: MiRai

<<

Rothbard

Posts: 1

Joined: Wed Mar 03, 2010 12:39 pm

Post Wed Mar 03, 2010 1:16 pm

Dynamic slot-to-region

Hello, I'm trying to setup my window layout in a true PiP (overlapping main) vs tiled slave windows. The goal is to integrate the slaves' PiP views into the party frames on the active toon. To make this look right, I need to be able to change which region a slave is shown in dependent upon which toon is the master.

As an example, I have one main window at full native resolution (1920x1200) and then 4 tiny regions @ 240x150 and they would be arranged somewhat like this (not really to scale):

Code:
1=main region, 2,3,4,5=slave regions
-------------------------------------------------------------------
|                                                                 |
| |--2--|                                                         |
| |-----|                                                         |
|                                                                 |
| |--3--|                                                         |
| |-----|                                                         |
|                                   1                             |
| |--4--|                                                         |
| |-----|                                                         |
|                                                                 |
| |--5--|                                                         |
| |-----|                                                         |
|                                                                 |
|                                                                 |
|                                                                 |
|-----------------------------------------------------------------|


When this starts up you would have the toons mapped to regions as follows:
T1->1, T2->2, T3->3, T4->4, T5->5

Now say I active T4 via a hotkey, the normal operation would be to swap regions 1 and 4, correct? I am then left with:
T4->1, T2->2, T3->3, T1->4, T5->5

But what I would like to be able to do is enforce a unique ordering of the slaves whenever a given toon is activated:

When T1 active then T2->2, T3->3, T4->4, T5->5
When T2 active then T1->2, T3->3, T4->4, T5->5
When T3 active then T1->2, T2->3, T4->4, T5->5
When T4 active then T1->2, T2->3, T3->4, T5->5
When T5 active then T1->2, T2->3, T3->4, T4->4

Is this possible with current version of ISBoxer, and if not, is it possible using underlying InnerSpace commands/LavishScript?
<<

lax

User avatar

Site Admin

Posts: 7301

Joined: Tue Nov 17, 2009 9:32 pm

Post Wed Mar 03, 2010 4:30 pm

Re: Dynamic slot-to-region

Assuming it's WoW, it's probably easier to use custom unit frame sorting ;) It is not currently possible to do that through ISBoxer, but could indeed be done through LavishScript commands (the ones you'd need are demonstrated in windowsnapper.iss in your IS Scripts folder).

That said, I like the idea. I've been meaning to do some updates to the window layout functionality and add some layout-related Actions to be used in mapped keys. I'll have to keep this in mind

Return to Window Layouts

Who is online

Users browsing this forum: No registered users and 0 guests