You are here: PSPad forum > English discussion forum > Re: 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?
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?
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.
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
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"?
Posted by: pspad | Date: 2024-09-04 20:38 | IP: IP Logged
Left panel (file explorer, ftp, favorite tab). Add "tool" there
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