How to get to plugin version

As in the sample plugins, I've defined my plugin version in the Info.lua file as follows:
VERSION = { major=0, minor=3, revision=0 },
this works fine and the plugin version is displayed in the Status section of the Plugin Manager, but how can I access this value from elsewhere in my code? I'm trying to develop a 'check for updates' mechanism but can't do much unless I can get to the current version.
I've tried accessing VERSION.major and VERSION.minor of course, but they appear to be undefined in my other Lua scripts.
Does anyone know how to access this plugin version number? I'd hate to have to define it in multiple places. LrApplication only provides version info for Lightroom itself, and it isn't defined in LrPlugin either.
thanks
peter

There is source code for (xml-rpc based) version update checking available at:
https://www.assembla.com/spaces/lrdevplugin/
See XmlRpc.lua & App.lua in Source/SVN -> trunk/Framework/System
Rob

Similar Messages

  • How to get Javascript plugin?

    I cannot load images into a layered stack in Photoshop. The error message says it's because I don't have the Javascript plugin. I have Java installed, but I don't see how to get the plugin.

    Good day!
    Java and JavaScript are not identical.
    http://en.wikipedia.org/wiki/Javascript
    Please read this and proceed accordingly as you have not even given information about version or OS:
    http://forums.adobe.com/thread/419981?tstart=0
    Regards,
    Pfaffenbichler

  • How to get all previous versions page contents of a publishing page using SharePoint Client Object Model 2010

    How to get all previous versions page contents and other field values of a publishing page using SharePoint Client Object Model 2010?
    Thanks,
    Osmita

    Hi Osmita,
    Greetings.
    Here are the links that helps you. It has code attached to it.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/a0d2ab40-99ba-4368-8505-1dc559ef6469/get-content-of-previous-version-of-page-sharepoint-2010?forum=sharepointgeneralprevious
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/faaf419f-997e-4150-9911-48cc375c3b46/how-to-get-previous-published-versions-of-publishing-pages-in-sharepoint-2010?forum=sharepointdevelopmentprevious
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How to get the last version of flash in MSI format automatically?

    How to get the last version of flash in MSI format automatically?
    Roberto Neigenfind
    Bravo Tecnologia
    www.bravotecnologia.com.br

    Hi Barbara,
    Flash Professional CS5.5 is a 32-bit application which can be installed on computers with either 32-bit or 64-bit operating systems.
    You can purchase this by Adobe's backward Licensing policy :
    " Adobe allows program members to order a current-version license but use a prior version. These members can contact Adobe Customer Service to request a serial number for the earlier version if they do not already have one. Prior-version software is available via ESD and can be purchased through standard resellers. The program member must follow all guidelines of the current-version EULA. "
    Please check the doc : http://www.adobe.com/volume-licensing/policies.html

  • How to get the original version of Web report in BW ?

    Hello Friends ,
    I have transported one Web report from BW development to BW Production System.
    But unfortunately , the desired result not me met .
    So I have been asked to keep the original version of the Web report.
    As the new version of Web report has replaced the previous one ,
    So could anybody tell me how to get the original version of Web report in BW ?
    Many thanks in advance !!!!!!!!

    Hi,
    You can use the Transaction STMS choose the option "Import Overview" . In the GOTO tab select "History" and choose "Import History".
    Here you can find the history of requests imported to the prod system.
    Regards,
    K.Manikandan.

  • How to get 64 bit version for premiere elements 12

    How to get  64-bit version for Premier Elements 12 ? 
    I download from ADMISY site.
    Click on win 64 bit and download it.
    When I try to install ther is a error  this download version is not for 64 bit I have try many times but same result

    Hello
    I have been away some days
    ADMISY is a software partners for Adobe
    I running Win 7 Home Edition
    I have received a card with a code when I bought the program and the I
    download from ADMISY
    Sending serial and installation warning
    PhotoshopElements_12_WWEFDJ.7z
    PhotoshopElements_12_WWEFDJ
    PremiereElements_12_WWEFDJ_win32.7z
    PremiereElements_12_WWEFDJ_win32
    I can not find a 64 bit version of 32-bit or 64-bit version of downloads
    This is information I have
    Best regards
    Erling Magnusson
    2015-02-04 22:33 GMT+01:00 Adobe Forums <[email protected]>:
        How to get 64 bit version for premiere elements 12  created by A.T.
    Romano <https://forums.adobe.com/people/A.T.+Romano> in *Premiere
    Elements* - View the full discussion
    <https://forums.adobe.com/message/7162950#7162950>

  • How to get Adapter Engine version in PI 7.1?

    Hi all,
    How to get adapter engine version in ehp 1sap 7.1 sp08 ?
    Thanks
    Sunil

    Hi Sunil,
    Please follow this -
    http://<hostname>:<port>
    In the system information page, download the component version information, and check out the version there.
    Hope this resolves your problem.
    Regards,
    Neetesh

  • HT1923 how to get the old version of itunes

    how to get the old version of itunes. i dont like the new one. pls help.

    If you want iTunes 10.7:
    http://support.apple.com/kb/DL1576
    But before you to go the effort of trying to downgrade, try these steps, presuming you're referring to iTunes 11:
    - Press Control-B to show the menus
    - From the View menu, select "Show Sidebar" and "Show Status Bar'
    That makes iTunes 11 look much like earlier versions of iTunes and satisfies many people.
    Regards.

  • How to get the trial version of adobe access whether can protect content

    i submit info in
    https://www.adobe.com/cfusion/mmform/index.cfm?name=flash_access_trial_cert
    but nobody contact me..
    How to get the trial version of adobe access?
    Thanks

    Hello,
    Apologies for that!  Currently, Adobe is shut down for the holidays which is why you're seeing a delay. Adobe will resume work again on January 2nd.
    If you can private message me your contact information, I can contact our sales team to make sure they are aware of your request.
    Sent from my mobile,
    /Eric

  • How to get the latest versions of Internet Explorer t

    We are running Single Primary Site with SCCM 2012 R2. 
    I
    cant seem to find out how to get the latest versions of Internet Explorer to be included in software updates?  Do you have to download this separately and install manually?

    Like Henrik said, make sure you have the Classifications selected that you want to address. IE 11 is the current browser, that was added to the catalog a few months back. If you are searching for this month you wont find it.

  • How to get current/present version guid from CRMD_ORDERADM_H ?

    Hi,
    Can any one tell me  how to get the current version guid value from CRMD_ORDERADM_H table for Business Object type 'BUS2000113' .
    For example for one contract if we have more than one version then how to get the latest version guid from this table?
    If I use FM ' BBP_PD_CTR_GETDETAIL'  and in version table how to know which one is the latest/current version?
    Need information for versions.
    Thanks a lot.
    Kevin.

    Hello Kevin,
           In FM  <b>' BBP_PD_CTR_GETDETAIL'</b> look at version table <b>E_VERSION</b> - Here you can check 'VERSION_' or there is another field 'CREATED_AT' - by using these you will get latest version.
    Regards,
    Shiv

  • How to get my free version of lion after buying a new mac, how to get my free version of lion after buying a new mac, how to get my free version of lion after buying a new mac

    I have just recieved my new mac book pro and I was wondering how to get my free version of Lion!
    Can anyone help me with this matter?!

    Try http://www.apple.com/macosx/uptodate

  • How to get previous published versions of publishing pages in sharepoint 2010?

    Hi all,
    I have to get last published version only if effective date(custom column) is changed. So i have to check two conditions one is whether it is published or not and other is effective date is changed or not. If effective date is changed get the last published
    version and copy this version and move to other library.
    suppose 6.0(published), effective date 05/20/2013
                 6.1(draft), effective date 05/20/2013
                 7.0(published), effective date 06/20/2013
    Here i have to get 6.0 published version, copy and move to other library.
    So how can i achieve this one. what's the best way to do this? either workflow in SPD / VS2010 or event receivers. Please guide me.
    Thanks in Advance
    san

    Hi Emir,
    Your code works fine. It does copy the previous version page to another library. But when I attempt to edit the copied page it throws an unexpected error. I traced down the ULS log and I found the error saying. Could you help me to overcome this error?
    System.ArgumentException: Column 'PublishingPageLayout' does not exist. It may have been deleted by another user.   
     at Microsoft.SharePoint.SPFieldCollection.GetField(String strName, Boolean bThrowException)    
     at Microsoft.SharePoint.SPListItem.GetValue(String strName, Boolean bThrowException)    
     at Microsoft.SharePoint.SPListItem.get_Item(String fieldName)    
     at Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ComputeRedirectionVirtualPath(TemplateRedirectionPage basePage)    
     at Microsoft.SharePoint.Publishing.Internal.CmsVirtualPathProvider.CombineVirtualPaths(String basePath, String relativePath)    
     at System.Web.Hosting.VirtualPathProvider.CombineVirtualPaths(VirtualPath basePath, VirtualPath relativePath)    
     at System.Web.UI.DependencyParser.AddDependency(VirtualPath virtualPath)    
     at System.Web.UI.DependencyParser.ProcessDirective(String directiveName, IDictionary directive)    
     at System.Web.UI.PageDependencyParser.ProcessDirective(String directiveName, IDictionary directive)    
     at System.Web.UI.DependencyParser.ParseString(String text)    
     at System.Web.UI.DependencyParser.ParseFile(String physicalPath, VirtualPath virtualPath)    
     at System.Web.UI.DependencyParser.GetVirtualPathDependencies()    
     at Microsoft.SharePoint.ApplicationRuntime.SPVirtualFile.CalculateFileDependencies(HttpContext context, SPRequestModuleData basicRequestData, ICollection& directDependencies, ICollection& childDependencies)    
     at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.EnsureDependencies(HttpContext context, SPRequestModuleData requestData)    
     at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.EnsureCacheKeyAndViewStateHash(HttpContext context, SPRequestModuleData requestData)    
     at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.GetVirtualPathProviderCacheKey(HttpContext context, SPRequestModuleData requestData)    
     at Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheKey(String virtualPath)    
     at Microsoft.SharePoint.Publishing.Internal.CmsVirtualPathProvider.GetCacheKey(String virtualPath)    
     at System.Web.Compilation.BuildManager.GetCacheKeyFromVirtualPath(VirtualPath virtualPath, Boolean& keyFromVPP)    
     at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)    
     at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)    
     at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)    
     at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)    
     at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)    
     at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  • HT5557 How to get the newer version of books in iBooks

    I have two books that I downloaded and now they say "author unknown" and it shows I can purchase the book again...it's like there is a newer version of the book.  How do I get the newer version without purchasing the book again?

    Hello,
    Here you can download the newer versions of ODBC drivers with or without Oracle Universal Installer:
    http://www.oracle.com/technology/software/products/rdbodbc/index.html
    I wait that this can help you!!
    Best Regards,
    Paola Pullas
    http://www.ecuoug.org

  • TS1702 how to get the old version of an app?

    How do i get the old version of an app?

    Do you still have the old version on the computer that you sync from ? If you do then you can delete the version from the updated iPads (does the app have any content in it that you need to copy off first ?) and then connect them to that computer and sync it back onto them.
    If you have the new version on the computer that you sync from then delete it from there, connect one of the iPads that still has the old version on it and do File > Transfer Purchases which should copy it over, and then delete the version from the updated iPads and then connect them and re-sync the old version back onto them.

