I think I will start the counter after 10 minutes of idle time, that should be enough to all those things you mention ;-)
Groetjes! Kasper On Thu, Sep 22, 2011 at 3:31 PM, Howard Jones <mrhowardjo...@yahoo.com>wrote: > Dont know but I'd be interested to know how you will be able to log little > things like creative thought, problem discussions and overall shot > reflection time, which in my experience go a bit towards the actual result > ;) > > Howard > > ------------------------------ > *From:* Kasper Oerlemans <kasper.oerlem...@gmail.com> > *To:* Nuke Python discussion <nuke-python@support.thefoundry.co.uk> > *Sent:* Thursday, 22 September 2011, 14:02 > *Subject:* [Nuke-python] detect idle time > > Hi everyone, > > Got a question, I'm thinking about making a script that logs the amount of > time my artist are really working in a specific comp. So I need a way to > detect if they are doing anything in the comp like changing parameters, > moving nodes, moving vertices of roto etc. > > I've found that I can log some of these things by adding a function to > updateUI but this one isn't triggered when you move to a new frame or move a > node around. > > Does anyone have an idea how to pull this off? Or if there are any other > functions that can be useful? > > Thanks! > > Greetings! > Kasper > > > > > On Wed, Sep 14, 2011 at 11:34 PM, Javier Garcia <jav...@gmail.com> wrote: > > Hi, > > I need to trigger the autolabel callback from other callback, for example: > > > def onInputChangeCallback(): > > nuke.frame( nuke.frame() + 1 ) > > # this line will trigger the autolabel callback but also will change the > current frame, nuke.frame( nuke.frame() ) doesn´t work. > > > > def autolabelCallback(): > > if node_input == XX: > > return 'XXXX' > > else: > > return 'YYYY' > > > > > thanks. > > J > > > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > >
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python