AppleScript editor permanently hung

I'm under El Capitan 10.11.6 on iMac mid-2011 and also 9 month old MacBook running the same version.

My Applescript Editor, for three days, was hanged in a specific mode. Two days after that the iMac has developed symptoms, my MacBook developed identical symptoms. When he started working on two different scripts.

I saw no particular model when it came.

Symptoms

The editing window zooms suddenly to what looks like 300%. It scrolls very slowly to the top. Shows the beachball. The application is now completely insensitive and can only be stopped by force quit.

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

If I restart the application sound in the same State.

The scripts in question will work perfectly in their State.

I deleted the plist preference file and restarted on my two machines.

I sent in many Apple crash reports.

I am now confused.

Does anyone have ideas, what I can do?

Thank you for using communities of Apple support, HeadroomSan.

Strange that both your iMac and MacBook have the same problem with the Applescript Editor, but I'll do my best to help! I recommend to choose one of your Mac and try these steps with this one. If these steps have put things on a tested first, follow them as well on the second.

Try safe mode if your Mac does not start -even if your Mac is booting, boot in safe mode to make sure everything starts correctly. Once you have reached your office in safe mode, restart your Mac normally and try again the script.

How to test a question in an another user account on your Mac - establishment of a new user on your Mac will let us know if the problem is just in your user account or if it's a systemic problem.

Your Mac hard drive backup - if you have determined that the issues is not just located in your user account, I highly recommend backing up your Mac. Even if the next step should not be a problem, it is always better to 'having' a 'need' a backup backup.

On OS X Recovery - use this article to reinstall the operating system on your Mac and then retest your script.

Take care!

Tags: Mac OS & System Software

