Set creator type
Set creator type
- Subject: Set creator type
- From: email@hidden (Guillaume Iacino)
- Date: Sun, 24 Feb 2002 16:52:52 -0800
Hello,
I am still unfortunately a newbie and I can't figure it out what is
wrong in my script.
Basically I am trying to set the creator and file type to all the
files that finish by ".mov".
My script is:
set startFolder to choose folder with prompt "Select starting folder:"
set theList to FindFile in_folder (startFolder) name_ends_with ".mov"
with subfolders
tell application "Finder"
repeat with FileName in theList
-- beep
set the creator type of FileName to "TVOD"
set the file type of FileName to "MooV"
end repeat
end tell
I have an error in the set creator line, saying that it can't make
the first item returned of theList as an item. I do not understand
why I am getting this error.
theList does return a list of items.
Thank you in advance for your help.
--
/*
Guillaume Iacino
Product Support Manager - Totally Hip Software
201 - 1040 Hamilton Street Vancouver, B.C. Canada V6B 2R9
Tel:604.685.6525 x402 :
Fax:604.685.4057
<
http://www.blueabuse.com/> <
http://www.liveslideshow.com>
<
http://www.totallyhip.com/> <
http://www.totallyhip.com/lsdn/>
*/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.