File Editor

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
XY fan
Posts: 246
Joined: 24 Mar 2022 10:58
Location: Windows 11 225% scaling on 3840 x 2400 screen

File Editor

Post by XY fan »

Is there a File Editor built in to XY?

In the old PowerDesk for instance, there was an option in the Configuration to input the path to an an Editor (eg, EditPad) - such that if you highlighted a file in the list, then clicked on the editor button in the ToolBar, the file would open in the editor.

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

Re: File Editor

Post by highend »

viewtopic.php?p=104680#p104680

or if you don't like it, create a user defined button for that kind of task?
One of my scripts helped you out? Please donate via Paypal

XY fan
Posts: 246
Joined: 24 Mar 2022 10:58
Location: Windows 11 225% scaling on 3840 x 2400 screen

Re: File Editor

Post by XY fan »

I can create a user-defined button and point it at an editor of my choosing, no problem. But of course when I click on the button it just opens the editor - but not the file I have highlighted.

I want the convenience of having the editor open the file in the editor automatically when the editor opens - like in the mentioned-above old PowerDesk.
Last edited by XY fan on 01 May 2023 14:26, edited 1 time in total.

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: File Editor

Post by Horst »

XY fan wrote: 01 May 2023 14:19 I can create a user-defined button and point it at an editor of my choosing, no problem. But of course when I click on the button it just opens the editor - but not the file I have highlighted.

I want the convenience of having it open the file in the editor - like in the mentioned-above old PowerDesk.
And why dont you have an parameter for the current file in your button definition ?
For example for my editor the button definition on left click contains
run "C:\Tools\PSPad\PSPad.exe ""<curitem>""";
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

XY fan
Posts: 246
Joined: 24 Mar 2022 10:58
Location: Windows 11 225% scaling on 3840 x 2400 screen

Re: File Editor

Post by XY fan »

I didn't have because I didn't know about "Curitem". Thanks - I have it now and what I wanted. Great expertise here - even if a bit curt at times.

phred
Posts: 640
Joined: 26 Dec 2021 02:10
Location: XY 64bit on Win10 at 100% from Boston USA

Re: File Editor

Post by phred »

Unless I'm missing exactly what the OP is trying to do, create Custom File Associations for the format(s) of the file(s) to be edited. Simply double-click on the file and it opens in the editor. If more that one file needs to be in the editor, select the files > right-click > open (or right-click > open with...

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: File Editor

Post by Horst »

The button solution does exactly what the requestor asked for
and the PowerDesk Edit did.
No more configuration or settings are needed.
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

XY fan
Posts: 246
Joined: 24 Mar 2022 10:58
Location: Windows 11 225% scaling on 3840 x 2400 screen

Re: File Editor

Post by XY fan »

Thnkyou
Last edited by XY fan on 03 May 2023 05:01, edited 1 time in total.

XY fan
Posts: 246
Joined: 24 Mar 2022 10:58
Location: Windows 11 225% scaling on 3840 x 2400 screen

Re: File Editor

Post by XY fan »

Horst wrote: 02 May 2023 15:32 The button solution does exactly what the requestor asked for
and the PowerDesk Edit did.
Indeed it does - thankyou again.

Post Reply