Posted by member 25126 on 2003-04-23 06:12:57 link

c:\litestep\boot.rc :
rcStep "boot.rc";
dirTheme "$LitestepDir$themes\boot\";
include "$dirTheme$$rcStep$";
points to c:\litestep\themes\boot\step.rc :
ThemeName "boot"
ThemeAuthor "Sir Jeff"
PersonalDir "$LiteStepDir$Personal\"
ThemeDir "$LiteStepDir$Themes\boot\"
ModulesDir "$ThemeDir$modules\"
LSImageFolder "$ThemeDir$Images\"
HideApplication
LSNoShellWarning
LoadModule "$LiteStepDir$hotkey.dll"
LoadModule "$LiteStepDir$Desktop2.dll"
LoadModule "$ModulesDir$skinbox.dll"
LoadModule "$ModulesDir$mzscript.dll"
*Desktop rbutton !error
SDALeft 0
SDARight 0
SDATop 0
SDABottom 0
*Hotkey CTRL+Win d !dwayne
*Hotkey CTRL+Win e explorer
*SkinBox SKDWAYNE 512 300 200 200 #F
SKDWAYNEBitmap dwayne.png
SKDWAYNEOnLButtonDown !dwayne
*Script bang !dwayne
*Script exec !execute C:\LiteStep\themes\boot\dwayne.pl
*Script ~bang
(this is a cut down version for testing)
The thing is this theme works fine if selected from within another theme but when trying to access it by changing the shell command I either get that horrid error or it does nothing.
And when I say does nothing, I mean I press 'CTRL+Win e' and explorer starts. Which means the hotkey.dll works.
But pressing 'CTRL+Win d' does nothing. I know skinbox.dll works because it loads my image.
I know my code works because when I switch to my 'boot' theme from another theme it works perfectly.