hehe..
Worst case scenario I’ll have to quit the app manually to let he mac go to 
sleep :)



On 11/03/2015, at 8:26 am, Ron Ganbar <[email protected]> wrote:

> Hmmm... that does put a damper on things...
> 
> 
> 
> Ron Ganbar
> email: [email protected]
> tel: +44 (0)7968 007 309 [UK]
>      +972 (0)54 255 9765 [Israel]
> url: http://ronganbar.wordpress.com/
> 
> On Tue, Mar 10, 2015 at 9:21 PM, jean-luc <[email protected]> wrote:
> Sure, That would work too. But I have no idea how to write python (or any 
> other language, applescript seemed like a easy way to do it)
> 
> 
> 
> On 11/03/2015, at 8:18 am, Ron Ganbar <[email protected]> wrote:
> 
>> How about using two Python scripts when opening Nuke or closing Nuke to open 
>> and close that application as well?
>> 
>> 
>> 
>> Ron Ganbar
>> email: [email protected]
>> tel: +44 (0)7968 007 309 [UK]
>>      +972 (0)54 255 9765 [Israel]
>> url: http://ronganbar.wordpress.com/
>> 
>> On Tue, Mar 10, 2015 at 9:14 PM, jean-luc <[email protected]> wrote:
>> yes that would work but you can only set a calendar alarm to repeat daily, 
>> so that’s no good for a 30min loop
>> 
>> On 11/03/2015, at 8:11 am, Bruno-Pierre Jobin <[email protected]> wrote:
>> 
>>> 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 <[email protected]> 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
>>> [email protected], http://forums.thefoundry.co.uk/
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>> 
>>> -- 
>>> Bruno-Pierre Jobin
>>> _______________________________________________
>>> Nuke-users mailing list
>>> [email protected], http://forums.thefoundry.co.uk/
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>> 
>> 
>> _______________________________________________
>> Nuke-users mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>> 
>> _______________________________________________
>> Nuke-users mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> 
> 
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> 
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to