• 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
<no subject>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

<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


  • Follow-Ups:
    • Re: <no subject> [Was Re: Akua Sweets and Writing long version resource?]
      • From: "Bob.Kalbaugh" <email@hidden>
    • Re: apply catalog info
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Spot Color In Illustrator 9
  • Next by Date: Re: apply catalog info
  • Previous by thread: Re: Spot Color In Illustrator 9
  • Next by thread: Re: apply catalog info
  • Index(es):
    • Date
    • Thread