 |
 |
hide buttons in applescript dialog?
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Apr 2004
Status:
Offline
|
|
I've got an applescript dialog something like this:
Code:
display dialog "change made. relaunching finder..." giving up after 1
the idea is to tell the user, but not to get any input from them, and not the let them think that I need any input from them either...
I want to get rid of the buttons on the dialog. is there a good way to do so?
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status:
Offline
|
|
Not sure of the answer, but how do you plan to get rid of the dialogue without user input?
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
Originally posted by Brass:
Not sure of the answer, but how do you plan to get rid of the dialogue without user input?
That's what the "giving up" argument does -- the dialog dismisses itself after the specified number of seconds.
Also, I don't think AppleScript provides a way to display a dialog with no buttons. I'm not an expert, but I don't think there is one. I'd just make a dialog with a single "OK" button as is standard for informational panels like this.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Midwest
Status:
Offline
|
|
You can add the 24U Appearance OSAX from 24U Software. Take a look at the variety of interface options it gives you.
Craig
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Oct 2002
Location: Left Coast
Status:
Offline
|
|
You can't get a dialog with no buttons, but you can define only one button. What I've seen done for cases like this is to create a single button dialog with a bullet (option-8) for the button title. That is a hint to users that pressing the button is 'meaningless'. Like this:
display dialog "foo" buttons {"•"} giving up after 1
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status:
Offline
|
|
While it might not work in your case, AppleScript Studio can do this sort of thing.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |