GithubHelp home page GithubHelp logo

evandaley / electron-applescript-runner Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 4.23 MB

An applescript runner built with electron and react.

License: MIT License

JavaScript 56.70% CSS 2.17% TypeScript 38.31% HTML 2.82%

electron-applescript-runner's Introduction

Usage

This project makes it easy to write automation scripts on mac, and trigger them with 1 or 2 keystrokes. I use it to do various tasks like setting window configurations, controlling music, and opening specific applications, webpages, or converstations.

Running app

Workflow:

  1. Create and edit your automations in the applescripts folder.
  2. Boot up the app with yarn start.
  3. Start typing the name of a command and hit enter. Boom! The automation will run.
  4. You can speed up your workflow even more by using shortcuts. Typing the shorcut characters will immediately run the script. Shortcuts are listed inside brackets at the beginning of a command.

Other info:

  • To go really fast, use "shift + enter" to focus the app, and customize the shortcut keys (in brackets) to trigger scripts instantly. No need to touch the mouse or type extra keys.
  • Refresh the app with command + r (to reload applescript files).
  • To edit shortcuts, see src/inputMappings.ts

Its pretty magical when you use the keyboard shortcuts.

  • "shift + enter" to focus the app, then 1 to open evernote
  • "shift + enter" and 9 to focus VS Code
  • you can bind the really important/frequent stuff to shortcuts on the home row.

Install Dependencies

yarn

Starting Development

Start the app in the dev environment:

yarn start

Packaging for Production

To package apps for the local platform:

yarn package

electron-applescript-runner's People

Contributors

evandaley avatar

Stargazers

 avatar chvndler avatar  avatar

Watchers

James Cloos avatar  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.