Contributions
HISUtils["StopWatch"]
DoesHISUtils["StopWatch"] have a maximum value? I'm currently running a test that's about 15 hours into a 17ish hour test. I'm using a while loop to update the Indicator with how long the test has been running. I won't be able to investigate further until the test is finished, but it seems that the StopWatch stopped updating at 08:27:59 even though the test and TextExecute seem to still be running fine.18KViews0likes2CommentsJanus GridEX v.3
I have a grid object: Sys["Process"]("foobar")["WinFormsObject"]("MainForm")["WinFormsObject"]("MdiClient", "")["WinFormsObject"]("BestPrice")["WinFormsObject"]("Gridex1") I can get to the ["DataSource"] child object, but any descendant deeper than that and I get an "Object required" exception when I run the script. So, foo = Sys["Process"]("foobar")["WinFormsObject"]("MainForm")["WinFormsObject"]("MdiClient", "")["WinFormsObject"]("BestPrice")["WinFormsObject"]("Gridex1")["DataSource"]; works, but if I add bar = foo["Rows"]["Count"]; "bar" returns the exception "Object required" when I try to store it to a variable, even though I can get to it using the object browser.9.3KViews0likes5CommentsRe: Another WaitWindow/Exists thread
Thanks for the replies. WaitAliasChild didn't work for me. Probably because I was messing something up. :) Here's what did work for me: var x; x = Aliases["Blah32"]["WaitWindow"]("#32770", "Blah", 1, 1000); if (!x["Exists"]) { //Do something }1.1KViews0likes0CommentsAnother WaitWindow/Exists thread
As far as I know from searching around here, the following should work: var x; x = Aliases["BLAH32"]["dlgBlah"]["WaitWindow"]("Static", "blah blah blah.", 2, 1000); if (!x["Exists"]) { //Do whatever } The line with WaitWindow always gives a "the object does not exist" error. It also seems to wait longer than 1000 before it fails.11KViews0likes4Comments