AppleScript works in the background but UI hangs

When I run this AppleScript http://crystal-objects.com/blogs/frank/aperture_import_action_scripts091511 with OS X Version 10.8.4 and Aperture 3.4.5 the AppleScript Editor GUI hangs displaying multi-coloured spinning disc but the script itself seems to be working with Aperture open I can see the files moving into the new folder structure. The "problem" I am trying to solve with the AppleScript is described here https://discussions.apple.com/thread/3321103?start=0&tstart=0 but I have come to this forum for help diagnosing this hanging issue in the script. Any ideas?

Neville
Also the script could be simplified by using the following to create folders if they don't exist for populating with timed files:
do shell script "d=~/Desktop/pic/; mkdir -p $d; f=$d`date +%y%m%d%H%M%S`.png"
the script is creating folders inside of an Aperture library. Thise are not Finder folders and your suggestion will not work.
regards

Similar Messages

  • I recently had my iphone 4s screen repaired because the screen was cracked. It was all ok and then a few weeks later something strange happened. My touchscreen works, but the screen doesnt show, you can see the light in the background but no picture?

    I recently had my iphone 4s screen repaired because the screen was cracked. It was all ok and then a few weeks later something strange happened. My touchscreen works, but the screen doesnt show, you can see the light in the background but no picture? has anyone got any ideas as to what the problem is, is it self-repairable or even repairable at al?

    The LCD Display connector has partially come loose from the logic board connector, and simply needs to be pressed back down into place. Or the front screen assembly is now faulty, and needs to be replaced again.

  • Need help with working in the background while doing a presentation

    Hi guys,
    I wanted to know if my MBP had a way to let me do a presentation, where on my screen I could tell it to present what I wanted it to present rather than showing every single move that I would make. If for instance, I were to open an app for looking up something to present, I wouldn't want people to see that action, but rather the things that I would put on a special window or virtual place created just for that.
    Maybe there's an app that will let me do this? What happens to me know is that when I connect the MBP to the data show presenter, everything I do gets displayed on the big screen on the wall. I want to work in the background without people seeing that. Please help. Thanks.

    The system software makes it about as easy as possible. Press fn+F7 (the pictographic mnemonic on the F7 kety is two overlapping rectangles). This will toggle the display mode between mirroring (same image on internal and external display) and spanning (each display independently contributing to the total viewable area).
    As a bonus when using Keynote (the presentation software from iWork) in a dual-screen configuration, you get one display showing the presentation and the other showing you context (the upcoming slide) and a timer. Check out the demo included with you MacBook.
    Randall Schulz

  • GT 70 2PC - HDD working in the background/display issue

    Hi guys,
    I experienced 2 strange problems with my MSI GT70 2PC Dominator:
    First of all, after installing my SSD and fresh installation of Win 7, the HDD still is to hear(led is indicating it as well) while booting the system. Is it normal that the HDD is still doing some actions in background?
    Moreover, after connecting my screen with DisplayPortCable, I chose an option to only use my external display. However after choosing this option, the laptop's screen seems like it's still iluminated (yeah, it's black, but iluminated). The only aid is to switch from the external to laptop display and back again to ext. screen. Is there any fix for that?

    Hello xaero18,
    Storage activity LED is indicating when any storage devices are working, including the SSD, but excluding the ODD.
    I've borrowed a GT70 2PE (880M though) and tested the DP output, but can't replicate your problem. Maybe you can try to update your video BIOS to see if it will resolve the problem. Download it from MSI website: http://www.msi.com/support/nb/GT70-2PC-Dominator.html#down-firmware
    I'll also test this if I could find any 870M card later.

  • HT204187 Email account does not work on the Mac but works on my iPad and iPhone. The account information was added on the Mac. I keeps rejecting my password.

    I have seral email accounts on my Mac. One does not work on the Mac but works on my iPad and iPhone. The account information was added on the Mac. I keeps rejecting my password.

    You don't input the information in manually for iCloud mail. It is automatically set up for you when you sign into iCloud via System Preferences and choose the Mail checkbox. Sign out of iCloud or deselect Mail in iCloud preferences. Open Mail's preferences and choose accounts tab. If iCloud account still exists in the list, delete it. Sign back into iCloud or check the box for mail. The account will be auto created for you.

  • HT1365 Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

  • How do i turn off apps working in the background?

    how do i turn off apps working in the background?

    Very few apps run in the background.  Those that do should have a  way to stop them from within the app.
    iPhone OS 4 multitasking explained, again | When Will Apple?
    iPhone User Guide (For iOS 4.2 and 4.3 Software)

  • I am trying to uninstall a program that is running in the background but does not show when I force quit.  How do I remove it?

    How do I uninstall a program that is running in the background but does not show in Force Quit?

    Open Activity Monitor and look for the program.  Select it and Quit or Force quit it from within Acitiviy Monitor.
    Search for the application with Find Any File as it can search areas that Spotlight can't, like invisible folders, system folders and packages.  You can drag the app and any associated files from the search result window to the Trash bin in the Dock.
    OT

  • HT4515 How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    Double tap the Home button, tap & hold the Safari icon until it starts to wiggle, tap the red minus sign to remove it from the Multi-Tasking bar. Tap the Home button when finished.

  • The screen on my iPhone is frozen and I can access apps through Siri. The touch screen works within the apps but not in the home screen. What do I do?

    the screen on my iPhone is frozen and I can access apps through Siri. The touch screen works within the apps but not in the home screen. What do I do?

    Have you tried a reset which is similar to a computer restart and is done by pressing and holding the home button and the sleep/wake or on/off button simultaneously until you see the Apple logo and then release?

  • The scroll function on my mousepad is disabled when viewing a pdf file in firefox version 5.0. The scroll works on the pdf, but not on the other tabs. When the pdf is closed, the scroll function returns to normal. Any ideas?!

    The scroll function on my mousepad is disabled when viewing a pdf file in firefox version 5.0. The scroll works on the pdf, but not on the other tabs. When the pdf is closed, the scroll function returns to normal. Any ideas?!

    Hey thanx for the help, it worked like a charm.
    I think firefox changed the application lay out, as I used to be able to choose my PDF opener from the list at " Adobe Acrobat Forms Document' where I could choose Nitro-PDF reader, but it has now moved all the way to the bottom like you suggested to the obvious place of "Portable Document Format" section.
    If someone didn't tell me , I wouldn't have scrolled all the way down to be able to find it... it really should be with all its cousins up the top...
    Cheers again..

  • My applet works in the appletviewer but not in the navigator

    My applet works in the appletviewer but not in the navigator
    exceptions problem1 and problem2 are throwed
    this is my code
    import java.applet.*;
    import java.net.*;
    import java.io.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ValiderHtml extends Applet implements ActionListener {
    JButton send =new JButton("Connexion");
    JScrollPane jscrollpane= new JScrollPane();
    DefaultListModel lignes=new DefaultListModel();
    JList lstURL = new JList(lignes);
    BufferedReader reader = null;
    String ligne;
    URL url;
    URLConnection conn;
       public void init(){   
       this.setSize(900,400);
       setLayout( new GridLayout(2,1));
       jscrollpane.setBounds(new Rectangle(19,53,160,73));
       jscrollpane.getViewport().add(lstURL,null);
       send.addActionListener(this);
            this.add(send);
       this.add(jscrollpane);
        public void actionPerformed(ActionEvent evt) {
             Send();
       public void Send(){
            try {
       url=new URL("http://www.developpez.com");
       conn = url.openConnection();
       reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));
    while ((ligne = reader.readLine()) != null) {
                     lignes.addElement(ligne);
        }//fin bloc try
       catch (Exception e) {
                   lignes.addElement("probleme1");     
                finally{
                   try{reader.close();}catch(Exception e){ lignes.addElement("probleme2");}
       }// fin Send
          public void paint(Graphics g) {
                super.paint(g);
    }// fin Applet

    As for tracking the source of your problem your applet sucks.
    Try e.printStackTrace() on a cought exception and check the (full) trace.
    url=new URL("http://www.developpez.com");
    Unless yor applet is on www.developpez.com this will throw an exception in an unsigned
    applet without special policies.
    Signing applets:
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post and last post for the java class file
    http://forum.java.sun.com/thread.jsp?forum=63&thread=409341
    4th post explaining how to set up your own policy with your own keystore

  • My macbook has Itunes and I am trying to download some songs that I bought on my Ipad onto the macbook. It has worked in the past, but one song has been downloading for the last day. No more will download it seems stuck downloading.

    My macbook has Itunes and I am trying to download some songs that I bought on my Ipad onto the macbook. It has worked in the past, but one song has been downloading for the last day. No more will download it seems stuck downloading. I don't need the song. But I want the others to download.

    Hi there,
    You may find the information in the articles below helpful.
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht2519
    iTunes: How to resume interrupted iTunes Store downloads
    http://support.apple.com/kb/ht1725
    -Griff W. 

  • Same command works on the server but not on the workstation

    Scenario
    Exchange 2010 sp3
    Name                           Value
    CLRVersion                     2.0.50727.4984
    BuildVersion                   6.1.7600.16385
    PSVersion                      2.0
    WSManStackVersion              2.0
    PSCompatibleVersions           {1.0, 2.0}
    SerializationVersion           1.1.0.1
    PSRemotingProtocolVersion      2.1
    Worstation:
    Name                           Value
    PSVersion                      4.0
    WSManStackVersion              3.0
    SerializationVersion           1.1.0.1
    CLRVersion                     4.0.30319.18063
    BuildVersion                   6.3.9600.16406
    PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
    PSRemotingProtocolVersion      2.2
    I input a command from my workstation using ISE
    get-exchangeserver | Where-Object {$_.IshubtransportServer -eq $True} | Get-MessageTrackingLog -Start (get-date).AddHours(-2) -Sender '[email protected]'
    Error:
    The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the 
    parameters that take pipeline input.
    The Exact same command from the Server works.
    In my profile I have the following:
    set-Location c:\
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'http://MyExchangeServer/powershell'
    import-pssession $Session
    Import-Module ActiveDirectory
    $host.PrivateData.ErrorForegroundColor = 'green'
    Clear-Host
    From My Workstation:
    PS C:\> Get-PSSession
     Id Name            ComputerName    State         ConfigurationName     Availability
      1 Session1        MyExchangeServer  Opened        Microsoft.Exchange       Available
    Why  does the command work on the server but not on the workstation?
    Alexis

    Hi Tiri2014,
    There are some differences between Remote PowerShell and Exchange Management Shell. You cannot use the pipeline when you run some cmdlets by using Remote PowerShell.
    Here’s a link to similar case for your reference:
    Error message when you try to pipe the result of a cmdlet into another cmdlet by using Remote Powershell in Office 365 dedicated: “The input object cannot be bound to any parameters
    for the command”
    http://support.microsoft.com/kb/2701827/en-us
    Hope it helps
    Best regards

  • Hi, how to load mac without running windows (bootcamp)? The problem is this: the last time i ran the windows, but he hangs and died (can not run further  the logo). now i can not load not windows, not maс! how to be, what to do???

    The problem is this: the last time i ran the windows, but he hangs and died (can not run further  the logo). now i can not load not windows, not maс! how to be, what to do???

    can any body help me, plz!!

Maybe you are looking for