Giter Site home page Giter Site logo

alfred-appscripts's Introduction

AppScripts Alfred Workflow

GitHub Version GitHub All Releases GitHub

List, search and run/open AppleScripts for the active application in Alfred.

Download & Installation

Download the latest workflow release from GitHub. Open the workflow file to install in Alfred.

Usage

  • .as [<query>] — Show/search list of AppleScripts for the active application
    • — Run the selected script.
    • ⌘ + ↩ — Open the selected script in Script Editor.
    • ⌥ + ↩ — Reveal the selected script in Finder.
  • appscripts [<query>] — Show workflow configuration.
    • Help – Open this file in your browser.
    • (No) Update Available — Whether or not the workflow can be updated. Action the item to update or force an update check.
    • Search Directories Recursively – Whether the script directories should be searched recursively. Use with some caution.
    • Edit Script Directories — Open the configuration file in your default editor. The file contains a detailed description of how it works.
    • Reset to Defaults — Delete configuration and cache files.

Configuration

The workflow comes with a default set of directories. These are defined in a settings file that you can edit yourself. Use the Edit Script Directories option in the configuration (keyword appscripts) to open the file in your editor.

These are the default directories. {app_name} will be replaced with the name of the currently active application, e.g. BBEdit or OmniFocus, and {bundle_id} with the application's bundle ID, e.g. com.barebones.bbedit or com.omnigroup.OmniFocus2:

  • ~/Library/Scripts/Applications/{app_name}
  • ~/Library/Scripts/Applications/{bundle_id}
  • ~/Library/Application Scripts/{app_name}
  • ~/Library/Application Scripts/{bundle_id}
  • ~/Library/Application Support/{app_name}/Scripts
  • ~/Library/Application Support/{bundle_id}/Scripts
  • ~/Library/Containers/{bundle_id}/Data/Library/Application Support/{app_name}/Scripts

Any *.scpt, *.applescript, *.scptd (script bundle) or *.js (JXA) files found within the above directories will be shown.

If you add a directory path that doesn't contain {app_name} or {bundle_id}, it will match every application and the scripts will always be shown. See the settings file (AppScript Directories.txt) for more information.

Bug reports and feature requests

Please use GitHub issues to report bugs or request features.

Contributors

This Alfred Workflow comes from the abandoned Workflow of Dean Jackson

License

AppScripts Alfred Workflow is licensed under the MIT License

The workflow uses the following libraries:

The workflow uses following icons:

alfred-appscripts's People

Contributors

deanishe avatar harrtho avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.