Hello, I believe to remember that it exists a scripting addition that reset the Mac without confirmation. The syntax is tell application " Finder " activate shutdown restart true end tell Care is a shut down that if it requests confirmation!! If you want the scripting addition you tell it to me and him the control by mail. I hope it serves you. Sergio Montoro > I haveRuntime version of a script that monitors two mounted volumes. If ether > volume disconnects I want the computer to restart automatcally to try to > reconnect. However when I do the following: > > MacPerl::DoAppleScript(<<END); > tell application "Finder" > restart > end tell > END > > MacPerl wants to confirm that I want to quit. Is there a way to by pass this. > > > > > > > > # ===== Want to unsubscribe from this list? > # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org > ------------------------------------------------- Sergio Montoro Rodriguez <montoro@sicon.net> Dpto. Nuevos Productos. SiCon. Sistemas Integrados de Conectividad. Finlandia 21, Valencia E-46010 Spain Tel +34 963 621 321 Fax +34 963 619 552 <sicon@sicon.net> <http://www.sicon.net> ------------------------------------------------- # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org