Scripting feature - Treat text lists the same as menus
Posted: Mon Feb 26, 2007 5:59 pm
Pretty simple.
In the AS scripting reference a Menu has more options than a text list, although in reality they should have almost identical functions.
At the moment just a msg argument is needed for individual items in the list rather than just for the whole list.
Maybe the msg argument, or something similar could be expanded to include object IDs. If the list items had an additional way to store a reference to a bone or a layer by ID (not list or menu position ID... the ACTUAL ID of an object) this would... well... it would kick arse baby!
I have this crazy copy/paste bones script that is proving to be difficult to complete due to the fact that the list items have no identifier beyond the label or position.
The label (if based on bone or layer names) is useless since bones and layers can have the same name (That is HUGE problem and should be fixed. No two things should have the same name in my opinion). The position of an item in the list is useless since it has no bearing to bone or layer IDs.
-vern
In the AS scripting reference a Menu has more options than a text list, although in reality they should have almost identical functions.
At the moment just a msg argument is needed for individual items in the list rather than just for the whole list.
Maybe the msg argument, or something similar could be expanded to include object IDs. If the list items had an additional way to store a reference to a bone or a layer by ID (not list or menu position ID... the ACTUAL ID of an object) this would... well... it would kick arse baby!
I have this crazy copy/paste bones script that is proving to be difficult to complete due to the fact that the list items have no identifier beyond the label or position.
The label (if based on bone or layer names) is useless since bones and layers can have the same name (That is HUGE problem and should be fixed. No two things should have the same name in my opinion). The position of an item in the list is useless since it has no bearing to bone or layer IDs.
-vern