Re: [Nuke-users] question for Applescripts savvy people

2015-03-16 Thread Johannes Hezer

Shouldnt Timemachine do what you want to have anyway ?
You can set the hourly intervall to 30 mins
http://www.macyourself.com/2010/02/21/how-to-change-time-machine-backup-interval-backup-manually/

cheers
johannes

Am 3/10/15 um 22:52 PM schrieb jean-luc:

nice!

I think that’s going to b the one.

Thanks Pete!

On 11/03/2015, at 10:45 am, Pete O'Connell pedrooconn...@gmail.com 
mailto:pedrooconn...@gmail.com wrote:



Hi Jean-Luc. To run scheduled jobs on a mac launchd is pretty clean:
http://alvinalexander.com/mac-os-x/launchd-plist-examples-startinterval-startcalendarinterval

It sounds like you might just need a rolling autosave though.
This webpage explains really well how to set it up:

http://thoughtvfx.blogspot.co.nz/2010/08/multiple-autosave-in-nuke.html

Bonne Chance!
Pete








On Wed, Mar 11, 2015 at 9:16 AM, Deke Kincaid d...@thefoundry.co.uk 
mailto:d...@thefoundry.co.uk wrote:


Send the feature request into support :)

--
Deke Kincaid
Media  Entertainment OEM Development Manager
The Foundry
Skype: dekekincaid
Tel: (310) 399 4555 - Mobile: (310) 883 4313
Web: www.thefoundry.co.uk http://www.thefoundry.co.uk/
Email: d...@thefoundry.co.uk mailto:d...@thefoundry.co.uk

On Tue, Mar 10, 2015 at 1:02 PM, jean-luc jlaz...@gmail.com
mailto:jlaz...@gmail.com wrote:

That sound great.
How about making it an option in the Nuke preferences?



On 11/03/2015, at 8:58 am, Deke Kincaid
d...@thefoundry.co.uk mailto:d...@thefoundry.co.uk wrote:


The autosave is just python.  I know many people that
modified the autosave to do 100 versions of it like Shake
used to.

--
Deke Kincaid
Media  Entertainment OEM Development Manager
The Foundry
Skype: dekekincaid
Tel: (310) 399 4555 tel:%28310%29%20399%204555 - Mobile:
(310) 883 4313
Web: www.thefoundry.co.uk http://www.thefoundry.co.uk/
Email: d...@thefoundry.co.uk mailto:d...@thefoundry.co.uk
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk
mailto:Nuke-users@support.thefoundry.co.uk,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk
mailto:Nuke-users@support.thefoundry.co.uk,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk
mailto:Nuke-users@support.thefoundry.co.uk,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users




--
-
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk 
mailto:Nuke-users@support.thefoundry.co.uk, 
http://forums.thefoundry.co.uk/

http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users




 ESET 11297 (20150310) 
The message was checked by ESET Mail Security.


___
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


 ESET 11297 (20150310) 
The message was checked by ESET Mail Security.



--
STUDIO RAKETE GmbH
Johannes Hezer, Compositing TD  Stereoscopic SV
Schomburgstr. 120
D - 22767 Hamburg

j.he...@studiorakete.de
Tel:+49 (0)40 - 380 375 69 - 0
Fax:+49 (0)40 - 380 375 69 - 99

--
Pflichtangaben laut Handelsgesetzbuch und GmbH-Gesetz:

STUDIO RAKETE GmbH
Schomburgstr. 120 D - 22767 Hamburg

www.studiorakete.de / i...@studiorakete.de

Geschaeftsfuehrer: Jana Bohl

Die Gesellschaft ist eingetragen im Handelregister des
Amtsgerichts Hamburg unter der Nummer HR B 95660
USt.-ID Nr.: DE 245787817




 ESET 11327 (20150316) 
The message was checked by ESET Mail Security.
___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-12 Thread Bruno-Pierre Jobin
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-12 Thread jean-luc
That sound great.
How about making it an option in the Nuke preferences? 



On 11/03/2015, at 8:58 am, Deke Kincaid d...@thefoundry.co.uk wrote:

 The autosave is just python.  I know many people that modified the autosave 
 to do 100 versions of it like Shake used to.
 
 --
 Deke Kincaid
 Media  Entertainment OEM Development Manager
 The Foundry
 Skype: dekekincaid
 Tel: (310) 399 4555 - Mobile: (310) 883 4313
 Web: www.thefoundry.co.uk
 Email: d...@thefoundry.co.uk  
 ___
 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

___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-12 Thread Pete O'Connell
Hi Jean-Luc. To run scheduled jobs on a mac launchd is pretty clean:
http://alvinalexander.com/mac-os-x/launchd-plist-examples-startinterval-startcalendarinterval

It sounds like you might just need a rolling autosave though.
This webpage explains really well how to set it up:

http://thoughtvfx.blogspot.co.nz/2010/08/multiple-autosave-in-nuke.html

