Change \ to / when copying paths

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
MBaas
Posts: 243
Joined: 15 Feb 2016 21:08

Change \ to / when copying paths

Post by MBaas » 09 May 2019 14:03

I often need to copy paths from XY into another software which is a bit demanding about its paths, i.e. even JSON-Formatters complaining when I give data for paths with \ instead of /.

On way to do this, I think, would be for me to replace the "Copy Path"-menu item with a script that would do the replacement.

Or is there possibly a setting that I never noticed (or a hidden tweak) to do this? Or any other solution?
_____________________________________________
Happy user ;-)

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

Re: Change \ to / when copying paths

Post by highend » 09 May 2019 14:17

Write a simple script that copies the current path to the clipboard while replacing \ with /
and invoke it with a keyboard shortcut, button, catalog, whatever?
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

MBaas
Posts: 243
Joined: 15 Feb 2016 21:08

Re: Change \ to / when copying paths

Post by MBaas » 09 May 2019 14:56

Ok. Just wanted to avoid re-implementing the wheel ;)
_____________________________________________
Happy user ;-)

Post Reply