Posted by member 378340 on 2008-03-13 19:12:43
if you have the skills to help with any of this, or if something i am describing already exists, post in this thread, preferably with a link. also, if you have anything you want to see on this list, post and i will try to update the list.
*****THE LIST*****
1. a windows-like theme that comes as default. easy to change later, but allows you to use it without being to conspicuous...
2. an edited popup.rc that looks like the win xp start menu. perhaps multiple versions, including the original.
3. (not sure if this is possible, lower priority, but it would be neat none the less) a module that makes applications running from within the shell use a "registry" stored on the usb, and a virtual C:\ drive is mounted as a folder on the usb stick.
Looking at here. not sure exactly what it is.
4. a simple program to switch shells (simply kill one and start the other, nothing fancy here)
Dim i
Dim j
strComputer = "."
' Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2:Win32_Process")
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colProcesses = objWMIService.ExecQuery("Select * from Win32_Process")
For Each objProcess in colProcesses
If objProcess.Name = "explorer.exe" Then
i=1
End If
If objProcess.Name = "litestep.exe" Then
j=1
End If
Next
if i=1 Then
startls=Msgbox("Start Litestep as shell?",1,"Starting Litestep...")
If startls="1" then
set wshShell = Wscript.CreateObject("wscript.Shell")
WshShell.Run "taskkill /im explorer.exe /f"
wscript.sleep( 3000 )
If NOT j=1 Then
WshShell.Run WshShell.CurrentDirectory & "\drive.bat"
WshShell.Run WshShell.CurrentDirectory & "\litestep.exe"
j=0
End if
End if
End if
if j=1 Then
startls=Msgbox("Start Explorer as shell?",1,"Starting Explorer...")
If startls="1" then
set wshShell = Wscript.CreateObject("wscript.Shell")
WshShell.Run "taskkill /im litestep.exe /f"
wscript.sleep( 3000 )
If NOT i=1 Then
Windir = Wshshell.ExpandEnvironmentStrings("%windir%")
WshShell.CurrentDirectory = Windir
WshShell.Run "explorer.exe"
End if
End if
End if
Paste it into a notepad document, save it with a .vbs extension, and there you go! it bases the prompts based of the shell that is currently running. if both are, it prompts you to load litestep first, then explorer. if you say yes, it kills the opposite shell, without re-loading the other shell. Perfectly safe to use.
[EDIT]
you now need this batch file as well. it makes a file called drive.rc in your litestepdir that makes a variable called LSD with the current drive letter.
SET lsdir=%cd%
cd \
SET root=%cd%
cd %lsdir%
echo Lsd "%root%">drive.rc
save with a .bat extension in your litestepdir.
5.more to come as i think of them...