Re: OS 9 or Classic, that's the question :-)
Re: OS 9 or Classic, that's the question :-)
- Subject: Re: OS 9 or Classic, that's the question :-)
- From: kai <email@hidden>
- Date: Fri, 31 Oct 2003 02:20:25 +0000
on Thu, 30 Oct 2003 14:25:52 -0800, Walter Ian Kaye wrote:
>
At 08:01p +0000 10/29/2003, kai didst inscribe upon an electronic papyrus:
>
>
> on Wed, 29 Oct 2003 03:05:34 -0800, Walter Ian Kaye wrote:
>
>
>
>> OK, I just thought up a new method:
>
>>
>
>> tell app "Finder" to set OS9 to (application file id "MACS" as alias as
>
>> string) does not end with ":"
>
>>
>
>> Howzzat? :-D
>
> I'm not sure the 'as alias' is needed, boo -
>
>
It's how I get the ":".
Ah yes, so it is. (Makes no difference for most apps in OS 9, where I was
testing at the time - but clearly does for package folders in OS X.) :-)
-------------------------
tell application "Finder" to set f to application file id "ttxt"
f as string = f as alias as string
--> true -- (OS 9)
--> false -- (OS X)
-------------------------
---
kai
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.