At 11:50a -0400 05/25/2003, David Livesay didst inscribe upon an
electronic papyrus:
>tell application "GraphicConverter"
> open {alias "Drive:folder:blah.jpg"}
> set comment of window 1 to "Blah"
> save window 1
> close window 1
>end tell
At least in the current GC, you need to ensure that the comment is in
plain text (as in literals), not styled (as you might get in a
variable). My workaround was to write the following subroutine and
use it on all my imported strings:
on RemoveStyles(t)
local t, rec
try
set rec to t as record
set t to «class ktxt» of rec
end try
t
end RemoveStyles
I sent email to the developer asking for transparent coercion, so
maybe someday this workaround won't be needed.
At 11:08a +1300 05/26/2003, Joe Barwell didst inscribe:
>What about François Pottier's Edit JFJF Comment?:
><http://pauillac.inria.fr/~fpottier/edit.html.en> The advantage over
>GC here would appear to be its losslessness (is that a word?).
Disadvantage: it's not OS X native (I think Bill is using OS X).
-boo