Posted by member 34295 on 2004-03-16 13:16:24
I did post this on loose-screws but this place looks more frequented. Note: I have tried searching through the posts but with nothing quite what I'm running into. Here's the text from my original post. Thanks much if you can help explain what's going on:
How does the logic work?
I've got a few themes, mostly from Teschio that refer to
$Programs$Media
$Programs$Office
for dynamic popups.
At first I redefined these to be simple program shortcuts to individual programs so, say, IE would open rather than a popup.
A problem cropped up. The program path for IE lies within "Program Files" which litestep wouldn't read when I edited the reference to $Browser$:
Browser "C:\Program Files\Internet Explorer\iexplore.exe"
"Odd," I thought. I did some extra editing and defining with no success. Other programs that exist *outside* of Program Files worked:
FileManager "C:\WINDOWS\explorer.exe"
"Odder," I thought. Then I redefined the IE path to be simply "Iexplore.exe" and it worked.
Now since these Popup menu links seem to be common, at least amongst Teschio's work, I thought I'd change things and create a Programs folder inside my litestep folder and Office, Media, Graphics, and Internet folders inside that folder along with some shortcuts. I defined this:
Programs "C:\LiteStep\Programs"
for: ...!PopupDynamicFolder "$Programs$media" X=-160 Y=90
It didn't work. So I defined the office folder directly and edited the theme.rc thusly:
Office "C:\liteStep\programs\office"
and ...!PopupDynamicFolder "$office$" X=-160 Y=70
It worked like a charm! What gives here? What don't I understand about declaring evars that's making life so difficult?
Thanks
Bedwyr
How does the logic work?
I've got a few themes, mostly from Teschio that refer to
$Programs$Media
$Programs$Office
for dynamic popups.
At first I redefined these to be simple program shortcuts to individual programs so, say, IE would open rather than a popup.
A problem cropped up. The program path for IE lies within "Program Files" which litestep wouldn't read when I edited the reference to $Browser$:
Browser "C:\Program Files\Internet Explorer\iexplore.exe"
"Odd," I thought. I did some extra editing and defining with no success. Other programs that exist *outside* of Program Files worked:
FileManager "C:\WINDOWS\explorer.exe"
"Odder," I thought. Then I redefined the IE path to be simply "Iexplore.exe" and it worked.
Now since these Popup menu links seem to be common, at least amongst Teschio's work, I thought I'd change things and create a Programs folder inside my litestep folder and Office, Media, Graphics, and Internet folders inside that folder along with some shortcuts. I defined this:
Programs "C:\LiteStep\Programs"
for: ...!PopupDynamicFolder "$Programs$media" X=-160 Y=90
It didn't work. So I defined the office folder directly and edited the theme.rc thusly:
Office "C:\liteStep\programs\office"
and ...!PopupDynamicFolder "$office$" X=-160 Y=70
It worked like a charm! What gives here? What don't I understand about declaring evars that's making life so difficult?
Thanks
Bedwyr