SharePointに保存されているJMPファイルから複数のグラフを作成すると、モーダルウィンドウが開いたままになりますやあ!
SharePointに複数のファイル(ExcelとJMP)を保存していますが、このスクリプトはJMPファイルを開いてグラフを作成し、ジャーナルにコピーして.docファイルとして保存します。
JSLを使用して閉じることができないように見えるWindowsモーダルを除いて、すべてが正常に機能します。
誰か提案がありますか?
乾杯!
オンジャイ
JMP16.1の使用。
//save blood pressure.jmp file to SharePoint
//In SharePoint, click on the jmp file and select "copy link"
//for the Sharepoint PATH you need to remove all characters after "...../Blood%20Pressure.jmp?"
//for the SharePoint FILE you need to ADD "download=1" after "...../Blood%20Pressure.jmp?"
Names Default To Here( 1 );
Batch Interactive = (1);
Web("<<LINK />>",JMP Window);
dt=Open("<<LINK />>");
// Setup an Example Data table
dataCols = dt << get column names( continuous );
dt:Dose << set name( "WhichTest" );
dt << set name( "Filtered_raw" );
// Run the charts
OWA = Data Table( "Filtered_raw" ) << Oneway(
Y( Eval( dataCols ) ),
X( "WhichTest" ),
Each Pair( 0 ),
Means( 0 ),
Plot Actual by Quantile( 0 ),
Plot Quantile by Actual( 1 ),
Mean Diamonds( 1 )
);
// Create a journal containing each Oneway
OWA << Journal;
// Obtain a reference to the journal
jj = Current Journal();
// Save the journal to disk
jj << Save MSWord( "$DOCUMENTS\Oneway_normalQ.doc" );
jj << Close Window;
Close (dt, No Save);
Window( "Web Browser" ) << close window; //closes JMP web window
Batch Interactive = (0)
スクリプティングRe:SharePointに保存されているJMPファイルから複数のグラフを作成すると、モーダルウィンドウが開いたままになりますWindowsモーダルウィンドウの例は何ですか? それはSharePointサイトのウィンドウだけですか?
SharePointサイトのExcelスプレッドシートからテーブルを取得する必要がある同様の設定があります。 すべてが終わったら、ウィンドウの変数を閉じます。 これがお役に立てば幸いです。
wbcheck = New Window("Web Check", wb = Web Browser Box() );
wb << Navigate("link to the sharepoint folder that the file is located");
wbcheck << Show Window(0); //for me, I like to hide this window from the user not necessary if you want them to see it
Wait(3); //I wait because sometimes it doesn't load properly
Open("link to the actual file with download=1")Re: SharePoint に保存されている JMP ファイルから複数のグラフを作成すると、モーダル ウィンドウが開いたままになります私はあなたのスクリプトを追加しました。スクリプトの実行後もウィンドウが表示されます。
wb<< Navigate OR Web(" ステートメントの後にこれら 2 つのウィンドウが開くことがわかりました。
開いたままのウィンドウのスクリーンショットを添付しました。