Work more efficiently with sources (folders, collections, all photographs) using keyboard shortcuts and synchronize smart collections with Lightroom CC / Mobile / Web:
- Search for folders, collections, smart collections, published collections, saved prints, books, and slideshows incrementally with just a few keystrokes.
- Change the current folder or collection in any module (Map, Web, Print, …).
- Go back to previous source, filter, and selection combinations (the way Lightroom’s back button should really work).
- Go to the previous or next folder or collection in the source pane.
- Go to All Photographs, Previous Import, Quick Collection, or collections and smart collections containing the selected photo.
- Go to the first or last photo in Grid view and the filmstrip.
- Synchronize smart collections with Lightroom Mobile / Web.
- Publish multiple collections at once to a publish service (e.g. Instagram or SmugMug).
- Write the collection and folder hierarchies to text files.
- Auto-stack photos with more flexible options than the built-in command.
Download and Install
Any Source requires Lightroom 6 or later, Lightroom CC 2015, or Lightroom Classic. (The newer cloud-focused Lightroom doesn’t support plugins.)
- Download anysource.1.21.zip.
- If you’re upgrading from a previous version of Any Source, exit Lightroom and replace the existing anysource.lrplugin folder with the new one extracted from the downloaded .zip. Restart Lightroom and you’re done.
- If this is a new installation, extract the folder anysource.lrplugin from the downloaded .zip and move it to a location of your choice.
- In Lightroom, do File > Plug-in Manager.
- Click Add, browse and select the anysource.lrplugin folder, and click Select Folder (Windows) or Add Plug-in (Mac OS).
- Lightroom will present a scary-looking, cryptic message: “Your catalog must be updated before it can be used with the following plugin”. Click Update Catalog. This warning is harmless and is shown for plugins that store their own data in the catalog (which is many of them)—but don’t worry, Lightroom ensures such plugins can’t corrupt your catalog.
The free trial is for 30 days—after that, you’ll need to buy a license.
Buy a License
- Buy a license at a price you think is fair:
The license includes unlimited upgrades. Make sure you’re satisfied with the free trial before buying.
- Copy the license key from the confirmation page or confirmation email.
- Do Library > Plugin-Extras > Any Source > Find Folder or Collection.
- Click Buy.
- Paste the key into the License key box and click OK.
Using Any Source
Changing the Current Source
Any Source provides a number of menu commands for manipulating the current sources. These commands are located under both File > Plug-in Extras and Library > Plug-in Extras. See Keyboard Shortcuts for how to use keyboard shortcuts with these commands.
Find Folder or Collection: Quickly search folders or collections, including smart collections, published collections, saved prints, books, and slideshows. Type one or more search words, select the desired folder or collection (if it’s not already selected) and click OK or type Enter. As you type, the first matching folder will be automatically displayed in the Library grid view. For example, to find the folder “2013\November\New York City”, you might type (on Windows) ALT-L U I to open the Find window, “2013 ne yo” to find the matching folder, and then Enter.
While Any Source can identify collections that are saved prints, books, or slideshows, it can’t distinguish those types from each other, due to Lightroom limitations. Lightroom forces Any Source to examine every photo in the catalog to find these special collections, so it can take tens of seconds to gather the list initially.
Back to Previous Source/Filter/Selection: Restores the previously used source, filter settings, and selection of photos. Any Source keeps a queue of the 25 most recent combinations, and the Back and Forward commands work similar to a Web browser’s back and forward buttons. If you use the Library Filter Bar frequently, you’ll find this particularly handy, since Lightroom’s built-in Go Back button just remembers previous sources, not the corresponding filter settings or selections.
Forward to Next Source/Filter/Selection: If you’ve invoked the Back command, restores the next combination of source, filter settings, and selection of photos.
Next Folder/Collection: Sets the current source to the next folder or collection in the source panel. This can be handy if your folders are organized by date, and you want to move to the next date.
Previous Folder/Collection: Sets the current source to the previous folder or collection in the source panel.
Added by Previous Export: These commands set the current source to the corresponding predefined source in the source panel. Any Source provides these commands so that you can invoke them with keyboard shortcuts.
Go to Collection: Sets the current source to the collection, smart collection, published collection, or published smart collection containing the currently selected photo. If there is more than one such collection, you’ll be asked to select one – Tab to the desired collection, type Space and then Enter. (On Mac OS, to tab among collections, you’ll need to go to System Preferences > Keyboard > Shortcuts and set the option All controls.)
Go to the First or Last Photo
The First Photo and Last Photo commands select the first and last photos shown in Grid view and the filmstrip. While most programs provide such commands, they’re inexplicably missing from Lightroom.
Synchronizing Smart Collections
The Sync Smart Collections command lets you synchronize selected smart collections with Lightroom CC / Mobile / Web (by far the most requested feature on Adobe’s feedback forum). The command continuously mirrors the smart collections with corresponding dumb collections nested in a collection set, which you can then synchronize with Lightroom Mobile.
To configure the syncing, do File > Plug-in Extras > Sync Smart Collections, select the desired smart collections, change the name of the dumb collection set (defaults to Any Source: Sync), and click OK. Then synchronize the dumb collections in the collection set with Lightroom Mobile by right-clicking each and doing Sync with Lightroom CC.
To pause mirroring of the smart collections, do Sync Smart Collections and uncheck Sync the selected smart collections, or do File > Plug-in Extras > Toggle Syncing.
Any Source updates the dumb collections every 5 to 60 seconds, depending on the number of collections and photos. You can force an update immediately by doing Sync Smart Collections and clicking OK.
Due to a Lightroom bug, Sync Smart Collections might raise an error if you delete or move a smart collection while Any Source is mirroring it with the dumb collection. If that happens, it’s harmless—just restart Lightroom to resume syncing.
Publishing Multiple Collections
The Publish Collections command publishes multiple collections at once (e.g. to Instagram or SmugMug), obviating the need for you to select each collection in turn and click Publish.
By default, Publish Collections will select just those collections with new, modified, or deleted photos. You can publish all collections by choosing View collections: All, which is a handy way to download comments from all published collections. You can also select just some of the collections to be published. Check Mark all photos to republish to force all photos in the selected collections to be re-uploaded. Click Mark Up-To-Date to mark all the photos in the selected collections as up-to-date, not needing publishing.
Note that if you have published collections with thousands of photos, it can take a number of seconds for Publish Collections to count which collections need republishing, due to Lightroom limitations.
Also, if errors occur during publishing (as often happens with some flaky publish services like Flickr), Any Source will retry publishing until there are no more changed photos to publish. But Lightroom doesn’t always notify Any Source when there are errors, in which case you may need to cancel the Publish Collections operation manually by clicking the “x” in the progress bar in the upper-right corner of Lightroom.
List Collections and Folders
The List Collections and List Folders commands write the tab-separated text files
folders.txt to your Desktop. They contain the collections and folders hierarchies, with these columns:
List Collections: number of photos, smart collection?, published?, path, name
List Folders: number of photos, number of photos including subfolders, missing?, path, name
Open the files in Excel or Google Sheets to view the formatted columns.
The Auto Stack command (under Library > Plug-in Extras) provides more flexible options for stacking photos than the built-in Auto-Stack by Capture Time command:
You can stack every n photos, useful for stacking large number of bracketed shots.
You can stack photos by file name, e.g. to stack raws with their corresponding JPEGs, specifying which file type should appear on top of the stack.
Alternatively you can stack photos taken close together in time (such as bursts or brackets), but unlike the built-in command Auto Stack examines the time from the end of the previous exposure to the start of the current one, so it will correctly stack brackets with long exposures.
Note that most cameras appear to record capture time at the end of the exposure, when the shutter closes, while some record the time when the shutter opens. Shoot a test bracket with long exposures to figure out which method your camera uses.
Because Lightroom doesn’t provide plugins with direct access to stacking operations, Auto Stack uses external utilities to invoke Lightroom’s stack and unstack commands and thus is a little sluggish, creating about 2–3 stacks per second. Don’t switch to another app while Auto Stack is running, since it could get confused.
On Mac, when Auto Stack first runs, you’ll be asked to allow Lightroom to control your computer—follow the instructions for granting Adobe Lightroom Classic.app Accessibility permission. This will allow Lightroom to run the external utility for invoking the stack and unstack commands.
See this feature request long-ignored by Adobe.
Windows: You can use the standard menu keystrokes to invoke Any Source commands. For example, Alt+L opens the Library menu, U opens the Plug-in Extras submenu, and I invokes the Any Source Find Folder or Collection command.
To reassign a different final keystroke to an Any Source menu item, edit the file Info.lua in the plugin folder. Move the & in front of the desired letter in the menu command’s name, changing the name itself if necessary.
To assign a single keystroke as a shortcut, download and install the free, widely used AutoHotkey. Then, in the File Explorer, navigate to the plugin folder anysource.lrplugin. Double-click Install-Keyboard-Shortcuts.bat and restart your computer. This defines the following shortcuts:
|Alt+L||Find Folder or Collection|
|Alt+B||Back to Previous Source/Filter/Selection|
|Alt+F||Forward to Next Source/Filter/Selection|
|Alt+E||Added by Previous Export|
|Alt+T||Go to Collection|
|Alt+G||Go to Folder in Library|
To change a shortcut, edit the file Any-Source-Keyboard-Shortcuts.ahk in Notepad and follow the instructions in that file.
Mac OS: You can use the standard mechanism for assigning application shortcuts to plugin menu commands. In System Preferences > Keyboard > Keyboard Shortcuts > Application Shortcuts, select Adobe Lightroom. Click “+” to add a new shortcut, in Menu Title type the name of the menu command preceded by three spaces. For example, if you wanted to assign a key to the Any Source > Find Folder or Collection command, type “<space><space><space>Find Folder or Collection”. In Keyboard Shortcut type the desired key or key combination.
Please send problems, bugs, suggestions, and feedback to firstname.lastname@example.org.
I’ll gladly provide free licenses in exchange for reports of new, reproducible bugs.
Known limitations and issues:
- Any Source requires Lightroom 4 or later, Lightroom CC 2015, or Lightroom Classic—it relies on features missing from earlier versions.
- The Back and Forward commands cannot restore a source selection containing a mix of folders and collections, due to a bug in Lightroom. Any Source will restore the selection of either the folders or the collections, and it will show a warning.
- Lightroom 4 doesn’t allow Any Source to recognize the sources Quick Collection, Previous Import, or Added By Previous Export, so the commands Back to Previous Source/Filter/Selection and Forward to Next Source/Filter/Section won’t properly restore those sources.
- Neither Lightroom 4 or 5 allow a plugin to set the selection of photos to be empty, so the Back and Forward commands won’t properly restore the empty selection.
- On Mac OS, with at least some versions of Lightroom, if the root folder “/” of a volume is showing, a bug in Lightroom prevents Any Source from finding all your folders. Hide the root folder in the Folders pane by right-clicking it and selecting Hide This Parent.
- Initial release.
- Fixes to work around Lightroom SDK bugs that produced “assertion failed” and “Internal Error”.
- Warning displayed if you try to restore sources that include a mix of folders and collections (a limitation of Lightroom).
- Properly handles the source All Synced Photographs (introduced in Lightroom 5.4).
- When the root folder of a volume is displayed in the Folders panel, avoids displaying the drive letter twice in the names of folders.
- Worked aroung Lightroom bug to correctly display the “Filters Off” state.
- Preview Presets command for quickly searching and previewing develop presets.
- Allowed Go to Collection on Mac OS X..
- Single-keystroke shortcuts are now also available on Windows via AutoHotkey.
- The Preview Presets functionality has been moved into the Any Preset plugin.
- Sync Smart Collections command for syncing with Lightroom Mobile.
- Go to Collection includes smart collections.
- Back and Forward to Next Source/Filter/Selection properly restore the selection when no photos are selected (not possible in Lightroom 5 and earlier).
- Added the undocumented Synced Duplicates as a possible source.
- Made the Find Folder or Collection window larger.
- Ability to change the name of the collection set used by Sync Smart Collections.
- Toggle Syncing command turns on/off syncing of smart collections.
- Worked around Lightroom bug on Windows that caused a harmless error to appear while Lightroom was exiting and backing up: “Attempt to make a request on a closed server.”
- Eliminated the needless apearances of “Sync” in Lightroom’s Edit > Undo history.
- Worked around obscure problem in Lightroom 7.3.
- Publish Collections command publishes multiple collections (e.g. to Flickr or SmugMug).
- Improved user interface for Publish Collections.
- Find Folder or Collection can search for saved prints, books, and slideshows.
- First Photo and Last Photo go to the first and last photos in Grid view and the filmstrip.
- List Collections and List Folders commands for writing the collection and folder hierarchy to a tab-separated text file.
- Fixed fat-fingered bug with omission of First Photo and Last Photo.
- List Collections now includes an additional column to allow its Path and Name columns to align with the Path and Name columns of List Folders.
- Publish Collections shows the containing collection sets of published collections.
- Publish Collections now lets you filter by new, modified, and deleted photos.
- The Mark Up-To-Date button of Publish Collections marks all photos in the selected collections as up-to-date, not needing republishing.
- List Collections now includes published collections (e.g. from Flickr or Smugmug).
- Auto Stack command for stacking photos automatically with more flexible options than the built-in Lightroom command.
- Increased the Back / Forward history steps from 10 to 25.
- Upgraded the AutoHotkey script Any-Source-Keyboard-Shortcuts.ahk to AutoHotkey 2. If you’re running the old version of that script and have AutoHotkey 1 installed, you don’t need to upgrade.
- Auto Stack bug with languages other than English.
- Bug with stacking photos in collections.
- By file name option for Auto Stack lets you, for example, stack JPEGs with their corresponding raws.
- Go to Collection now includes published smart collections.
- Find Folder or Collection opens with the current active sources selected.