Hi there!
I’ve been trying to make a custom dialog in Applescript Studio, and I so confused myself that I don’t think I’m ever going back to that forum!!!
So how can I make a big dialog, with a large text field, without using Studio?
Hi there!
I’ve been trying to make a custom dialog in Applescript Studio, and I so confused myself that I don’t think I’m ever going back to that forum!!!
So how can I make a big dialog, with a large text field, without using Studio?
You could try this
tell application "Finder"
activate
display dialog "This uses returns as spaces. ie newlines " default answer "
" buttons {"OK"} default button 1
end tell
Thanks, I hadn’t thought of that.
And is there any way to have two text fields in one dialog?
Not in plain apple script AFAIK
You could simply make individual entries on separate lines of the dialog - and then parse the results, visciousfishes. You might like to take a look at the short article about A single dialog to handle multiple entries.
Unfortunately, the demonstration code that I produced for the piece appears to have become corrupted. Until we can get it fixed, I’ll repost it here. In any case, this version has been modified so that it produces similar results in both Tiger and Panther:
Edit: Since the issue mentioned has now been resolved, just click on the above link for both the article and the code.
Thanks kai, that is great!
P.S. I don’t know who runs this place, but I have found the forum and everyone here very helpful, THANKS!