• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PICTs and Dialog Director
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >PICTs and Dialog Director (From: Cliff <email@hidden>)

  • Prev by Date: Re: How to use delimiters in Standard Additions file read/write commands?
  • Next by Date: Re: FileMaker ARGH!!!!
  • Previous by thread: PICTs and Dialog Director
  • Next by thread: Re: PICTs and Dialog Director
  • Index(es):
    • Date
    • Thread