This repository provides an action for LaunchBar for accessing recent documents opened with Mathworks MATLAB. The actions are designed to streamline access to recent files for users of MATLAB.
This repository includes the following components:
- Action: Pre-packaged LaunchBar action in
Action.zip
to enable direct access to recent documents. - Source Code:
- GetRecentMatlabDocuments: Retrieves recent MATLAB documents.
-
Download the pre-packaged actions from the Action.zip.
-
Extract the contents, which include:
Recent MATLAB Documents.lbaction
-
Place these
.lbaction
files into your LaunchBar Actions folder:~/Library/Application Support/LaunchBar/Actions
-
Restart LaunchBar to load the new actions.
Alternatively, you can simply double-click each .lbaction
file. This will automatically install the action in LaunchBar.
To compile the GetRecentMatlabDocuments
program from the source code, follow the steps below. Compilation from the source code should however not be necessary if you simply plan to use the actions.
-
Open the Xcode project:
- Open the Xcode project
GetRecentMatlabDocuments.xcodeproj
, which is located at the root of the project directory:
open GetRecentMatlabDocuments.xcodeproj
- Open the Xcode project
-
Set Build Configuration:
- Go to Edit Scheme for each target and ensure the Build Configuration is set to
Release
for the final production build.
- Go to Edit Scheme for each target and ensure the Build Configuration is set to
-
Build the Selected Target:
- Select Product > Build to build the selected scheme. This will compile the program and place the output in the
BUILT_PRODUCTS_DIR
.
- Select Product > Build to build the selected scheme. This will compile the program and place the output in the
-
Manual Copy to LaunchBar Actions:
- After building, copy the executable to the in:
~/Library/Application Support/LaunchBar/Actions/Recent MATLAB Documents.lbaction/Contents/Scripts
- After building, copy the executable to the in:
- Activate LaunchBar and type the name of MATLAB.
- Press space to display the recent documents directly from LaunchBar.
If you find this plugin helpful, consider supporting its development with a donation.
- Author: Andrea Alberti
- GitHub Profile: alberti42
- Donations:
Feel free to contribute to the development of this plugin or report any issues in the GitHub repository.