Page 1 of 1

Help Syntax of Custom File Association please

Posted: 11 Jan 2023 02:44
by prr
I was getting that "Select an App to open" an image file when clicking on an jpeg or png within XYplorer. I found this thread (viewtopic.php?p=205985&hilit=select+an+app#p205985) that gave a command for bypassing that. I followed the steps, but what happens now, is that instead of the "Select an App to open" window, I get the following:
DubiousSyntax.png
Now when I click Continue, it does open my image file in FastStone. But I'd like to bypass the Dubious Syntax error message.

What do I need to do, to go directly to FastStone?

FWIW, this is the actual setup, when I click on Tools/Customize File Associations option:

Re: Help Syntax of Custom File Association please

Posted: 11 Jan 2023 02:56
by RalphM
Remove the <curitem> part, CFA's always work with the selected list item(s).

Re: Help Syntax of Custom File Association please

Posted: 11 Jan 2023 03:00
by prr
Now I see this:
Untitled.png

Re: Help Syntax of Custom File Association please

Posted: 11 Jan 2023 04:16
by phred
You shouldn't need a script to open image files.
Set CFA as follows. This works for me with all formats that FastStone supports

Re: Help Syntax of Custom File Association please

Posted: 11 Jan 2023 04:20
by prr
That is it! Thank you so much. It is working fine now.
phred wrote: ↑11 Jan 2023 04:16 You shouldn't need a script to open image files.
Set CFA as follows. This works for me with all formats that FastStone supports

Re: Help Syntax of Custom File Association please

Posted: 11 Jan 2023 04:24
by phred
prr wrote: ↑11 Jan 2023 04:20 That is it! Thank you so much. It is working fine now.
You're welcome. I'm happy to help.

Re: Help Syntax of Custom File Association please

Posted: 11 Jan 2023 04:38
by prr
Some forums allow for a Solved or a check to be placed as a flag (or am I thinking of reddit?). Anyways, this would be a good time to have one.