Project actions


Project actions allow you to open and close projects from within a macro allowing you to switch projects as required.

Open Project
This action will open the specified project.

The use of this action is dependent on the way you structure your projects and macros etc. You may choose to associate a project to each target application or task set and therefore you will open projects as required. Further, Flexi-deck allows for the sharing of project and macros and therefore you may need this action to open up a shared project.

Project path
The path to a Flexi-deck project / fdproj file. If the path is relative, then it is resolved relative to the folder containing the current project. If the path starts with a tilde ~, it is resolved relative to the current user's home directory.

Choose Project
Opens a file dialog to pick another project. Automatically fills in "Project path" with a relative path if the selected project is in the same or lower directory level as the active project.

Set Active Project
Sets the specified project as the active project after opening it

Close Project
This action will close the specified project.

If there are unsaved changes to the project, Flexi-deck will query whether or not to save before closing.

You will be asked if you want to save it with a "yes" "no" and "cancel" button. If you pick "cancel" the project will not close. Since the execution of the  macro may rely on the project actually being closed, then the macro will terminate at this point.

Project path
The path to a Flexi-deck project / fdproj file. If the path is relative, then it is resolved relative to the folder containing the current project. If the path starts with a tilde ~, it is resolved relative to the current user's home directory.

Choose Project
Opens a file dialog to pick another project. Automatically fills in "Project path" with a relative path if the selected project is in the same or lower directory level as the active project.

Fail if project ins't open
Causes the action to fail if the specified project is not open when the action executes.

Example use
For example, you may have a main project that you want to be open all the time, such as a menu with a few buttons that can be used for switching between different workflows, e.g. "Working in Qt", "Working in Unity", "Working in Logic Pro X", etc., and each workflow has its own FD project that sets up some specific hot keys and macros. So each button on this main menu closes the projects for the other workflows and opens the one that you want to be using, but without closing the main project that's always open.

Search