Multiple Popups Thread last updated on 2004-08-23 21:25:20

Posted by member 190166 on 2004-08-22 06:46:31

I'm trying to add popups to the quick launch icons in the theme i'm using. I'm assigning them to the right mouse click. Here is an example of one:
*Popup "Office" !New !PopupOffice !popupfolder:"C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft Office"
*Popup ~Folder
*Popup ~New

what is wrong with the code? This popup is displayed correctly, but none others written after it in my popups file. Also, is the "*Popup ~Folder" neccesary?

Thankyou, Fred

Posted by member 144980 on 2004-08-23 20:54:57 link

the ~new line signifies the end of the popup and so anything following that won't be shown because as far as litestep is concerned the popup has ended.

!new signals the start of the popup and ~new signals the end.

likewise a line similar to this:
*Popup "litestep" Folder
indicates the begining of a folder.
all subsequent entries will be placed in that folder and the end of items intended to be placed in that folder is signified by ~folder.

my explanation seems really poor but i hope you get the gist

Posted by member 5575 on 2004-08-23 21:25:20 link

For example, here's a popup I define for my lsmail display:
*Popup "Mail Checking" !New !MailMenu
*Popup "Check Mail" !LSMailCheckMail
*Popup "Enable Mail Checking" !mailon
*Popup "Disable Mail Checking" !mailoff
*Popup "Unload LSMail Module" !netUnloadModule $mailModule$
*Popup ~New


It is assigned to lsmail with this line:
LSMailOnLeftUp !MailMenu x=$lsmailx$ y=$lsmaily+lsmailh$ left top


so that the left top corner of the menu is aligned with the bottom left corner of the lsmail graphic. You can do the same type of thing with shortcuts. Just make sure that your default popup.rc file - the one with your main right-click-on-the-desktop-menu - is included *before* you go off and define any other popups. (At least, I think that would still break things...)