floopyb
12-01-2008, 03:25 AM
Is there a way to set a script to run every 20 seconds? I want to monitor the active dialog name to be able to report fumefx progress to deadline from a slave.
I have seen this code:
fn checkDialog = (
local hwnd = dialogMonitorOps.getWindowHandle()
local dialogTitle = uiAccessor.getWindowText hwnd
print dialogTitle
true
)
dialogMonitorOps.interactive = false
dialogMonitorOps.unregisterNotification id:#test
dialogMonitorOps.registerNotification checkDialog id:#test
dialogMonitorOps.enabled = true
but the fume dialog name changes and i cant get it to update when it does.
Cheers.
I have seen this code:
fn checkDialog = (
local hwnd = dialogMonitorOps.getWindowHandle()
local dialogTitle = uiAccessor.getWindowText hwnd
print dialogTitle
true
)
dialogMonitorOps.interactive = false
dialogMonitorOps.unregisterNotification id:#test
dialogMonitorOps.registerNotification checkDialog id:#test
dialogMonitorOps.enabled = true
but the fume dialog name changes and i cant get it to update when it does.
Cheers.
