--- In [email protected], "jroncalm" <jroncal2...@...> wrote:
>
> HI all:
> I want to assign categories to notes through menu.folder. (It's easier). ):
> But, I can't to select the folder directly.
> I've to select one script in the folder target.(¿?).
> How do I select the folder directly?
> The script: (with HotKey)
> ;-------------------------------------------
> ; Assigning categories to notes
> ; Based on Sheri's script
> local h=win.handle("active")
> if (win.class(h)!=="powerpronote")
>     quit
> local selected = ""
> Menu.Folder (ppronotesfolder, ?Zfolderstart cmd "script assign selected 
> esc(?+||+,?+'+)"Z)
> if (selected=="")
>     quit
> selected = remove(selected, length(ppronotesfolder))
> selected = remove(selected, -1)
> note.setcategory(h,selected)
> quit
> ;-------------------------------------------

Try it with these keywords for menu folder:

?Znofiles explorer Maxtext 32 cmd "script assign selected esc(?+||+,?+'+)" 
fileman "Select"  Exclude "&(ppronotesfolder)Open, &(ppronotesfolder)Date"Z

Regards,
Sheri

Reply via email to