HeadroomSan

Q: Applescript editor permanently hung

I am running El Capitan 10.11.6 on iMac Mid-2011 and also on 9 months old MacBook running the same version.

 

My Applescript editor has for three days been hung in a specific fashion. Two days after the iMac developed the symptoms, my MacBook has developed identical symptoms. I was working on two different scripts when it started.

I could see no particular pattern to when it came on.

 

Symptoms

The editing window suddenly zooms in to what looks 300%. It will very slowly scroll upwards. The beachball is showing. The app is now totally unresponsive and can only be stopped by forced quit.

All other apps are off - it's the only thing running.

If i restart the app its in the same state.

The scripts in question run fine in their last state.

I have deleted the preferences plist file and rebooted on my both machines.

 

I have sent in numerous crash reports to Apple.

 

I am now stumped.

 

Does anybody have any ideas what I can do?

iMac, OS X El Capitan (10.11.6)

Posted on Sep 1, 2016 10:11 AM

Close

Q: Applescript editor permanently hung

  • All replies
  • Helpful answers

  • by SnickZ.,Helpful

    SnickZ. SnickZ. Sep 14, 2016 2:37 AM in response to HeadroomSan
    Community Specialists
    Sep 14, 2016 2:37 AM in response to HeadroomSan

    Thanks for using Apple Support Communities, HeadroomSan.

     

    Strange that both your iMac and MacBook are experiencing the same issue with the Applescript editor, but I'll do my best to help! I recommend picking one of your Macs and trying these steps with that one. If these steps have set things right on first one tested, follow them as well on the second.

    Try safe mode if your Mac doesn‘t finish starting up -- Even though your Mac is starting up, starting up in safe mode makes sure everything starts up correctly. Once you've reached your desktop in safe mode, restart your Mac normally and try the script again.

    How to test an issue in another user account on your Mac -- Setting up a new user on your Mac will let us know if the problem is just located in your user account or if it's a system-wide issue.

    Backing up your Mac hard drive -- If you've determined that the issues isn't just located in your user account, I highly recommend backing up your Mac. Even though the next step shouldn't cause a problem, it's always better to "have" a backup than "need" a backup.

    About OS X Recovery -- Use this article to reinstall the operating system on your Mac then test your script again.

     

    Take care!

  • by VikingOSX,Helpful

    VikingOSX VikingOSX Sep 14, 2016 2:23 AM in response to HeadroomSan
    Level 7 (20,618 points)
    Mac OS X
    Sep 14, 2016 2:23 AM in response to HeadroomSan

    Does your script hang if you run it with control + command + R key sequence?

     

    It is easier to help with a script problem if the script itself is posted here. Don't post any private information though.

     

    Select the advanced editor option here, and then paste your AppleScript. Then select your AppleScript code (the truncated portion will be selected also), and then from the Style menu in the toolbar, choose Paragraph.

  • by HeadroomSan,

    HeadroomSan HeadroomSan Sep 14, 2016 2:37 AM in response to SnickZ.
    Level 1 (4 points)
    Mac OS X
    Sep 14, 2016 2:37 AM in response to SnickZ.

    Sorry for such a delayed response.

     

    Both devices started normally from the beginning. It's only AppleScript editor that displays symptoms.

    Created and tried another account. Problem never occured, on either device.

     

    The problem cleared itself on the iMac after 4 days without me change anything. It cleared on the MacBook in ABOUT the same length of time and has not recurred. The scripts themselves were unchanged. I did not restore but as mentioned below, I am now in position to do so with minimal drama.

    Very occasional, similar symptoms appear when using Safari. If I just touch the mouse without actually commanding anything,  the view changes with associated odd scrolling effects. I have swapped my mouse with the spare, and added an apple trackpad.

     

    I have since made a separate AppleScript use only account on both machines. I have modified the scripts to make them portable. I think I have two chances if this happens again.

     

    This has prompted me to pay attention to my backup which is now both a general time machine and separate script covering all Applescript efforts. If I do get a problem, I should be able to revert fairly simply. A lesson learned.

     

    Thanks for your reply, i think i dodged a bullet here as my backups were sporadic until this happened.

     

    Max

  • by HeadroomSan,

    HeadroomSan HeadroomSan Sep 14, 2016 2:39 AM in response to VikingOSX
    Level 1 (4 points)
    Mac OS X
    Sep 14, 2016 2:39 AM in response to VikingOSX

    Dear Viking,

     

    Sorry for such a delayed response.

     

    Both devices started normally from the beginning. It's only AppleScript editor that displays symptoms.

    Created and tried another account. Problem never occured, on either device.

    I could not get as far as trying to run the script with control + command + R key sequence, as the offending script would start WITH the editor.

     

    The problem cleared itself on the iMac after 4 days without me change anything. It cleared on the MacBook in ABOUT the same length of time and has not recurred. The scripts themselves were unchanged. I did not restore but as mentioned below, I am now in position to do so with minimal drama.

    Very occasional, similar symptoms appear when using Safari. If I just touch the mouse without actually commanding anything,  the view changes with associated odd scrolling effects. I have swapped my mouse with the spare, and added an apple trackpad.

     

    I have since made a separate AppleScript use only account on both machines. I have modified the scripts to make them portable. I think I have two chances if this happens again.

     

    This has prompted me to pay attention to my backup which is now both a general time machine and separate script covering all Applescript efforts. If I do get a problem, I should be able to revert fairly simply. A lesson learned.

     

    Thanks for your reply, i think i dodged a bullet here as my backups were sporadic until this happened.

     

    In the event I get this again, I'll have a very recent version to post.

     

    Thanks again

     

    Max