How do I make an automator sequence run when I close an application?

I have searched all over google, youtube, and the discussion boards but no one seems to want to do what I'm trying to do.
I want to run a folder action every time I close out an application that imports files while its running. My actions then take those files, move them and create a symlink back to the original location so that next time the app runs, it sees the files like they never moved. I've tried 2 different ideas with varying acceptability.
1. Create a folder action to watch the folder to copy. It got glitchy outside of Automator. I would be okay with this option but it has been acting up.
2. Use the launching of the app to trigger the copying and moving etc. I can make the app icon the icon for my application that includes the moving and creating of the symlink. But it only does the saving when I open the app. So while I'm working on the files, they're not backed up to place until I close the app and reopen it next time.
The catch: the file folder that I want to move files from and create symlink back to is my iMovie Library.
Can anyone give me some ideas about how to work this right? Thank you!
Running Mac OS X Mavericks 10.9.5  2.5 GHz Intel Core i5 8GB Ram and 1600 MHz DDR3

Use some Applescript to launch your app, then wait until the app quits.
When you do uit the app, the Applescript will continue then run the folder action.
Activate "your app name here"
repeat
     If application "your app name here" is not running then exit repeat
     Delay 10
end repeat
run folder action

Similar Messages

  • My Mac Book Pro has slowed to less than a crawl (possibly from a worm or virus).  How do I make sure it's running at peak efficiency before I complain to comcast

    My Mac Book Pro has slowed to less than a crawl (possibly from a worm or virus).  How do I make sure it's running at peak efficiency before I complain to comcast

    Please answer as many of the following questions as you can. You may already have answered some of them; in that case, there's no need to repeat the answers.
    Restart the router and the broadband device, if they're separate. Any change?
    Run Software Update and install all available updates for OS X or the computer's firmware. Any change?
    If possible, connect to the router with an Ethernet cable and turn off Wi-Fi. Any difference?
    Are any other devices on the network, and if so, are they the same?
    If you can connect to more than one network, are they all the same?
    Are all network applications affected, or only some? If only some, which ones?
    Is networking always the same, or is the problem intermittent?
    Disconnect all other devices from the network. Any change?
    If you're running a MacBook with the lid closed, open the lid. Any difference?
    Start up in safe mode and test. Any difference?
    Start up in Recovery mode. From the OS X Utilities screen, select Get Help Online. A clean copy of Safari will launch. No plugins, such as Flash, will be available. Any difference?
    If possible, turn off Bluetooth and disconnect any USB 3 devices. Any difference?

  • How do I make a RMI client running in Bea find a remote, non Bea, RMI server?

    On my stand alone test system I run a RMI server in one JVM,
    registry.exe and a RMI client in its own JVM. The client uses
    java.rmi.Naming.lookup() to find the RMI server, and this works fine.
    If I run the same RMI client class within Bea the naming lookup fails! I
    guess this is due to Bea using it own RMI registry rather than the
    registry.exe I started separately(?)
    QUESTION: How do I make a RMI client running in Bea find a remote,
    non-Bea, RMI server?
    Of course, in the final environment the server will run on a system
    remote from Bea.
    The RMI client calls are done from a servlet, not from a EJB.
    The doumentation about using RMI with Bea is focused on running the RMI
    server within Bea. This might be the "normal" thing to do, but in our
    case Bea is the client, not the server. Do I still need to use
    weblogic.rmi.*....? If so, where?
    Grateful for any tip.
    Göran Hagnell

    On my stand alone test system I run a RMI server in one JVM,
    registry.exe and a RMI client in its own JVM. The client uses
    java.rmi.Naming.lookup() to find the RMI server, and this works fine.
    If I run the same RMI client class within Bea the naming lookup fails! I
    guess this is due to Bea using it own RMI registry rather than the
    registry.exe I started separately(?)
    QUESTION: How do I make a RMI client running in Bea find a remote,
    non-Bea, RMI server?
    Of course, in the final environment the server will run on a system
    remote from Bea.
    The RMI client calls are done from a servlet, not from a EJB.
    The doumentation about using RMI with Bea is focused on running the RMI
    server within Bea. This might be the "normal" thing to do, but in our
    case Bea is the client, not the server. Do I still need to use
    weblogic.rmi.*....? If so, where?
    Grateful for any tip.
    Göran Hagnell

  • How can I make my mac mini run faster? Everytime i try to download a internet page I get the circle with colors. It takes too long. Help

    How can I make my mac mini run faster. Loading internet pages is too slow

    i have the same problem...it can take 10-15 seconds to just switch tabs..i think i will solve it by taking mine back

  • How can I make my phone number active when viewing from a mobile device. My phone number is in my header in CSS

    How can I make my phone number active when viewing from a mobile device. My phone number is in my header in CSS

    See this support document http://support.apple.com/kb/HT5661

  • I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when i select the customer?

    I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when I select the customer?
    iselect the customer?

    Hi bazza,
    We won't be able to put the address from a formula into the same cell that you enter the customer's name. We can put the address in the cell under the customers name.
    First let's take James advice and concatenate the address in the address table.
    Here is the formula in G2
    =CONCATENATE(B2&"
    ",C2&"
    ",D2&"
    ",E2)
    It shows this way because after I clicked on B2 and typed [&"] (no brackets) I typed option-return
    This gives you your new line. Then I typed the closing ". I repeated this for the rest of the address.
    Next we want to bring this to your order sheet. I prefer using the two formulas OFFSET and MATCH instead of VLOOKUP.
    base tells OFFSETwhere to start counting from. Click A1.
    row-offset is for the row. we will use MATCH() -1 to give us the row.
    What MATCH does is give you the row number where something is found and you can specify an exact match. I usually construct the MATCH formula first and then cut and paste it into OFFSET. MATCH looks like this: MATCH(A2,Table 1::A,0). A2 is what we are looking for, Table 1A::A is where we are looking (the entire column A), and 0 means we want an exact match. Can you see it inside the OFFSET formula? Notice that we had to subtract 1 from its result.
    column-offset tells OFFSET which column A=0 so we want 6.
    we ignore "rows", "colomns" we don't need them.
    If this seems like too much, just break it down into small pieces.
    quinn

  • How do you make it not so sensitivity. when turned off set down it comes back on or when working out shirt brushes ipod and it changes music

    how do you make it not so sensitivity. when turned off set down it comes back on or when working out shirt brushes ipod and it changes music

    You didn't say which model of iPod Nano that you have, but generally there should be a lock setting, that can be turned on or off, to prevent accidental changes in settings. And, there is also a setting to turn on or off a feature called, "Shake to Shuffle." It allows you to change songs by just shaking the iPod.

  • HT204380 How can I make the screen full screen when I am calling?

    How can I make the screen full screen when I am calling on Facetime on a Macbook Pro Laptop?

    Ok but if the iPhone 5s and 5 can go full screen the why can't the iPad Air as it too is new the problem shouldn't be hard to solve as I have looked the apple site and it show it just fine in full screen so I'm sure you understand when I say there is most definitely away of doing it so can Apple just sort it out I'm always telling my m8 how good Apple devices are and I've been let down on this so come on fix it PLEASE

  • Please help me how can i make my app store because when i open it it says cannot connect to iTunes please if you have any helpful solution inform me

    Please help me how can i make my app store because when i open it it says cannot connect to iTunes please if you have any helpful solution inform me

    Try reset all settings
    Settings>General>Reset>Reset All Settings
    Note: Data will not be affected but settings for Wi-Fi, FaceTime, Message, Home Sharing will be reset
    Message was edited by: Diavonex

  • How do i stop programs from automatically running when i start up my macbook?

    how do i stop programs from automatically running when i start up my macbook?
    programs such as.. email and Skype.
    When i go to system preferences, then users & groups, then to my name, log in items ....this box is clear, i have unchecked everything, yet things still start up......

    sometimes these applications will have a setting in the preferences to not open on login of computer. If you see none of that, you can go into:
    system preferences> Users & Groups > Select your user>Login Items.
    unlock the settings by hitting the lock icon on the bottom left of the window then youll be able to uncheck these things from opening when you log in.
    Hope this is helpful or answers the question.

  • How do I make payment for Creative Cloud when monthly payment declined?

    How do I make payment for Creative Cloud when monthly payment declined?

    In this forum, we can't help with purchasing issues.
    My suggestion is to call that phone number.

  • On a 5s how do you make the light turn off when phone rings or when you receive text, at work I would like to shut that off. Also seems like vibrate doesn't always work?

    On a 5s how do you make the light turn off when phone rings or when you receive text, at work I would like to shut that off. Also seems like vibrate doesn't always work? I had a 4s and didn't have these issues

    Thank you, I did find that. Still my phone does not always vibrate when ringer is off for texts and calls, only sometimes?

  • How do you make a .Desktop entry run as root?

    I know in KDE you add "X-KDE-Username=root" but what do you need to add for Gnome users (there's nothing in the desktop-entry-spec )? So is there a setting for it or do I need to make a script to run the command with gksudo/kdesu depending on the desktop environment?
    TIA

    i just put on Exec something like that
    Exec=gksu -u root /path/to/application      it requires root password
    Exec=gksudo /path/to/application      if i want to use my password/no password depends on the way i setup sudoers
    Last edited by wonder (2007-05-18 19:56:33)

  • How do I make text in an ul shift left closer to the bullet?

    How can I make the text in a <ul> list shift to the left a little so that it is closer to the <li> bullet?
    I assume I should use CSS for this.

    Use CSS margins & padding.
    <style type="text/css">
    /**zero out browser default settings**/
    ul, li  {margin:0; padding:0}
    li {
    list-style:circle;
    margin-left: 50px; /**indent**/
    padding-left: 5px;  /**space between text and bullet**/
    </style>
    HTML:
    <ul>
    <li>some list item</li>
    <li>some list item</li>
    <li>some list item</li>
    </ul>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • How can I make the voice very loud when navigating with my google gps app?

    How can I make the navigation voice on my google gps app VERY loud?

    I did a search for the Citibank virtual credit card and other similar words and could find nothing.

Maybe you are looking for

  • Connecting External Hard Drive to Time Capsule - In Finder but not Disk Utility

    Hi, So I've got a bit of a problem.  I have connected my LaCie 2d Quadra External Hard Drive into my Time Capsule via USB for the simple purpose of making it wireless, as well as allowing both my husband and I to access the files on it.  It works fla

  • HELP ME PLEASEE

    I HAD MY ZEN V PLUS FOR ABOUT 4 MONTHS NOW AND IT HAS BEEN WORKING FINE. THIS MORNING I TURNED IT ON AND THE SCREEN WAS BLACK, BUT YOU CAN STILL SEE THE WORDS S LITTLE BIT. MY SCREEN IS TOO DARK. I WANNA KNOW HOW TO FIX IT

  • Compile Error: 'class' or 'interface' expected

    Hi all, I have a code which was compiling/running successfully: import java.net.*; code When I added the line: import java.io.*; import java.net.*; import java.io.*; code Got the following compile error: 'class' or 'interface' expected import java.io

  • Photshop CS6 image resizing tool.

    Five time I have entered a support question but it does not seem to appear in the lists nor have I had a response, am I entering my request incorrectly? My request is: I have a PC using Windows 7. I have Photoshop CS6 which I have been using for some

  • Is the APEX 2.2 hosted on the oracle site only for windows machine

    Hi, Is the APEX 2.2 hosted on the oracle website only for the windows machine. Can I download the APEX 2.2 s/w for a linux box as well. Kindly let me know if a linux version is available anywhere else. Thanks.