Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   Scripting (https://www.kinook.com/Forum/forumdisplay.php?f=35)
-   -   How to refresh GUI app with changes made via object model (https://www.kinook.com/Forum/showthread.php?t=2583)

kinook 05-02-2007 03:20 PM

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).


All times are GMT -5. The time now is 12:29 PM.


Copyright © 1999-2023 Kinook Software, Inc.