[K3d-development] Re: Toolbar-scripts were not being initialized for dynamic hotkeys
Brought to you by:
barche
From: Joe C. <joe...@gm...> - 2005-08-29 17:21:13
|
> > Toolbar-scripts were not being initialized for dynamic hotkey > > assignment, they've been updated in CVS. Refer to > > share/ngui/toolbar_layout.k3d for an additional tag that you must add t= o > > your XML for toolbar scripts. Alright... I got it working. That's awesome! I can now bind scripts to hot= keys Now I have another problem, I want to make the script external, as in, not in the toolbar file. That toolbar layout could get way too big if I start throwing all my scripts in there. However, it seems to require an absolute pathname or something. I think k3d has a standard scripts path. Do you think you could make it check that path if all you included was a file name, or maybe if you started with "./" it could start the path from the k3d root dir. Only look for files in absolute paths if you start with a "/". This would especially help for cross platform linux/win32 where the path to the scripts directory would be different on each machine. Or maybe there's already a way to do that and I simply don't know it. I've tried including a script name with no path but I don't know where if searches for it... Thanks! Sincerely, Joe Crawford ___________________________________ Owner - Joetainment Enterprises Cell: 604-866-3050 Email: jo...@jo... Messenger: joe...@ho... ICQ: 103730379 Web: www.joetainment.com |