You are here: PSPad forum > English discussion forum > Save with admin rights

Save with admin rights

Goto Page: 1 2 Next

#1 Save with admin rights

Posted by: felafel | Date: 2019-06-06 06:14 | IP: IP Logged

Hi, Greetings to all forum users

I stopped using Notepad++ (it's however a good editor) because PSPad it's much better for me.
There is a plugin (Save as admin) for Notepad++ that allow you to modify files stored on Windows UAC protected folders because it makes possible the appearing of the UAC prompt when it needs.
It isn't a perfect solution because you can't save new files in protected folders but you can only modify already existing files.

I hope PSPad find a solution for ask UAC permissions when they are needed

Options: Reply | Quote | Up ^


#2 Re: Save with admin rights

Posted by: pspad | Date: 2019-06-06 06:19 | IP: IP Logged

Just now PSpad doesn't support this feature. If I need to modify úprotected files, I can always start PSPad as admin. This will elevate rights and you can modify your files.

Options: Reply | Quote | Up ^


#3 Re: Save with admin rights

Posted by: Calvi | Date: 2020-11-27 03:48 | IP: IP Logged

Would love to see this.

I prefer PSPad to Notepad++ generally but always annoying when editing files in protected locations, eg (program files). Running as admin means right clicking on other files won't then open in PSPad. Also I always forget. Notepad++ will flag this when you try to save and automatically reopen in Admin mode. This works really well.

I would love to see PSPad do similar.

Options: Reply | Quote | Up ^


#4 Re: Save with admin rights

Posted by: pspad | Date: 2020-11-27 07:27 | IP: IP Logged

I will study what is necessary to do. In my opinion at least start new process with elevated priviledges what will save the file.
But I need to detect if the folder is protected (not read only like CD Rom) first.

Options: Reply | Quote | Up ^


#5 Re: Save with admin rights

Posted by: Calvi | Date: 2021-06-19 06:48 | IP: IP Logged

Any update on this. I have been recently editing javascripts in adobe folder.

The most annoying part is the shell extension does not seem to work if pspad is open in admin mode.

To edit something in program files what normally happens is:
1. I open the file - right click with pspad.
2. I make some changes and forget it is read only.
3. I open pspad in admin mode.
4. I cannot right click the file to open it so I copy th path from explorer.
5. I use the open dialog in pspad and paste the path into explorer.
6. I open the file and make some changes.
7. If I am developing some code I leave it open but then if I hvae to open a file from another folder right click wont work for this either.

Options: Reply | Quote | Up ^


#6 Re: Save with admin rights

Posted by: pspad | Date: 2021-06-19 07:12 | IP: IP Logged

If you start pspad under admin context, it isnt available under user context (shell extension). It's not a PSPad limit

Options: Reply | Quote | Up ^


#7 Re: Save with admin rights

Posted by: Calvi | Date: 2021-06-22 06:36 | IP: IP Logged

Yes, I understand.

Is it possible to open another instance in that case (only if single instance is selected)?
I normally prefer single instance, but if an admin one is open, I would be happy for pspad to open a second instance from the right click option for non-admin items?

Note: Notepad++ seems to manage to work with this fine. If you open an item in protected folder and try to save, it automatically re-opens in admin mode. Then right click on a new (not protected) file also opens in the same instance (still admin mode).

I prefer pspad though!

Edited 1 time(s). Last edit at 2021-06-22 06:39 by Calvi.

Options: Reply | Quote | Up ^


#8 Re: Save with admin rights

Posted by: pspad | Date: 2021-06-22 06:49 | IP: IP Logged

Yes, you can start new PSPad by adding -N parameter.
Or I can add possibility to start PSPad as admin within PSPad

Options: Reply | Quote | Up ^


#9 Re: Save with admin rights

Posted by: Calvi | Date: 2021-06-24 06:55 | IP: IP Logged

pspad:
Yes, you can start new PSPad by adding -N parameter.
Or I can add possibility to start PSPad as admin within PSPad

Adding -N is no good as it depends if an admin version is already open or not.

Start PSPad as admin within PSPad sounds like an excellent idea.

Options: Reply | Quote | Up ^


#10 Re: Save with admin rights

Posted by: pspad | Date: 2021-06-24 08:38 | IP: IP Logged

Parametr -N you can use anytime, even any PSpad is running or not. It simply starts new instance.

Options: Reply | Quote | Up ^


Goto Page: 1 2 Next





Editor PSPad - freeware editor, © 2001 - 2021 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR