Scripting help please! 2004-03-23 - By Matthew Lowery
Back 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12"> <TITLE>Scripting help please!</TITLE> </HEAD> <BODY>
<P><FONT SIZE=2 FACE="Arial">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: </FONT></P>
<P><FONT SIZE=2 FACE="courier">set ReceiverElem = GetValue("SelectionList ")</FONT> <BR><FONT SIZE=2 FACE="courier">set MasterElem = PickElement.Value(" ;PickedElement")</FONT> <BR><FONT SIZE=2 FACE="courier">set A= Getvalue(MasterElem.Name)</FONT> <BR><FONT SIZE=2 FACE="courier">AddProp "Custom_parameter_list", , , A + "_my_param"</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">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?</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Thanks in advance,</FONT> <BR><FONT SIZE=2 FACE="Arial">m@</FONT> <BR><FONT SIZE=2 FACE="courier"> </FONT> </P> <BR> <BR>
<FONT SIZE=3><BR> <BR> Disclaimer in effect http://www.videolab.co.za/disclaimer.html<BR> </FONT> </BODY> </HTML>
|
|