xcall MIAMEX, MX_GETPFK, pfkspec
MX_GETPFK returns the name of the currently loaded PFK translation file, if any. pfkspec (string variable) will be set to the filespec of the current PFK file.