LR 5 functions, methods, and properties not in LR 4 docs

While we're waiting for the SDK docs, I scanned for functions, methods, and properties not documented in the LR 4 SDK.  Here's what I found:
LrCatalog
Methods:
assertHasReadAccess
buildSmartPreviews (array of LrPhoto)
createPublishService
createVirtualCopies
getPhotoByLocalId
withReadAccessDo
Properties:
allPhotos
hasCatalogAccess
hasReadAccess
hasWriteAccess
path
targetPhoto
targetPhotos
LrCollection
Methods:
getSearchDescription
LrController
nextPhoto
previousPhoto
showBezel
showGrid
showLoupe
startSlideshow
stopSlideshow
triggerCapture
LrDialogs
closeFloatingDialogsForPlugin
presentFloatingDialog
presentWebViewDialog
showBezel (string message, [number fadeDelay])
showStringsDialog
LrDigest
HMAC
MD4
MD5
SHA1
SHA256
SHA384
SHA512
LrLogger
Methods:
configure
restoreConfiguration
saveConfiguration
wrapMethodWithTrace
wrapMethodsWithTrace
Properties:
_actions
_name
_savedConfigurations
will_debug
will_error
will_info
will_trace
will_warn
LrPhoto
Methods:
applyDevelopSnapshot
buildSmartPreview
deleteDevelopSnapshot
deleteSmartPreview
getDevelopSnapshots
locationIsPrivate
readMetadata
requestJpegThumbnail
saveMetadata
withSettingsForPluginDo
Properties:
countStackInFolderMembers
countVirtualCopies
isInStackInFolder
isVirtualCopy
localIdentifier
masterPhoto
path
stackInFolderIsCollapsed
stackInFolderMembers
stackPositionInFolder
uuid
virtualCopies
LrPhotoPictureView
makePhotoPictureView
LrPlugin
nativeFunction
LrPublishService
delete
getAllRemoteIds
promptEditDialog
LrPublishedCollection
Methods:
getSearchDescription
publishSelected
setSearchDescription
LrPublishedCollectionSet
Methods:
delete
LrPublishedPhoto
Methods:
getDevelopSettingsDigest
getMetadataDigest
LrTableUtils
debugDumpTable
LrUUID
generateUUID
LrView
Methods:
path_control
square_button
LrXml
xmlElementToSimpleTable
I didn't examine the classes LrExportContext, LrExportRendition, LrExportSession, LrExportSettings, LrFilterContext, LrVideoExportPreset, LrWebViewFactory.

