did you know that yoou can do this also by using Visual Pinball INI files ? No need of extra scripts to modify stuff.
See the following instruction :
If VPX is set to exclusive FullScreen mode
You need to set for PBX the Full screen hack as well
please check, modify if needed and let us know the results
Are you using GL version for cabinet as well ??
GL version is only for VR, anaglyphic and BAM . If you have just a cabinet without all this, use the 32bit or 64 bit bit of the DX version
Are you using Freezy's DMDext as well ? if so, which version ?