I am not knowledgeable about shell scripting, but I'm using a command for merging files together, which works great on my computer, but when I move it to someone else's computer, it generates error 127.
The initial variable setup include also this:
set Processing to path to resource "Processing" set AppendWorkflow to Processing & "AppendIndesignPDFPages.workflow" as string set AppendWorkflow to quoted form of (POSIX path of AppendWorkflow)
The command I use in the longer script and that are generating the error are these:
set command to "/usr/bin/automator " & AppendWorkflow set output to do shell script command
When working correctly (that is all the time in my computer) I get a set of merged documents into a single PDF. But, like I said, when running the same script on another computer we get the 127 error (the rest of the script runs correctly on the other computer). My searching around for an answer seems to indicate that, instead of a permissions problem (my first guess) I should have a full path to the command. Since I don't know enough about shell scripting, I can't tell if I have it or not.
Any hints to a solution?