Re: apply catalog info
Re: apply catalog info
- Subject: Re: apply catalog info
- From: "Marc K. Myers" <email@hidden>
- Date: Sat, 11 Aug 2001 15:27:49 -0400
- Organization: [very little]
>
Date: Sat, 11 Aug 2001 08:44:22 -0700
>
Subject: Re: apply catalog info
>
From: Paul Berkowitz <email@hidden>
>
To: Applescript-Users <email@hidden>
>
>
'short version' and 'long version' are both bad examples for you to be
>
trying to apply catalog info as a test, and I shouldn't have tried to abet
>
you!
>
>
Look at the Akua Dictionary for 'Class Extended Info Rec', which explains
>
what you'll find there:
>
>
short version string [r/o] -- the version string for the file (from the
>
Finder9s Get Info9 box)
>
long version string [r/o] -- the long version string for the file (from
>
the Finder9s Get Info9 box)
>
>
See the [r/o] for both of them? That means "read-only". You can't write
>
them. The versions are what they are - you can't pretend they're something
>
else. So 'apply catalog info' won't work for them. Try your test with
>
'desktop comment' and it should work. Other things to be aare of:
>
>
this_item
>
>
must be an alias or file:
>
>
file "Macintosh Hard Disk:Desktop Folder:Some File"
>
>
and don't do this in a Finder tell block.
I also discovered that despite the dictionary's inclusion of two version
fields, neither of them shows up in the results when "extended info for"
is run against a applet file that clearly has a version number. (Akua
Sweets 1.4.3)
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[8/11/01 3:26:02 PM]