Skip to main content
Participating Frequently
March 7, 2019
Question

Missing FDK Property FP_TiLastUpdate

  • March 7, 2019
  • 1 reply
  • 2828 views

Hi All,

To update Text Insets with FDK, FDK Programmer's Reference suggest to use F_ApiUpdateTextInset function and to stale before the text inset object.

For that, FP_TiLastUpdate property must be set to 0.

As this FP_TiLastUpdate property is not referenced among those available in Solution Explorer window of MS Visual Studio project, do you have any idea or solution where to find it?

This topic has been closed for replies.

1 reply

4everJang
Legend
March 7, 2019

I don't have Visual Studio, so I cannot check there, but the Scripting Guide normally shows all the same properties. It lists LastUpdate instead of TiLastUpdate. Maybe it is a typo in the FDK Reference, but then it might be a typo in the Scripting Guide. I know I have succesfully used this property a long, long time ago - I just do not have those sources anymore to find it out. I hope the typo is in the FDK Reference and this solves your problem.

Participating Frequently
March 7, 2019

Thanks Jang,

You are right as always!

fapidefs.h library contents shows

#define FP_LastUpdate   2052 /* R/W Int when the inset was
      * last updated, number of
      * seconds since Jan 1, 1970

Maybe one day, who knows, Adobe will use FM to produce documentation without typos;-)

JM

4everJang
Legend
March 7, 2019

I know they are already using DITA - in FM - to create the docs. But there is a LOT of docs and there are not enough people to check everything. When I cannot find a property or have my doubts, I use the Data Browser in the ExtendScript Toolkit and set a breakpoint in my script to see exactly which properties are available. Not all are exposed, but they will usually have the same names as in the FDK interface, minus the Api_ prefix.

I am using the FDK Reference Guide to find info that is missing from the Scripting Guide. It seems you could use the ESTK's Data Browser to find properties and methods for your FDK programming. :-)

Good to read that the right property was found.