You are here: PSPad forum > English discussion forum > Re: Automatic start of a program on file save

Re: Automatic start of a program on file save

#1 Automatic start of a program on file save

Posted by: idefix2 | Date: 2024-09-04 16:37 | IP: IP Logged

Is it possible to configure PsPad so that it automatically starts a program whenever a file is saved, ideally with the name of the saved file as parameter?

Options: Reply | Quote | Up ^


#2 Re: Automatic start of a program on file save

Posted by: pspad | Date: 2024-09-04 16:40 | IP: IP Logged

I am afraid I don't fully understand.
You want to start PSPad with nonexisting file as parameter?

Options: Reply | Quote | Up ^


#3 Re: Automatic start of a program on file save

Posted by: idefix2 | Date: 2024-09-04 18:47 | IP: IP Logged

I would like to run a program (that I will write myself) with the name of the file that I just saved as parameter.

The idea is to make an automatic version control sytem. Everytime a file has been saved to disk, my program should be called. It will read the newly saved file, increase the minor version number by 1 and write it back to the disk.

Edited 1 time(s). Last edit at 2024-09-04 18:49 by idefix2.

Options: Reply | Quote | Up ^


#4 Re: Automatic start of a program on file save

Posted by: pspad | Date: 2024-09-04 19:07 | IP: IP Logged

Highlighter settings / compiler or external applications
Same function is on the favorite panel, if you don't want to have file type depending

Options: Reply | Quote | Up ^


#5 Re: Automatic start of a program on file save

Posted by: idefix2 | Date: 2024-09-04 19:27 | IP: IP Logged

Great!
I itedon't need it type dependent, What do you mean with "favorite panel"?

Options: Reply | Quote | Up ^


#6 Re: Automatic start of a program on file save

Posted by: pspad | Date: 2024-09-04 20:38 | IP: IP Logged

Left panel (file explorer, ftp, favorite tab). Add "tool" there

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