Choose Language Hide Translation Bar
Highlighted
DAdams
Level I

How to script button clicks from a JMPQuery prompt

I 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!

2 REPLIES 2
Highlighted
txnelson
Super User

Re: How to script button clicks from a JMPQuery prompt

Both 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 Trees
Jim
Highlighted
vince_faller
Super User

Re: How to script button clicks from a JMPQuery prompt

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

Vince Faller - Predictum
Article Labels

    There are no labels assigned to this post.