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
05 Aug 2011
193
ToDo

ToDo1
Please login in order to download these files.

Comments   

 
0 # Zach Lewis 2011-08-06 12:30
Haha, this is wonderful. I'm sick of using stickies, because the text is always center-justifie d and not always the easiest thing to read. Very nice work!

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 :-)
 
 
0 # Zach Lewis 2011-08-06 12:31
err, my second comment should say...

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 (' '))
 
 
0 # Geoffroy Givry 2011-08-07 10:09
Hi Zach, Thank you very much for your comments really appreciated! I'll definitely take them into concideration, and make a V002 with maybe more features.
Thanks a lot!
Geoffroy.
 
 
0 # Michael Clemens 2011-08-12 19:31
What do I need to add to my menu.py to get this to work? Thanks so much.
 
 
0 # Geoffroy Givry 2011-08-13 00:12
Hi Michael, here is the code you need to add to your menu.py:

menuToolbar = nuke.toolbar('Nodes')
geoffToolbar = menuToolbar.addMenu('GeoffTools')
geoffToolbar.addCommand('To Do List', 'toDoList.createList()')

Hope you will enjoy!

Geoffroy.
 
 
0 # Michael Clemens 2011-08-15 12:12
Hi Geoffroy,
Getting an error:
name "toDoList" is not defined
Traceback (most recent call last):
File "", line 1, in
NameError: name 'toDoList' is not defined
 
 
0 # Geoffroy Givry 2011-08-15 12:46
Hi Michael, Sorry to hear it is not working,
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 ?
Thanks a lot and sorry for the inconvenience.
Geoffroy.
 
 
0 # Michael Clemens 2011-08-15 13:01
DUH! Sorry. . not paying attention. . I forgot to call in in my menu.py by importing it.

Thanks so much.

Monday! :-)
 

You have no rights to post comments

We have 3804 guests and 81 members online