Since that change the <pfaitem> variable can no longer be entirely trusted because we have two possible outcomes:Change Log wrote:Code: Select all
v15.00.0119 - 2015-03-21 09:54 * File | Open Selected Item(s): Experimentally changed the behavior of this core function, i.e. what happens on pressing ENTER on selected list items. Before, if more than one item was selected then the items were opened one after the other with each item's associated application (be it XY- or OS-associated), even if all items were opened by the same application. Now all items are opened in one call if they are of the same type and hence share the same associated application. The new behavior is analog to the selecting the bold default item (if there is one) in the "File | Open with..." popup menu.
1) Each selected item is opened separately.
Thus <pfaitem> is the item used for PFA matching and the item to open.
Occurs when any of these is true:
- Pre-v15.00.0119
- When only one item is selected.
- When multiple items of differing types are selected.
- The user enables the (unmarked) OpenAllSelectedInMultipleInstances tweak.
Thus <pfaitem> is the item used for PFA matching (either the current item or the first in the selection
But <selitems> or Get('SelectedItems...') must be used to determine the items to open.
Occurs when ALL of the following are true:
- Post-v15.00.0119
- Multiple items are selected and are all of the same type.
- The user has not enabled the OpenAllSelectedInMultipleInstances tweak.
The problem is... previously we could use <pfaitem> as the item to open, now we cannot.
Now we must perform our own check on the selected items and if they are all of the same type use the selection, if not we use <pfaitem>.
Hence, I'd like to see a new variable or Get parameter: pfaitems
Such that:
<pfaitem> always equals the item used for matching.
<pfaitems> always equals a list of items to open.
XYplorer Beta Club