Re: applescript-users digest, Vol 2 #1089 - 15 msgs
Re: applescript-users digest, Vol 2 #1089 - 15 msgs
- Subject: Re: applescript-users digest, Vol 2 #1089 - 15 msgs
- From: julifos <email@hidden>
- Date: Thu, 20 Sep 2001 19:40:12 +0200
>
I know dialog director pretty well, but when it comes to inserting picts in
>
the dialog box - over my head. :-)
>
>
They way I would think you'd insert a pict is like this:
>
>
{class:pict, bounds:{0, 0, 100, 100}, contents:129}
>
>
129 refers to the Id from ResEdit.
>
>
But when I run the dialog, the pict doesn't appear. What am I doing wrong?
>
Thanks
There isn't problem if you run the script from Script Editor, but when
you save the script into an applet and run it, it's an app itself, and it
doesn't exists PICT id 129. If you want applescript PICT, you should copy
it from "Script Editor" into "Your New App".
So, if you wish use a PICT resource, you should "read" it from any source
(an app, a res edit file...) of include it into your applet's resources.
JJ