Answer?? Move .ps files to Distiller Watched Folder?
Answer?? Move .ps files to Distiller Watched Folder?
- Subject: Answer?? Move .ps files to Distiller Watched Folder?
- From: email@hidden
- Date: Tue, 02 Oct 2001 14:13:02 -0500
- Priority: normal
WES said try...
tell application "Finder"
set postscriptList to (every file in folder (sourceFolder)) whose name
contains ".ps" -- line wrap
repeat with i in postscriptList
move i to folder (targetFolder)
end repeat
end tell
==========================================================================
Wes and Scripters,
I got my answer at the same time I received your response. Any caveats to
writing it as such:
--------------------
tell app "Finder"
move (every file of foldertoprocess whose name contains ".ps") to "Folder"
end tell
--------------------
I notice you use a repeat. Is this because the finder may "Balk" at folders
with too many files? Or is it just faster than the "Move Every File"?
Thanks for the quick response - Jerry "with the dim glow to the bulb" me