• 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
Finder - getting file type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder - getting file type


  • Subject: Finder - getting file type
  • From: DizzyPenguin <email@hidden>
  • Date: Thu, 23 Dec 2004 07:40:31 +0000

Hi all,

Is there anyone that can tell me why the below first snippet would *randomly* fail (on a OSX 10.3.7 system) while the second one doesn't, while choosing the same file?

-- start
set x to choose file
tell application "Finder" to set y to file type of x
--end

-- start
set x to choose file
set x to info for x
tell application "Finder" to set y to file type of x
--end

Regards,
Guy
--
DizzyPenguin * autoMAC-it
email : <email@hidden>
website : <http://www.dizzypenguin.com/automac-it/>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Finder - getting file type
      • From: Bill Briggs <email@hidden>
    • Re: Finder - getting file type
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Finder acting up
  • Next by Date: Re: Finder - getting file type
  • Previous by thread: Re: Changing Printers
  • Next by thread: Re: Finder - getting file type
  • Index(es):
    • Date
    • Thread