Re: Finder Version Wrong in OS X
Re: Finder Version Wrong in OS X
- Subject: Re: Finder Version Wrong in OS X
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 09 Apr 2002 20:04:25 -0700
On 4/9/02 7:35 PM, "John W Baxter" <email@hidden> wrote:
>
At 12:24 -0700 4/9/2002, Paul Berkowitz wrote:
>
> (It would need to be compiled in OS 9 with 'computer' instead of 'system
>
> attribute' to work there and in X, I think.)
>
>
It would need to be enclosed in a tell app "Finder" block, but given that
>
it should "magically" become computer when transported to Mac OS 9. When
>
transported back to Mac OS X, it will be in an unneeded tell block but
>
again become system attribute.
I had it in a finder block for that reason. it was not needed in OS X, where
I am now, but by putting it in a 'tell app "Finder" statement, it would also
work in 7/8/9, and doesn't hurt in X. But if you were compiling and saving
it in 9, rather than X as i was doing, you need to use the term 'computer'.
As you say, it magically converts itself from one to the other because it's
the same raw code, which in 9 is executed only in the Finder but in X
everywhere - including the Finder.
>
>
Very simple magic: same pair of four-byte codes, different terminology,
>
and a partial counter-argument to "don't put things in Finder tell blocks
>
unless you have to." Here's a case where you may want to for a while
>
longer in X.
Right.
--
Paul Berkowitz
_______________________________________________
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.