I wrote:
>> Instead of making a separate command list for your snippets menu
>> it can be a submenu in the same command list as your QuickLaunch
>> menu.
nickvalman replied:
> This works fine. I would prefer though that my snippets would be
> stored separatelly from the QuickLaunch command list. This way the
> management would be better imho, because "QuickLaunch" contains too
> much stuff already.
As far as I am aware, it is not possible to embed a command list
menu in another command list menu.
You can do that with a Menu Folder command (a new field appears,
called "format keywords" click the binoculars to see a new dialog
which inserts keywords such as "embed"). But that keywords field
doesn't appear for a Menu Show command.
If you want the snips in a separate command list, then you can use
a Menu Show commandlistname command in your main QuickLaunch menu
but you will have to click it, it won't fly out on hover like a
submenu does - as you know because you already tested that method :)
> Btw, if I insert all snippets to the Quicklaunch command list as
> submenu items, is it possible to configure another hotkey that would
> show that submenu as a main menu?
Yes, by calling your submenu a subbar. I just tested this here
and found that if a command list is shown as a menu instead of
as a bar, then a Subbar becomes a Submenu. The advantage is that
you can show the subbar as an independent menu.
Change your StartSubmenu command to
Name: Sn&ippets
Command: Format
Action: StartSubbar
[submenu items here]
Name: EndSubbar
Command: Format
Action: EndSubbar
;; and your hotkey:
Command: Menu
Action: Show
Select clist: QuickLaunch
Blank or use find...: @Sn&ippets
notice I included the "&" from the subbar name in that last line.
That is described in Help, Index, menu *command... *Menu command
(final paragraph).
>> Name: &Regards
>> Command: oldclip=clip.get
>> and these two lines in the more commands box at the bottom:
>> Clip FilePaste "c:\mysnips\regards.txt"
>> clip.set(oldclip)
> Another question that comes to my mind is this one: is it possible
> to use name field as a variable in the example above? Like:
> - Name: &Regards
> - Command: oldclip=clip.get
> commands box:
> - Clip FilePaste {=Name field*}.txt ?
> - clip.set(oldclip)
> so that
> Clip FilePaste {=Name field*}.txt
> upon execution is resolved as:
> Clip FilePaste &Regards.txt
> I ask this because I want to be able to add snippets with as less
> efford as possible. In this case, in order to add a snippet, I'd
> simply have to add a new text file to the snippets directory, clone
> an already existent snippet item and edit it's name.
I am fairly sure there's no way to do that, so you'll have to
edit the Clip FilePaste parameter as well as the Name
in your cloned item.
Alan
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/