TechSpot



 

 

Windows 9x/ME Customization Guide

You should be faced with quite a few lines of code. Browse to the section that has the *Popup prefixes. The basic theory to this is fairly simple. The order of items in step.rc is the same as on the menu. After *Popup, put the name of the item, followed by command . For instance, if you wanted a shortcut to Microsoft paint in the menu you’d have the command

*Popup “MS Paint” “c:\program files\paint”

If your “programs” are not displayed on the menu, this is the first thing you’ll want to add. This can be done by adding

*Popup “Programs” !PopupFolder:”c:\windows\start menu\programs”

Substituting the directory for the directory of your start menu, of course (if it is installed elsewhere). You may notice I’ve added !PopupFolder: to the command. If you do not do this, the programs folder will open up in a new window, rather than on the menu. To create your own folder, you must use the command

*Popup “Foldername” Folder  

Followed by your folder entries, and then *Popup ~Folder. For instance:

*Popup “Important stuff” Folder

*Popup “C drive” “c:\”

*Popup “Windows folder” “C:\windows”

*Popup “Program Files folder” “C:\program files”

*Popup ~Folder

N.B. Do not forget to include *Popup ~Folder, otherwise all subsequent entries will be put under the specified folder, and not on the main menu!

You can also launch separate control panels. You can do this one of two ways. The first way is to create direct shortcuts. You’ll need to know the name of each control panel though. Here is a key to the most commonly used control panels:

  • Desktop Properties: desk.cpl

  • System Properties: sysdm.cpl

  • Add/remove programs: appwiz.cpl

  • Internet Properties: Inetcpl.cpl

  • Joysticks: joy.cpl

  • Modems: modem.cpl

  • Network: net.cpl

  • Desktop themes: themes.cpl

  • Xteq: XQXSetup.cpl

All commands have to be preceded by control.exe. For example, a typical control panel folder might look like this:

  • *Popup “Control Panel” Folder

  • *Popup “Desktop Properties” control.exe desk.cpl

  • *Popup “System Properties” control.exe sysdm.cpl

  • *Popup “Add/remove programs” control.exe appwiz.cpl

  • *Popup “Internet Properties” control.exe Inetcpl.cpl

  • *Popup “Joysticks” control.exe joy.cpl

  • *Popup “Modems” control.exe modem.cpl

  • *Popup “Network” control.exe net.cpl

  • *Popup “Desktop themes” control.exe themes.cpl

  • *Popup “Xteq” control.exe XQXSetup.cpl

  • *Popup ~Folder

The alternative way to do it is to create a new folder, for instance c:\controlpanel, and have the control panel window open. Drag all the control panel icons you want to appear on the menu to this new folder. Windows should create shortcuts to them there. Now open up step.rc and add the following

*Popup “Control Panels” !PopupFolder:“c:\controlpanels”

The final menu commands you’ll need to know are native Litestep !Bang ones. The most important of which is “recycle”. This should be on your menu already, but if it is not you can add it by the command

*Popup “Recycle” !Recycle

This acts to Shutdown the shell & then reload it, with the changes you made to step.rc enforced. Otherwise, the changes would not be visible until you reboot. Other !bang commands include

Log off  !logoff

Shut down !shutdown

And can be applied in exactly the same way.

*Popup “log off or shut down” Folder

*Popup “Log Off” !logoff

*Popup “Shut down” !shutdown

*Popup ~Folder

To change the appearance of the menu, move to the section of step.rc with Popup entries, without the asterisk (*). Bluesteel’s default config is this:

  • PopupTitlePix popup-top.bmp

  • PopupEntryPix popup-normal.bmp

  • PopupSelEntryPix popup-selected.bmp

  • PopupBottomPix popup-bottom.bmp

  • PopupEntryFontFace "Vixar ASCI"

  • PopupFontFace "Vixar ASCI"

  • PopupFontHeight 16

  • NoPopupBevel

  • PopupSubmenuHeight 17

  • PopupOverlapX 4

  • PopupOverlapY -10

  • MinPopupWidth 123

  • MaxPopupWidth 123

  • PopupTextOffset 16

  • NoPopupCloseButton

  • HotListName "Enlightenment"

  • PopupBlt 0

  • NoPopupFolderIcon

  • PopupTransparent

  • PopupEntryColor FFFFFF

  • PopupSelEntryColor 866A5F

  • The entries should be self explanatory, here are a few explained:

  • PopupTitlePix changes the picture shown at the top of the menu

  • PopupEntryPix changes the background for each menu item

  • PopupSelEntryPix changes the background when an item on the menu is selected (but not clicked)

  • PopupBottomPix changes the picture shown at the bottom of the menu

  • PopupFontFace changes the fonts used on the menu

  • PopupFontHeight Changes the font height

  • NoPopupBevel stops the popup bevel from being displayed (highly recommended)

  • PopupSubmenuHeight Changes the height of text on submenus

  • PopupOverlapX Changes how far submenus overlap on the X axis

  • PopupOverlapY Changes how far submenus overlap on the Y axis

  • MinPopupWidth Changes the minimum width for menus in pixels (NB do not specify a number larger than your entrypix file width)

  • MaxPopupWidth Changes the maximum width for menus in pixels (NB do not specify a number smaller than your entrypix file width)

  • NoPopupCloseButton Removes the “close” button for the popup menu

  • HotListName Changes the name displayed at the top of the popup menu

  • NoPopupFolderIcon Stops folder icons being displayed for entries on the menu that are folders. You might want to toggle this to taste.

  • PopupTransparent Transparent menus

  • PopupEntryColor Six digit code for the colour of non-selected text entries

  • PopupSelEntryColor Six digit code for the colour of selected text entries

On to other aspects of litestep. Desktop shortcuts follow a similar pattern to menu entries, except you have to specify the location on the desktop, and the icons used.

*Shortcut “name” position      icon-non-selected      icon-selected      icon-clicked “path here”

For instance, with Bluesteel installed the command is:

*Shortcut "" -43  86   m_audio.bmp      m_audio_cl.bmp      m_audio_cl.bmp     #2  "C:\Program Files\Winamp\winamp.exe"  

There is no name for the shortcut as the icon specified (m_audio.bmp) has the name on it. The numbers refer to the position on the desktop.

 



Go to next page !

Get weekly updates on new
articles, news and contests
in your mail!




-

  TechSpot  The PC Enthusiast Resource    |    News    |    Reviews    |    Guides    |    Product Finder    |    Downloads    |    Drivers    |    Forums    |    Archive    |    RSS Feeds


  Copyright © 1998-2013 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.

Advertising | About TechSpot