Selecting a file by creator
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