Dialog Director - Quit action
Dialog Director - Quit action
- Subject: Dialog Director - Quit action
- From: Duncan Cowan <email@hidden>
- Date: Sat, 26 Oct 2002 10:00:46 +1000
I've been playing with Dialog director in OS 9.2.1 - to create an "output"
preferences dialogue.
However I was having trouble getting the script to quit if the cancel button
was returned.
Reading the dictionary, I noticed that the "push button" class has an
"action" property that is triggered when the button is pressed.
Excellent! or so I thought....
Being a simple fellow I assigned the term "Quit" to my cancel button and
compiled.
Suddenly Script Editor (1.6) was asking if I wanted to save my script before
quitting!
This can't be the expected result . . . can it? =)
Oh . . Smile does the same thing . . .
Has anyone who uses DD have any ideas on what I'm doing incorrectly?
I've managed to solve the problem of quitting the script in another way so
it's merely a point of interest now anyway.
{class:push button, bounds:{10, 140, 75, 160}, name:"Cancel", action:
quit},
Cheers
Duncan
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.