andyclymer's picture

I'm trying to make use of FontLab's ability to run a Python script when a font is opened, the that's located in the "System" Macros folder but I'm unable to get things working.

As a test, in the "System" Macros folder I have an that contains:
print 'font opened'

...and a that contains
print 'font saved'

...but only the is working. I've tried opening fonts from the file menu and by double clicking a VFB but I get nothing. Is there something else I need to do? I've tried this on two computers, with both FontLab 5.0.2 and 5.0.4 for the Mac.


andyclymer's picture

Hm, since it's been a day I'm gonna follow up my own question with something a bit more broad:

Does anyone use the script in the "System" Macros folder?

Can anyone confirm that it's supposed to work with FontLab 5?

As far as I understand, FontLab should execute this script when the application is launched, so if anyone wants to test the and you can just put a simple print statement in them like I mentioned in the last post and see if anything happens (only the works for me)

Much appreciated,

Miguel Sousa's picture

Hi Andy, I just gave it a try and got the same results as you. (MacTel, OSX 10.4.11, FL 5.0.4)

pvanderlaan's picture

I just checked and got the same results too: works but and don't. I'm running FL 5.0.2 on 10.5.2 PPC.

andyclymer's picture

Hey Miguel and Paul, thanks for testing that out

Syndicate content Syndicate content