You are here: PSPad forum > English discussion forum > access pspad.ini from script?

access pspad.ini from script?

#1 access pspad.ini from script?

Posted by: gwinkless | Date: 2013-04-25 14:10 | IP: IP Logged

Hi

I'm playing with Lai's ezctags script and would like to be able to map certain file extensions to certain languages.

I'm currently mapping them manually by changing the line I pass to ctags.exe; however it would be nice if I could extract the extensions for the languages from pspad.ini. Is there a way of either accessing the settings data from script or figuring out the path to the ini file?

Thanks!

Options: Reply | Quote | Up ^


#2 Re: access pspad.ini from script?

Posted by: pspad | Date: 2013-04-25 18:27 | IP: IP Logged

Location depends of indication in PSPad_Mu.ini. This file is located in PSPad folder.
MultiUser=1 means PSPad.ini is located in %userprofile%\Application data\PSPad folder
MultiUser=0 means PSPad.ini is located in PSPad folder

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