mwel check MWorks build date
Hi Chris,
I'd like to add an assert() to some of our MWorks files ensuring they're only run on a given build date of mworks, or later. Is there any way to do this now? If not, can you add to todo?
thanks!
Mark
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Christopher Sta... on 25 Oct, 2019 08:31 PM
Hi Mark,
There isn't a built-in way to do it. However, you could do it with a Python script, loaded as a Python file resource. See the attached example.
I also could add a built-in method, if you'd prefer that.
Cheers,
Chris
2 Posted by mhisted on 27 Oct, 2019 07:31 PM
This works - thanks! Mark
Christopher Stawarz closed this discussion on 28 Oct, 2019 01:26 PM.