View Single Post
  #1  
Old 05-02-2007, 03:20 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,752
How to refresh GUI app with changes made via object model

When script code modifies the current project via the object model, the GUI app may not immediately update to reflect those changes. To force a refresh of the GUI app from the underlying object model, use the following VBScript code in a Run Script action:
Code:
CreateObject("WScript.Shell").SendKeys "{F5}", True
Note: This code may need to be adjusted if F5 is not configured as a keyboard shortcut for View | Refresh (it is by default).
Reply With Quote