从存储在 SharePoint 中的 JMP 文件创建多个图形使模式窗口保持打开状态你好!
我在 SharePoint 中存储了多个文件(Excel 和 JMP),此脚本将打开 JMP 文件并创建图形、复制到日记并另存为 .doc 文件。
一切正常,除了我似乎无法使用 JSL 关闭的 Windows 模式。
有人有建议吗?
干杯!
翁斋
使用 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)
脚本回复:从存储在 SharePoint 中的 JMP 文件创建多个图形使模式窗口保持打开状态Windows 模态窗口的例子是什么? 它只是共享点站点的窗口吗?
我有一个类似的设置,我需要从共享点站点上的 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")回复:从存储在 SharePoint 中的 JMP 文件创建多个图形使模式窗口保持打开状态我添加了你的脚本。脚本运行后仍会显示该窗口。
我发现这两个窗口在 wb<< Navigate OR Web(" 语句之后打开。
我附上了一张打开的窗口的截图。