Forum Discussion
And just to make it more fun - when I can run the script, it only works as a stand alone function. I can't call it from my main program because I get the does not exist error. I don't know what the difference is there or if it is even related, but maybe it's helpful.
if you can not call from main programe , probably u r doing something at there whitch may delay, overlap or changing properties of your object. just try and see only calling your sub routine nothing else in main programe.
- Colin_McCrae9 years agoCommunity Hero
What language are you scripting in?
That may have an effect depending what you're passing in to get to the function that fails.
From here: http://support.smartbear.com/viewarticle/70308/
•JScript, C++Script and C#Script do not support functions that obtain parameters by reference
May have something to do with it?
And, as dmiscannon says, adding a sys,refresh just before trying to use the object may help.