josueespinosa / BingBackground-Mac

Small command-line program to set the Bing Image of the Day as your background
MIT License
30 stars 4 forks source link

Sandbox error message. #3

Closed Bicoid closed 8 years ago

Bicoid commented 8 years ago

Hi - I saw your posting on Reddit about this fantastic script of yours. I set up a repeating calendar event of it, and this morning it didn't run, and instead produced a pop-up that read:

"'BingBackground' can't be opened because Sandbox is not allowed to open documents in Terminal.'"

A quick Google search didn't give me much help figuring out what was going on - the most topical one was https://forums.developer.apple.com/thread/13901

Bicoid commented 8 years ago

Sorry - I didn't read further in the comments section on reddit, where my problem was solved. "Another comment in this thread fixed it for me. Basically tell Automator to "run a shell script" instead of opening an application. Then in the Run Shell Script window replace where it says "cat" with the path to BingBackground (e.g. /Applications/BingBackground.dmg)"