companion-module-requests icon indicating copy to clipboard operation
companion-module-requests copied to clipboard

Running AppleScript

Open hadphild opened this issue 7 years ago • 6 comments

Could we get AppleScript running.

Would be great to get iTunes controlled?

hadphild avatar Dec 04 '18 21:12 hadphild

I hear you. Someone needs to make a listener software that can execute applescript. Currently I'm using qlab for pure applescript execution, works great. It has no place in core, though. I'll leave the issue open.

willosof avatar Jan 19 '19 15:01 willosof

Moving this to module requests so we can track it there and decide if it is something that we will add/support (generic OS execution).

josephdadams avatar Aug 23 '19 14:08 josephdadams

We have generic OS execution through the internal shell script action, so we can close this, yeah? @willosof

josephdadams avatar Mar 13 '20 02:03 josephdadams

There's a lot of things that could be done with an AppleScript module that can't be done with shell scripts. Most notably, feedback/variables. For instance, I'd love to be able to use AppleScript to run "get output volume of (get volume settings)" and put the current system volume on a button.

quentinmit avatar Apr 28 '20 05:04 quentinmit

You can use osascript to trigger applescript from the generic shell. I've used that in a production environment quite reliably. I don't have the files in front of me to check how we did it, but on a show last November one of my guys figured out a feedback mechanism to have the applescript trigger further companion actions as well.

mcelreafilms avatar May 15 '20 21:05 mcelreafilms