Re: Why are these different?
Re: Why are these different?
- Subject: Re: Why are these different?
- From: "Serge Belleudy-d'Espinose" <email@hidden>
- Date: Tue, 26 Feb 2002 13:27:10 +0100
At 11:40 +0000 26/02/02, Mr Tea wrote:
Sorry, Serge. I should have said that the variable myFolder is a predefined
alias. Does that change anything?
Yes, more clues :)
'list folder <folder ref>'- whether <folder ref> is a string or an
alias- returns the list of folder item names as strings- including
invisible items unless you use 'without invisibles'. It's a Standard
Additions command that doesn't need to be in a Finder tell block.
'last item of myFolder' is a Finder command that needs to be in a
Finder tell block. It returns the list of visible items as 'item x of
folder y of disk z of application "Finder"'. Different list,
different items class.
Whether you want to use one or the other is a matter of your choice,
IMHO usually it's better to avoid the Finder.
Serge
--
\\//\//\// Serge Belleudy-d'Espinose Institut Jacques Monod - Jussieu
// // //
http://www.ijm.jussieu.fr/ Universites Paris VI, VII - CNRS
//\//\//\\
_______________________________________________
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.