
Mark Coniglio
TroikaTronix
/ Moderator
Sep 22, 2007, 8:57 AM
Post #2 of 4
(1154 views)
Shortcut
|
|
Re: [nic] auto restart on crash
[In reply to]
|
Can't Post
|
|
Dear Nic, There isn't really a way to do this automatically... but I will consider adding it. Obviously in the situation you describe, it could be very important. One idea, try this Applescript: on CheckForRunningApp(appName) tell application "Finder" set procList to the processes set procNames to "" repeat with p in procList set procNames to procNames & the name of p & return end repeat return procNames contains appName end tell end CheckForRunningApp on run repeat while true tell me to set isRunning to CheckForRunningApp("Isadora") if (isRunning is false) then tell application "Finder" open file "isadora-document.izz" of folder "folder2" of folder "folder1" of startup disk end tell end if delay 30 end repeat end run (I've attached the actual script to this post.) This will check every 30 seconds to see if Isadora is running. If not, it will open the requested file. Of course, you'll have to replace open file "isadora-document.izz" of folder "folder2" of folder "folder1" of startup disk with a real document of your own. Finally, since you're having the occasional crash, I'd like to see the crash report if possible. See this page http://troikatronix.com/izzy-crash-report.html for info on how to give me this information. Best Wishes, Mark - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Mark Coniglio / TroikaTronix Creator of Isadora
|