--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
>
> 
>  I don't think you can use expressions in tool tips unless you can 
> someshow execute a cl.settooltip just before displaying the command 
> list.  I don't know if this would address your need.
>

To do that you also need to do the rest of the entry, because
cl.settooltip doesn't work if the command is a *Menu folder.

Its actually not too bad to do for the example sited, but looks pretty
tedious for other *Menu folders in the the same menu command list 
that would entail doing submenus per category/folder.

@ShowNotes
cl.import(pprofolder++"noteentry.ini")
file.allfiles(pprofolder++?"Notes\Reminder\", ;;+
"[EMAIL PROTECTED](_FILE_)", 0, 1)
menu.show("NotesEntry")
quit
@generatefile
args thisfile
local x=cl.insert("NotesEntry", 5)
x.seticon(pprofolder++"Custom Clipkeys.icl", 1)
x.setlabel(file.name(thisfile))
local myexpr=?~regex.pcrematchall(?x\A.+\R\K(.+\R){0,5}.+x,~ ;;+
++?~ file.readall(?"&(thisfile)"), ?"$0")~
x.settooltip("*Info expr("++myexpr++")")
local interpfile=regex.pcrereplace(?"\\", thisfile, "/")
x.addleft(interpfile)
quit

Here's one I think might be tedious to generate due to multiple
subfolders.

LCmd1 = *Menu
LParam1 = Folder &(pprofolder)Notes
LWork1 = noext embed Maxtext 50  cmd "*Script Runfile [EMAIL PROTECTED]|"

Regards,
Sheri

Reply via email to