Re: Akua Sweets and Writing long version resource?
Re: Akua Sweets and Writing long version resource?
- Subject: Re: Akua Sweets and Writing long version resource?
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 10 Aug 2001 17:26:14 -0700
On 8/10/01 2:05 PM, "T.J. Mahaffey" <email@hidden> wrote:
>
Hi folks.
>
>
I'm trying to use Akua Sweets osax to set the version of a file in it's info
>
box, but I can't seem to figure out how to word it. My attempts all error
>
out, but I know Akua has commands for this and I've looked them over in it's
>
dictionary...
>
>
Could someone shed some light? here's my latest attempt:
>
>
set long version of Extended Info Rec of thisItem to ("this is a test" as
>
text)
>
>
Can someone show me what I'm doing wrong?
>
Don't use the "class" extended info rec: you can't do anything with that.
Instead set a variable to the command 'extended info for':
set extInfo to extended info for thisItem -- an alias or file
Then use the 'apply catalog info' to actually change the properties of the
file:
set long version of extInfo to "this is a test"
apply catalog info extInfo to thisItem
--
Paul Berkowitz