Bonne Chance!
Pete








On Wed, Mar 11, 2015 at 9:16 AM, Deke Kincaid d...@thefoundry.co.uk wrote:

 Send the feature request into support :)

 --
 Deke Kincaid
 Media  Entertainment OEM Development Manager
 The Foundry
 Skype: dekekincaid
 Tel: (310) 399 4555 - Mobile: (310) 883 4313
 Web: www.thefoundry.co.uk
 Email: d...@thefoundry.co.uk

 On Tue, Mar 10, 2015 at 1:02 PM, jean-luc jlaz...@gmail.com wrote:

 That sound great.
 How about making it an option in the Nuke preferences?



 On 11/03/2015, at 8:58 am, Deke Kincaid d...@thefoundry.co.uk wrote:

 The autosave is just python.  I know many people that modified the
 autosave to do 100 versions of it like Shake used to.

 --
 Deke Kincaid
 Media  Entertainment OEM Development Manager
 The Foundry
 Skype: dekekincaid
 Tel: (310) 399 4555 - Mobile: (310) 883 4313
 Web: www.thefoundry.co.uk
 Email: d...@thefoundry.co.uk
  ___
 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



 ___
 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



 ___
 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




-- 
-
___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-10 Thread Deke Kincaid
Send the feature request into support :)

--
Deke Kincaid
Media  Entertainment OEM Development Manager
The Foundry
Skype: dekekincaid
Tel: (310) 399 4555 - Mobile: (310) 883 4313
Web: www.thefoundry.co.uk
Email: d...@thefoundry.co.uk

On Tue, Mar 10, 2015 at 1:02 PM, jean-luc jlaz...@gmail.com wrote:

 That sound great.
 How about making it an option in the Nuke preferences?



 On 11/03/2015, at 8:58 am, Deke Kincaid d...@thefoundry.co.uk wrote:

 The autosave is just python.  I know many people that modified the
 autosave to do 100 versions of it like Shake used to.

 --
 Deke Kincaid
 Media  Entertainment OEM Development Manager
 The Foundry
 Skype: dekekincaid
 Tel: (310) 399 4555 - Mobile: (310) 883 4313
 Web: www.thefoundry.co.uk
 Email: d...@thefoundry.co.uk
  ___
 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



 ___
 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

___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-10 Thread jean-luc
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 ron...@gmail.com wrote:

 Hmmm... that does put a damper on things...
 
 
 
 Ron Ganbar
 email: ron...@gmail.com
 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 jlaz...@gmail.com 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 ron...@gmail.com wrote:
 
 How about using two Python scripts when opening Nuke or closing Nuke to open 
 and close that application as well?
 
 
 
 Ron Ganbar
 email: ron...@gmail.com
 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 jlaz...@gmail.com 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 bpjo...@gmail.com 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 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
 
 
 ___
 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
 
 ___
 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
 
 
 ___
 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
 
 ___
 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

___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-10 Thread jean-luc
thanks!


On 11/03/2015, at 8:46 am, Quico Noizeux kee...@gmail.com wrote:

 Try with launchd, there is an app to edit tasks called lingon iirc.
 
 Cheers 
 
 El 10/03/2015, a las 19:56, jean-luc jlaz...@gmail.com escribió:
 
 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
 ___
 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

___
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

[Nuke-users] question for Applescripts savvy people

2015-03-10 Thread jean-luc
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-10 Thread Quico Noizeux
Try with launchd, there is an app to edit tasks called lingon iirc.

Cheers 

 El 10/03/2015, a las 19:56, jean-luc jlaz...@gmail.com escribió:
 
 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
___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-10 Thread Deke Kincaid
The autosave is just python.  I know many people that modified the autosave
to do 100 versions of it like Shake used to.

--
Deke Kincaid
Media  Entertainment OEM Development Manager
The Foundry
Skype: dekekincaid
Tel: (310) 399 4555 - Mobile: (310) 883 4313
Web: www.thefoundry.co.uk
Email: d...@thefoundry.co.uk
___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-10 Thread jean-luc
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 ron...@gmail.com wrote:

 How about using two Python scripts when opening Nuke or closing Nuke to open 
 and close that application as well?
 
 
 
 Ron Ganbar
 email: ron...@gmail.com
 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 jlaz...@gmail.com 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 bpjo...@gmail.com 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 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
 
 
 ___
 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
 
 ___
 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

___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-10 Thread jean-luc
cool, that looks like a good solution. I’ll have a look.

Thanks!

