Want to automate application opening

Discussion in 'OS X El Capitan (10.11)' started by iExplorer, Feb 14, 2016.

  1. iExplorer macrumors newbie

    iExplorer

    Joined:
    Dec 21, 2015
    #1
    I use Google Drive to store a lot of files, so I have a Sync folder for the same and every time I drop a file into it, it automatically syncs provided the app is open. But, I have disabled "Start Drive at login"(to speed up my startup time). So now, everytime I drop a file or update a file in the Drive folder, I have to remember to open the Drive app so that it syncs. To solve the problem I thought of automating this process-Everytime any file is dropped into the Drive folder, I want the Drive app to be opened automatically if it's not already open. I have no clue how to proceed with this in Automator. Any help?
    I've realized that Automator requires me to open the Automator Application myself every time I want to execute the above-so, that's a problem.
     
  2. simonsi macrumors 601

    simonsi

    Joined:
    Jan 3, 2014
    Location:
    Auckland
    #2
    Put it back in your login items so it starts at startup - how often do you startup anyway, I let mine sleep and only restart for updates or a very rare problem...much easier
     
  3. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #3
    You have to create a folder action with Automator. When you create one, you can specify the Drive folder in the top-right part of the window. Then you just drag an action called "Launch application" from the left side into the main area on the right (you can use the search box). You specify the application and then save it. This should assign the folder action to the folder you specified and the application opens whenever something is added to the folder. You can use the Folder Actions Setup application to see which folder actions are active (you can just type the name into Spotlight).

    By default, these folder-action scripts are saved in
    Code:
    Macintosh HD/Users/[Username]/Library/Workflows/Applications/Folder Actions
     
  4. jbarley macrumors 68030

    jbarley

    Joined:
    Jul 1, 2006
    Location:
    Vancouver Island
    #4
    Or maybe you could use "DelayedLauncher", which allows for auto app starts after system is booted.
     

Share This Page