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
;-------------------------------------------

Regards,

Jose


Reply via email to