• 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: "Open for access weirdness"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Open for access weirdness"


  • Subject: Re: "Open for access weirdness"
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 24 Jan 2010 16:28:18 -0700

On Jan 24, 2010, at 2:59 PM, Steve Thompson wrote:

That shouldn't happen in 10.6 but "makes sense" if you're running something earlier. You've created a file of type "TEXT" and the Pre 10.6 Finder will see the UTI of .txt and open it with the application associated with .txt. If there's no extension, the Finder will use the Creator to open the file. In 10.6 the Finder looks at the UTI and, if there isn't one, it looks at the file metadata...

macbook:Desktop steve$ mdls -name kMDItemContentType foo
kMDItemContentType = "com.apple.traditional-mac-plain-text"
macbook:Desktop steve$ mdls -name kMDItemContentType foo.txt 
kMDItemContentType = "public.plain-text"

They're both plain-text and TextEdit opens plain-text files, regardless of which App created the file to begin with.

So if you're not running Snow Leopard the answer is "Expected Behaviour". If you're running Snow Leopard - erm, don't know. Works properly here. :-S

Before using Snow Leopard, it created a textedit file, which would be opened in textedit when double-clicked.  Now, with Snow Leopard, it opens in Applescript Editor when doubled clicked.

-- Michelle

-- 
Don't dream it.  Be it.  --RHPS

 _______________________________________________
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: "Open for access weirdness"
      • From: Deivy Petrescu <email@hidden>
References: 
 >"Open for access weirdness" (From: Michelle Steiner <email@hidden>)
 >Re: "Open for access weirdness" (From: Steve Thompson <email@hidden>)

  • Prev by Date: Re: AppleScript-Users Digest, Vol 7, Issue 44
  • Next by Date: Re: "Open for access weirdness"
  • Previous by thread: Re: "Open for access weirdness"
  • Next by thread: Re: "Open for access weirdness"
  • Index(es):
    • Date
    • Thread