Scripting help please! 2004-03-23 - By Rafe Sacks
Back Get the PSet as an object instead of calling it back by name. The object is returned by the AddProp() function if I remember right so you would want: (my VBS is a little rusty, but I think this will still help even if it is slightly off. - check the docs)
set oProp = AddProp "Custom_parameter_list",,, A + "_my_param"
'Then use oProp instead of the string name
- Rafe
Matthew Lowery wrote:
> Ok this is something that I just can't see a way around so if someone > can help me out it would be great. I have this script I'm trying to > write that creates a custom parameter set based on the name an object > that gets picked, like so: > > set ReceiverElem = GetValue("SelectionList") > set MasterElem = PickElement.Value("PickedElement") > set A= Getvalue(MasterElem.Name) > AddProp "Custom_parameter_list", , , A + "_my_param" > > Ok so this works fine, now I want to add parameters to this newly > created parameter set, but the parameter set's name changes depending > on what object you picked during the picking session, so how do I > select this parameter set so I can add parameters and reference those > parameters later in the script? > > Thanks in advance, > m@ > > > > > > > Disclaimer in effect http://www.videolab.co.za/disclaimer.html
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|