I was looking to do this myself a while back and never found a way.

- John Vanderbeck
- http://www.johnvanderbeck.com


On Mon, Dec 19, 2011 at 6:23 AM, Pete O'Connell <[email protected]>wrote:

> Hi Chris. Thanks for your reply. nuke.activeViewer().stop()  and the
> nuke.activeViewer().frameControl() methods are useful for moving around the
> timeline but what I would like to do is, while stopped on a certain frame,
> to be able to pause the active viewer with a Python method (like hitting
> "p" does when over the viewer).
> Thanks
> Pete
>
>
> On Mon, Dec 19, 2011 at 8:33 PM, Chris Bevan <[email protected]>wrote:
>
>> Hi Pete,
>>
>> This should do the job:
>>
>> nuke.activeViewer().stop()
>>
>> There's some more useful stuff in nuke.activeViewer().**frameControl()
>> as well.
>>
>> - Chris
>>
>>
>> On 15/12/11 12:59, Pete O'Connell wrote:
>>
>>> Hi, I am trying to pause the active viewer with a python method. I can't
>>> seem to find a method for that though. Anyone know of a way to do that?
>>> I am trying to add a unique keyboard shortcut that will work no matter
>>> where I am in the gui (rather than "p").
>>>
>>> Thanks
>>> Pete
>>>
>>>
>>> This body part will be downloaded on demand.
>>>
>>
>> --
>> Chris Bevan, Senior Software Engineer
>> The Foundry, 6th Floor, The Communications Building
>> 48 Leicester Square, London, WC2H 7LT
>> Tel: +44 (0)20 7968 6828 | Fax: +44 (0)20 7930 8906
>> Web: www.thefoundry.co.uk
>>
>> The Foundry Visionmongers Ltd
>> Registered in England and Wales No: 4642027
>> ______________________________**_________________
>> Nuke-python mailing list
>> Nuke-python@support.**thefoundry.co.uk<[email protected]>,
>> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
>> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-python<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python>
>>
>
>
>
> --
> Pete
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to