On 11/03/2015, at 8:38 am, Ant Nasce a...@thefoundry.co.uk wrote:

 Hey Jean-Luc,
 
 Have you looked into a running a crontab job or using launchd?
 
 https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/ScheduledJobs.html
 
 And an example tutorial here:
 
 http://benr75.com/pages/using_crontab_mac_os_x_unix_linux
 
 Cheers,
 Ant
 
 On Tuesday, 10 March 2015, jean-luc jlaz...@gmail.com wrote:
 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 ron...@gmail.com wrote:
 
 Hmmm... that does put a damper on things...
 
 
 
 Ron Ganbar
 email: ron...@gmail.com
 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 jlaz...@gmail.com 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 ron...@gmail.com wrote:
 
 How about using two Python scripts when opening Nuke or closing Nuke to 
 open and close that application as well?
 
 
 
 Ron Ganbar
 email: ron...@gmail.com
 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 jlaz...@gmail.com 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 bpjo...@gmail.com 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 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
 
 
 ___
 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
 
 ___
 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
 
 
 ___
 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
 
 ___
 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
 
 
 
 -- 
 Antony Nascè, PhD
 Senior Creative Specialist - FLIX
 The Foundry
 5 Golden Square
 London, W1F 9HT, UK
 Tel: +44 20 7479 4350
 Web: www.thefoundry.co.uk
 Email: a...@thefoundry.co.uk
 
 ___
 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

___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-10 Thread Ron Ganbar
Hmmm... that does put a damper on things...



Ron Ganbar
email: ron...@gmail.com
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 jlaz...@gmail.com 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 ron...@gmail.com wrote:

 How about using two Python scripts when opening Nuke or closing Nuke to
 open and close that application as well?



 Ron Ganbar
 email: ron...@gmail.com
 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 jlaz...@gmail.com 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 bpjo...@gmail.com 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 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



 ___
 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


 ___
 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



 ___
 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

___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-10 Thread jean-luc
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 bpjo...@gmail.com 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 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

___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-10 Thread Ant Nasce
Hey Jean-Luc,

Have you looked into a running a crontab job or using launchd?

https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/ScheduledJobs.html

And an example tutorial here:

http://benr75.com/pages/using_crontab_mac_os_x_unix_linux

Cheers,
Ant

On Tuesday, 10 March 2015, jean-luc jlaz...@gmail.com wrote:

 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 ron...@gmail.com wrote:

 Hmmm... that does put a damper on things...



 Ron Ganbar
 email: ron...@gmail.com
 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 jlaz...@gmail.com 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 ron...@gmail.com wrote:

 How about using two Python scripts when opening Nuke or closing Nuke to
 open and close that application as well?



 Ron Ganbar
 email: ron...@gmail.com
 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 jlaz...@gmail.com 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 bpjo...@gmail.com 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 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



 ___
 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


 ___
 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



 ___
 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


 ___
 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




-- 
Antony Nascè, PhD
Senior Creative Specialist - FLIX
The Foundry
5 Golden Square
London, W1F 9HT, UK
Tel: +44 20 7479 4350
Web: www.thefoundry.co.uk
Email: a...@thefoundry.co.uk
___
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

Re: [Nuke-users] question for Applescripts savvy people

2015-03-10 Thread jean-luc
nice!

I think that’s going to b the one.

Thanks Pete!

On 11/03/2015, at 10:45 am, Pete O'Connell pedrooconn...@gmail.com wrote:

 Hi Jean-Luc. To run scheduled jobs on a mac launchd is pretty clean:
 http://alvinalexander.com/mac-os-x/launchd-plist-examples-startinterval-startcalendarinterval
 
 It sounds like you might just need a rolling autosave though.
 This webpage explains really well how to set it up:
 
 http://thoughtvfx.blogspot.co.nz/2010/08/multiple-autosave-in-nuke.html
 
 Bonne Chance!
 Pete
 
 
 
 
 
 
 
 
 On Wed, Mar 11, 2015 at 9:16 AM, Deke Kincaid d...@thefoundry.co.uk wrote:
 Send the feature request into support :)
 
 --
 Deke Kincaid
 Media  Entertainment OEM Development Manager
 The Foundry
 Skype: dekekincaid
 Tel: (310) 399 4555 - Mobile: (310) 883 4313
 Web: www.thefoundry.co.uk
 Email: d...@thefoundry.co.uk  
 
 On Tue, Mar 10, 2015 at 1:02 PM, jean-luc jlaz...@gmail.com wrote:
 That sound great.
 How about making it an option in the Nuke preferences? 
 
 
 
 On 11/03/2015, at 8:58 am, Deke Kincaid d...@thefoundry.co.uk wrote:
 
 The autosave is just python.  I know many people that modified the autosave 
 to do 100 versions of it like Shake used to.
 
 --
 Deke Kincaid
 Media  Entertainment OEM Development Manager
 The Foundry
 Skype: dekekincaid
 Tel: (310) 399 4555 - Mobile: (310) 883 4313
 Web: www.thefoundry.co.uk
 Email: d...@thefoundry.co.uk  
 ___
 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
 
 
 ___
 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
 
 
 ___
 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
 
 
 
 -- 
 -
 ___
 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

___
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