Re: get list of PDF files
Re: get list of PDF files
- Subject: Re: get list of PDF files
- From: Emmanuel <email@hidden>
- Date: Fri, 14 Sep 2001 20:41:52 +0200
At 19:40 +0200 14/09/01, Bryan wrote:
>
tell application "Finder"
>
set theList to items in folder sourceFolder whose default application is
>
(appPath as alias)
>
end tell
>
>
...file creator is "CARO"
>
>
...file type is "PDF "
I had this work:
-------------------------------------------
tell application "Finder"
set theList to items in folder sourceFolder whose file type is "PDF "
end tell
-------------------------------------------
where sourceFolder is an alias to a folder which contains 2 pdf's and other
files.
OS: FU1-9.1
AppleScript: FU1-1.6
Carbon: 1.3.1
Smile: 1.8.4
If this used to work and does not, could it be possible that the folder
contains too many items?
You don't really state what your snippet returns. Could it be returning an
error (such as number -108 = Memory full)?
Emmanuel