Non-default PFA[solved]

Features wanted...
Post Reply
bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Non-default PFA[solved]

Post by bdeshi »

Wish there was a way to have a PFA item available in the "Open With..." menu only and not trigger by default.

XY executes the first matching PFA when double-clicking a file of a certain extension. But sometimes the system association is fine as the default action, and the PFA item as a secondary optional action (from the "Open With..." menu).
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Non-default PFA

Post by TheQwerty »

Try prefixing the entry with '|'. :wink:
help('idh_pom.htm'); wrote:(9) You can define associations that should only be listed in the POM, but not be triggered on "open". It's done by simply prefixing the | (pipe) character to the PFA. The following example allows you to have this PFA enabled and listed in the POM:
|exe;dll>::copytext <curname> <curver>
while double-clicking an EXE file will still run the EXE, and not the PFA. In the PFA dialog, prefixed (= POM-only) items are shown in color "Marked Text 2" (see Configuration | Colors).
(Note this is discussed in the POM section but not the PFA section.)

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Non-default PFA

Post by bdeshi »

Wow, thanks!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply