Beim Erstellen mehrerer Diagramme aus einer in SharePoint gespeicherten JMP-Datei bleibt das modale Fenster geöffnetHallo!
Ich habe mehrere Dateien (Excel und JMP) in SharePoint gespeichert und dieses Skript öffnet die JMP-Datei und erstellt Diagramme, kopiert sie in ein Journal und speichert sie als .doc-Datei.
Alles funktioniert gut, außer einem Windows-Modal, das ich anscheinend nicht mit JSL schließen kann.
Hat jemand Vorschläge?
Prost!
Onjai
Mit JMP 16.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)
SkripterstellungBetreff: Beim Erstellen mehrerer Diagramme aus einer in SharePoint gespeicherten JMP-Datei bleibt ein modales Fenster geöffnetWas ist das Beispiel für das modale Windows-Fenster? Ist es nur das Fenster mit der Sharepoint-Site?
Ich habe ein ähnliches Setup, bei dem ich eine Tabelle aus einer Excel-Tabelle auf einer Sharepoint-Site abrufen muss. Wenn ich mit allem fertig bin, schließe ich einfach die Variable für das Fenster. Ich hoffe das hilft.
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")