Re: PICTs and Dialog Director
Re: PICTs and Dialog Director
- Subject: Re: PICTs and Dialog Director
- From: JollyRoger <email@hidden>
- Date: Sun, 18 Mar 2001 18:56:48 -0600
on 3/18/2001 2:52 PM, Cliff at email@hidden wrote:
>
I create a script using Smile and have it all set up to make a window using
>
Dialog Director. Then using ResEdit I put a PICT resource into that
>
AppleScript. In the setup for Dialog Director I put
>
>
{class:pict, bounds:[15, 25, 15 + 195, 25 + 168], contents:256}]}
>
>
Where the 195 and 168 is the width and height of the PICT in pixels and the
>
256 is its resource number.
>
>
It doesn't show up in the dialog box. I am slightly floundering because I am
>
not too sure if what I am doing is correct, so may be leading myself up the
>
wrong path.
I believe if you are running this applet in a script editor, then you will
have to add the resource to the script editor rather than the script. if
you are running the script stand-alone, however, what you have shown should
work fine.
JR