Re: "Open for access weirdness"
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