- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
How to obtain the Platform Script from a report window?
Hi,
I'm trying to read in the platform script from an open graph/analysis window. Using "window_ref
Thanks,
Deepak G
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
How to obtain the Platform Script from a report window?
Use the Get Scriptable Object message on an outline box.
open("$SAMPLE_DATA\Big Class.jmp");
Bivariate( Y( :weight ), X( :height ), Fit Line );
biv=Current Report()[outlinebox(1)]<<Get Scriptable Object;
biv<<fit mean;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
How to obtain the Platform Script from a report window?
Use the Get Scriptable Object message on an outline box.
open("$SAMPLE_DATA\Big Class.jmp");
Bivariate( Y( :weight ), X( :height ), Fit Line );
biv=Current Report()[outlinebox(1)]<<Get Scriptable Object;
biv<<fit mean;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
How to obtain the Platform Script from a report window?
Thanks Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to obtain the Platform Script from a report window?
Thanks for this answer. I was trying to use Send To Report(Dispatch...) to update a manually generated platform. So it appears the Send To Report is a message to the platform, to then send to the report of the platform the Dispatch contents. I was looking for a "Current Platform" option similar to the "Current Report". So it seems that
myplatform = Current Platform() (that does not exist) can be done by:
myplatform = Current Report()[outlinebox(1)]<<Get Scriptable Object;
Now something like this works:
myplat = Current Report()[Outlinebox(1)] << Get Scriptable Object;
myplat << SendToReport(
Dispatch(
{},
"1",
ScaleBox,
{Add Ref Line( 60, "Solid", "Medium Dark Red", "Point of interest", 1 )}
)
);
Any chance in new versions of JMP of getting a "Current Platform" function that would be equivalent to this method using Get Scriptable Object?