860 - Multi renaming using text editor - Various quirks

Bugs and issues - current donor version.
Post Reply
Message
Author
stephen147
Posts: 370
Joined: 18.10.2015, 16:44

860 - Multi renaming using text editor - Various quirks

#1 Post by stephen147 » 11.12.2021, 23:32

With this new feature, I've tried to change the editor to sublime_text.exe but it doesn't work. This is a portable build I'm running if that makes a difference.

Using notepad.exe and also I've tested a portable build of VSCode and it works.
Last edited by stephen147 on 13.12.2021, 17:34, edited 2 times in total.
Sceenshots made easy with ShareX.

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: 860 - Multi rename and rename using text editor - Sublime text doesn't work

#2 Post by horst.epp » 12.12.2021, 10:09

Works fine here with AkelPad as Editor
using the portable version of FC and AkelPad.
For sublime_text you have to use its subl tool as editor in FC
Sublime_text itself (strange enough) doesn't support command line arguments.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

stephen147
Posts: 370
Joined: 18.10.2015, 16:44

Re: 860 - Multi rename and rename using text editor - Sublime text doesn't work

#3 Post by stephen147 » 13.12.2021, 17:31

I've noticed when using VSCode it opens itself up in a Restricted mode too and closes any workspaces that you may have opened.

I don't know how this is programmed but I assume the file is created and then the file is opened with the program.

Using this C# code works for me with VSCode without opening it in restricted mode and closing any existing workspaces:

Code: Select all

Process.Start(@"W:\Apps (Portable)\VSCode\Code.exe");
Process.Start(@"W:\Apps (Portable)\VSCode\Code.exe", @"C:\Users\username\AppData\Local\Temp\FreeCommander25896\MultiRename.txt");
The above code snippet could be improved but it's just a concept to see if it works.
Sceenshots made easy with ShareX.

Post Reply

Who is online

Users browsing this forum: No registered users and 44 guests