Is WorkDeskXP in english?


;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
;
;
; Script Function:
; Change the location of the Default Desktop Folder through right-click menu on the systray icon.
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
#Persistent
;Regread, current, HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders, Desktop
RegWrite, REG_EXPAND_SZ, HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders, Desktop, Z:\
runwait, %comspec% /c subst Z: "`%USERPROFILE`%\Desktop",,Hide
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0)
GoSub,INIREAD
GoSub,TRAYMENU
INIREAD:
IfNotExist,%A_ScriptName%.ini
{
IniWrite,Location 1,%A_ScriptName%.ini,Locations,dir1
IniWrite,Location 2,%A_ScriptName%.ini,Locations,dir2
IniWrite,Location 3,%A_ScriptName%.ini,Locations,dir3
IniWrite,Location 4,%A_ScriptName%.ini,Locations,dir4
IniWrite,`%USERPROFILE`%\Desktop,%A_ScriptName%.ini,Locations,Default
}
IniRead,dir1,%A_ScriptName%.ini,Locations,dir1
IniRead,dir2,%A_ScriptName%.ini,Locations,dir2
IniRead,dir3,%A_ScriptName%.ini,Locations,dir3
IniRead,dir4,%A_ScriptName%.ini,Locations,dir4
IniRead,default,%A_ScriptName%.ini,Locations,Default
Return
TRAYMENU:
Menu,Tray,NoStandard
Menu,Tray,DeleteAll
Menu,Tray,Add,Desktop Switcher, CURRENT
Menu,Tray,Add,
Menu,Tray,Add,"%dir1%",DIR1
Menu,Tray,Add,"%dir2%",DIR2
Menu,Tray,Add,"%dir3%",DIR3
Menu,Tray,Add,"%dir4%",DIR4
Menu,Tray,Add,Default,DEFAULT
Menu,Tray,Add
Menu,Tray,Add,Edit,EDIT
Menu,Tray,Add,Reload,RELOAD
Menu,Tray,Add,
Menu,Tray,Add,E&xit,EXIT
Menu,Tray,Tip,%A_ScriptName%
; Menu,Tray,Check,%current%
Return
CURRENT:
DIR1:
runwait %comspec% /c subst Z: /d,,Hide
runwait %comspec% /c subst Z: %dir1%,,Hide
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0)
Return
DIR2:
runwait %comspec% /c subst Z: /d,,Hide
runwait %comspec% /c subst Z: %dir2%,,Hide
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0)
Return
DIR3:
runwait %comspec% /c subst Z: /d,,Hide
runwait %comspec% /c subst Z: %dir3%
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0)
Return
DIR4:
runwait %comspec% /c subst Z: /d
runwait %comspec% /c subst Z: %dir4%
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntÅ, 0)
Return
DEFAULT:
RegWrite, REG_EXPAND_SZ, HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders, Desktop, %default%
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntÅ, 0)
ExitApp
Return
EDIT:
Runwait,%A_ScriptName%.ini
Return
RELOAD:
Reload
EXIT:
ExitApp
;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
;
;
; Script Function:
; Change the location of the Default Desktop Folder through right-click menu on the systray icon.
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
#Persistent
;Regread, current, HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders, Desktop
RegWrite, REG_EXPAND_SZ, HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders, Desktop, Z:\
runwait, %comspec% /c subst Z: "`%USERPROFILE`%\Desktop",,Hide
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0)
GoSub,INIREAD
GoSub,TRAYMENU
INIREAD:
IfNotExist,%A_ScriptName%.ini
{
IniWrite,Location 1,%A_ScriptName%.ini,Locations,dir1
IniWrite,Location 2,%A_ScriptName%.ini,Locations,dir2
IniWrite,Location 3,%A_ScriptName%.ini,Locations,dir3
IniWrite,Location 4,%A_ScriptName%.ini,Locations,dir4
IniWrite,`%USERPROFILE`%\Desktop,%A_ScriptName%.ini,Locations,Default
}
IniRead,dir1,%A_ScriptName%.ini,Locations,dir1
IniRead,dir2,%A_ScriptName%.ini,Locations,dir2
IniRead,dir3,%A_ScriptName%.ini,Locations,dir3
IniRead,dir4,%A_ScriptName%.ini,Locations,dir4
IniRead,default,%A_ScriptName%.ini,Locations,Default
Return
TRAYMENU:
Menu,Tray,NoStandard
Menu,Tray,DeleteAll
Menu,Tray,Add,Desktop Switcher, CURRENT
Menu,Tray,Add,
Menu,Tray,Add,"%dir1%",DIR1
Menu,Tray,Add,"%dir2%",DIR2
Menu,Tray,Add,"%dir3%",DIR3
Menu,Tray,Add,"%dir4%",DIR4
Menu,Tray,Add,Default,DEFAULT
Menu,Tray,Add
Menu,Tray,Add,Edit,EDIT
Menu,Tray,Add,Reload,RELOAD
Menu,Tray,Add,
Menu,Tray,Add,E&xit,EXIT
Menu,Tray,Tip,%A_ScriptName%
; Menu,Tray,Check,%current%
Return
CURRENT:
DIR1:
runwait %comspec% /c subst Z: /d,,Hide
runwait %comspec% /c subst Z: "%dir1%",,Hide
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0)
Return
DIR2:
runwait %comspec% /c subst Z: /d,,Hide
runwait %comspec% /c subst Z: "%dir2%",,Hide
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0)
Return
DIR3:
runwait %comspec% /c subst Z: /d,,Hide
runwait %comspec% /c subst Z: "%dir3%"
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0)
Return
DIR4:
runwait %comspec% /c subst Z: /d
runwait %comspec% /c subst Z: "%dir4%"
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntÅ, 0)
Return
DEFAULT:
RegWrite, REG_EXPAND_SZ, HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders, Desktop, %default%
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntÅ, 0)
ExitApp
Return
EDIT:
Runwait,%A_ScriptName%.ini
Return
RELOAD:
Reload
EXIT:
ExitApp
Rather than use up a drive letter with subst, I chose to use junction.exe (from sysinternals) to delete/create junctions when selecting a new desktop.That requires a NTFS partition right?

