Re: "Open for access weirdness"
Re: "Open for access weirdness"
So, FWIW, if I run the script in Script Editor in 10.6 double clicking the file open Script Debugger. If I run it in Script Editor it opens in Script Debugger when double-clicked.
But, if I quit Script Debugger and double-click the file it tries to open an older version of Script Debugger I had on my hard drive.
ES
On Jan 24, 2010, at 3:52pm, Deivy Petrescu wrote:
>
> On 24/01/2010, at 18:28 , Michelle Steiner wrote:
>
>> 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
>>
>
> Not here Michelle.
> I have two files that are opened by TextEdit.
> Did you change any settings with a get info windows?
>
>
>
> Deivy Petrescu
> email@hidden
>
>
>
> _______________________________________________
> 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
_______________________________________________
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