toDoList v1.0
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Geoffroy Givry
This script creates a ToDo List with checkboxes to tick when you've finished the tasks. You can also remove the ticked boxes and it creates a record of the complete tasks in a text node.
Hope you will enjoy!! :)
Requirements:
6.0, 6.1, 6.2, 6.3 or later
6.0, 6.1, 6.2, 6.3 or later




Please login in order to download these files.
Comments
Couple of comments, if I may be so bold...
1. You're using a hardcoded path to a font that doesn't exist on my system in the text node. Try replacing the path after "font = " on line 63 with nuke.defaultFontPathname()
2. It seems you're trying to add the same knob name twice. I would maybe change line 34 to read
3. If the "To Do" list noop is selected in the DAG, it'll append "selected" to the outputString... so, maybe in that "for string in commentStrings" at the end, add a quick " if string != 'selected' " right before you concatenate commentStrings.
Really good stuff, adding this to my personal toolbox
2. It seems you're trying to add the same knob name twice. I would maybe change line 34 to read:
newNode.addKnob (nuke.Text_Knob (' '))
Thanks a lot!
Geoffroy.
menuToolbar = nuke.toolbar('Nodes')
geoffToolbar = menuToolbar.addMenu('GeoffTools')
geoffToolbar.addCommand('To Do List', 'toDoList.createList()')
Hope you will enjoy!
Geoffroy.
Getting an error:
name "toDoList" is not defined
Traceback (most recent call last):
File "", line 1, in
NameError: name 'toDoList' is not defined
Did you copy the script in the .nuke directory?
And I forgot to mention you need to import the toDoList in your menu.py
here is the right code you need to add:
import toDoList
menuToolbar = nuke.toolbar('N odes')
geoffToolbar = menuToolbar.add Menu('GeoffTool s')
geoffToolbar.ad dCommand('To Do List', 'toDoList.creat eList()')
If it is not working, can you please send me your menu.py by email at geoffroy
Thanks a lot and sorry for the inconvenience.
Geoffroy.
Thanks so much.
Monday!
RSS feed for comments to this post