splitting a menu into 2 *shortcuts (nonstep theme) Thread last updated on 2004-01-13 15:11:52

Posted by member 97428 on 2004-01-12 14:27:45

dunno if i'm in the right spot or not. here's what i'm trying to do:

i'm running the nonstep theme by ursula. i tried contacting him via email, but got bounced.

in the theme, there's a shortcut that when pressed, brings up a 2 piece menu: start menu and quicklaunch. i want to break that off to 2 different buttons.

here's the code snippet for the button i wish to replace as well as the button that launches the menus:

*shortcut "" -239 -40 launch_logo1.bmp launch_logo2.bmp .none #7TSHo !PopupTheme -359 -42 left bottom
*shortcut "" -209 -40 launch_app1.bmp launch_app2.bmp .none #7TSHo !PopupAppTasks -329 -42 left bottom

Posted by member 1 on 2004-01-12 14:46:34 link

well those won't bring up multiple popups on one click. those would do what you wanted to do.

Posted by member 97428 on 2004-01-12 14:50:48 link

that's the original code.

what i want to do is the first one (!PopupTheme) bring up a menu with the Quicklaunch links in it. and the second (!PopupAppTasks) to bring up the "start menu".

i tried replacing !PopupTheme with $quicklaunch$ but that gave me the folder. i want the menu. :)

when i tried !DynamicFolder:$Quicklaunch i got nothing.

Posted by member 7 on 2004-01-12 15:29:54 link

You were close :) Try the following, note the lack of the colon
!PopupDynamicFolder "$quicklaunch$"

Posted by member 97428 on 2004-01-12 15:43:11 link

ahhh... so close! :(

it now pops up an empty folder. :( i tried the *.lnk after quicklaunch, and get the same thing. here's exactly what i have:

*shortcut "" -239 -40 launch_logo1.bmp launch_logo2.bmp .none #7TSHo !PopupDynamicFolder $Quicklaunch$ -359 -42 left bottom


where am i missing something? i see "quicklaunch" defined within popup.rc

Posted by member 1 on 2004-01-12 16:29:57 link

doesn't work here either as a popup. some evars are setup to open explorer...others just point to folders...this may be one of them.

Posted by member 97428 on 2004-01-12 16:32:51 link

found it. i was so damn close. :)

*shortcut "" -239 -40 launch_logo1.bmp launch_logo2.bmp .none #7TSHo !PopupDynamicFolder "$QuickLaunch$*.lnk" -359 -42 left bottom
*shortcut "" -209 -40 launch_app1.bmp launch_app2.bmp .none #7TSHo !PopupDynamicFolder "$Programs$|$CommonPrograms$" -329 -42 left bottom


for the quicklaunch, i changed it from $Quicklaunch$ to $Quicklaunch$*.lnk, and it worked.

for the start menu, i removed the !PopupAppTasks and replaced with with

!PopupDynamicFolder "$Programs$|$CommonPrograms$"


Thanks for all the help guys! :)

Posted by member 7 on 2004-01-13 00:41:11 link

Right, I forgot the quotes. Sorry about that. :\ I've edited the post in case someone else looks at it later.

Posted by member 97428 on 2004-01-13 04:08:49 link

well also the *.lnk... but does that matter or no?

i'm really startin to get into this. :) gives my mind something to do in the abundant freetime i've developed. :)

thanks again!

Posted by member 7 on 2004-01-13 13:12:54 link

The *.lnk tells popup2 to filter the output and only display files with an "lnk" ending. If omitted it should show all files.

Posted by member 97428 on 2004-01-13 15:11:52 link

gotcha. :) now to just learn what the heck it is i'm doin. :)