• 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: Inconsistency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inconsistency


  • Subject: Re: Inconsistency
  • From: Bruce Horrocks <email@hidden>
  • Date: Wed, 20 Jan 2010 17:50:16 +0000

On 19/01/2010 23:24, Luther Fuller wrote:
Let's do some mathematics ...

Statement 1 A .scpt document created and saved by AppleScript Editor
will open with ASE when double-clicked. Proof: It was created by
ASE.

Statement 2 A .scpt document has a Smile icon and opens with Smile
when double-clicked. Proof: Double-click it.

But, both of these statements cannot be true. We have a mathematical
inconsistency, also known as a "bug". Does anyone know what is
screwed-up here?

Have a look at: <http://developer.apple.com/mac/library/documentation/Carbon/Conceptual/LaunchServicesConcepts/LSCConcepts/LSCConcepts.html#//apple_ref/doc/uid/TP30000999-CH202-SW21>

Essentially: if two files have the same extension then Launch Services will use the Creator Code, if present, to determine which application to use to open the file. Your two .scpt files presumably have different Creator Codes.

Regards,
--
Bruce Horrocks
Surrey
England
(bruce at scorecrow dot com)
_______________________________________________
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: Inconsistency
      • From: Shane Stanley <email@hidden>
References: 
 >Inconsistency (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Inconsistency
  • Next by Date: Re: Applescript Trivia: Black & White Pinwheel?
  • Previous by thread: Re: Inconsistency
  • Next by thread: Re: Inconsistency
  • Index(es):
    • Date
    • Thread