====== IProject ====== Scriptable object ===== Description ===== Project object ===== Properties ===== ^Property^ Description^ |[[scripting:api:project:encoding|Encoding]]| Default encoding| |[[scripting:api:project:initial|Initial]]| Indicates that project is initial, non-modified state| |[[scripting:api:project:line-break|LineBreak]]| Default line break style| |[[scripting:api:project:main-file|MainFile]]| Main File path| |[[scripting:api:project:name|Name]]| Project Name| |[[scripting:api:project:syntax|Syntax]]| Default syntax| |[[scripting:api:project:title|Title]]| Project Title| |[[scripting:api:project:working-directory|WorkingDirectory]]| Working Directory path| ===== Methods ===== ^Method^ Description^ |[[scripting:api:project:add-file|AddFile]]| Adds file to the project| |[[scripting:api:project:file-path-by-title|FilePathByTitle]]| Resolve file by title| |[[scripting:api:project:get-files|GetFiles]]| Collects file names from project, using filter (NULL is take all). Returns SAFEARRAY of BSTR| |[[scripting:api:project:get-storage|GetStorage]]| Returns storage object| |[[scripting:api:project:get-user-configurations|GetUserConfigurations]]| User configurations. SAFEARRAY of BSTR| |[[scripting:api:project:get-user-variable|GetUserVariable]]| Read user variable value by name| |[[scripting:api:project:get-user-variables|GetUserVariables]]| Project defined user variables. SAFEARRAY of BSTR| |[[scripting:api:project:is-file-in-project|IsFileInProject]]| Checks if file is in project| ===== See Also ===== [[:scripting:api:application:project|IApplication::Project]], [[:scripting:api:project-events:on-project-changed|IProjectEvents::onProjectChanged]], [[:scripting:api:project-events:on-project-load|IProjectEvents::onProjectLoad]], [[:scripting:api:project-events:on-project-save|IProjectEvents::onProjectSave]], [[:scripting:api:project-manager:active|IProjectManager::Active]], [[:scripting:api:project-manager:load-project|IProjectManager::LoadProject]], [[:scripting:api:application:project|IScriptApplication::Project]] #API ~~NOTOC~~