better parameter /select

Features wanted...
Post Reply
Temp123
Posts: 3
Joined: 01 May 2019 00:56
Location: Hamburg, WinXP

better parameter /select

Post by Temp123 »

The parameter "/select" does select an element in the files-list. But for what is that good, when the files-list does not get the focus? The current behavior is, that the address-bar get the focus.

Suggestions:
1) If this parameter is set, the files-list should get the focus.

2) The select-parameter can have more than just one behavior.

This is the current behavior:
"/select=d:\meinVerz" selects in the directories-list the directory "d:" and in the files-list the element "meinVerz".

More behaviors:
"/select=d:\meinVerz\." selects in the directories-list the directory "d:\meinVerz" and selects in the files-list the first element.
"/select=d:\meinVerz\:" selects the last element.
"/select=d:\meinVerz\*" selects all elements.
"/select=d:\meinVerz\#" selects no element and the directories-list get the focus. Or you alter the current behavior and this job would be done by the parameter "/select=d:\meinVerz".

:om:

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: better parameter /select

Post by bdeshi »

Temp123 wrote: 22 May 2019 00:47 1) If this parameter is set, the files-list should get the focus.
I think you had closed XYplorer with the addressbar in focus before reopening it with the /select command. Try this: xyplorer.exe /select=d:\meinVerz\ /script=|::focus "L"|
Anyway, I think your suggestion is very reasonable, and here's my +1 to your wish nr. 1. :tup:
Temp123 wrote: 22 May 2019 00:47 2) The select-parameter can have more than just one behavior.

This is the current behavior:
"/select=d:\meinVerz" selects in the directories-list the directory "d:" and in the files-list the element "meinVerz".

More behaviors:
"/select=d:\meinVerz\." selects in the directories-list the directory "d:\meinVerz" and selects in the files-list the first element.
"/select=d:\meinVerz\:" selects the last element.
"/select=d:\meinVerz\*" selects all elements.
"/select=d:\meinVerz\#" selects no element and the directories-list get the focus. Or you alter the current behavior and this job would be done by the parameter "/select=d:\meinVerz".
This makes things unnecessarily complicated imo. Try the /script parameter.

Code: Select all

"/select=d:\meinVerz\." ==> xyplorer.exe /script=|::goto "D:\meinVerz"; sel  1,,1|
"/select=d:\meinVerz\:" ==> xyplorer.exe /script=|::goto "D:\meinVerz"; sel -1,,1|
"/select=d:\meinVerz\*" ==> xyplorer.exe /script=|::goto "D:\meinVerz"; sel "a"|
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply