Community Information
-
•
Automator bash code runs only when started manually
I have created a 'Run shell script' file in Automator - it works perfectly well when running it using the 'play' button in Automator, or running the same code from the terminal app. [https://imgur.com/a/vDAvghw](https://imgur.com/a/vDAvghw) I wanted to add a keyboard shortcut for this Automator job, but when using it via the shortcut, the little gear runs, but the script doesn’t execute as expected. my shell script: `#!/bin/bash` `/Users/shanekm/Applications/InputSwitcher/hidapitester --vidpid 046D:B020 --usagePage 0xFF43 --usage 0x0202 --open --length 20 --send-output 0x11,0x00,0x0C,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00` `#/Applications/DDPM/DDPM.app/Contents/MacOS/DDPM /writepxp off;` `exit 0`5
© 2025 Indiareply.com. All rights reserved.