Can a plugin create a new catalog file based on the current (or a specified source) catalog?

A little background: I've been looking for a tool that would allow me to host my photos from my network at home, but let me search my lightroom database (mainly by date, keyword, metadata, or location) on mobile devices (e.g. iPhone or iPad).  There are a lot of services that provide publishing to cloud storage (e.g. Google Drive, icloud, etc.) and have companion apps, but I've found their search capabilities lacking and I'd rather just source the files from home.  In my mind what I need is an even lighter weight SQLite database that contains the catalog information I want (and only that info) that I can sync with an app on my phone/tablet.  I could also have a directory of very small previews that could also be synced.  When I want a file I can select it and various higher resolution versions (up to and including the original file) could be stored in a local cache on the portable device.  I could go on, but I think you get the idea.
In order to do this I need this lighter weight catalog file.  I was going to write a perl or swift (I'm writing this for OS X) script that used SQLite to pull the relevant data out of my catalog and generate the new mini-catalog, but I figured I should give the Lightroom SDK a shot.  I've never developed for Lightroom before and I don't know Lua, but I've got some time to learn.  The first thing I thought I should check out was to see if anyone had built a plugin that did what I'm hoping to do.  If so I could save a lot of time.  I figured this forum would be a good place to check to see if anyone knows of such a plugin.  If so, please let me know.  I'd much appreciate it.  If it's not possible, that would be good to know too.
Thanks,
David

I doubt there is a way to create a new catalog via plugin (without some serious stunt - i.e. nothing in SDK supports it), and remember - open/active catalog is locked (sql will fail), so you can only do the script if Lr is closed or has a different catalog open.

Similar Messages

  • Want to create a new dynamic DL based on the country location of the 365 license..

    We're presently in hybrid mode, but we'll soon be moving entirely to 365.  In preparation i'd like to start creating new dynamic distribution groups.  We have offices in Korea, China, EU, and the US.  My idea is to create the dynamic DL's
    based on the country where the license was applied.  In the example below, the users license was assigned in Korea.  So ideally my new dynamic DL would filter on that property (i.e. anyone's mailbox where the users license was assigned to Korea)
    to create an "All Korea" distribution group.
    Does anyone know what the powershell syntax might be? Any help is greatly appreciated!

    Interesting.  The command ran without error, but then when i checked the group through the portal it didn't display the recipient filter.  Seemed like it just created a generic dynamic DL and it was prompting me for things like mailbox type.

  • HOw do I create a new PDF file that incorporates the text changes I made in the previous PDF file?

    All of my edits appear properly in the saved file but as pop-ups etc. that cannot be seen when I print a copy.
    This seems like an obvious thing to want to do, but I cannot find out how to do it from any of the documentation (including video tutorials).

    Something to try:
    Create a Comment Summary report (a PDF file).
    There are several approaches that can be used.
    --| Work out of the Comment List (Comments > Comment View > Show Comments List or click the overlapped comment bubbles at the bottom of the Navigation panel)
    --| Comments > Show Comments List
    --| Comments > Summarize Comments
    --| Comments > Print with Comments Summary
    In the Summarize Options dialog, select the desired layout, paper size, how comments are to be sorted and font size.
    Select Include All comments. If you want to sort by review status, author, comment type, etc then go into the Comments List.
    The tool bar provides various means of configuration.
    When the Print dialog is present, under the "Properties" button (upper right), use the drop-down menu for 'Comments and Forms' to select "Document and Markups".
    The imprint on the paper will have the PDF page content and annotations (comments) provided in the PDF by use of the Text Edit tools.
    So, you can provide the text entered into a Text Edit's pop-up two ways.
    First - You have the PDF of the Comments Summary Report.
    Second - You have the hardcopy of this PDF.
    Of note is that, with Adobe's Tech Comm Suite, you can author in FrameMaker or MS Word, output a PDF for comments and review, then bring these comments back into the source authoring file.
    Be well...

  • How to create a New Excel File programmatically

    Hi !
    I am documenting acquired data continuously in an excel file, what I need to do is to create a new excel file automatically when the size of the previous file exceeds a certain limit lets say 1MB.
    I have tried using the simple 'Create/Open File' function and the 'Write to Spreadsheet File' function to create the new excel file. I does create a file but when I open the file it says the format of the file is not what you have opened it with.
    Also when the new file is created, three new worksheet are to be added programmatically with pre-defined worksheet name and also Column headers for each of the worksheet are to be added.
    I am also using 'Labview Report Generation Toolkit for Office'.
    Regards,
    Reeves
    Solved!
    Go to Solution.

    @ Aldo A
    Thanks for the reference to tutorial, I didn't know about them. They are useful in general but unfortunately they don't answer the problem of creating an altogether new excel file programmatically.
    @ ben64
    The template thing simplifies the issue of formatting the new file. But I am still working on the new excel file creation challenge.
    Let me put my problem in a different way.
    Certain data is being acquired continually and is being written to a certain excel file, when the size of the file exceeds lets say 1MB the program should start saving the data in a NEW FILE instead of the previous file.
    I have attached the VI to explain what I am trying to achieve here.
    Reeves
    Attachments:
    New Microsoft Office Excel Worksheet.zip ‏30 KB

  • How can I select 5-star photos in one catalog and use them to create a new catalog

    I've been using Lightroom since LR1. I now have several LR 5.5 catalogs generally organized by year and camera. I want to create a new catalog which will contain my best from each catalog. BUT, I don't want to remove the photos from their "home" catalog. The photos will continue to reside in both their original catalog and in the new "Portfolio" catalog. The easiest way to approach this is to filter photos in catalog "A" by rating, select all 5-star photos and create a new catalog containing just the selection. I don't want to export or remove them from their catalog or move them on disk. I want them to appear in BOTH catalogs. Since Lightroom is built on a database that merely points to image files, it seems like this should be possible.
    I realize I can create an empty catalog and select File->Import from Another Catalog... , then locate the photos one at a time by name and location clicking the import checkbox - tedious is an understatement when you have several 10's of thousands of photos.
    Any ideas?

    jimfeet wrote:
    Yes, that's an option I've considered. But as with any database, size is inversely proportional to speed - larger database equals slower performance. LR 5 is much better than earlier versions in this regard but when you reach 100,000 images you can feel it.
    This is incorrect. I accept that you think the database is getting slower, but the database (and really all databases) are designed to work pretty much the same regardless of the number of records, except for perhaps searching through the entire catalog. We have seen in this forum people who are now editing larger RAW files than a few years ago, they see it is slower, and decide it is the size of the database, rather than the size of their photos.
    What aspects of Lightroom are slow? If it's scrolling and displaying the previews and searching, then it might be the database. If its displaying images in the Develop module, it is NOT the database at all.
    Have you taken steps to improve the performance of the database, such as Optimizing it regularly? have you tried these performance tips: FAQ: Experiencing Performance related problems in Lightroom?

  • How can I interactively create a New File in LabVIEW 2011?

    I am trying to create a new binary file interactively in LabVIEW, but the File Path control only offers the ability to either type in the full path and file name (cumbersome for the user), or browse for an existing file. I want to open a "New File" dialog that will allow the user to browse to the target directory, then be able to enter the name of a non-existing file to save the data to.
    The way I'm currently doing it is creating a TXT file using the Windows Explorer "New Text Document" pop-up, then changing the file extension to the new value...which is again, very cumbersome.
    The only thing I've found online is that there used to be a "New File.VI" in an older version of LabVIEW apparently...but I can't seem to find it in 2011.
    Solved!
    Go to Solution.

    You can create a new file using the browse button.
    Did your right click on the file path control and check the settings in the "Browse Options" menu?

  • Upon creating a new catalog, all files are renamed with a postfix: "-2"?

    My catalog was corrupted, and i decided to create a new catalog from cratch.
    To my big surprise alle falenames was renamed from IMG_xxxx.cr2 to IMG_xxxx-2.cr2. Why?
    This is i problem sice i still god the old catalog, and try to recover some of the old editorial settings, but since alle files are renamed the are no longer visible in the old catalog. just about 15.000 files are renamed!

    Lightroom only adds suffixes when it finds files of the same name in a location it's moving or copying too.
    What option did you use on Import? Copy/Add/Move?

  • Help with creating a new XML file from an existing DOM tree!!

    i want to create a new XML file from an existing DOM tree
    i used this code to create a new document:
    static public Document createDocument(String fileName) throws ParserConfigurationException//,IOException,SAXException
              try {
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   factory.setIgnoringComments(true);
                   factory.setIgnoringElementContentWhitespace(true);
                   factory.setValidating(true);
                   DocumentBuilder builder =factory.newDocumentBuilder();
                   return builder.newDocument();
    //          handle exception creating DocumentBuilder
              catch ( ParserConfigurationException parserError ) {
                        throw new ParserConfigurationException();
              }then i used this code to transform the DOM :
    public void exportDocument(Document document) {
              try {
                   Source xmlSource = new DOMSource( document );
                   Result result = new StreamResult( System.out );
                   TransformerFactory transformerFactory =
                        TransformerFactory.newInstance();
                   Transformer transformer =transformerFactory.newTransformer();
                   transformer.setOutputProperty( "indent", "yes" );
                   transformer.transform( xmlSource, result );
           //then catching the exceptions
    But the file was not created and i didn't find where can i specify the DTD that the XML file should use and where can i enter the name of the XML file itself
    Another questoin can i write a DTD file dynamically during the execution of the program??

    Cross-post: http://forum.java.sun.com/thread.jspa?threadID=784467&messageID=4459240#4459240

  • Java code to create a new .txt file in FTP server  --- Help

    Hi,
    I wrote a standalone java app which creates a .txt file in my local machine and transfers it to FTP server. But my requirement now is to create a new .txt file with the same content in FTP server itself instead of creating locally with basic java code.
    I'm aware of transfering file from local machine to the FTP server using STOR command of FTP. But i never tried creating a new file & writing content into that in FTP server.
    So, if any one did this before please help me out with source code or any idea ???
    Thank you.
    Vj.

    simply_vijay wrote:
    thanks for your reply. yes i've seen the Apache Commons NET API , but there is no method or class to create a new file in FTP server. I'm really worried how to solve this problem ???Sure there is.
    There's a method where you can write data to a file on the server using an OutputStream, right? Well, instead of writing to a FileOutputStream, write to that OutputStream instead. Remember to close the OutputStream and call the method which says you're finished with the command (I forget what it's called).

  • Is it possible to open a new Worksheet without creating a new *.sql file

    Hello Community,
    Declaimer: It may be a trivial question. I just willing to make SQL Developer my default day to day tool.
    I is possible to open a new Worksheet without creating a new *.sql file. Like in an MS Word. If I just need some space to write something and than destroy the file without saying. I can quickly click < ctrl + N > and get the space.
    In SQL Developer to get a new "space"/work sheet i
    -a- < ctrl + N >
    -b- choose "SQL File"
    -c- confirm default location
    -d- choose the connection to be used (right top conner)
    This process is way to long for getting a new sheet to put write an SQL.
    Can you suggest a better way to get a workspace with current connection assigned in no time (like in MS Word)?
    Please ;)
    Yury

    There is no need to create new .sql file.
    I don't know why you need new SQL Worksheet when you can simply do the space by pressing Enter, but you can open a new one from Tools -> SQL Worksheet. There is also a toolbar button for this.

  • How to create a new txt file on the hard disk?

    Which method in which class should I use?

    there are documantatiosn and tutorials :
    createNewFile :
    "Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name does not yet exist. The check for the existence of the file and the creation of the file if it does not exist are a single operation that is atomic with respect to all other filesystem activities that might affect the file. This method, in combination with the deleteOnExit() method, can therefore serve as the basis for a simple but reliable cooperative file-locking protocol.
    Returns:
    true if the named file does not exist and was successfully created; false if the named file already exists"

  • Create a new log file every hour

    I have a program which receives measurement data and writes this data to TDMS file. However, I want to create a new TDMS file every hour. When I put a while loop in mu sub vi which creates the new file the program doesn't run. I have attached the sub vi. Can anyone help me out here?
    Cheers
    Attachments:
    ConfigTDMS (SubVI)_loopTDMS.vi ‏16 KB

    One trick for doing this is to prepend the file name with YYJJJHH See example
    Then just check if file exists (if not create and add headder) when you write to file.
    This also generates the reports in "alphabetical" order so windows explorer presents them chronologically.
    Jeff

  • Images won't open in Elements. Can't even create a new image.

    I am trying to open .jpg images in Elements 12 running on Windows 8. File, Open, (select image from thumbnails provided in directory) Nothing happens. The image doesn't appear on screen. If I try to create a new image (File, New), nothing happens either. Please can anyone help? Thanks.

    Hi there!
    This behavior does sound really strange. Could you provide any screenshots of your workflow?
    The first step I'd suggest you to try is to reset your Photoshop Elements preferences and see if it helps. http://helpx.adobe.com/photoshop-elements/using/undo-redo-cancel-actions.html#restore_defa ult_preferences
    Thanks,
    Amy

  • Creating a new catalog

    I have a catalog that I want to divide into two.  Do I have to create a new catalog and then import all the photos in the new catalog (that are already in the first catalog) into the new one all over again?

    Usually it is not a good idea to have muliple catalogs. You can tag individual pictures, and/or create albums. You may want to review the following:
    http://help.adobe.com/en_US/ElementsOrganizer/8.0/Win/Using/WSae2ea3b149d0c3591ae939f10386 0b3d59-7e7a_WIN.html
    There is a place for multiple catalogs, e.g. when the organizer is utilized for personal pictures and also for business related pictures.
    I am sure that others will offer their thoughts as well.

  • Two users share one Apple ID, on two phones. can they be separated without losing phone backups? IE creating a new ID for one of the users?

    my in-laws share one apple id for two separate iPhones. They would like to create a new ID for one of the users but maintain his current backup. can this be done?

    If you want to create a new account make sure you sign out of everything via the settings. (ICloud, iTunes, facetime, messages, etc) APPS: since the apps were downloaded with a different apple ID, you will always need to use the password for the apple ID that downloaded that particular APP when it needs to be updated. Unless it is free, you can simply delete it and download it under the new apple ID. As for the music, you can keep it on the IOS device,  but if it's accidentally deleted, you'd have to sign back into the original account and download from the cloud. (But, you risk getting the 90 day lockout. )

Maybe you are looking for

  • I cant open my iTunes ("Restore Windows" error)

    I cant open my iTunes. When I open it, it says to press "Restore Windows" or "Don't Restore Windows", but before I have time to press anything, it then closes and says "iTunes quit unexpectedly". This is the details: Process:     iTunes [336] Path:  

  • Adding columns to content query

    I have created a Content Query that retrieves all of my tasks from my site collection that meets my filter criteria.  However, The Item Views are incredibly limited (basically just the title).  I want to add ~5-7 additional columns to the query, such

  • Cannot attach library webutil 40039 - any ideas....

    Hi I keep getting this error when running my Form in dev 10G. "Cannot attach library webutil while opening form TEST_FORM. 40039" 1. I have attached the library webutil.pll 2. I compiled it (.plx file) 3. All files are in my directory ../test_dir 4.

  • Can't update firmware on WAP2000

    I have a working WAP2000 that won't accept the 2.0.3.4 upgrade file.  After selecting the file and pressing the UPDATE button, I receive the following error: This webpage is not available. The webpage at http://192.168.254.246/upgrade.cgi might be te

  • Oracle EM 12c - Can't update TimesTen Plug-In

    Hello, keep spinning my wheels on this and would appreciate any help: I'm trying to update the TimesTen Plug-In in EM 12c. When I klick to Self Update > Plug-in I see there's an update available for the TimesTen Plug-In. However, when I try to update