10-29-2019 08:40 AM
Hi all,
I'd like to set a propertyobject like that :
PropObj.SetValString("first.second[test].value", 1, ""value")
But I get an COMexception : A subscript is not valid for objects that are not arrays......
How can I use hook without TS believes that it's an array?
Thanks in advance for your help
Solved! Go to Solution.
10-29-2019 10:16 AM
Look at the SetValStringByOffset method:
Hope this helps,
10-29-2019 11:17 AM
Sorry, but I don't see the kink with my problem.
In fact I want to create a container with this name : "test[name]"
10-29-2019 12:03 PM
Brackets are illegal characters for variable names.
10-30-2019 03:33 AM
it's what I thought.
I replaced bracket by paenthesis.
Thanks