• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reading a pdf text file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading a pdf text file


  • Subject: Re: Reading a pdf text file
  • From: Gil Dawson <email@hidden>
  • Date: Sun, 9 Jan 2005 16:05:05 -0800

Thanks everyone for your help. This is so cool, working with such interesting people...

At 3:13 PM -0800 1/7/05, Roger Howard wrote:
http://users.phg-online.de/tk/MOSXS/

At 1:03 AM +0100 1/9/05, Emmanuel wrote:
I suppose it's a UNIX executable. You have to call it from Terminal, or with "do shell script".

At 9:48 AM -0700 1/9/05, Steven Sanders wrote:
Copying reduces all multiple spaces to a single space.

Thanks, Steven. That's important to know, because it makes makes chasing an alternative potential solution worthwhile.


At 9:40 AM -0800 1/9/05, Paul Berkowitz wrote:
why are you doing it in the Terminal?

At 10:44 AM -0500 1/9/05, Richard Smykla wrote:
After installing the xpdf-tools package, the command-line tool pdftotext can be found in the /sw/bin/ directory. (At least that is where it installed by default on my machine.)

I'm not sure it went into the same place on mine, but then I haven't found the /sw/bin directory on my machine yet.


Here's what I tried:

1. I tried running your suggested script, and got an error on the "do shell script" line:

    "sh: line 1: /sw/bin/pdftotext: No such file or directory"

2.  I searched for both pdftotest and xpdf using the following technique:
    In a Finder window, I clicked on the topmost (computer) icon in the
    left pane, then typed my search string into the Q-selection area on
    the right side of the window's top sash.  I then typed Enter.

    [The reason I mention my technique is that I have tried another,
    starting with command-F in the Finder, that seems totally worthless.
    Sometimes I think it couldn't find honey in a beehive.]

    For pdftotext, nothing appeared, even after the spinning bearded
    circle near the bottom right of the window disappeared.

    For xpdf, I got four hits.  Three were expected: the downloaded file
    name, the pseudodisk name, and the xpdf-tools.pkg inside the
    pseudodisk.

    A fourth hit has the same icon as the xpdf-tools.pkg file inside
    the pseudodisk, except that it is only 84KB in size and was both
    created and modified today, at about the time I installed xpdf.
    It is at TopDisk->Library->Receipts->xpdf-tools.pkg

3.  I searched for "sw" (using the above technique) and got zillions of hits,
    but no folder with the explicit name "sw".

I am using MacOS 10.3.7. I bought the O'Reilly book on Panther, but I haven't finished reading it yet.

--Gil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Reading a pdf text file
      • From: Martin Orpen <email@hidden>
References: 
 >Reading a pdf text file (From: Gil Dawson <email@hidden>)
 >Re: Reading a pdf text file (From: Roger Howard <email@hidden>)
 >Re: Reading a pdf text file (From: Richard Smykla <email@hidden>)

  • Prev by Date: Re: Converting Hex to binary
  • Next by Date: Re: Reading a pdf text file
  • Previous by thread: Re: Reading a pdf text file
  • Next by thread: Re: Reading a pdf text file
  • Index(es):
    • Date
    • Thread