Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
As the image show below.
How can i use the macro to get the PowerMILL is Standard or Ultimate version?
Solved! Go to Solution.
As the image show below.
How can i use the macro to get the PowerMILL is Standard or Ultimate version?
Solved! Go to Solution.
Not sure if there is a way to do this with macros however I used to do this by changing the target of the powermill shortcut. If you right click on the shortcut and then select properties, from there go to the shortcut tab. In the target box if you scroll right to the end the last word is "ultimate", if you swap this out with the word "standard", press ok, then launch powermill from the shortcut it will load into standard mode.
This might work however you may run into license issues when it loads, i'm not certain, haven't done this in a while.
Thanks for the answer.
I Know this method to run the standard or ultimate version. But I need is the macro to know with version is running now. because some function was limit in PowerMILL standard. The macro needs to warn the user that the correct version needs to be used.
This should do it:
//Get info from About widget
STRING $info = $widget("about.label").value
// Split it
STRING LIST $split = tokens($info)
// Get Version, should be one of Viewer, Ultimate, Premium and Standard
//currently the viewer doesn't return information into the $info variable
// Error check for trying to split an emply list
BOOL $err = 0
$err = ERROR split[2]
STRING $version = ""
IF $err == 0 {
$version = split[2]
}
MESSAGE INFO $version