How do I create a link to My Computer?
so... I don't want to create a menu just a link to my computer. That way when I plug in a new device i dont have to refresh litestep.
Who said anything about a menu?
Open a command, put in $Drives$, press enter.
Ok. Here's the deal. I'm using a GNOME like theme, and it's been a while since I used Litestep last. Anyway, the top bar has the Applications, Places, and Desktop menus. In Places there are 2 submenus: Home Folder and Control Panel. In the home folder submenu there are links to all my drives that are connected to my computer, but there is no link to My Computer. I don't like this because if I were to plug in my usb key I would have to open C:\ (or another place) and go to my computer from there or refresh litestep so I the new drive shows up.
So if I wanted to create a link to my computer in the places menu above the home folder submenu, how would i do that? Sorry for not explaining it better to begin with.
You could add in:
*Popup "My Computer" "$drives$"
That will open your system's default file manager as if you double clicked My Computer.
Now, if you instead wanted an actual submenu, like in the standard right click menu, you would do:
*Popup "My Computer" !PopupMyComputer
The problem with that is, once it is cached (after first creation), you'll be back at square one with it not updating to show the newly attached drive.
One solution would be to call a !popuprescan before the !bang that opens the menu. It would look something like:
*Popup "Some Caption" !execute [!PopupRescan][!BangToMenu]
That will work, but it will cause a teeny delay before the menu opens. The above assumes xPopup is the popup module.
Lastly, there is probably a better solution if you read over the help file for the latest xPopup (2.x). This is something I don't feel like doing, because it's not very user friendly. :P
Or lastly you could add a RightClick option to the Home button to open the $drives$ evar.