i am working with an application that is largely "invisible" to QTP. as a result, it seems that we will need to make extensive use of virtual objects. of course, screen coordinates will vary depending on a number of variables including the OS in use. i want to be able to adjust the screen coordinates on the fly depending on the OS. for example, the default x-y coordinates might be 100-200 for Windows 2003, but 100-215 for Windows XP.

what i want to do is use something like "getAllObjectsByClass" at the start of a script and adjust the x-y coordinates if needed for all virtual objects. however, i only want to do this to the temporary object repository that has loaded for the test. i don't want to load an object repository file and make permanent changes. can this be done?