Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.