Maybe you are looking for

  • How to access checkbox in mx:list

    I'm trying to access the checkboxes in my list <mx:List itemRenderer="mx.controls.CheckBox" x="0" y="153" id="listVocab" height="297" width="313"></mx:List> but I can't find a way. This is what I'm doing         for(var i:int = 0 ; i < listVocab.numC

  • No transfer rules for FI master data sources

    Hi all I didnt get transfer rules for some of the FI master datasources. 0GLACCEXT_T011_HIER 0NEG_POSTNG_TEXT 0ITEMSELFLG_TEXT When I right click on datasource->create transfer rules->Only other option is enabled.WHen I say continue I am getting this

  • [svn:fx-trunk] 10051: fix the build. xml that we include in the package in the frameworks directory.

    Revision: 10051 Author:   [email protected] Date:     2009-09-08 07:53:47 -0700 (Tue, 08 Sep 2009) Log Message: fix the build.xml that we include in the package in the frameworks directory.  -remove haloclassic -add textlayout -reorganize the targets

  • Quotetion to the customer?

    what is the predefined form for quotetion to the customer?

  • Can't compile custom classes in Release 12 environment.

    Hi , We have some extensions to the OA Framework pages in Oracle Applications. The custom java files for the same are returning the following error while compiling in the release 12 environment. RufiReviewSubmitCO.java:78: cannot access oracle.sql.NU