Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running external scripts #6

Open
Ricardo1980 opened this issue May 21, 2016 · 3 comments
Open

Running external scripts #6

Ricardo1980 opened this issue May 21, 2016 · 3 comments

Comments

@Ricardo1980
Copy link

Just a suggestion, if it is not possible right now:
The possibility to run an applescript that is in an external file.

@clumsyCoder00
Copy link

I was able to run an external script file saved as an app with the code as follows in the config file:

` {
"accessory": "Applescript",
"name": "Nest Fan",
"on": "tell application ''/Volumes/Media Drive/ownCloud/Documents/Hobbies/Computer/Software Files/Applescript/Alfred/Fan On.app'' to activate",

"off": "tell application ''/Volumes/Media Drive/ownCloud/Documents/Hobbies/Computer/Software Files/Applescript/Alfred/Fan Off.app'' to activate"
}`

This runs a script app called "Fan On.app" with the "on" command and a file called "Fan Off.app" with the "off" command.

@bradleyrawleigh
Copy link

Yes. I've done something similar with iTunes and airplay device control through steps I found online from others with additional edits made myself. If you'd like I. An post additional examples.

@bradleyrawleigh
Copy link

Sorry. If you'd like I can post additional examples***

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants