- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
JMP15 JSL script save presentation error
I get the following error if I have the EMF, PNG or JPG in the Save Presentation syntax. The same script works fine in JMP13; Is there any script change for JMP15.
Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = bivariate( y( :weight ), x( :height ) );
rbiv = biv << report;
rbiv << Save Presentation( "$TEMP/jmp_example.pptx", PNG );
Open( "$TEMP/jmp_example.pptx" );
Thanks
Rajan
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: JMP15 JSL script save presentation error
Hi,
If I put "PNG" in quotations it seems to work. Please try that and see if it resolves the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: JMP15 JSL script save presentation error
This is a good general practice for options that do not take any arguments. It looks like this particular option was changed to allow variable evaluation, as in:
fmt = "PNG";
rbiv << Save Presentation( "$TEMP/jmp_example.pptx", fmt );
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: JMP15 JSL script save presentation error
Hi,
If I put "PNG" in quotations it seems to work. Please try that and see if it resolves the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: JMP15 JSL script save presentation error
This is a good general practice for options that do not take any arguments. It looks like this particular option was changed to allow variable evaluation, as in:
fmt = "PNG";
rbiv << Save Presentation( "$TEMP/jmp_example.pptx", fmt );
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: JMP15 JSL script save presentation error
The Scripting Index does not reflect this change. I will put in the bug notification