Skip to content

alberti42/Get-Recent-MATLAB-Documents-For-LaunchBar

Repository files navigation

Get Recent MATLAB Documents for LaunchBar

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.

Screenshot

Contents

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.

Installation

Option 1: Manual Installation

  1. Download the pre-packaged actions from the Action.zip.

  2. Extract the contents, which include:

    • Recent MATLAB Documents.lbaction
  3. Place these .lbaction files into your LaunchBar Actions folder:

    ~/Library/Application Support/LaunchBar/Actions
    
  4. Restart LaunchBar to load the new actions.

Option 2: Automatic Installation

Alternatively, you can simply double-click each .lbaction file. This will automatically install the action in LaunchBar.

Compilation Instructions

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.

  1. Open the Xcode project:

    • Open the Xcode project GetRecentMatlabDocuments.xcodeproj, which is located at the root of the project directory:
    open GetRecentMatlabDocuments.xcodeproj
    
  2. Set Build Configuration:

    • Go to Edit Scheme for each target and ensure the Build Configuration is set to Release for the final production build.
  3. 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.
  4. Manual Copy to LaunchBar Actions:

    • After building, copy the executable to the in:
      ~/Library/Application Support/LaunchBar/Actions/Recent MATLAB Documents.lbaction/Contents/Scripts
      

Usage

  • Activate LaunchBar and type the name of MATLAB.
  • Press space to display the recent documents directly from LaunchBar.

Donations

If you find this plugin helpful, consider supporting its development with a donation.

Buy Me a Coffee QR Code

Author

  • Author: Andrea Alberti
  • GitHub Profile: alberti42
  • Donations: Buy Me a Coffee

Feel free to contribute to the development of this plugin or report any issues in the GitHub repository.

About

Get recent MATLAB recent documents for LaunchBar

Resources

Stars

Watchers

Forks

Packages

No packages published