window titles

I was wondering if it was possible to have there be a title in a applescript “display dialog” window.

Only in AppleScript 1.10 or later. (That’s OS 10.4 aka Tiger.)

display dialog "Look at my title." buttons "OK" default button 1 with title "I have a title!"

Hi copde_monkey,

If you just need a button press response you can use display alert, which is part of Standard Additions. See the Standard Additions dictionary > User Interaction > display aleert.

display alert "The Title" message "The rest of the text" as warning buttons {"One", "Two", "Three"} default button "One" cancel button "Three" giving up after 10

Best wishes

John M

(Note: This is probably AS 1.10 only also.)

Yes, it is.