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
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python