<no subject>
<no subject>
- Subject: <no subject>
- From: "T.J. Mahaffey" <email@hidden>
- Date: Sat, 11 Aug 2001 10:12:28 -0700
Paul, thank you for your generous help. But I don't think I'm getting it
right... Here's how I've got it set up and it's not panning out. The error
essentially returns "can't set.... to 'this is a test'" and lists every
property within the file's info box. So it seems to be trying to set my test
string as EVERYTHING in the info box, not just the version field. Can you
show me what I'm doing wrong? Here's my excerpt:
set extInfo to extended info for thisItem
set short version of extInfo to "this is a test"
apply catalog info extInfo to thisItem
T.J. Mahaffey
email@hidden
>
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