• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
re: Strange problem with text item delimiters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Strange problem with quotes running away and hiding!
  • Next by Date: Re: OSX Coding Help
  • Previous by thread: Re: Strange problem with text item delimiters
  • Next by thread: Attachments im Mail.app
  • Index(es):
    • Date
    • Thread