Error: Can't get «class FCvm» of document window 1 of document 1

I’ve been using Curt Clifton’s “Populate Template Placeholders” script in OF1 and have come across this error in OF2:

Any ideas on the change needed in the script?

Here is how currently reads:

I think you want

if (selected sidebar tab of it is not "projects tab") then

but I haven’t tested that. I’m also dubious about the quotes around -projects tab- so you might also try

if (selected sidebar tab of it is not projects tab) then

I just posted an updated version of my Populate Template Placeholders script for OmniFocus 2 for Mac.

Besides working with OmniFocus 2, this version uses Notification Center instead of Growl.

1 Like