VirtualDimension is a free sourceforge desktop.
I would like to know if it's possible to launch several applications in different desktops like the created by this program.
Thanks
Excuse my language. I'm from Canary Islands
AutoHotKey and VirtualDimension
Started by
AutoPepe
, Oct 06 2008 02:57 PM
8 replies to this topic
#1
Posted 06 October 2008 - 02:57 PM
#2
Posted 07 October 2008 - 09:35 AM
I'm looking to do exactly the same thing. I haven't tried this yet - so this is just "thinking out loud", but from what I can see, it might be possible using keyboard short cuts.
In Virtual Dimension config you can set-up short cuts to move a window to the next desktop, and a short cut to switch to that desktop. So lets say to move the window to the next desktop you set-up "Ctrl+Alt+N" and to switch to the next desktop "Shift+Ctrl+Alt+N" then:
WinActivate MyWin
Send ^!N
Send +^!N
Would move the window to desktop 1 and switch to that desktop. Put it in a loop and you have a way of moving windows to whichever desktop you require.
EDIT Missed this bit off:
There is also a Hotkey set-up for each desktop which means that you can switch to each one directly eg. Ctrl+Alt+1 for desktop 1, etc.
Obviously to open an app in the relevant desktop, you could just switch to that desktop and then open the app. You'll need to wait until all the windows have appeared before switching to another desktop though.
I think the latter technique will be the best. I might try and write a function to switch to a named desktop and open up a set of specified apps, before returning. If I do, I'll post it on here. I only downloaded AHK yesterday though, so don't hold your breath.
In Virtual Dimension config you can set-up short cuts to move a window to the next desktop, and a short cut to switch to that desktop. So lets say to move the window to the next desktop you set-up "Ctrl+Alt+N" and to switch to the next desktop "Shift+Ctrl+Alt+N" then:
WinActivate MyWin
Send ^!N
Send +^!N
Would move the window to desktop 1 and switch to that desktop. Put it in a loop and you have a way of moving windows to whichever desktop you require.
EDIT Missed this bit off:
There is also a Hotkey set-up for each desktop which means that you can switch to each one directly eg. Ctrl+Alt+1 for desktop 1, etc.
Obviously to open an app in the relevant desktop, you could just switch to that desktop and then open the app. You'll need to wait until all the windows have appeared before switching to another desktop though.
I think the latter technique will be the best. I might try and write a function to switch to a named desktop and open up a set of specified apps, before returning. If I do, I'll post it on here. I only downloaded AHK yesterday though, so don't hold your breath.
#3
Posted 07 October 2008 - 09:52 AM
Just discovered that there's a short cut key configurable to open a pop-up window with a list of desktops. If you select one of the desktops the active window gets moved to that desktop.
So in summary, the two approaches are:
1) In desktop0 open each app, and then using the pop-up send it to the relevant desktop. Function that receives the desktop and the app, or a set of desktop/app pairs.
2) Move to the relevant desktop and open all the required apps. Function that receives multiple apps and the desktop.
Which one is used will depend on whether you're opening multiple apps at once, or just opening an app at various times. Both might be worth implementing.
So in summary, the two approaches are:
1) In desktop0 open each app, and then using the pop-up send it to the relevant desktop. Function that receives the desktop and the app, or a set of desktop/app pairs.
2) Move to the relevant desktop and open all the required apps. Function that receives multiple apps and the desktop.
Which one is used will depend on whether you're opening multiple apps at once, or just opening an app at various times. Both might be worth implementing.




