This content has been marked as final.
Show 3 replies
-
1. Re: SDK: getmetatable of SDK objects raises error
alex krylov Jan 11, 2012 1:01 PM (in response to John R. Ellis)Got the same problem with my plugins. Any sign of LR4 SDK?
-
2. Re: SDK: getmetatable of SDK objects raises error
Matt Dawson Jan 11, 2012 6:53 PM (in response to alex krylov)Becky has previously indicated the SDK won't be available as part of the beta.
-
3. Re: SDK: getmetatable of SDK objects raises error
Matt Dawson Jan 11, 2012 7:00 PM (in response to John R. Ellis)Most of the newer classes have a type() method that provides the information you are looking for. Unfortunately this hasn't been retrofitted to the existing classes so it looks like you will only be able to identify those older classes through more ugly means (e.g. testing for existence of a method name unique to that class). As I said, ugly.
I'm not 100% surprised that the undocumented feature you were using went away - it does seem to present a risk even if only minor - but it would be nice to see an alternative mechanism be provided to get that same information.



