• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to close-quit an osascript making a dialog box?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: How to close-quit an osascript making a dialog box?
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: BUG: Store script Perversity - it's the Quit handler!
  • Next by Date: Re: Basic instinct
  • Previous by thread: Re: Basic instinct
  • Next by thread: Re: How to close-quit an osascript making a dialog box?
  • Index(es):
    • Date
    • Thread