Re: yellow alert box
Re: yellow alert box
- Subject: Re: yellow alert box
- From: Xandra Lee <email@hidden>
- Date: Wed, 8 Nov 2000 12:17:10 -0500
>
hi,
>
>
i'm trying to write a script that creates the yellow alert boxes. I'm using
>
dialog director but I don't see the option to change the interior color of
>
the window. If someone knows how to script the alert box without* using
>
dialog director, I'd prefer to do so.
>
>
thanks,
>
matt
You can skip 3rd party OSAXen altogether using a method suggested by
Danny Goodman:
Open a copy of your script in Resedit then add a cicn resource
-- give your new icon a rescource id higher than 128.
(if your not artistic just copy the the standard yellow icon from nearly
any program and paste it into your cicn editing window.)
For example you could add an cicn resource with ID number of 129.
Then you could use
display dialog with icon 129
Danny Goodman had step by step instructions in his Applescript Handbook
(p126)
According to Goodman, display dialog looks for icons in the following
order:
1. Script file (I don't know if this includes both applets and compiled
scripts)
2. Current Application object
3. System.
Sorry if this sounds confusing, sorry my brain is fried from an election
night allnighter.
If you find this confusing, I can send you a sample script. I expect to
reasonably copus mentus (sp?) by tommorrow.
xandra
Alixandra Leigh
AceDesign
email@hidden
------------------------------------------
Furniture:
><
http://home.rochester.rr.com/alexleighs/furniture/furniture.htm>
Renderings:
><
http://home.rochester.rr.com/alexleighs/interiors/interiors.htm>