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: Sander Tekelenburg <email@hidden>
- Date: Tue, 21 Aug 2001 16:05:30 +0200
At 17:26 -0700 UTC, on 10-08-2001, Paul Berkowitz wrote:
>
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 [...]
>
>
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
Does this actually work? On all the machines I've tried, "extended info
for [alias]" doesn't return any version string at all. When I run the
above, Script Editor just returns an error at the second line, saying
it can't set long version of thisFile to "this is a test".
AkuaSweets 1.4.3
Mac OS 8.6, 9.0.4 and 9.1
Would be great if I could get this to work. Scripting ResEdit isn't
exactly fun ;)