jarnoh wrote:
catalog:createVirtualCopies()
I can't get this to create multiple virtual copies .
jarnoh wrote:
it seems to create virtual copies for active selection.
I assume you mean one virtual copy for each selected photo(?)
Active selection meaning the (one) "most" selected photo, i.e. catalog:getTargetPhoto().
jarnoh wrote:
Takes as many copy name strings as many photos are selected.
I tried passing array of copy name strings, and get internal error: "WFSqliteStatement:bind() - illegal data type used as value".
I tried passing one string, which works, but then it only makes one copy.
I tried unpacking the names array (i.e. passing each as a separat parameter) - again, it only makes one copy, it having the first name passed.
What am I doing wrong??
UPDATE:
~~~~~~~
I'm still working on this, but note: return array is not necessarily freshly created virtual copies, nor are all photos returned guaranteed to be virtual - worth checking what gets returned at least until you've got it figured out (I don't, yet).
I've been able to get it to create one copy, just fine, but can't get it to create multiple copies.
Note: omitting all parameters, it creates one copy named "Copy N", or you can pass a string to be used as copy name. I just don't know how to pass multiple names and get it to create multiple copies.
Has anybody actually gotten catalog:createVirtualCopies to create more than one virtual copy (with a single call I mean) ???
PS - Worth noting: this function does not need to be called with catalog write access, strangely enough (but maybe that's part of the problem I'm having? - only does one copy if no catalog write access???).
~~~~~~~
Thanks in advance,
Rob

Similar Messages

  • HELP! Where I can find the InDesign Object Model, Methods, and Properties?

    I've done a little VB scripting with InDesign, using some of the examples I've found here and there. But I can't for the life of me find a full listing of the Object Model, nor a listing of methods and properties. I'm limited in what I can do by stumbling upon objects here and there in others' scripts. Surely this must be documented somewhere.
    One thing that's particularly confusing to me (partly because I'm not well-versed in JS), is I'll see something the following
    app.selection[0].fit(FitOptions.frameToContent)
    where "FitOptions.frameToContent" seems to reference a constant, presumably in a structure. How do I determine the actual constant value, or supply an object reference (as I'm scripting from a stand-alone VB app) such that it can "find" that constant?

    I don't know how VB5 works, but when you add reference to InDesign and declare variable, for example:
    Dim myInDi as InDesign.Application
    then when you write somewhere "myInDi." - VB6 IDE give you context list with all methods and properties of InDesign application
    here is link to AS/JS/VB CS2 reference and AS CS3 reference
    http://www.indesignscriptingreference.com/
    here is link to CS2 ScriptingGuide - 20MB ;)
    http://www.adobe.com/products/indesign/pdfs/InDesign_Scripting_Reference.pdf
    I remember that was page with InDesign Scripting PDFs on adobe site - but now all links are broken ... somebody in Adobe - web admin - should check what is going on ...
    Photoshop and Illustrator pages works fine:
    http://www.adobe.com/devnet/photoshop/scripting/
    http://www.adobe.com/devnet/illustrator/scripting/
    somebody forgot to add links to scripting section in InDesign page:
    http://www.adobe.com/devnet/indesign/
    robin
    www.adobescripts.com

  • Spy menu only showing some items and properties not available

    I am having some issues with the spy menu. In order to try and fix my issues I built the menu from scratch again on one of my pages. Everything works now on that page and when I upload it to the server, it is all there.
    However, when I then copy and paste the menu to all the other pages and upload the the server, the submenu doen't show anymore. When I go and troubleshoot it and highlight the menu in its entirety and click properties, no properties will show. On the working page, this ation delievers me a properties bar where I can + or - menu items. Why is this? As this must be why the submenu is not showing either?
    The page where everything works is this (See sub menu under coaching clinics) http://www.golifecoaching.com.au/go-beyond-registration-test but on every other page on this website, this submenu disappears.
    Can anyone help? I am tearing my hair out and don't fancy having to build the menu from scratch for every page. There has to be a better way.
    I use CS4 and this is my menu;
       <div id="navigation">
        <!--MENU-->
        <ul id="MenuBar2" class="MenuBarHorizontal">
          <li><a href="index.html">Home</a>        </li>
          <li><a href="what-is-coaching.html">What is Coaching</a></li>
          <li><a href="coaching-benefits.html">Coaching Benefits</a>        </li>
          <li><a href="do-you-need-a-life-coach.html">Do You Need a Life Coach</a></li>
          <li><a href="about-go-life-coaching.html">About Go Life Coaching</a></li>
          <li><a href="#" class="MenuBarItemSubmenu">Coaching Clinics</a>
            <ul>
              <li><a href="holdsworth.html">Coaching for Carers</a></li>
              <li><a href="coachingclinic.html">The Coaching Clinic</a></li>
            </ul>
          </li>
          <li><a href="contact-us.html">Contact Us</a></li>
          <li><a href="http://www.golifecoaching.com.au/blog">Blog</a></li>
        </ul>
            <!--END MENU-->
    Jen

    That is brilliant, that is exactly it! Thank you sooooo much for your suggestion. I am so relieved.
    Yes a template would be best, but I am not sure how to do that, so I am left with doubling my work evertime I make a change on this site.
    Thanks Jen
    Date: Sat, 13 Aug 2011 16:43:59 -0600
    From: [email protected]
    To: [email protected]
    Subject: Spy menu only showing some items and properties not available
    Disclaimer: I am new to coding in general and this is my first attempt to help someone.
    I think the properties bar with the + - has to do with the javascript coding that is generated when you create a new tag, and it is located near the bottom of the page just before the closing body tag. 
    looks something like this:
    <script type="text/javascript">
    var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", );
    </script>
    so dont forget to copy that over too.  Also, check the CSS that is associated within each page and make sure they are all in the same style.
    P.S. Have you considered using a template for the menu bar so you dont have to copy it over each time?
    >

  • TS1410 My iPod shuffle ( 1st or 2nd generation) will not recharge and does not show when the doc is connected to my MacBook Pro. I'm running the latest updated version of iTunes.

    My iPod shuffle ( 1st or 2nd generation) will not recharge and does not show when the doc is connected to my MacBook Pro. I'm running the latest updated version of iTunes.

    Hello Jane Benstock,
    Thank you for using Apple Support Communities
    It sounds like the next best step to take would be to reset the iPod Shuffle.
    Check out this article named Resetting iPod shuffle found here http://support.apple.com/kb/HT1655.
    All the best,
    Sterling

  • Download/Upload and Properties not working with Netstorage

    I had applied some authorized updates to a SLES 11, SP2, (OES 11.1, PATCHLEVEL=1) running eDirectory 8.8 SP7, server and rebooted a week ago.
    I didn't notice anything wrong initially and thus was living in stupid comfort! :O
    I was able to get to the Novell "Welcome" web page, and I can get into iMonitor and Remote Manager, but when I try iManager, I get "Error 503 Service Unavailable".
    After looking and trying various postings in the Novell forum unsuccessfully, I loaded iManager on a Linux Desktop and I am working with that, but I can't help think that is somehow related to my netstorage problem.
    I am able to successfully login to netstorage and I can navigate around to folders OK.
    Local users have a mapped drive and they are working OK with the nss volume.
    However, then I log in as admin and select a folder and choose Properties, I get "Error 500 Server Error" and if I try it again after that I get "Error 503 Service Unavailable"
    And, when anyone tries to use the other options, such as Upload or Download, nothing happens.
    I verified that Apache2 is running and that tomcat6 is running.
    Below is the catalina.out file for chucks-n-giggles.
    May 16, 2013 1:09:49 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre/lib/amd64/default:/usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre/lib/amd64:/usr/lib
    May 16, 2013 1:09:49 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    May 16, 2013 1:09:49 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 788 ms
    May 16, 2013 1:09:49 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    May 16, 2013 1:09:49 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
    May 16, 2013 1:09:50 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    May 16, 2013 1:09:50 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1092 ms
    Thanks for your time!
    Stan

    Originally Posted by Demaximis
    I looked at the /var/log/apache2/error_log right after I tried to bring up the properties of one of the netstorage folders and this is what I see:
    [Fri May 17 08:47:27 2013] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:9009 (localhost) failed
    [Fri May 17 08:47:27 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
    [Fri May 17 08:47:27 2013] [error] proxy: AJP: failed to make connection to backend: localhost
    Does this point to where the issue is?
    I'm not 100% sure if that's the culprit or not. I didn't think netstorage used an odd port like that.
    I vaguely remember encountering this before a long time ago.
    Out of curiosity, is the actual server name (like: oes11sp1.abc.com) in your /etc/hosts
    AND
    is that the same DNS name you are using to access the netstorage server?
    In our case, we use a different DNS name vs. what the server name really is and we have to adjust the /etc/hosts correctly for some of the internal components to work.
    Also, when you installed OES11, did you accidentally leave the checkbox checked to add the local host definition to the /etc/hosts?

  • Class errors: undefined methods and properties

    i have a document with objects in the library with the class Hitte, Kern, Ring and Ring_01 [to Ring_16]
    tge Ring_ pieces have a subclass of RingSegment.
    the code of RingSegment.as is as following:
    package {
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.display.MovieClip;
        import flash.display.DisplayObjectContainer;
        import flash.display.Stage;
        public class RingSegment extends MovieClip {
            public var verwijderd=0;
            public function addHitte():void {
                var Hitte_mc:Hitte=new Hitte();
                Hitte_mc.x=Math.random()*550;
                Hitte_mc.y=Math.random()*400;
                stage.addChild(Hitte_mc);
            Hitte_mc.addEventListener(MouseEvent.MOUSE_DOWN,slepenStart);
            Hitte_mc.addEventListener(MouseEvent.MOUSE_UP,slepenStop);
            public function slepenStart(evt:MouseEvent):void {Hitte_mc.startDrag();}
            public function slepenStop(evt:MouseEvent):void {Hitte_mc.stopDrag();}
            public function verdwijnen (evt:Event) {
                if (evt.target.hitTestObject(Hitte_mc)) {
                    evt.target.alpha+=-0.1;
                    if (evt.target.alpha <= 0.1 && evt.target.alpha > 0) {
                        evt.target.alpha = 0;
                        verwijderd+=1;
    which should add a Hitte_mc to the stage, make it draggable , and make the Ring_ objects react to a hittest with the Hitte_mc
    but I get tons of errors:
    how can i fix these errors?

    Oh, I see. I did not notice this before. The class should be:
    package {
         import flash.events.Event;
         import flash.events.MouseEvent;
         import flash.display.MovieClip;
         import flash.display.DisplayObjectContainer;
         import flash.display.Stage;
        public class RingSegment extends MovieClip {
              public var verwijderd = 0;
              private var Hitte_mc:Hitte;
              public function addHitte():void {
                   if (stage) init();
                   else addEventListener(Event.ADDED_TO_STAGE, init);
              private function init(e:Event = null):void
                   removeEventListener(Event.ADDED_TO_STAGE, init);
                   Hitte_mc = new Hitte();
                   Hitte_mc.x = Math.random() * 550;
                   Hitte_mc.y = Math.random() * 400;
                   stage.addChild(Hitte_mc);
                   Hitte_mc.addEventListener(MouseEvent.MOUSE_DOWN,slepenStart);
                   Hitte_mc.addEventListener(MouseEvent.MOUSE_UP,slepenStop);
              public function slepenStart(e:MouseEvent):void { Hitte_mc.startDrag(); }
              public function slepenStop(e:MouseEvent):void { Hitte_mc.stopDrag(); }
              public function verdwijnen (e:Event) {
                   if (e.target.hitTestObject(Hitte_mc)) {
                        e.target.alpha += -0.1;
                   if (e.target.alpha <= 0.1 && e.target.alpha > 0) {
                        e.target.alpha = 0;
                        verwijderd += 1;

  • IDOC_INBOUND_FROM_FILE function module and UNICODE not allowed ?

    Hello all,
    The IDOC_INBOUND_FROM_FILE function module doesn't allow inbound IDOCs to be processed if the UNICODE flag is set on with the WE21 transaction.
    I turned on the WE21 UNICODE checkbox so that I could output characters in the extended set of UTF-8 characters. Most notably, I need to output the Euro Currency character (code 8364) and the em dash character (code 8212). This worked fine for my outbound files. 
    When I tried to import a normal 8-bit ASCII file with RSEINB00, the function module returns a code 8 because the UNICODE flag is set for the port. This is caused in form FIRST_RECORD_READ_AND_CHECK. The function module quits before the IDOC records are even processed at all. Look at the form code around line 168 of include program LEDINF01.
    This seems very wierd since program RSEINB00 is commonly used for reading IDOC files.
    Has anyone else experienced this?
    Can anyone recommend a different function module or global class to use for inbound files?
    Thanks
    Ed Baker
    P.S.
    If any of you need a nice website illustrating characters available with UTF-8 encoding, try this one.
    http://library.seaplusplus.net/software/plourde/utf8.html

    Question rephrased and asked again to improve clarity

  • I have tried several methods and can NOT reset my 2 home pages?

    I used your method to reset my 2 home pages. It's the first one I want to change - I inadvertently set it to www.google.ca/advanced search. I really want www.google.com, but it always reverts back to the.ca version.

    Do you get the international Google.com website if you open google.com via the location bar?
    Some sites like google automatically redirect you to a localized vrsion of the website, based on where your IP locates you.
    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"

  • Question about functions methods and variables

    Sorry but i couldn't figure out a better title.
    When does a method alter the variables it gets directly and when does a method just alter a clone of the variables it gets?
    How about a funcion?
    for example:
    public void (int i)
    i = 4;
    sometimes this method alters the integer which was given to it directly and sometimes it automatically creates a clone of the integer and alters that one. I just can't figure out why a method would do the first or the second.
    Im trying to achieve the direct changeing of the given variable without creating an unessecary clone.
    Thank You

    Comp-Freak wrote:
    Sorry but i couldn't figure out a better title.
    When does a method alter the variables it gets directly and when does a method just alter a clone of the variables it gets?
    How about a funcion?
    for example:
    public void (int i)
    i = 4;
    sometimes this method alters the integer which was given to it directly and sometimes it automatically creates a clone of the integer and alters that one. I just can't figure out why a method would do the first or the second.
    Im trying to achieve the direct changeing of the given variable without creating an unessecary clone.
    Thank YouThats quite all right about the title, trust me we get much worse titles on this forum. Most of the time to the effect of "Plz urgentlly!!!!111one"
    In Java, all variables passed into methods are passed by value, which means that if I pass an int variable to a method, that methods argument will always be a seperate variable. There is no way to pass variables by reference so that you are altering the original variable you passed in.
    It actually works the same way for reference variables that point to a particular object.
    public Object o = new Object();
    methodOne(o);
    public void methodOne(Object oArg) {
      o == oArg;  //true
    }It is essentially the same in this case, there are two seperate reference variables here, o and oArg is created once the method is called. There is only one Object created however and both reference variables point to it, so an == check will verify this that it is true.

  • Remote functions stick and do not work, then work and TV goes crazy doing catch up.

    We have put new batteries in remote.  Reset box.  Or is this normal.....drives us crazy - send help. 

    This sounds like you may have signal issues. If you can't eliminate any excess splitters, you may need to have a tech out. Also make sure all connections are tight.

  • \n and \r not working from XML doc

    What am I missing? I am loading XML into a dynamic text
    field. The \n and \r just show up in my dynamic text field along
    with the rest of the text. I've set my dynamic text field to render
    as HTML too.
    I see that others have asked this same question but I've
    tried various answers and some were left unanswered. Any
    help?

    do you meen you actualy typed those \r\n into your xml?
    If so, then there's nothing strange that they're shown like
    normal characters.
    str.split("\\" + "n").join('\n'); sould do

  • I need to remove a stored username and do not see how in docs

    i have a username that I need to remove so no one sees it. I would like to remove only one but am willing to remove all stored usernames.

    See:
    *http://support.mozilla.com/en-US/kb/Remembering%20passwords
    *http://kb.mozillazine.org/Password_Manager

  • Firefox will not open some sites and does not function on those opened

    Firefox does not open comcast.net and fails to respond on other websites. It opens others but does not function once opened.
    == URL of affected sites ==
    http://
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.86 Safari/533.4

    I am an ordinary user and use FireFox on a Windows XP pro sp2 OS.
    I can open and run FireFox by a variety of methods, and do not need to have any firefox: folders, files, or shortcuts on my Desktop unless I so wish.
    I suspect you have a rather none standard installation. The quickest solution may well be to uninstall FireFox ( which you have presumably not been able to use anyway) and reinstall it. I would suggest; at least initially; you just use the standard default installation you are offered.
    You will probably find this page of use, the [http://www.mozilla-europe.org/en/firefox/3.6.13/releasenotes/ Release Notes], it includes links for downloading FireFox, and has advice and information about installing and downloading.
    I am sure you will have further questions when you try to install but click on the blue link above and look at that page and then post back again and I am sure someone will try to help you.
    I am assuming that you are already on the Internet with a browser such as Internet Explorer, and a broadband connection, or are you trying to install from a CD or something that has a FireFox install file on it. (if so what are you using, and what is the version of firefox)

  • Does ExtendScript have a concept of "main" function/method like when script is included as a library

    I was just wondering whether ExtendScript has any concept like a main method, whereby if the current script is included by another script like a library import it will not execute this main function/method and only execute it when the script is run directly.
    Similar to Java's main() method and Python's __main__.
    If not, is there a workaround to mimic such behavior generically?

    I cannot reproduce this.  Can you create a very simple repro of this issue and post to OneDrive?
    Jeff Sanders (MSFT)
    @jsandersrocks - Windows Store Developer Solutions
    @WSDevSol
    Getting Started With Windows Azure Mobile Services development?
    Click here
    Getting Started With Windows Phone or Store app development?
    Click here
    My Team Blog: Windows Store & Phone Developer Solutions
    My Blog: Http Client Protocol Issues (and other fun stuff I support)

  • Where can i find the method and property reference?

    hello,
    i am now writing ActivX for C++ and LabView ( as container). However, I cant find the detail description of all properties and methods of the exported class from LabView. Can you suggest me some reference of it? thanks so much of it!
    CowCow

    Hello
    Open up The LV Help and goto the search tab to look for ActiveX Server Virtual. You should find a page called ActiveX Server Virtual Instrument Class Properties and Methods. This lists all the methods and properties of the Virtual Instrument object.
    Bilal Durrani
    NI

Maybe you are looking for

  • Apache Web Agent problem (web agent 2.0, Opensso 8.0) with IHS/WAS 6.1

    I installed a apache web agent 2.0 and opensso 8.0 on the same windows server. The web agent is running over IHS server. Opensso is running overs WAS 6.1 While attempting to access an application, after succesful authentification, i got on the web br

  • Loans print

    Dear Gurus In case of loans, advances and reimbursements, user needed to a take print of the request form after applying for the same in ESS, whether this is possible in standard application or a development is required, if standard is available how

  • Material No. Mandatory with account assignment category K

    Dear, Can i make Material No. Mandatory with account assignment category K Please advise Rami

  • Envelope distort with Mesh

    Hi, I am trying to create an envelope distort based on a grid mesh within a LiveEffect similar to Envelope distort--> Make with mesh. Given the path shape "art" I create a grid kmeshArt based on its bounding box: result = sAIArt->NewArt(kMeshArt,kPla

  • Revert back the transports done using CMS

    Hi. Please let me know how to revert back the transports that are done using CMS. If once the transport of the namespace has been done from DEV to CONS, can we revert back the transport so that the CONS system will have only those objects that it had