;
; Change the location of the Default Desktop Folder through right-click menu on the systray icon.
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
#Persistent
HotKey, #1, DIR1
HotKey, #2, DIR2
HotKey, #3, DIR3
HotKey, #4, DIR4
SetDesktop(N){
EnvGet, PROFILE, USERPROFILE
RegWrite, REG_SZ, HKCU, Environment, DESKTOP, %N%
RunWait, junction.exe Desktop Desktop%N%,%PROFILE%,Hide
DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0)
Loop 4 {
Menu,Tray,Uncheck,Desktop &%A_Index%
}
Menu,Tray,Check,Desktop &%N%
}
TRAYMENU:
Menu,Tray,NoStandard
Menu,Tray,DeleteAll
Menu,Tray,Add,Desktop &1,DIR1
Menu,Tray,Add,Desktop &2,DIR2
Menu,Tray,Add,Desktop &3,DIR3
Menu,Tray,Add,Desktop &4,DIR4
Menu,Tray,Add,&Reload,RELOAD
Menu,Tray,Add,E&xit,EXIT
Menu,Tray,Tip,%A_ScriptName%
RegRead, DESKTOP, HKCU, Environment, DESKTOP
If (ERRORLEVEL = 1 or !DESKTOP)
DESKTOP=1
SetDesktop(DESKTOP)
Return
DIR1:
SetDesktop(1)
Return
DIR2:
SetDesktop(2)
Return
DIR3:
SetDesktop(3)
Return
DIR4:
SetDesktop(4)
Return
RELOAD:
Reload
Return
EXIT:
ExitApp
Ok, cleaned up, refactored the bits that do all the real work into a function... In addition to the menu, I set Win+1/2/3/4 as hotkeys as well. Changed to pickup the user's profile directory from the environment. Registry is used to remember which desktop is current between sessions, and if restarting the script.Great. Clever enough.
The only thing missing is a routine to do the initial setup... you need to move your current %USERPROFILE%\Desktop to %USERPROFILE%\Desktop1, create %USERPROFILE%\Desktop2 thru 4, and then run junction.exe manually to point Desktop to Desktop1. I thought it might be best for anyone wanting to use this to understand how junction.exe works, rather than just doing it for them.Why not just have folder called DesktopJunction which could be the Desktop Folder Location and then keep the default Desktop folder.
For me, having the ini seemed overkill, so I left out those bits.I agree on this.


im still using fat32 fs for my xp sp2.. but the ahk script didn't work for me(or ... coz of I didn't try the junction.exe from sysinternals yet).. anyways, the program "ManageDesk" 's folder switching did work, but not free (meow
) . can we ask them how they did it?
hey thanks perlguy..As far as I know - junctions only works with NTFS.
im still using fat32 fs for my xp sp2.. but the ahk script didn't work for me(or ... coz of I didn't try the junction.exe from sysinternals yet).. anyways, the program "ManageDesk" 's folder switching did work, but not free (meow
) . can we ask them how they did it?

SUperior SU - Desktop Switcher
its a windows profile changer
FOUND ONE!
A beta program, whiche will expire on January 28, 2008.
http://www.extradesktops.com/
I kind of explorer folder layer over desktop.

it got everything i need but i think its not free..
) but still not it..Original address: https://www.donationcoder.com/forum/index.php?topic=10757.0