• 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: Dialog Director Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialog Director Questions


  • Subject: Re: Dialog Director Questions
  • From: JJ <email@hidden>
  • Date: Tue, 06 Nov 2001 20:11:34 +0100

> I have built some scripts that use Dialog Director elements, one of them
> being a PICT resource. The image is embedded properly in the PICT resource
> of the script, ref'd properly in the script. However, when running the
> compiled script from within Entourage, the image does not show up.

If you run the script from within a scripts menu (the Entourage's one, or
other app's one), it "reads" resources from the app itself.
I.e., (path to me) is (path to the app), not (path to the script)

If you copy-paste the PICT rsrc into Entourage's own resources, you'll see
your pict when running the script.
I.e.2:
display dialog "Hello" with icon 257
-- you'll see (bad) Entourage's "cicn" rsrc 257
-- if run from OSA Menu you'll se no icon

JJ


  • Prev by Date: Re: tell syntax - specifying the APPL with a preset string
  • Next by Date: Re: Validate user input
  • Previous by thread: Dialog Director Questions
  • Next by thread: Sorting with Akua Sweets
  • Index(es):
    • Date
    • Thread