Not to select any items by default (automatically)

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
AugerJ
Posts: 54
Joined: 19 Jul 2016 06:27

Not to select any items by default (automatically)

Post by AugerJ »

Hello.
I'm using XYplorer 14.60.0100 (because it's not flat yet).
When opening a folder, XYplorer automatically selects one of it's items.
How can I stop it from doing this?
I don't want it to select anything by itself (or by default).

P. S.
It's not about the last used subfolder.

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Not to select any items by default (automatically)

Post by highend »

Removing any selection is easy but I can't unfocus an item (which is possible when ::sel; is executed from the address bar...)

Code: Select all

<path to xyplorer.exe> /script="::sel;"
One of my scripts helped you out? Please donate via Paypal

AugerJ
Posts: 54
Joined: 19 Jul 2016 06:27

Re: Not to select any items by default (automatically)

Post by AugerJ »

highend wrote:Removing any selection is easy but I can't unfocus an item (which is possible when ::sel; is executed from the address bar...)
I put
::sel;
in the address bar, press Enter — and nothing happens. And there's no Quick Scripting to enable in Preferences, just Scripting (enabled).

Code: Select all

<path to xyplorer.exe> /script="::sel;"
Scripting - Try Script

C:\Program Files (x86)\XYplorer\XYplorer.exe /script="::sel;"

Error:
Overflow 0\0

Where did I go wrong?

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Not to select any items by default (automatically)

Post by highend »

I put
::sel;
in the address bar, press Enter — and nothing happens. And there's no Quick Scripting to enable in Preferences, just Scripting (enabled).
You did select at least one file before (so it was highlighted)?
C:\Program Files (x86)\XYplorer\XYplorer.exe /script="::sel;"
This is not executed in XYplorer as a script^^

This is how XY should be started :)

E.g.:
- Exit XY
- Open a command prompt

Code: Select all

"C:\Program Files (x86)\XYplorer\XYplorer.exe" /script="::sel;"
Or create a link (.lnk) file to your XYplorer.exe, right click that, "Properties"
and put the whole thing into the "Target" line.
One of my scripts helped you out? Please donate via Paypal

AugerJ
Posts: 54
Joined: 19 Jul 2016 06:27

Re: Not to select any items by default (automatically)

Post by AugerJ »

Thanks. I guess I didn't make myself clear.
I open (or start or run) XYplorer.
Then, within it, I open a folder or a drive — and XYplorer automatically selects one of the files or subfolders.
What I want is that I open a folder (from within XYplorer) — and everything is unselected.

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Not to select any items by default (automatically)

Post by highend »

Does it help if you uncheck:
Menu - Tools - Configuration... - General - Tree and List - [ ] Select last used subfolder?
One of my scripts helped you out? Please donate via Paypal

AugerJ
Posts: 54
Joined: 19 Jul 2016 06:27

Re: Not to select any items by default (automatically)

Post by AugerJ »

It doesn't.
I assigned a couple of shortcuts on
Edit - Select - Deselect All
I think I'll get used to this 'workaround'.
Thanks anyway.

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Not to select any items by default (automatically)

Post by highend »

Interesting. In a fresh installation of that version and with that setting unchecked there isn't any file / folder preselected (and therefore highlighted).

The only thing that happens is that the first item in the list for each folder is focused...
One of my scripts helped you out? Please donate via Paypal

AugerJ
Posts: 54
Joined: 19 Jul 2016 06:27

Re: Not to select any items by default (automatically)

Post by AugerJ »

Ok, I guess, I found it )
Details view.
One click on the icon goes for double click on the name.
When I don't click on the folder icon, then nothing is selected in that folder when it's opened.
So, the way is — double (or middle) click )

Post Reply