SelectedFile(s) -> FAYT-Field

I have written a ScriptAddin to extend the FAYT field functionality. How can I get the currently selected file/files into the FAYT field? With the DOpus commands this can be done via Ctrl-Shift-Enter. This does not work with custom FAYT extensions :frowning:
The use of DOpus arguments, e.g. {allfilepath}, would also be very nice.

Any ideas?

You could make it so you type a placeholder like * (or ** or something, if * on its own is meaningful as a wildcard) the script will see that and know that it means "put all the filepaths into the command".

You could even make the script recognise {allfilepath}, but that's a lot more typing each time you want to use that in an ad-hoc FAYT context. :slight_smile:

Hey Leo, thx for your response.
I'll try that out :blush: