| View previous topic :: View next topic |
| Author |
Message |
wd Guest
|
Posted: Thu Apr 07, 2005 7:08 am Post subject: msvdm (microsoft virtual desktop manager) |
|
|
Hi All,
I just need a way to control moving from one desktop to the next with the wheel on my mouse.
msvdm (microsoft virtual desktop manager)
If you don't already have it, it's located hear:
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx
I just need a simple script to wheel through the 4 buttons(desktops)
I can do them one at a time with send commands, but that's no way to go through life
Thanks All
WD |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Thu Apr 07, 2005 5:00 pm Post subject: |
|
|
I do not have that desktop tool, but does it support command line parameters or shortcuts? _________________ Ciao
toralf  |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Apr 07, 2005 6:22 pm Post subject: |
|
|
| toralf wrote: | | I do not have that desktop tool, but does it support command line parameters or shortcuts? |
Yes,
Thank you, it does. ^+V, ^+1, ^+2, ^+3, ^+4
Just need to make it go from one to the other with the mouse wheel, and then back again.
Thanks
WD |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Fri Apr 08, 2005 7:51 am Post subject: |
|
|
Hi;
you could do something like this | Code: | CurrentScreen = 1
SendRaw, ^%CurrentScreen%
WheelUp::
{
CurrentScreen ++
If CurrentScreen = 5
CurrentScreen = 1
SendRaw, ^%CurrentScreen%
}
WheelDown::
{
CurrentScreen --
If CurrentScreen = 0
CurrentScreen = 4
SendRaw, ^%CurrentScreen%
} |
*braindump**not tested* _________________ Ciao
toralf  |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Fri Apr 08, 2005 8:38 pm Post subject: |
|
|
| Afaik, SendRaw will not translate ^ or + into modifiers. Use Send for that. |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Apr 20, 2005 2:32 am Post subject: |
|
|
Thanks You All,
Here is the code I ended up using, with slight mod from johnny and your code plus entering ^+% instead of ^%
::::::::::::::::::::::::::
| Code: | CurrentScreen = 1
Send, ^+%CurrentScreen%
WheelUp::
{
CurrentScreen ++
If CurrentScreen = 5
CurrentScreen = 1
Send, ^+%CurrentScreen%
}
WheelDown::
{
CurrentScreen --
If CurrentScreen = 0
CurrentScreen = 4
Send, ^+%CurrentScreen%
} |
:::::::::::::::::::::::::::::::::::::::::::::
Thanks Again
wdbaker |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Apr 20, 2005 3:10 am Post subject: |
|
|
Ok,
After playing with it some more I needed to make a few more adjustments to get it right, here they are
| Code: | CurrentScreen = 1
Send, ^+%CurrentScreen%
WheelUp::
{
CurrentScreen ++
If CurrentScreen = 5
CurrentScreen = 1
Send, ^+%CurrentScreen%
}
return
WheelDown::
{
CurrentScreen --
If CurrentScreen = 0
CurrentScreen = 4
Send, ^+%CurrentScreen%
}
return |
Again thanks
wdbaker |
|
| Back to top |
|
 |
|