.
Forum rules
READ THIS AND DO IT!!!
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%).
We strongly 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, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
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%).
-
admin
- Site Admin
- Posts: 66619
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Toolbar button cannot run script when filename contains "{"
Works fine here.
1) Describe "Cannot run" in more detail.
2) Show the full definition of the button. (Right-click the Clear button in Edit User Button and select Copy Snippet.)
1) Describe "Cannot run" in more detail.
2) Show the full definition of the button. (Right-click the Clear button in Edit User Button and select Copy Snippet.)
FAQ | XY News RSS | XY X
-
Norn
- Posts: 508
- Joined: 24 Oct 2021 16:10
Re: Toolbar button cannot run script when filename contains "{"
I copied this script and it works now.Norn wrote: ↑23 Sep 2022 20:46 I never put {} in the filename.![]()
Code: Select all
//Open in new tab foreach($item, "<get selecteditemspathnames>", "<crlf>") { if(exists($item) == "1") {$path = gpc($item, "path"); tab("new", $path); selectitems $item; } else { tab("new", $item);} }
Windows 11 24H2 @100% 2560x1440
XYplorer Beta Club