Shell menu trigger in the case of shortcuts

Creating macros. Working with QM.

Shell menu trigger in the case of shortcuts

Postby ssimop on Sat Oct 07, 2017 12:50 pm

I understand that in the case of a Shell menu trigger a macro receives trigger information through the function statement. I have experienced that in the case of a shortcut the function statement returns the target file path. I wonder whether there exists some way to obtain the shortcut's file path, as well.

Many thanks in advance for any advice.
User avatar
ssimop
Active Member
 
Posts: 913
Joined: Sun Oct 21, 2007 1:55 pm
Location: Greece

Re: Shell menu trigger in the case of shortcuts

Postby Gintaras on Sat Oct 07, 2017 1:21 pm

No direct way. Try macro "GetPathsOfSelectedFiles" from Archive.qml.
Gintaras
Site Admin
 
Posts: 10385
Joined: Thu Dec 19, 2002 7:36 pm
Location: Lithuania

Re: Shell menu trigger in the case of shortcuts

Postby ssimop on Sat Oct 07, 2017 1:32 pm

Thank you !

I have already used the workaround with GetPathsOfSelectedFiles and it works perfectly. I was thinking about anything else more "direct". Best regards.
User avatar
ssimop
Active Member
 
Posts: 913
Joined: Sun Oct 21, 2007 1:55 pm
Location: Greece


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests

cron