A community of Frontier
and Radio Users


Meridian News


Community List


Regex Project

Are you trying to keep up with Frontier's development process? There's almost always a version of Frontier in some sort of alpha or beta testing. Things get more complicated when you factor in root updates. Plus, frontier.version() doesn't always give the result you might expect.

That's why I wrote this script. I store it in my workspace, and put it in my user menu:

on FrontierVersion()
	local (versionString, frontierPath)
	//full path to Frontier app
	frontierPath = string(frontier.getProgramPath())
	// Note: this will give a different result than frontier.version()
	versionString = file.getVersion(frontierPath)
	if defined (workspace.newparts.notes.serialNum)
		// current root update number
		versionString = versionString + "; Root Update "
		versionString = versionString + workspace.newparts.notes.serialNum
	// ready for pasting into an email
	clipboard.putValue(versionString)
	dialog.notify(versionString)

This should work cross-platform, even though docserver says that file.getVersion() is MacOS only. I haven't been able to test that however.