re: Strange problem with text item delimiters
re: Strange problem with text item delimiters
- Subject: re: Strange problem with text item delimiters
- From: David Crowe <email@hidden>
- Date: Mon, 30 Jun 2003 16:36:35 -0400
Kai;
I'm not sure about your analysis of the problem.
I'm trying to get the text items of the "name of aFile", which is not
the same as "aFile as string" (this gives the entire path name,
rather than just the name within its folder). So, I was not trying to
go directly from an alias.
I did try the following script:
tell application "Finder"
set aRandomFile to first file of startup disk
set FileName to (name of aRandomFile)
class of (FileName)
end tell
This gives "Unicode text" for the class (of the name of an alias),
which verifies Emmanual's point.
Given that this problem just started happening, I wonder if a recent
upgrade to AppleScript perhaps changes this, because I don't know how
the script previously worked (which it did).
- David Crowe
_______________________________________________
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.