| Author |
Message |
|
Carsomyr
BBDinosaur
Joined: Wed Dec 13, 2006 7:33 pm Posts: 260 Location: Pretoria, South Africa
|
You need to have a branch with the move to workspace patch to move a window to an arbitrary workspace. I don't know if BBClean has it.
Then add an entry like Code: KeyToGrab(1), WithModifier(Win+Alt), WithAction(ExecCommand), DoThis(@BBCore.MoveWindowToWS 1) to bind a key to move the window.
I almost have a small plugin working which allows you to skip empty workspaces when moving through them, should have it done in a few hours.
That should come close to doing what you want (I think).
|
| Sun Feb 18, 2007 1:04 pm |
|
 |
|
Google
Sponsored Links
|
|
 |
|
crowmag
Moderator
Joined: Sat Dec 11, 2004 12:06 am Posts: 1310 Location: Violent Paradise
|
Carsomyr wrote: You need to have a branch with the move to workspace patch to move a window to an arbitrary workspace. I don't know if BBClean has it.
Latest bbClean here... I thought he said that was what he was using?
_________________ I'll have the roast duck... with mango sauce and a large helping of BB4Win Wiki: http://wiki.bb4win.org/wiki/Main_Page
|
| Sun Feb 18, 2007 1:37 pm |
|
 |
|
Carsomyr
BBDinosaur
Joined: Wed Dec 13, 2006 7:33 pm Posts: 260 Location: Pretoria, South Africa
|
 Plugin that might help you
That is what he said he is using, but I havent used it. AFAIK using Code: KeyToGrab(Num4), WithModifier(Win), WithAction(Workspace4) shouldn't move a window, only change the workspace (but I might be wrong). Sorry if I caused any confusion. @y0r1c: I created a small plugin you can try. When loaded SkipDesk will cause empty desktops to be skipped when you change desktops. To supress this behaviour (so that you can get an empty desktop to open new programs on) hold the ALT key when switching desktops. To use you could add Code: KeyToGrab(Left), WithModifier(Win+Alt), WithAction(PrevWorkspace) KeyToGrab(Right), WithModifier(Win+Alt), WithAction(NextWorkspace) to bbKeys.rc to allow you to move to empty desktops while keeping Code: KeyToGrab(Left), WithModifier(Win), WithAction(PrevWorkspace) KeyToGrab(Right), WithModifier(Win), WithAction(NextWorkspace)
for when you want to switch between desktops in use only.
This plugin doesn't actually create new desktops, so you will have to set the number to the maximum amount you expect to use. When a desktop becomes empty (due to closing programs) you will be switched to a non-empty desktop.
Attachments:
File comment: Empty desktop skipper
SkipDesk.dll [8 KiB]
Downloaded 83 times
|
| Sun Feb 18, 2007 2:48 pm |
|
 |
|
crowmag
Moderator
Joined: Sat Dec 11, 2004 12:06 am Posts: 1310 Location: Violent Paradise
|

OK. well I actually went through this a bit and it doesn't work as I thought that it did.
I also owe y0r1c an appology
Lately, I have just been making use of just 2 workspaces for the most part - sending a window from ws1 to ws2 etc. so, I assumed that WinKey+[n] sends the window to that ws but it doesn't. here is what happens:
If am on ws1 and I press WinKey+2, the active window is sent to ws2 (expected).
If am on ws1 and I press WinKey+3, nada if the window is lowered, lowers the window if it is shaded and in fact, this is the message in the toolbar.
If am on ws1 and I press WinKey+4, the ws changes to the previous ws (4) but the window does not follow and in fact, the message in the toolbar reads 'bbKeys -> PrevWorkspace'.
If am on ws1 and I press WinKey+1, the active window is toggled shaded and unshaded and in fact, the message in the toolbar reads 'bbKeys -> ShadeWindow'.
If am on any ws and I press WinKey+2, the active window is moved to the next workspace. Continuing to hold down the WinKey and repeatedly press 2 the active window keeps following the ws change to the next higher ws (to the right) and cycles back to ws1. And in fact, the message in the toolbar reads 'bbKeys -> MoveWindowRight'.
What this means (and in my defence) is that: Code: # Workspaces: #KeyToGrab(Num1), WithModifier(Win), WithAction(Workspace1) #KeyToGrab(Num2), WithModifier(Win), WithAction(Workspace2) #KeyToGrab(Num3), WithModifier(Win), WithAction(Workspace3) #KeyToGrab(Num4), WithModifier(Win), WithAction(Workspace4) ... etc. Does not work. In other words it's broken. It is supposed to be a feature and the above is in the bbClean default bbKeys.rc! Further more... Code: # Windows: KeyToGrab(Num1), WithModifier(Win+Alt), WithAction(ExecCommand), DoThis(@BBCore.MoveWindowToWS 1) KeyToGrab(Num2), WithModifier(Win+Alt), WithAction(ExecCommand), DoThis(@BBCore.MoveWindowToWS 2) KeyToGrab(Num3), WithModifier(Win+Alt), WithAction(ExecCommand), DoThis(@BBCore.MoveWindowToWS 3) KeyToGrab(Num4), WithModifier(Win+Alt), WithAction(ExecCommand), DoThis(@BBCore.MoveWindowToWS 4)
Is broken as well in bbKeys - it simply doesn't work. Although you can still use the bro@m in the menu and it works. This would seem to indicate that the problem isn't in the core.
It appears that the latest version of bbKeys that comes with bbClean needs to be fixed.
I probably would have recognized this sooner but I have been rebuilding both my main computer and my testbox pretty much from scratch the last 2 weeks and have been doing more mundane things like installing endless amounts of drivers\softwares etc. etc to be in any normal work routine.
I'll post in the bbClean thread with a link to this one so Zeytok sees it.
_________________ I'll have the roast duck... with mango sauce and a large helping of BB4Win Wiki: http://wiki.bb4win.org/wiki/Main_Page
|
| Sun Feb 18, 2007 5:20 pm |
|
 |
