How to close-quit an osascript making a dialog box?
How to close-quit an osascript making a dialog box?
- Subject: How to close-quit an osascript making a dialog box?
- From: Jerry Krinock <email@hidden>
- Date: Sun, 29 Dec 2002 13:12:37 -0800
Hi,
I would like Unix cron to display a dialog box. I have put the following
command line in the crontab:
osascript -e 'display dialog "Hello World"'
Very cool. I get a dialog box "Hello World", a Cancel button and an OK
button. I can move the dialog box, but nothing happens when I click the
buttons. I cannot close the dialog box.
The same thing happens if I execute the above command in Terminal, except in
addition the osascript process hangs. The box finally goes away if I close
the Terminal window or kill the process from another Terminal window.
How do I make an osascript dialog close and quit?
Thanks!
Jerry Krinock
San Jose, CA USA
_______________________________________________
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.