Skip to main content
areohbee
Legend
May 25, 2012
Question

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

  • May 25, 2012
  • 1 reply
  • 1095 views

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.

This topic has been closed for replies.

1 reply

DawMatt
Inspiring
May 25, 2012

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

areohbee
areohbeeAuthor
Legend
May 25, 2012

Thanks Matt - My bad: I had the name wrong. (I must be slipping...)

DawMatt
Inspiring
May 25, 2012

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)