|
Kerman
BBSage
Joined: Wed Dec 07, 2005 6:17 pm Posts: 165
|
crowmag, don't beat yourself too much you couldn't have guessed that. But this makes me happy I stick to my vanilla bbKeys :)
And I can confirm it is the bbClean version of its bbKeys that is buggy as I've used bbClean with vanilla bbKeys and it does work as we would expect it to. I can't think of a reason why this plugin would have been modified though... oh well *shrugs*
|
| Mon Feb 19, 2007 12:28 am |
|
 |
|
y0r1c
BBTeen
Joined: Thu Jul 20, 2006 3:57 pm Posts: 13
|
Thanks, Carsomyr, your plugin really works and really skips empty workspaces, this feature rocks, thanks again.
crowmag, anyone can make a mistake or misunderstand another person
I didn’t think this topic would be viewed and replied… I thought it would be something like “yo, noob, go away with stupid questions”
Code: KeyToGrab(Num1), WithModifier(Win+Alt), WithAction(ExecCommand), DoThis(@BBCore.MoveWindowToWS 1 true) KeyToGrab(Num2), WithModifier(Win+Alt), WithAction(ExecCommand), DoThis(@BBCore.MoveWindowToWS 2 true) ...
works for me in BBClean Code: KeyToGrab(Left), WithModifier(Win), WithAction(PrevWorkspace) KeyToGrab(Right), WithModifier(Win), WithAction(NextWorkspace)
works and skips empty workspaces (with the help of new plugin)
Thanks for all your attention to my stupid questions 
|
| Mon Feb 19, 2007 5:11 pm |
|
 |
|
y0r1c
BBTeen
Joined: Thu Jul 20, 2006 3:57 pm Posts: 13
|
There is a bug in SkipDesk plugin: if you minimize all widows on the workspace that workspace becomes unavailable
|
| Tue Feb 20, 2007 7:33 pm |
|
 |
|
qwilk
Moderator
Joined: Mon Dec 06, 2004 12:06 am Posts: 405 Location: Kungsbacka, Sweden
|
y0r1c: Yes, I can confirm that bug...
Carsomyr: If you wrap the [updated] plugin up with a short readme, I'll post it to the plugins page!
BR//Karl -> qwilk
|
| Tue Feb 20, 2007 8:44 pm |
|
 |
|
Carsomyr
BBDinosaur
Joined: Wed Dec 13, 2006 7:33 pm Posts: 260 Location: Pretoria, South Africa
|
Updated SkipDesk to not skip workspaces with all minimized windows.
Added Readme which hopefully explains what you need to know to use it (for future reference)
The old behaviour can be enabled by creating a SkipDesk.rc and adding a setting. See the readme for details.
Attachments:
File comment: SkipDesk 0.0.2 (with readme and source)
SkipDesk.zip [6.63 KiB]
Downloaded 116 times
|
| Wed Feb 21, 2007 5:37 pm |
|
 |
|
y0r1c
BBTeen
Joined: Thu Jul 20, 2006 3:57 pm Posts: 13
|
Thanks again, really useful plugin and now it's behavior is predictable
Now I can say that with the help of BBLean I can make a desktop of my dream
Big-big Thanks!
|
| Wed Feb 21, 2007 7:57 pm |
|
 |
|
Google
Sponsored Links
|
|
 |
|
Who is online |
Users browsing this forum: Google [Bot] and 1 guest |
|
You cannot post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|