• 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
Answer?? Move .ps files to Distiller Watched Folder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Answer?? Move .ps files to Distiller Watched Folder?
      • From: Eric Schult <email@hidden>
  • Prev by Date: Re: How to add "\n" to text?
  • Next by Date: Re: repeat problem
  • Previous by thread: Name of AS Extension, Folder Action Extension on US Systems
  • Next by thread: Re: Answer?? Move .ps files to Distiller Watched Folder?
  • Index(es):
    • Date
    • Thread