You need to set the index n the menu entry
ex:
menu.addCommand('File/Test', 'openScript.app.start()',index=2)
On Tue, Jul 10, 2012, at 13:47, Julien Chandelle wrote:
Hey,
I want to add a custom menu in Files in the main menu. But I
want to place it just above "Save New Version". But when i put
it in the menu.py in .nuke the menu is at the end of the menu.
And I want to put it in the menu.py in the .nuke folder not in
the menu.py in nuke install directory.
How can I put it anywhere I want ?
--
Julien Chandelle
GSM : +32 (0) 494 277 542
[1]julienchandelle.be
[2]@jimbiscuit || [3]imdb
|| Nuke , AE & Fusion Compositor ||
_______________________________________________
Nuke-users mailing list
[4][email protected],
[5]http://forums.thefoundry.co.uk/
[6]http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-
users
References
1. http://www.julienchandelle.be/
2. https://twitter.com/#%21/jimbiscuit
3. http://www.imdb.com/name/nm2844171/
4. mailto:[email protected]
5. http://forums.thefoundry.co.uk/
6. http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
--
Hugo Léveillé
TD Compositing, Vision Globale
[email protected]
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users