• 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: choose from list bug??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: choose from list bug??


  • Subject: RE: choose from list bug??
  • From: David Marshall <email@hidden>
  • Date: Wed, 28 Mar 2007 20:11:10 -0400

On Tue, 27 Mar 2007 12:15:06 -0700, "Stockly, Ed" wrote:

Off the top of my head I can only think of a one case where a value can be
coerced by placing the class first:


  date "3/27/2007"

But that form doesn't work with most other classes

I don't understand this. How else do we navigate the file system but by this kind of coercion?


- - - - -

set theString to "/Library"
set theFile to POSIX file theString
set theAlias to alias theFile
tell application "Finder" to set theFolder to folder theAlias
set theList to {class of theString, class of theFile, ¬
	class of theAlias, class of theFolder}
-->{string, «class furl», alias, folder}

- - - - -

Or are you referring only to the coercion of numerical values?

- - - - -

Dave _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: choose from list bug??
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Entourage
  • Next by Date: Re: Shell grep help - how to get only first occurrence of match?
  • Previous by thread: RE: choose from list bug??
  • Next by thread: Re: choose from list bug??
  • Index(es):
    • Date
    • Thread