Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
Curious indeed.
I noticed their code is using a "FindChild" call but you're using an Alias call. They don't seem to be doing the same thing, actually. FindChild will return the object just like Aliasing does but usage of "FindChild" should be to find an object, assign it to a variable, and then use that object to do something else. Aliasing IS the assignment itself. So, it seems that there's something different in the usage between what you're doing and what they are doing. To investigate:
I noticed their code is using a "FindChild" call but you're using an Alias call. They don't seem to be doing the same thing, actually. FindChild will return the object just like Aliasing does but usage of "FindChild" should be to find an object, assign it to a variable, and then use that object to do something else. Aliasing IS the assignment itself. So, it seems that there's something different in the usage between what you're doing and what they are doing. To investigate:
- Are there specific error messages you get? What's the behavior that's happening on your machine when you use the Sys.Process call?
- Could you post the whole context of the script code that you're using versus the script code they are using?
- Also, are there different operating systems between your machine and theirs? What is the mapping criteria set up in your Alias definition?