SirSmiley, did you miss the part about the variable not being SET? If I call "DesktopX.ScriptObject(obj.Name).objGroupNumber" without "objGroupNumber" being set on the object "obj.Name", it will give an "Object Required" error AKA no var. What I'm doing is emulating a virtual desktop by hiding all of the objects on my desktop except one. The visible one is a triger for the rest of my objects. Each time I hit the trigger I want the trigger object to: 1) Hide all object that aren't hi
kutulu13
0
Posts
0
Replies
192
Reputation
6 Replies
8,095 Views
Tried that. The Script continues execution but it causes another function in the script to fail when it resumes.
6 Replies
8,095 Views
I'm trying to retrive variable values from each object on my desktop by means of " For each obj in DesktopX.Objects MsgBox DesktopX.ScriptObject(obj.Name).objGroupNumber Next " The problem I have is that not all of my objects have "objGroupNumber" instantiated. When the for loop reaches an object without "objGroupNumber" instantiated it sends an "Object Required" error. Is there a way t
6 Replies
8,095 Views