Skip to main content
Kofax

How to configure Design Studio to not open any files at the next restart

Summary

This article contains a method used to re-configure Design Studio to not attempt to open any files (robot, types, snippets) at the next restart. 13316

When Design Studio is closed and restarted, it will attempt to load all projects (already open) and open all the files that were open at the time Design Studio was stopped.

  1. Go to the Configuration folder in the Kapow Application Data folder.
    On Windows: C:\Users\UserRunningDesignStudio\AppData\Local\KapowKatalyst\KapowVersion\Configuration
    On Linux: ~/.KapowKatalyst/KapowVersion/Configuration
  2. Create a backup copy of ide.systemproperties
  3. Open ide.systemproperties with a text editor.
    You will see 4 main tags:
    <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.OpenFilesListProperties">
    <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.OpenProjectsListProperties">
    <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.RecentFilesListProperties">
    <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.RecentProjectsListProperties">
  4. Delete everything under RecentFilesListProperties and RecentProjectsListProperties
    E.g. if RecentFilesListProperties looked like this at the beggining:
    <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.RecentFilesListProperties">
        <property name="recentFiles" class="ArrayList">
            <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.bean.FileAndProjectSpecification">
                <property name="absoluteFileName"
    class="String">C:\Robots\Project1\Library\TestOne.robot</property>
                <property name="absoluteProjectRootFolderPath" idref="3"/>
                <property name="projectName" class="String">Project1</property>
            </object>
            <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.bean.FileAndProjectSpecification">
                <property name="absoluteFileName"
    class="String">C:\Robots\Project2\Library\Test.type</property>
                <property name="absoluteProjectRootFolderPath" idref="2"/>
                <property name="projectName" class="String">Project2</property>
            </object>
        </property>
    </object>

    You should replace this with
    <object class="com.kapowtech.connector.platform.studio.ide.data.property.standard.RecentFilesListProperties"/>

    Note: If you want to remove all folders and all robots from Design Studio (this will not delete the files from the file system), you can remove the content from the other two tags and jump to step #7.

    Steps #5 and #6 will ensure that Design Studio won't open any files by default, but all the projects already opened, will still be present.
  5. Under the OpenProjectsListProperties tag, you can find all the projects that have already been opened in Design Studio; each project settings are under an <object> tag.
    Each object tag should be similar this one:
    <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.bean.ProjectSpecification">
            <property name="absoluteProjectRootFolderPath" class="String">C:\Robots\Project1</property>
            <property name="projectName" class="String">Project1</property>
    </object>

    E.g.
    A tag like this
    <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.bean.ProjectSpecification">
            <property name="absoluteProjectRootFolderPath" class="String"
    id="3">C:\Robots\Project2</property>
            <property name="projectName" class="String">Project2</property>
    </object>


    Should be changed to
    <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.bean.ProjectSpecification">
            <property name="absoluteProjectRootFolderPath" class="String">C:\Robots\Project2</property>
            <property name="projectName" class="String">Project2</property>
    </object>

    (no id for class "String")
    A tag like this
    <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.bean.ProjectSpecification">
            <property name="absoluteProjectRootFolderPath" idref="1"/>
            <property name="projectName" class="String">Project3</property>
    </object>

    should be changed to
    <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.bean.ProjectSpecification">
            <property name="absoluteProjectRootFolderPath" class="String">C:\Robots\Project3</property>
            <property name="projectName" class="String">Project3</property>
    </object>

    Note that you need the project's Library folder for "absoluteProjectRootFolderPath" property. This can be copied from theOpenFilesListProperties tag (look for the "projectName" property).

  6. Delete everything under OpenFilesListProperties tag
    E.g. if the tag looked like this initially:
    <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.OpenFilesListProperties">    <property name="openFiles" class="ArrayList">
            <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.bean.FileAndProjectSpecification">
                <property name="absoluteFileName" class="String"
    id="0">C:\Robots\Project3\Library\EmailTest.robot</property>
            <property name="absoluteProjectRootFolderPath" class="String"
    id="1">C:\Robots\Project3</property>
            <property name="projectName" class="String">Project3</property>
        </object>
        <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.bean.FileAndProjectSpecification">
            <property name="absoluteFileName" class="String"
    id="2">C:\Robots\Project3\Library\RESTTest.robot</property>
            <property name="absoluteProjectRootFolderPath" idref="1"/>
            <property name="projectName" class="String">Project3</property>
        </object>
        <object
    class="com.kapowtech.connector.platform.studio.ide.data.property.standard.bean.FileAndProjectSpecification">
            <property name="absoluteFileName" class="String"
    id="3">C:\Robots\Project2\Library\LoadGoogle.robot</property>
            <property name="absoluteProjectRootFolderPath" class="String"
    id="4">C:\Robots\Project2</property>
            <property name="focused" class="Boolean">true</property>
            <property name="projectName" class="String">Project2</property>
        </object>
       </property>
    </object>

    It should be replace with
    <object class="com.kapowtech.connector.platform.studio.ide.data.property.standard.OpenFilesListProperties"/>
  7. Save ide.systemproperties
  8. Restart Design Studio. All projects should be present, but no files (robots, types) should be opened by default.

Keywords: Kapow, Robotic Process Automation, Design Studio, robots, snippets, types

  • Was this article helpful?