AppleScript – Changing Width of Dialog Box and Adding Text

applescript

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"

Best Answer

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.