You are here: PSPad forum > English discussion forum > Re: Project Name

Re: Project Name

#1 Project Name

Posted by: pythonui | Date: 2015-05-23 09:54 | IP: IP Logged

Hello,

How can I know the project name in pspad scripting?

Options: Reply | Quote | Up ^


#2 Re: Project Name

Posted by: pythonui | Date: 2015-05-23 10:15 | IP: IP Logged

Got my answer from Help File.

Quote:
getVarValue("%ProjectName%")

Edited 1 time(s). Last edit at 2015-05-23 10:15 by pythonui.

Options: Reply | Quote | Up ^


#3 Re: Project Name

Posted by: pspad | Date: 2015-05-23 10:20 | IP: IP Logged

What for is a project name?
You can use script function: projectFileName

If project name is important, I can add script function to get/set project name

Options: Reply | Quote | Up ^


#4 Re: Project Name

Posted by: pythonui | Date: 2015-05-23 10:22 | IP: IP Logged

Thanks for answer!

I am going to write script that will check for "svn st" in project folder!
Is there anything special for this requirement?

Options: Reply | Quote | Up ^


#5 Re: Project Name

Posted by: pythonui | Date: 2015-05-23 10:25 | IP: IP Logged

Second Que: Is there possible to integrate SSH with pspad? (remote connection with ssh)

Options: Reply | Quote | Up ^


#6 Re: Project Name

Posted by: pspad | Date: 2015-05-23 10:28 | IP: IP Logged

I don't know what is "svn st". If it is something with CVS system, you can specify, which files won't be included in the project.

No, there is no integration with SSH.

Options: Reply | Quote | Up ^


#7 Re: Project Name

Posted by: pythonui | Date: 2015-05-23 10:32 | IP: IP Logged

Hello,

"svn" is subversion.apache.org

"svn st" check for updates in project folder(add,update,delete files)

Options: Reply | Quote | Up ^


#8 Re: Project Name

Posted by: pythonui | Date: 2015-05-23 10:34 | IP: IP Logged

Another way : Is there possible to check which files are modified and which files are not added in project?

Options: Reply | Quote | Up ^


#9 Re: Project Name

Posted by: pspad | Date: 2015-05-23 11:42 | IP: IP Logged

Which files are modified? Do you mean open files in PSPad? Yes, modified() function from scriptiong.
Open files which are not included in project? Yes, you can go through the project files using: projectXXXXX functions in scripting.

Open .\Script\readme.rtf file and read it. It's faster method than ask for individual scripting function. Similar content is in PSPad help

Options: Reply | Quote | Up ^


#10 Re: Project Name

Posted by: pythonui | Date: 2015-05-23 16:43 | IP: IP Logged

Hello,
Sorry for this thread!

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