Re: without buttons
Re: without buttons
- Subject: Re: without buttons
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 10 Jul 2001 18:44:04 -0700
On 7/10/01 3:41 PM, "Robert Poland" <email@hidden> wrote:
>
Wizards,
>
>
I watched and tried the scripts using
>
>
Display Dialog "Text" giving up after 2 without buttons
>
>
Am I mistaken in thinking that "without buttons" should yield a
>
window without buttons?
>
>
All I get is a single button labeled "False".
>
>
Display Dialog "Text" buttons "" giving up after 2 buttons ""
>
>
will at least give a blank button.
>
>
OR
>
>
Do I need one more OSAX to make this work?
>
>
It occurs to me if I was able to create a window "without buttons"
>
and if I didn't give up, the script wouldn't either.
I was rather amazed to see the suggestions that you use "without buttons".
I've never seen that. As you say
buttons {""}
Or
buttons ""
For a blank button is the best you can do. Why not just do the usual of
buttons {"OK"} default button "OK" giving up after 2
-- continue with rest of script
That way it doesn't matter if someone clicks it or not. Dialog Director osax
can do anything you want with dialogs but is extremely difficult to learn
(it's like a whole application). Is it really worth it for something so
simple? I think Akua Sweets may be also worth looking into for just posting
a dialog and removing it.
--
Paul Berkowitz