GetPropertyValue In VBScript
Posted: Sun Oct 17, 2004 12:37 am
Below is a code sniplet from the script I am trying to run.
Here are my thoughts: A Task sets the CameraToActivate property in the CamActivate Null Device. This value is the same as the name of the Script Device. The Task then starts the Script Device. Basically I am trying to have the one generic script defined in multiple Script Devices.
Is this possible?? Right now I am getting a syntax error during the compile. I am hoping it is just that I don't have the right syntax.
Thanks,
Scott J.
Here are my thoughts: A Task sets the CameraToActivate property in the CamActivate Null Device. This value is the same as the name of the Script Device. The Task then starts the Script Device. Basically I am trying to have the one generic script defined in multiple Script Devices.
Code: Select all
Camera = GetPropertyValue("CamActivate.CameraToActivate")
Outpath = GetPropertyValue(Trim(Camera) & ".OutputPath")
Is this possible?? Right now I am getting a syntax error during the compile. I am hoping it is just that I don't have the right syntax.
Thanks,
Scott J.