Dual startup path / scripts

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
highend
Posts: 14638
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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: 65236
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 14638
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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: 65236
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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 1956 times

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

Re: Dual startup path / scripts

Post by highend »

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

admin
Site Admin
Posts: 65236
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 14638
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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