I know how to compile OT features from inside a python macro:
fl.CallCommand(33203)
33203 being the code for the menu command OTCompile.
Fontlab also provides codes for the menu commands OTFeaturesNew (33222), which resets the features, and OTFeaturesOpen (33210), which gets features from a file.
The problem with OTFeaturesNew (33222) is that it pops an alert asking if you really want to remove all OT data.
The problem with OTFeaturesOpen (33210) is that it pops a dialog to select the file.
I would like to be able to:
+ reset the OT features WITHOUT popping an alert (ie. silently)
+ get features from a specific fea file WITHOUT popping a dialog
Can it be done?