• 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: OS 9 or Classic, that's the question :-)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Panther Script Editor autocomplete
  • Next by Date: Re: Panther: AppleScript 1.9.2 Release Notes
  • Previous by thread: Re: OS 9 or Classic, that's the question :-)
  • Next by thread: Apple's Folder Actions Setup Utility for Panther
  • Index(es):
    • Date
    • Thread