josh- / automating-macOS-with-JXA-presentation

Slides & sample code from the "Automating macOS with Javascript for Automation" talk, given at the MelbJS meetup
69 stars 5 forks source link

Looking for Example Automator/JXA Code to Run JXA #1

Open JMichaelTX opened 3 years ago

JMichaelTX commented 3 years ago

Josh,

Thanks for all that you have shared. I find it very useful.

In your WWDC 2014 presentation, you showed an Automator workflow that would run a JXA in the front most app -- any app. Could you please share this Automator workflow?

I have looked everywhere, and can't find it.

Many Thanks, JMichaelTX

josh- commented 3 years ago

Hey @JMichaelTX,

I'm not sure I fully understand your question but I'd be happy to help! In my presentation I referred to the system wide script menu in Script Editor.app, and this was also mentioned in the WWDC 2014 session on JavaScript for Automation. However this doesn't run automator workflows – just scrips.

I also included screenshots from WWDC 2018 regarding the ability to run Automator Quick Actions from any app using the Touch Bar if that's what you're referring to?