Re: Dialog Director Questions
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