shell() and pdftotext

hh hh at hyperhh.de
Tue Jan 14 06:06:50 EST 2020


> Richard H. wrote:
> Typing to Terminal „pdftotext“ I get a List with command-options. 
> With get shell(„pdftotext“) with and without quotes
> I get the answer „/bin/sh: line 1: pdftotext: command not found“
> What is wrong? May you please help? (MacOS Catalina).

You could add on startup /usr/local/bin
to the LC environment variable $PATH:

on startUp
  local ulb="/usr/local/bin"
  set itemdel to ":"
  if ulb is not among the items of $PATH
  then put ":"&ulb after $PATH
end startUp



More information about the use-livecode mailing list