Automator Variable in shell script

To complement @Ned Deily’s answer: (Written as of OS X 10.9.2, still current as of OSX 10.10) It is often not necessary to create and use explicit variables in Automator (using the Set Value of Variable and Get Value of Variable actions). The previous action’s output is automatically passed to a Run Shell Script action. … Read more

macOS Mojave, Automator “Not authorized to send Apple events to System Events.”

This is definitely a part of Mojave’s new security framework. In terminal try osascript -e ‘tell application “Finder”‘ -e ‘set _b to bounds of window of desktop’ -e ‘end tell’ and you may receive: 36:42: execution error: Not authorized to send Apple events to Finder. (-1743) What is supposed to happen on the first execution … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)