- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Print JMP version and details in jsl
I came up with a simple manual way to get the current version (not including the revision, e.g. 12 vs 12.2.0) of JMP for my scripts which send emails:<br>
<pre><code>version = word(-1,Get Path Variable("HOME"),"/");</code><pre><br>
This obviously returns:<br>
<pre><code>12</code></pre><br>
I was curious to see if anyone knew of a built-in method to get this as well as at least the revision, but possibly more. I would like to get:<br>
<pre><code>12.2.0</code></pre><br>
and possibly any of the information kept with the license:<br>
<pre>JMP® Pro 12.2.0 (64-bit)<br>
User: *******<br>
Administrator: ******<br>
Organization: *****<br>
Site ID: ###### <br>
Expires: 11/30/2016 <br>
Number of Users Allowed: #### <br>
Microsoft Windows 7 Enterprise 64-bit (6.1.7601.65536)<br>
Service Pack 1</pre>
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Print JMP version and details in jsl
jmpversion()
"13.0.0"
"12.2.0"
"11.2.1"
"10.0.2"
" 9.0.1"
" 8.0.2"
" 7.0.2"
" 6.0.3"
the leading blank in JMP 6,7,8,9 is intentional. JMP 5 does not have the function.
Also, from the scripting index:
and...
JMP Product Name();
"Pro" (or "Standard")
and...
Build Information();
"Feb 9 2015, 06:42:57, Release, JMP Pro"
Build Information is mostly for our internal use and the format has changed over time. You should use the JMP Product Name() if it does what you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Print JMP version and details in jsl
jmpversion()
"13.0.0"
"12.2.0"
"11.2.1"
"10.0.2"
" 9.0.1"
" 8.0.2"
" 7.0.2"
" 6.0.3"
the leading blank in JMP 6,7,8,9 is intentional. JMP 5 does not have the function.
Also, from the scripting index:
and...
JMP Product Name();
"Pro" (or "Standard")
and...
Build Information();
"Feb 9 2015, 06:42:57, Release, JMP Pro"
Build Information is mostly for our internal use and the format has changed over time. You should use the JMP Product Name() if it does what you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Print JMP version and details in jsl
Wow...a couple more ENTERs with my keyboard, and there it was in the Scripting Guide. I'm ashamed.
Thank you for enlightening me!