Saving settings for future reference and using profiles |
Top Previous Next |
Saving settings for future reference and using profiles
Settings can be saved to file for future reference by pressing the "Save..." button and reloaded by pressing the "Load..." button in the "Photobooth Settings" dialog. This is makes it possible to define a number of different layouts which can be selected before entering full screen photo booth mode. When saving the settings to file you have the option to include a copy of the current printer settings and when you load these settings the printer settings will also be loaded. This makes it possible to use profiles to select different printers or printer settings e.g. profile one could print single photos on 6x4 paper, profile 2 could select a double strip of 4 printed on the same printer but using the 6x2 cut strip option and profile three could select a different printer to print jumbo 6x9 photos.
The image download directory specified in the photobooth setup dialog is not saved with the photobooth settings, but you can use the tokens {photoboothDir} and {photoboothSubdir} to specify a different output directory for each profile. {photoboothDir} gives the full path of the photobooth images folder e.g. C:\Photobooth\Layouts\MyLayout {photoboothSubdir} gives the name of the photobooth subfolder e.g. if the photobooth images folder is C:\Photobooth\Layouts\MyLayout then {photoboothSubdir} would become MyLayout
For example: strips_profile: outputs standard photobooth strips to the default printer and uses C:\Photobooth\Layouts\strips as its photobooth images dir To make this work the download directory in photobooth setup dialog could be set to C:\Photobooth\Output\{photoboothSubdir}. This would save images from the strips_profile to C:\Photobooth\Output\strips and the cubes_profile to C:\Photobooth\Output\cubes. The Hot Folder Prints utility could then be setup to monitor the C:\Photobooth\Output\cubes folder for images and print them out automatically when the required number of images are available.
Then click on "..." button for the appropriate profile and select a previously saved set of photo booth settings. In the screenshot above profile 1 (keyboard shortcut SHIFT+CTRL+1) loads the settings file photobooth_settings1.xml and profile 2 (keyboard shortcut SHIFT+CTRL+2) loads the settings file photobooth_settings2.xml. Profiles can be used to allow users to selects different sets of photo booth settings e.g. profile 1 might be a traditional layout of two columns of four images and profile 2 might be a custom layout with one large image and several smaller ones. Profiles can be selected using the touchscreen actions (described above) allowing a user to easily switch between different settings.
The tokens {photoboothDir}, {photoboothSubDir} and {documents} can be used to specify the pathname of the profile file to be loaded. {photoboothDir} is replaced with the value of current photo booth images folder and provides a way to use more than 18 profiles by allowing profiles to be loaded from the current photo booth images folder {photoboothSubDir} is replaced with the parent folder of the current photo booth images folder {documents} is replaced with the path of the current user's Documents folder
The default profile setting can be used to ensure the photo booth starts up in a known state and is reset to a known state at the end of each photo booth shooting sequence e.g. setting the photo booth to stills mode, color photos and one set of prints. The default profile option also has settings for randomly selecting a different profile each time. The "Random" setting will randomly choose a profile to use from the full set of 18 profiles, "Random 1..10" chooses a random profile from profiles 1 to 10 and "Random 10..18" chooses a random profile from profiles 10 to 18. The random profile options will only choose a profile from profiles that reference a settings file that exists e.g. using the "Random" option with the profiles set up in the screenshot above will randomly select profile 1, profile 2 or profile 3.
Select "Load default profile when launching DSLR Remote Pro" to automatically read the settings from the default profile when running DSLR Remote Pro.
You can also load a profile file by dragging and dropping the settings file onto the DSLR Remote Pro main window or you can launch DSLR Remote Pro and load a profile by dragging and dropping the settings file onto the DSLR Remote Pro desktop shortcut. Alternatively right click on the DSLR Remote Pro desktop shortcut, select properties and add the pathname to settings file to the "Target" (or command line). Please note: The settings from when DSLR Remote Pro was last run will be replaced with the settings read from the profile file loaded at startup. Using Profiles to Set Up a Photo Booth
This section describes how to edit the XML settings files to make them easier to transfer to other photo booths and to create a settings file which can be dragged and dropped onto the main Webcam Photobooth window to install the settings.
The problem A complete photo booth set up normally includes several photo booth images folders and settings files for different configurations which are loaded using profiles. There needs to be a way for the settings files to specify the photo booth images folders in a relative way (so that each photo booth doesn't have to use exactly the same folders for each configuration) and for the loading the profile definitions and other settings.
Specifying the photo booth images folder as a relative path When the settings are saved to file the <photoboothImageDir> tag specifies the location of the photo booth images folder as an absolute pathname e.g. C:\users\Chris\Documents\PhotoboothImages\MyBooth. In DSLR Remote Pro v3.7 onwards the pathname will be replaced with {documents} if the photo booth images folder is in the current user's documents folder e.g. C:\users\Chris\Documents\PhotoboothImages\MyBooth will be saved as {documents}\PhotoboothImages\MyBooth if the current user login is Chris. The files can be copied to the Documents folder of another user, e.g. John, and when the settings are loaded the {documents} token will be replaced with path of the current user's Documents folder e.g. C:\users\John\Documents\PhotoboothImages\MyBooth.
A more flexible method which allows the folders to be copied to any location is to edit the settings file in a text editor and replace the <photoboothImageDir> tag with '.' e.g. <photoboothImageDir>.</photoboothImageDir> When the settings file is loaded the '.' is replaced with the pathname of the settings file and so as long as the settings file is in the same folder as the screen images the photo booth images folder will be set correctly. Please note: if the settings file is saved again using the "Save..." button in the "Photobooth Settings" dialog the <photoboothImageDir> value will be saved as an absolute pathname and you will need to edit it again in a text edit to set it back to '.'.
Specifying profile paths and other settings There are some additional tags that can be added to settings files to define profiles, photo booth shortcut buttons, the download folder and image filenames. These tags are read when the settings file is loaded but are not saved with the other settings when the "Save..." button is pressed.
The easiest way to explain this is to use an example of a simple three profile set up which consists of three photo booth images folders: C:\Photobooth\simple\menu - this contains screens for the initial menu screen C:\Photobooth\simple\single - this contains the files for a single photo print layout C:\Photobooth\simple\2x2 - this contains the files for a print layout with two rows of two photos
The settings files for each folder are: C:\Photobooth\simple\menu\settings.xml - set this as profile 10 and make it the default profile so that it is displayed at startup and after each set of photos. Include touchscreen actions to load profile 11 for single photos and profile 12 for the 2x2 layout C:\Photobooth\simple\single\settings.xml - set this as profile 11 and include a touchscreen action to load profile 10 to go back to the main menu C:\Photobooth\simple\2x2\settings.xml - set this as profile 12 and include a touchscreen action to load profile 10 to go back to the main menu
Each of the settings.xml files needs to be edited to set the <photoboothImagesDir> to '.' so that the photo booth images folder is set to the same folder as the settings.xml file.
The final step is to create an XML settings file that can be used to install the profile definitions and other settings required. This file will be saved in the C:\Photobooth\simple folder and named install_me.xml. Dragging and dropping this file onto the Webcam Photobooth main window will load the settings required to use the simple three profile set up. The install_me.xml file will look something like this:
<?xml version="1.0" encoding="UTF-8"?> <dslr_remote_pro build_date="May 15 2017" version="3.4"> <photobooth_settings> <!-- Profiles --> <defaultProfile>10</defaultProfile> <profile10>.\menu\settings.xml</profile10> <profile11>.\single\settings.xml</profile10> <profile12>.\2x2\settings.xml</profile10>
<!-- Folders and filenames --> <photoboothImageDir>.</photoboothImageDir> <downloadFolder flattenDate="1" day="1" month="1" year="1">{documents}\PhotoboothImages</downloadFolder> <filenamePrefix>{uid}</filenamePrefix>
<!-- Disable the image editor command --> <editorCommand></editorCommand>
<!-- Enable and label the photo booth shortcut buttons --> <shortcutButton1 displayOrder="1" enable="1">Printer Setup</shortcutButton1> <shortcutButton2 displayOrder="2" enable="0"></shortcutButton2> <shortcutButton3 displayOrder="3" enable="0"></shortcutButton3> <shortcutButton4 displayOrder="4" enable="0"></shortcutButton4> <shortcutButton5 displayOrder="5" enable="0"></shortcutButton5> <shortcutButton6 displayOrder="6" enable="0"></shortcutButton6> <shortcutButton7 displayOrder="7" enable="1">Reprint Photobooth Photos</shortcutButton7> <shortcutButton8 displayOrder="8" enable="1">Start Photobooth</shortcutButton8> <shortcutButton9 displayOrder="9" enable="1">Take Test Photo</shortcutButton9> <shortcutButton10 displayOrder="10" enable="0"></shortcutButton10> <shortcutButton11 displayOrder="11" enable="0"></shortcutButton11> <shortcutButton12 displayOrder="12" enable="0"></shortcutButton12> <shortcutButton13 displayOrder="13" enable="0"></shortcutButton13> <shortcutButton14 displayOrder="14" enable="0"></shortcutButton14> <shortcutButton15 displayOrder="15" enable="0"></shortcutButton15> <shortcutButton16 displayOrder="16" enable="0"></shortcutButton16> <shortcutButton17 displayOrder="17" enable="0"></shortcutButton17> <shortcutButton18 displayOrder="18" enable="0"></shortcutButton18> <shortcutButton19 displayOrder="19" enable="0"></shortcutButton19> <shortcutButton20 displayOrder="20" enable="0"></shortcutButton20> <shortcutButton21 displayOrder="21" enable="1">Camera Settings...</shortcutButton21> </photobooth_settings> </dslr_remote_pro>
What each tag does:
Tag: defaultProfile Description: defines the default profile that is loaded at startup and after each set of photos (from 1 to 18) Example: <defaultProfile>10</defaultProfile>
Tag: profile1 to profile18 Description: defines the settings file loaded by each profile. The path can be an absolute path or start with {documents}, '.' or '..' Example: <profile10>./menu/settings.xml</profile10>
Tag: photoboothImageDir Description: defines the path of the photo booth images folder. The path can be an absolute path or start with {documents}, '.' or '..' Example: <photoboothImageDir>.</photoboothImageDir>
Tag: downloadFolder Description: defines the folder where photos taken by the camera are saved. The path can be an absolute path or start with {documents}, '.' or '..'. The optional attributes for flattenDate, day, month and year can be used to specify how date based folders are created Example: <downloadFolder flattenDate="1" day="1" month="1" year="1">{documents}\PhotoboothImages</downloadFolder>
Tag: filenamePrefix Description: defines the prefix added to the filename of the JPEG copy of the printed output: Example: <filenamePrefix>IMG</filenamePrefix>
Tag: editorCommand Description: defines the pathname of the command that is run on each image after it has been downloaded. The path can be an absolute path or start with {documents}, '.' or '..'. An empty string will disable the editor command Example: <editorCommand><editorCommand> |