Dual startup path / scripts

Things you’d like to miss in the future...
Post Reply
highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Dual startup path / scripts

Post by highend »

Test version: current beta

From the .chm:
XYplorer.exe C:\||D:\
The test version (fresh) is configured as followed:
View - Mini Tree - [x] Mini Tree
Panes - [x] Dual Pane
Panes - [ ] Horizontal Panes

Each pane has three tabs open
Left one: C:\Boot, C:\Users, C:\Windows
Right one: D:\Images, D:\Tools, D:\Users

Left pane is the active one, the middle tab is the active tab in both panes

Test 1:

Code: Select all

XYplorer.exe C:\||D:\
Opens a new 4th tab in the active pane with C:\
No other changes. The inactive panes active tab does NOT change to D:\

-> You should change the help file entry to contain double quotes...

Code: Select all

XYplorer.exe "C:\||D:\" /script="echo 'test';"
Works correctly BUT the /script is completely ignored...
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Dual startup path / scripts

Post by admin »

1) Strange.
a) Works here (Win8.1) without the double-quotes (and with them).
b) Does not open a new tab here.
:?

2) You have to prefix the double-colon in this context:

Code: Select all

XYplorer.exe "C:\||D:\" /script="::echo 'test';"

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Dual startup path / scripts

Post by highend »

1.) Mh, can recreate that at all times... Will try it under a different OS when I have time
2.) Tend to forget that :oops:

Edit: Tried it under Windows 7 x64 as well, same behavior...
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Dual startup path / scripts

Post by admin »

We are talking about this, right?
Attachments
2018-05-14_192141.png
2018-05-14_192141.png (6.36 KiB) Viewed 1400 times

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Dual startup path / scripts

Post by highend »

Invoked via cmd but yeah...
cmd.png
cmd.png (3.31 KiB) Viewed 1396 times
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Dual startup path / scripts

Post by admin »

OK, using this way I can fully confirm what you see. Only I cannot explain it. Probably the DOS-box has its own ideas about double quotes. I will add quotes to the example in Help.

Conc. opening a new tab: This seems to happen when the command is triggered by ENTER as opposed to mouse click. I assume the keydown-state plays a role here. ATM I have no time to research this.

Asta
Posts: 42
Joined: 02 Jan 2016 15:59

Re: Dual startup path / scripts

Post by Asta »

highend wrote:Tried it under Windows 7 x64 as well
MS mainstream support for W7 is over since january 2015 (https://support.microsoft.com/en-us/hel ... fact-sheet

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Dual startup path / scripts

Post by highend »

@xyplorerköln
Do you want to read what _I_ would call rude? :mrgreen:
One of my scripts helped you out? Please donate via Paypal

Post Reply