I’m having trouble calling the shell command pdftotext with a “do shell script” step. I recently installed pdftotext in /usr/bin and it runs fine in Terminal. “/usr/bin” is listed in my $PATH variable.
However, AppleScript gives me the error: “sh: line 1: pdftotext: command not found”.
How can I get AppleScript to see commands in /usr/bin?