|
|
 |
 |
Frontier Version
Compatibility: 4.2.3 - 5.0.2b - 5.1.2+ - 6.0 - MacOS - Windows
FrontierVersion() constructs the long string representation of the Frontier version you're running, and presents it in a dialog.
The actual version string is assembled by another script, fullFrontierVersion.
Note that although it works fine with Frontier 6, it has not been updated to show the revision date/serial number.
|
on FrontierVersion()
dialog.alert( user.command.fullFrontierVersion() )
|
|
|
on fullFrontierVersion()
<< Assemble Frontier version info.
local
strOutput = "Frontier: "
strOutput = strOutput + file.getVersion(Frontier.getProgramPath())
if ( frontier.version() beginsWith "5.0.2" )
strOutput = strOutput + " ru-" + workspace.newParts.notes.serialNum + "\r"
if ( frontier.version() beginsWith "5.1" )
strOutput = strOutput + " updated " + user.rootUpdates.servers.Frontier.lastupdate + cr
return ( strOutput )
bundle // Display the information we collected.
dialog.alert( fullFrontierVersion() )
|
|
I have embedded the above script(s) in this page as mimi data. To retrieve the script(s), either
(1) View Frame Source in your browser and copy the mimi blocks,
(2) save the page as source text and import it using the Mimi->Import From File command, or
(3) (if you are on a Mac) select Mimi->Web Page->Import From Web Page.
|