Similar Questions

  • the AppleScript editor does not work

    Hello

    I have a problem: the applescript editor does not start. When I try to open this program, finder show that the editor is running. But he doesn't show me toolbar, mb air boot costs and in fact, that's all.

    Can someone help me? screen filming wrote: no answer

    Hello sashasonia,

    Looks like the AppleScript editor does not open on your Mac and activity monitor shows that the program is not responding. I know how about them can be when programs and applications do not work as expected and I'm happy to help you to get AppleScript up and run again.

    The first step is to force the AppleScript Editor to quit smoking and then try opening it again. To force the closure of the program, follow these steps:

    To close an application normally, choose leave in the application menu in the menu bar, or press command-Q. If an application does not respond, you can force it to close it using the Force to leave:

    1. Choose force quit from the Apple menu, or press Command-Option-Esc.
      This is to press Ctrl-Alt-Delete on a PC.
    2. Select the application does not respond within the window to leave, then click on force quit.

    Force a nearby application on your Mac.

    If the AppleScript editor does not respond when you try to open it again, restart your Mac. To restart, select the  in the upper left corner of your screen, then "restart". Try again the AppleScript editor once you are logged into your user account.

    If you still can't not to get the editor AppleScript work correctly, follow the steps outlined in the article below to start your Mac in safe mode, and then test the program again. Since starting in safe mode removes certain system and kernel hiding, check your startup disk and tries to fix the problems of directory, you will want to restart your Mac as usual again and test AppleScript editor once more when you are connected to your user account.

    OS X El Capitan: start in safe mode

    Thank you for using communities of Apple Support.

    Take care!

  • El Capitan is where applescript Editor?

    I'm on a Macbook Pro, updated at El Capitan and thought I'd take a glance to Applescript for help with using numbers 17 ". All the advice I can find says to open the Applescript Editor. Unfortunately, this is not present on my computer, and it is not available for download from the app store. Any help please?

    Go to Applications-> utilities-> Script Editor.

  • No Applescript editor after installation

    I installed twice El Capitan. No installation included the Applescript Editor. The first installation was more than of Snow Leopard. The second was on a disk are deleted. Does anyone else have this problem? Is there a way to get the current Applescript editor without having to reinstall El Capitan?

    It is renamed to the Script Editor.

    (137609)

  • Difference between Teminale and AppleScript?

    What is the difference between two different terminal applications and apple Script on mac?

    Terminal is the command-line from your computer, AppleScript is a language of code developed by apple, and AppleScript Editor is a code editor for AppleScript.

  • Command delay AppleScript in display-asleep

    Hello

    I would look for a way to run a script at midnight - NOT on a calendar. For example, I want to do the following:

    delay 10000 -- assuming 10000 seconds to midnight

    activate the application "Notes".

    tell application "System Events" to keystroke "Test"

    The problem is that when my display sleep (the computer is not sleep), the delay control is stuck. Any help is greatly appreciated. Thank you!

    Are you really sure you want to exit a script running & hope that it will work?

    Personally I would forget about the timer, set the script to be triggered by a calendar event instead.

    1. Save the script as an Application in the Applescript Editor.
    2. Add an event to the time you want in the calendars, set an alert, with "Open File at the time", choose custom: & add your script.

    I think that the calendar will be reliable Mac hoping moe keeps the running script, it can wake the Mac - I test only.

    Calendars also makes it very easy to reschedule.

  • How do open Applescript AI can open the file and then run ExtendScript then close?

    Here is the code sample Applescript that I came with the help of the script guide/reference for CS6 and by doing some research online:

    Tell application "Adobe Illustrator"

    activate

    period of 10

    pfilepath the value "/ Users/username/Documents/Temp/someFile.ai".

    the pfile POSIX file pfilepath value

    Open the pfile as alias without options

    period of 10

    do javascript "#include" / Users/username/Documents/Temp/someScript.jsx ".

    delay 1

    quit smoking

    tell the end

    I just want to open the app (example here for, but also pleasant to do same for Photoshop), open a file, then run the ExtendScript file against her, and then close after treatment. With this example script, all that works is the app starts. No file not opened, any script executed, app does not close at the end. I see no error doesn't pop up or anything appear in the command prompt.

    Just ExtendScript sample triggers an alert popup for the test message

    Also note, the Applescript code snippet is executed from Python, but I think where/how it runs shouldn't matter (except perhaps where the error messages may appear). But in the worst case, I'll debug/run through the AppleScript Editor.

    Some tips on what's not here? Or is it technically correct?

    It solved here: MacScripter / POSIX Pass file path to Adobe Illustrator to run ExtendScript

  • Lightroom 5: AppleScript: action 'AXShowMenu' in the Smart Collection Panel does not display a context menu

    We are developing a tool for simple automation using Lightroom 5 (the most recent version of the penal code) using AppleScript.

    For certain actions, we need the context menu in the Panel smart Collections, for example, to import smart collections descriptions.

    According to the documentation and sources on stackoverflow and elsewhere, AXShowMenu should bring up this menu.

    So far I was not able to do the contextual pop-up menu.

    With the help of UIElementInspector and the browser of the user interface, I have found the element that has the attached AXShowMenu action. Based on the code provided by the browser of the user interface, I got the following script, that I run from the Applescript Editor:

    tell application "Adobe Photoshop Lightroom 5"

    activate

    tell application "System Events"

    tell process "Lightroom"

    set frontmost to true

    perform action 1 of static text "Smart Collections" of group 1 of row 11 of outline 1 of scroll area 1 of window 6

    delay 2

    end tell

    end tell

    end tell

     

    tell application "AppleScript Editor" to activate

    Note that if you try to recreate it, the number of the window as well as the number of the line may be different. In addition, the last line is just more convenience and not really relevant to the code.

    In the window results in the AppleScript Editor, I have the following:

    perform action 1 of static text "Smart Collections" of group 1 of row 11 of outline 1 of scroll area 1 of window 6 of process "Lightroom"

    --> action "AXShowMenu" of static text "Smart Collections" of group 1 of row 11 of outline 1 of scroll area 1 of window 6 of application process "Adobe Photoshop Lightroom 5"

    which means I have to invoke the action.

    But... nothing happens.

    Any insight, etc. workaround is much appreciated.

    Thanks in advance.

    Just for the records, I asked the same question on Stackoverflow, and I got a response that does not work. This solution uses a small Python program to really simulate mouse clicks.

  • How can I use applescript for OCR to a bunch of files - with Acrobat XI?

    Hello

    IWant to write an AppleScript (for example) that can be used as a droplet or has a menu to open a folder of pdf files scanned for OCR. And - I want to use Acrobat XI (because it's my version), German version.

    As Acrobat XI is not recordable with applescript editor and I can't find a manual of objects and methods I googled a script that worked with Acrobat 9, but not with Acrobat XI. Here, you define a "Wizard of Action" - Script for example called "OCR this ' and 'click' of the element. But as in Acrobat XI this Item is noch in hand-sbubmenu more than it seems to not work.

    Here is a screenshot:

    Bildschirmfoto 2014-07-14 um 10.57.06.png

    And it's theapplescrpt, tha opens "Aktionsassistent":

    Click on the menu item "Aktionsassistent" in the menu "Tools" from menu item "Tools" in the menu "Anzeige" of the menu bar item "Anzeige" from the menu bar 1

    BotR, so I cannot reach "OCR it."

    If any body has a suspicion - either by clicking on "OCR this ' or sript an OCR on one open our AppleScript, that would be great.

    Thank you

    Smail

    AppleScript is documented in the Acrobat SDK kit. But there is no way to do it.

  • Merge Applescript dictionary and a break

    VMWare Fusion seems to be rather AppleScript-able, which is excellent. The dictionary shows a number of useful commands. Can I use AppleScript and AppleScript Menu to allow me to pause/unpuase the current virtual computer. I realize account 'pause' is an unsupported feature, but it works for me and it's in the dictionary of the application, so I'm going for it.

    Anyway - in the AppleScript Editor, I created a simple script:

    Tell application "VMware Fusion"

    If the break from the front of the document may

    cancel the document before break

    on the other

    pause before document

    end if

    tell the end

    However, whenever I compile, run, or save the script, AppleScript will automagically 'correct' my script editor for:

    Tell application "VMware Fusion"

    If the break from the front of the document may

    cancel the document before break

    on the other

    cancel the document before break

    end if

    tell the end

    Note that the else clause changed to reactivate...  Any ideas how I can prevent this AppleScript Editor? Is this a bug with the AppleScript editor or dictionary of the APP?

    (Before and after photos attached)

    Fixed internally, but as this is not a supported feature, it was not considered important enough to make the next version.

    In the meantime, you can modify the .sdef file to use another code to unpause (I went with 'vxUn! Pau") or using vmrun.

  • iTunes error 1728 and iTunes Radio problem

    I was running an AppleScript script which asked iTunes to get the current title of the song and the artist, then go to the next song. Creating a list of the iTunes songs play me. I'm running on a MacBook Air (early 2014) with iTunes 12.4.0.199 and 2.5 AppleScript in the AppleScript Editor 2.8.1 running.

    I was running this script on the iTunes iTunes Top Hits 80 s 100 Radio station. Then my script returned the error 1728. I can assume only this is a lockout to click then a certain number of times that he became unhappy.

    I am now unable to play this station. It just does not do anything when I click play on the station. Other stations of working. My main concern is the station only plays do not, the error is additional info. I was able to play the station from my phone for a while (10 min). Now on my phone, it says "cannot start the Station: there was a problem starting...". ».

    Have you tried to restart the program. No luck.

    Help appreciated.

    Problem seems to be resolved. The next day after a reboot, everything seems to work.

  • Count how many an array of letters in a set of words

    Is it possible to count for each word to say, 25 words, how many letters of a range of letters in each word? So if the table has been BCEGHIRLWYDO and some of the words were IDOL, SIDEWALK and WAXY, you say IDOL 4, CURB 3 and 2 WAXY?

    (The table will always be 12 letters, I think.) I can count how many of each letter is used for the whole word game, which gives me the table, but do not know how to get a census for each individual word.

    I'm still with contentment using OS X 10.5.8, mini mac, Numbers ' 09, 2.0.5.

    Thanks for all the help I got from you folks.

    A script is effective to do this.

    No necessary knowledge of AppleScript.

    1. Copy and paste the script below in the AppleScript editor or Script Editor as it can be called on your machine (in Applications > utilities).
    2. Add the words as needed to the first line of the script (between the {} and each surrounded by "") and edit the letters if necessary.
    3. Click the 'run '.
    4. Click in a cell of numbers (in my example, B2).
    5. Command-v to paste.

    SG

    game gathered to {'IDOL', 'STOP', 'WAXY'}

    theLetters value to "BCEGHIRLWYDO".

    game of pasteStr to «»

    Repeat with w in collected

    the value pasteStr to the pasteStr & w tab & countMatches (w, theLetters) & return

    end Repeat

    Set the Clipboard for pasteStr

    return pasteStr

    at countMatches (theWrd, theLtrs)

    the value n to 0

    Repeat with l in theWrd characters

    If theLtrs l to contains then the value n to n + 1

    end Repeat

    n return

    end countMatches

  • How to count separately files and folders

    I have a folder with many files and subfolders.

    How to count in the record the number of files and folders separately? Or count the total number of files but exclude the number of folder?

    The Finder, choose utilities go to menu, open the Script Editor and AppleScript editor and run code such as:

    Tell application "Finder".

    count all files in the folder ""path: to: file""

    tell the end

    (140392)

  • Invisible library folder

    I upgraded to Mountain Lion and the 'Library' users folder has become invisible. I found it by doing a search for 'Other' file, but how do I turn back to be visible? There are a lot of files in there that I need access to and turning on folders hidden in the Terminal shows too much gray useless icons.

    I could create a new folder to the library and spend countless hours to copy all folder by folder and trashing the originals, but I was wondering if there was any other way of any marking the folder "visible"?

    Open the Finder Go menu, press the Option key and choose the library. Otherwise, choose home page in the menu reach, display Options in the view menu and choose show.

    If you wish, you can instead choose Utilities in the menu go to, open the AppleScript Editor, paste is the following and run the script:

    Tell application "Finder" to quit smoking

    the shell script ' chflags nohidden ~ / library.

    delay 2

    Tell application "Finder" to run

    (139912)

  • Mavericks screen resolution

    Then I upgraded a VM guest to the Mavericks, and I have problems with the screen at a resolution of fixed standard size in mode "single window".


    I've updated the vmware tools and I can scale from the virtual machine window and get different sizes of screen, however, when I open the settings and go to view, then select "Chipped" the only option I see is the size of the current screen.  I want to adjust the size of my screen to one of the many standard resolutions as if I were able to do before the update to the Mavericks.  How can I accomplish this?



    Right here is an example script you can save under "Display Resolution VM Set" AppleScript editor in /Users/$ {USER} / Library/Scripts and then in Apple Script Editor > Preferences... > general check "Menu of scripts to see the menu bar" and close the AppleScript Editor.  With the Virtual Machine of the target window was brought to the front, and then select "Define VM display resolution" in the script in the menu bar menu.  Choose the resolution you want and click OK or double-click the desired resolution.

    Note: Using this script needs to check that the checkbox "enable access for assistive devices" accessibility in system preferences.

    In addition, just to be clear, that this script does not actually change the resolution in the VM, it resizes window of Virtual Machine for VMware Tools allows the resolution to change automatically to accommodate the resolution chosen according to the size of the window without having to manually resize the window of the OS X 10.9 Mavericks Virtual Machine to achieve explicit resolutions.  After all it's all designed as a workaround, not a solution, for what is wrong with OS X 10.9 Mavericks run in a Virtual Machine!  The main intended use is when you use a large screen, such as when a MacBook is attached to a bolt of lightning to display or by using an iMac.  If one is using just a MacBook with Retina display and high resolution at the scale, then this script might also be useful.

    on is_running (appName)

    say application 'System events' to (name of the processappName contains)

    end is_running

    isRunning put to is_running ("VMware Fusion")

    isRunning If so

    the value selectedRez to choose from the list {"1024 x 768", "1280 x 800", "1440 x 900", "1680 x 1050", "1920 x 1200"} ¬

    with the title "Set VM display resolution" invites "Select resolution:" default of the elements {"1440 x 900"}

    say application "VMware Fusion.

    activate

    say application "System events".

    put toolbarState to name of 12 of menu 1 to menu bar item "display" menu item of the menu bar 1 of process 'VMware Fusion.

    say application "VMware Fusion.

    Try

    in view of the case

    If toolbarState contains {"Hide Toolbar"} then

    If selectedRez contains {'1024 x 768'} then set bounds of window 1 to {0, 22, 1024, 845}

    If selectedRez contains {"1280 x 800"} then set bounds of window 1 to {0, 22, 1280, 877}

    If selectedRez contains {'1440 x 900'} then set bounds of window 1 to {0, 22, 1440, 977}

    If selectedRez contains {"1680 x 1050"} then set bounds of window 1 to {0, 22, 1680, 1127}

    If selectedRez contains {"1920 x 1200"} then set bounds of window 1 to {0, 22, 1920, 1277}

    end if

    If toolbarState contains {"Show Toolbar"} then

    If selectedRez contains {'1024 x 768'} then set bounds of window 1 to {0, 22, 1024, 812}

    If selectedRez contains {"1280 x 800"} then set bounds of window 1 to {0, 22, 1280, 844}

    If selectedRez contains {'1440 x 900'} then set bounds of window 1 to {0, 22, 1440, 944}

    If selectedRez contains {"1680 x 1050"} then set bounds of window 1 to {0, 22, 1680, 1094}

    If selectedRez contains {"1920 x 1200"} then set bounds of window 1 to {0, 22, 1920, 1244}

    end if

    end in view of

    end try

    end say

    end say

    end say

    on the other

    display the dialog box "VMware Fusion is not open." with the title "VM Set Display Resolution" with buttons icon 2 {"OK"} give up after 5

    end if

    Post edited by: WoodyZ - Script modified to take into account the question of if the view menu displays "Hide toolbar" or "See the toolbar" as the list of limits 4 (h) item would be a + 77 with the projection of "Hide toolbar" default and a + 44 displaying "Show toolbar".

    Post edited by: WoodyZ - added a note to "Enable access for assistive devices" and additional information on the intended use as a workaround, not a solution.

    Post edited by: WoodyZ - adding images from the message list box and VMware Fusion.

Maybe you are looking for

  • How to disable internet access for a computer on a local network?

    I have two Pros Mac 2012 Mid, connected by an Airport Extreme. I'd like one of them (which I edit video projects) stay on my local network, but the Internet to protect better of Trojans, viruses, etc... Is anyone know the step by step procedure to im

  • JBOD Qosmio G20 - could not initialize the disk of 320 GB - 1RAID-0

    Hello, comrades Toshiba users,at first, I apologize if this question has already been answered, but I did not find the answer to my problem. One of my colleagues has a Toshiba Qosmio G20 with two 80 GB drives. Big 17-inch "surf-board-sized" computers

  • How do I open a Zip file (such as a templete) so I could see it?

    I have downloaded file open zip open so I could use them as a templete store. Please help me I'm lost.

  • 7020 Small Form Factor OptiPlex

    Have a given model to nine on order and am awaiting delivery... A few questions for the community if you let it. The specification says w/HD Graphics 46OO. This configuration will support two monitors? If so, what are the results. If this isn't the c

  • BlackBerry calendar event creation

    Does anyone know how to create a calendar event using an intention? BlackBerry has been touting the availability since December, see ://devblog.blackberry.com/2012/12/android-runtime-for-blackberry-10-gold-release/ http://http. I tried the following,