-
Notifications
You must be signed in to change notification settings - Fork 138
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
unable to run script in Automator #13
Comments
Try putting the full path to the executable. Use
|
If you have installed an updated version of bash with homebrew and set it to your default shell (as I have), then Automator tries to use it by default but it doesn't seem to work. I had to manually change the Shell dropdown in Run Shell Script to /bin/bash and use the full path to displayplacer, and now it's working. |
Thank you both! I was able to get Automator to behave, you've both been great help! |
Thank you guys, exactly what I was looking for! |
Hi. If somebody has the inverse problem, where Automator points to /bin/bash, but display placer is on /usr/local/bin/ which does not appear in the dropdown menu, insert |
Thanks for this I was getting very frustrated with automator ;) @jordanjennings |
Excellent! This solved my same problem. Thank you Jake! I love Displayplacer so much!! |
@jordanjennings Thanks for the info regarding the path. Automator was driving me crazy :) |
Sorry, I'm new to Automator and recently installed Homebrew just for this. Can I create this as a Quick Action and assign it to a hotkey as a service shortcut? If so, the following code is not working in a Shell Script where the shell is
I get the error No such file or directory. |
Try to write this: rest the same: |
Hey thanks! However, it keeps giving me an error stating displayplacer: command not found. I can get it to work in the terminal without the export path.
|
I can run a script that was generated just fine within the terminal window, and it works great! I'm trying to run the script in automator and always generates an error.
The script is:
displayplacer "id:4FA1B805-30CE-5C25-29B6-D8D149F68FEC res:1920x1200 color_depth:8 scaling:off origin:(0,0) degree:0" "id:54EF03AE-1045-6AAE-C0BD-AC5CACC7C273 res:1920x1200 color_depth:8 scaling:off origin:(1920,0) degree:0"
and the error in automator is:
"displayplacer: command not found"
What am I missing? seems pretty straight forward and I just can't get it to work :(
The text was updated successfully, but these errors were encountered: