On 7/27/07 12:53 PM, "Christopher Nebel" <email@hidden> wrote:
> ...though that's probably more complicated than you need. (For
> instance, it's a separate class because an album can have multiple
> pieces of artwork.) I'd lean towards iChat's model -- buddies simply
> have an "image" property, whose value is an image. I wouldn't worry
> unduly about trying to script the process of taking a picture.
>
> --Chris Nebel
> AppleScript Engineering
Yeah the iChat model is very close to my own usage. Funny though according
to the iChat dictionary that attribute is read only and returns a TIFF
image. Yet I've found one script that claims to write to it:
http://www.macosxhints.com/article.php?story=20070208143257620
Anyways, I guess my real confusion is how AppleScript handles images. I
don't see an image nor a binary data type. For iChat, the 'image' attribute
it uses "TIFF picture" data type but I can't find any reference to what that
is (online nor my books).
For my logo attribute:
<property name="logo" code="lOGO" description="For clients this is the
little icon in the sidebar, for the billing company this is the large logo
that appears at the top of an invoice." type="???">
<cocoa key="scriptingLogo"/>
</property>
What should the type be?
Are there any example Cocoa apps out there that have image attributes?
~ Mike
--
Work: http://ClickableBliss.com
Play: http://MikeZornek.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-implementors/email@hidden
This email sent to email@hidden