• 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
Selecting a file by creator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selecting a file by creator


  • Subject: Selecting a file by creator
  • From: Kevin Diffily <email@hidden>
  • Date: Wed, 25 Apr 2001 10:54:30 -0400

I am trying to create a script that will allow me to move all files that are created by an Application (Eudora) to a folder that I select. The script does not seem to recognize the files. I tried it with a different creator code for a BB Edit file and it still does not recognize the files so I know it must be in my syntax.

tell application (path to frontmost application as text)
set the chosen_folder to (choose folder with prompt "Folder to place Searches in
")
end tell
tell application (path to frontmost application as text)
tell application "Finder"
activate
select (every file whose file creator is "CSOm")
move selection to chosen_folder
end tell
activate
end tell





Kevin Diffily
InterNetWorkingSolutions
Enterprise Class Solutions for All Enterprises PO Box 152, Cabot, VT 05647 USA
VOICE: 866.563.3100 (Toll Free), 802.563.3100
VOICEMAIL: 888.726.9030
FAX: 888.726.9030 Sales: email@hidden
General Information: email@hidden
Website Hosting: email@hidden
Systems Administration Services : email@hidden
Technical Support & Training Services: email@hidden
--
Kevin Diffily
InterNetWorkingSolutions
Enterprise Class Solutions for All Enterprises PO Box 152, Cabot, VT 05647 USA
VOICE: 866.563.3100 (Toll Free), 802.563.3100
VOICEMAIL: 888.726.9030
FAX: 888.726.9030 Sales: email@hidden
General Information: email@hidden
Website Hosting: email@hidden
Systems Administration Services : email@hidden
Technical Support & Training Services: email@hidden


  • Follow-Ups:
    • Re: Selecting a file by creator
      • From: Pier Kuipers <email@hidden>
    • Re: Selecting a file by creator
      • From: Bill Briggs <email@hidden>
    • Re: Selecting a file by creator
      • From: Sander Tekelenburg <email@hidden>
  • Prev by Date: Photoshop 6 affliction
  • Next by Date: RE: Photoshop 6 affliction
  • Previous by thread: RE: Photoshop 6 affliction
  • Next by thread: Re: Selecting a file by creator
  • Index(es):
    • Date
    • Thread