You are here: PSPad forum > English discussion forum > File locking while editing

File locking while editing

#1 File locking while editing

Posted by: groeneg | Date: 2012-02-10 08:18 | IP: IP Logged

Is it possible to lock the file which is opened in PSPad (like MS Office does).
Another user can get a message that the file is already opened.
It reduces the frustration when 2 people are using the same file.

Options: Reply | Quote | Up ^


#2 Re: File locking while editing

Posted by: pspad | Date: 2012-02-10 09:47 | IP: IP Logged

If 2 people works on same file, there is something wrong in your firm processes.
There is no currently plan to implement it.

If more users will want this functionality, we can start discussion about way how to realize it - setting file atribute, use way like word - create another file what will do lock function.
But I don't want to use way to keep file open whole time.

Options: Reply | Quote | Up ^


#3 Re: File locking while editing

Posted by: carbonize | Date: 2012-02-10 15:32 | IP: IP Logged

Creating a {filename}.lock file is the usual method.

--
Carbonize

Options: Reply | Quote | Up ^


#4 Re: File locking while editing

Posted by: dhohmann | Date: 2012-07-18 09:56 | IP: IP Logged

Same problem for us. We're (IT) working on several files (sometimes up to 20~30) a day, making larger or smaller changes. Other divisions are working on the same files (wording e.g.). Many hours of work were already spoiled by lost changes in files.
File-locking would help us very much!

Options: Reply | Quote | Up ^


#5 Re: File locking while editing

Posted by: nergmlam | Date: 2012-07-19 06:50 | IP: IP Logged

Hi

I also have this issue, because we are 5 IT-Programmers in our IT-Department, that creates vbScripted installation scripts to run on our 3.500 computers using our Management System.

Just use the Windows API LockFile and UnLockFile, and maybe add an enable/disable setting in PsPad.ini

msdn.microsoft.com

--
Sincerely

J. Malmgren
IT-Programmer
Denmark
Version 4.5.7(2441)

Options: Reply | Quote | Up ^


#6 Re: File locking while editing

Posted by: pspad | Date: 2012-07-19 09:15 | IP: IP Logged

I will add some locking mechanism, but be patient please. I am very hurry in my work, we have some terms we must keep on.
This is reason, why I slow down work on PSpad now.

Options: Reply | Quote | Up ^


#7 Re: File locking while editing

Posted by: nergmlam | Date: 2012-07-19 11:38 | IP: IP Logged

Hi Jan

Just take the needed time smiling smiley

--
Sincerely

J. Malmgren
IT-Programmer
Denmark
Version 4.5.7(2441)

Options: Reply | Quote | Up ^






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