12-18-2015, 11:08 AM
Shell menu triggers : Is it possible to "Include Files" of "type" lnk (shortcuts) with a given extension, for example pdf? And if yes, how?
Many thanks in advance.
Many thanks in advance.
Shell menu triggers : Shorcuts of a given file type
|
12-18-2015, 11:08 AM
Shell menu triggers : Is it possible to "Include Files" of "type" lnk (shortcuts) with a given extension, for example pdf? And if yes, how?
Many thanks in advance.
12-18-2015, 11:36 AM
Cannot include lnk files because QM shell menu triggers use the shortcut target file, not the shortcut file. For example, if you specify pdf, the menu item will be added for pdf files and for lnk files that point to pdf files.
12-18-2015, 11:45 AM
Thank you for this very prompt reply. However, perhaps I was misunderstood. For example, the following function is perfectly triggered by shortcuts (lnk) files. My question was if I could confine it to shortcuts of .pdf type :
Function GoTo_Target Trigger $sm "GoTo Target" 0x40 "lnk" "$user profile$\My Documents\Local Settings\sysman\Icons\Ico\Shortcut2.ICO" "GoTo shortcut target" ;\
12-18-2015, 03:00 PM
On my PC this trigger does not work. Works only if I replace lnk to pdf. But if would work with lnk, the menu item would be added to all lnk files, and there is no way to confine the trigger to lnk files pointing to pdf files.
12-18-2015, 04:17 PM
Thank you for dealing with my questions. This lnk trigger works on my XP PCs since many years ago, with no problem at all. I am screening pdf shortcuts in the "foreach f files" loop, with no problem at all. It is implied that a "and" type trigger (lnk+pdf) - if it existed - it would have been more elegant. Best regards.
|
« Next Oldest | Next Newest »
|