Skip navigation
Currently Being Moderated

InitPlugin - no longer runs automatically by virtue of empty tagset definition.

May 25, 2012 4:31 AM

Tags: #load #init #shutdown #initplugin #shutdownplugin

I used to use an empty tagset definition to assure plugin-init runs at Lightroom startup, perhaps starting background / init tasks.

 

This is no longer working in Lr4 (.1RC2) - win7/64.

 

Seems Adobe was hep to simply saying: "Run init module at startup" in Info.lua somehow, but until we get an SDK which has that, defining non-empty metadata or tagsets will still do it.

 
Replies
  • Currently Being Moderated
    May 25, 2012 7:53 AM   in reply to Rob Cole

    Hi Rob,

     

    I still use this technique and it seems to be working fine for me for LR2 through till the latest LR4 RC.

     

    How exactly are you defining this tagset? Im using a line in Info.lua:

         LrMetadataTagsetFactory  = "MetadataTagsetNone.lua",

    and MetadataTagsetNone.lua essentially contains the following line:

        return {}

     

    My MetadataTagsetNone does contain a couple of lines of debugging code but nothing important.

     

    I expect you have done somthing similar. Maybe its worth a retest?

     

    Matt

     
    |
    Mark as:
  • Currently Being Moderated
    May 25, 2012 3:39 PM   in reply to Rob Cole

    Np. Glad it was easily resolvable because I'd hate to have that trick break

    on us.

     

    Thanks, Matt

    (Apologies for the brevity - sent from my Android)

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)