You can run AppleScipt scripts inside automator, I'm not in front of a mac
right now but I'm pretty sure you can trigger it with a calendar alarm or a
workflow in Automator.

On Tue, Mar 10, 2015 at 2:56 PM, jean-luc <jlaz...@gmail.com> wrote:

> Hi All
>
> I am trying to have a small backup job run in the background to keep
> incremental copies of the NukeStudio autosave files (I had a scare the
> other day with a corrupted timeline that I couldn’t re-open, including
> autosave).
> So I have installed a program that copies the autosave files every 30 min
> but it prevents my mac from going to sleep.
> I’s kind of a good thing because it means the mac won’t go to sleep when
> Nuke is running or rendering, but I want my machine to go to sleep when I’m
> not using Nuke.
>
> So I have made an applescript that starts to “sync folders” app when Nuke
> is running and stops it when Nuke isn’t running. It works great but I need
> to run it manually, I’m trying to figure out how to make it run every 30
> min in the background.
>
> Any clue how to make that happen? (this is the first code I have ever
> written and I did it by copy pasting what I found online!)
>
>
>
> #########
>
> *if* *application* "NukeStudio9.0v4" *is* running *then*
>
>
> *launch* *application* "Sync Folders"
> *else*
>
>
> *quit* *application* "Sync Folders"
>
>
> *end* *if*
>
> ##########
>
> Cheers
> Jean-Luc
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>

-- 
Bruno-Pierre Jobin
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to