Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a normal display dialog working using AppleScript within the Editor. How would one increase the width of the display dialog and add text under the input field and above the buttons. In advance, thank you for your time.

display dialog "EXAMPLE" with icon alias ((path to me) & "Contents:Resources:ICON.icns" as string) default answer (do shell script "SHELL SCRIPT HERE " & quoted form of (text returned of (display dialog "Enter String:" default answer "" buttons {"OK"} default button 1 with title "EXAMPLE"))) buttons {"OK"} default button 1 with title "EXAMPLE"
share|improve this question
up vote 1 down vote accepted

You can't control this with vanilla AppleScript. There may be a plugin/hack that lets you do this, but I haven't found one.

The best way to accomplish this is to use Xcode and AppleScriptObjectiveC.
Tutorials and a book on that are available here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.