Mac Unstable after applescript

Hi All,

I thought automators and applescripts would make me a better person , and i started experimenting....Well this is where that has led me to!

I was trying to put a shortcut on the Mac to click on to restart or shut down the computer...

It was like this:

=====

tell application "Finder"

restart

end tell

=======



I used this script and it worked, but after the Mac shut down, it restarted and shut down itself three times in succession before i could do anything..

I then interrupted the cycle by holding down the Power button at the back of my intel iMac.

After that I started up, with safe mode, No worries, restarted, and things slowly settled down to normalcy.


Today, four days later, the Mac suddenly shut down and restarted saying a problem had forced it to restart suddenly, and queried whether i wanted safe mode. I said no, and here i am trying to see if my apple script is still somewhere being launched!

I have sent the automatically generated error message to apple although i am not sure if i would get any feedback on an individual level.


Being new (if not plain stupid) I am not sure where i can find the apple scripts that i made! (which is the main answer i am looking for)

I have verified disks with disk utility as well as ONYX and all is fine; ran onyx through all maintenance issues.

Thank you for any suggestions...

John

iMac (27-inch Mid 2011), iOS 5.1.1

Posted on May 26, 2013 1:18 PM

Reply
4 replies

May 26, 2013 10:48 PM in response to Linc Davis

Three autorestarts in close succession as a cycle immediately after i ran the script for the first time, but never since.

The recent "shutdown due to a problem" that the mac reported on auto restart happened when i was away from my Mac and hence I cannnot vouch for lack of power interrupton, as unlikely as it is in these parts.....The error report generated suggests otherwise.


I am tempted to believe that this association may be a coincidence as you suggest, if only for my own guilt resolution😉

Thank you for sparing the time.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mac Unstable after applescript

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.