How to script button clicks from a JMPQuery promptI would like to automate the updating of a control chart dashboard. When the dashboard file opens there are two prompts frm the JMPQuery that I can close with simple clicks on the OK buttons on both prompts one after the other. Can you point me to information on how I go about scripting these button clicks?
Thank you!
Re: How to script button clicks from a JMPQuery promptBoth the Clicking capability and the determination of how to identify which objects you need to click on are covered in the Scripting Guide
Help==>Books==>Scripting Guide
Look for the Click() function and the section in the guide on Display TreesRe: How to script button clicks from a JMPQuery promptIt sounds like you're using the query builder? If so, I've had limited success with post query script.
Names Default To Here( 1 );
obj = New SQL Query(
Connection( "ODBC:DSN=SampleDSN;" ),
Custom SQL( "SELECT c1, c2, c3 FROM my_table;" )
);
obj << Post Query Script(
"show( queryResult << Get As Matrix );"
);
Definitely check it out in the scripting index though.