sort error
sort error
- Subject: sort error
- From: email@hidden
- Date: Thu, 17 Jun 2004 07:35:41 -0600
When I used "sort" in os 9, it worked, why doesn't it work in os X--and
more importantly, how do I fix it?
I'm guessing it doesn't work on lists of alias'. If so, how do I change
the dropped files to strings only?
on open theList
fileinput(theList)
end open
on fileinput(theList)
tell application "Finder"
set theList to (sort theList by name)
repeat with thisimage in theList
--do something with the file from theList
end repeat
end tell
end fileinput
--error from script debugger:
(* Finder got an error: {alias "C:Users:dstevens:Desktop:1.pdf", alias
"C:Users:dstevens:Desktop:3.pdf", alias
"C:Users:dstevens:Desktop:2.PDF", alias
"C:Users:dstevens:Desktop:0.pdf"} doesn't understand the sort message.
*)
--All "alias" are highlighted blue.
--
David Stevens
Carr Printing Co.
_______________________________________________
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.