<commit_before><Application xmlns="http://schemas.microsoft.com/windows/2009/Ribbon">

  <Application.Commands>
    <!-- RemotePhotoTool.rc Menu Commands-->
    <Command Name="phototool_HOME_CONNECT" Symbol="ID_HOME_CONNECT" Id="32768"/>
    <Command Name="phototool_HOME_SETTINGS" Symbol="ID_HOME_SETTINGS" Id="32769"/>

    <Command Name="phototool_PHOTO_MODE_NORMAL" Symbol="ID_PHOTO_MODE_NORMAL" Id="32770"/>
    <Command Name="phototool_PHOTO_MODE_HDR" Symbol="ID_PHOTO_MODE_HDR" Id="32771"/>
    <Command Name="phototool_PHOTO_MODE_PANO" Symbol="ID_PHOTO_MODE_PANO" Id="32772"/>
    <Command Name="phototool_PHOTO_MODE_HDR_PANO" Symbol="ID_PHOTO_MODE_HDR_PANO" Id="32773"/>
    <Command Name="phototool_PHOTO_MODE_TIMELAPSE" Symbol="ID_PHOTO_MODE_TIMELAPSE" Id="32774"/>
    <Command Name="phototool_PHOTO_MODE_PHOTOSTACK" Symbol="ID_PHOTO_MODE_PHOTOSTACK" Id="32775"/>
    <Command Name="phototool_PHOTO_MODE_SCRIPTING" Symbol="ID_PHOTO_MODE_SCRIPTING" Id="32776"/>
    <Command Name="phototool_PHOTO_MODE_DEVICE_PROPERTIES" Symbol="ID_PHOTO_MODE_DEVICE_PROPERTIES" Id="32777"/>
    <Command Name="phototool_PHOTO_MODE_IMAGE_PROPERTIES" Symbol="ID_PHOTO_MODE_IMAGE_PROPERTIES" Id="32778"/>

    <Command Name="phototool_PREV_IMAGES_SHOW" Symbol="ID_PREV_IMAGES_SHOW" Id="32779"/>
    <Command Name="phototool_PREV_IMAGES_EXIT" Symbol="ID_PREV_IMAGES_EXIT" Id="32780"/>
    <Command Name="phototool_PREV_IMAGES_PREV" Symbol="ID_PREV_IMAGES_PREV" Id="32781"/>
    <Command Name="phototool_PREV_IMAGES_NEXT" Symbol="ID_PREV_IMAGES_NEXT" Id="32782"/>
    <Command Name="phototool_PREV_IMAGES_OPEN_FOLDER" Symbol="ID_PREV_IMAGES_OPEN_FOLDER" Id="32783"/>
    <Command Name="phototool_PREV_IMAGES_EDIT" Symbol="ID_PREV_IMAGES_EDIT" Id="32784"/>
    <Command Name="phototool_PREV_IMAGES_OVERLAY_IMAGE" Symbol="ID_PREV_IMAGES_OVERLAY_IMAGE" Id="32785"/>

    <Command Name="phototool_CAMERA_RELEASE" Symbol="ID_CAMERA_RELEASE" Id="32786"/>
    <Command Name="phototool_CAMERA_SHOOTING_MODE" Symbol="ID_CAMERA_SHOOTING_MODE"  Id="32787"/>
    <Command Name="phototool_CAMERA_SETTINGS_AV" Symbol="ID_CAMERA_SETTINGS_AV"  Id="32788"/>
    <Command Name="phototool_CAMERA_SETTINGS_TV" Symbol="ID_CAMERA_SETTINGS_TV"  Id="32789"/>
    <Command Name="phototool_CAMERA_SETTINGS_EXPOSURE" Symbol="ID_CAMERA_SETTINGS_EXPOSURE"  Id="32790"/>
    <Command Name="phototool_CAMERA_SETTINGS_ISO" Symbol="ID_CAMERA_SETTINGS_ISO"  Id="32791"/>
    <Command Name="phototool_CAMERA_SETTINGS_SAVETO" Symbol="ID_CAMERA_SETTINGS_SAVETO"  Id="32792"/>
    <Command Name="phototool_CAMERA_SETTINGS_SAVETO_CAMERA" Symbol="ID_CAMERA_SETTINGS_SAVETO_CAMERA"  Id="32793"/>
    <Command Name="phototool_CAMERA_SETTINGS_SAVETO_PC" Symbol="ID_CAMERA_SETTINGS_SAVETO_PC"  Id="32794"/>
    <Command Name="phototool_CAMERA_SETTINGS_SAVETO_BOTH" Symbol="ID_CAMERA_SETTINGS_SAVETO_BOTH"  Id="32795"/>
    <Command Name="phototool_CAMERA_SETTINGS_IMAGE_FORMAT" Symbol="ID_CAMERA_SETTINGS_IMAGE_FORMAT"  Id="32796"/>

    <Command Name="phototool_VIEWFINDER_SHOW" Symbol="ID_VIEWFINDER_SHOW" Id="32797"/>
    <Command Name="phototool_VIEWFINDER_AUTO_FOCUS" Symbol="ID_VIEWFINDER_AUTO_FOCUS" Id="32798"/>
    <Command Name="phototool_VIEWFINDER_AUTO_WB" Symbol="ID_VIEWFINDER_AUTO_WB" Id="32799"/>
    <Command Name="phototool_VIEWFINDER_ZOOM_IN" Symbol="ID_VIEWFINDER_ZOOM_IN" Id="32800"/>
    <Command Name="phototool_VIEWFINDER_ZOOM_OUT" Symbol="ID_VIEWFINDER_ZOOM_OUT" Id="32801"/>
    <Command Name="phototool_VIEWFINDER_LINES_MODE" Symbol="ID_VIEWFINDER_LINES_MODE" Id="32802" LabelTitle="Lines mode"/>
    <Command Name="phototool_VIEWFINDER_LINES_MODE_NONE" Symbol="ID_VIEWFINDER_LINES_MODE_NONE" Id="32803"/>
    <Command Name="phototool_VIEWFINDER_LINES_MODE_RULEOFTHIRDS" Symbol="ID_VIEWFINDER_LINES_MODE_RULEOFTHIRDS" Id="32804"/>
    <Command Name="phototool_VIEWFINDER_LINES_MODE_GOLDENRATIO" Symbol="ID_VIEWFINDER_LINES_MODE_GOLDENRATIO" Id="32805"/>
    <Command Name="phototool_VIEWFINDER_OUTPUT_TYPE" Symbol="ID_VIEWFINDER_OUTPUT_TYPE" Id="32806" LabelTitle="Viewfinder output"/>
    <Command Name="phototool_VIEWFINDER_OUTPUT_TYPE_LCD" Symbol="ID_VIEWFINDER_OUTPUT_TYPE_LCD" Id="32807"/>
    <Command Name="phototool_VIEWFINDER_OUTPUT_TYPE_VIDEO_OUT" Symbol="ID_VIEWFINDER_OUTPUT_TYPE_VIDEO_OUT" Id="32808"/>
    <Command Name="phototool_VIEWFINDER_OUTPUT_TYPE_OFF" Symbol="ID_VIEWFINDER_OUTPUT_TYPE_OFF" Id="32809"/>
    <Command Name="phototool_VIEWFINDER_SHOW_OVEREXPOSED" Symbol="ID_VIEWFINDER_SHOW_OVEREXPOSED" Id="32810"/>
    <Command Name="phototool_VIEWFINDER_SHOW_OVERLAY_IMAGE" Symbol="ID_VIEWFINDER_SHOW_OVERLAY_IMAGE" Id="32811"/>
    <Command Name="phototool_VIEWFINDER_HISTOGRAM" Symbol="ID_VIEWFINDER_HISTOGRAM" Id="32812"/>

    <Command Name="phototool_SCRIPTING_OPEN" Symbol="ID_SCRIPTING_OPEN" Id="32813"/>
    <Command Name="phototool_SCRIPTING_RELOAD" Symbol="ID_SCRIPTING_RELOAD" Id="32814"/>
    <Command Name="phototool_SCRIPTING_RUN" Symbol="ID_SCRIPTING_RUN" Id="32815"/>
    <Command Name="phototool_SCRIPTING_STOP" Symbol="ID_SCRIPTING_STOP" Id="32816"/>
    <Command Name="phototool_SCRIPTING_EDIT" Symbol="ID_SCRIPTING_EDIT" Id="32817"/>

    <Command Name="wtl_VIEW_RIBBON" Symbol="ID_VIEW_RIBBON" Id="0xE804"/>
    <Command Name="wtl_APP_ABOUT" Symbol="ID_APP_ABOUT" Id="0xE140"/>
    <Command Name="wtl_APP_EXIT" Symbol="ID_APP_EXIT" Id="0xE141"/>

    <Command Name="RecentFiles" Symbol="ID_RIBBON_RECENT_FILES" LabelTitle="Recent Files" />

    <!-- Tabs -->
    <Command Name="TabHome" Symbol="ID_TAB_HOME" LabelTitle="Home" />
    <Command Name="TabPreviousImages" Symbol="ID_TAB_PREVIOUS_IMAGES" LabelTitle="Previous Images" />
    <Command Name="TabContextCamera" Symbol="ID_TAB_CONTEXT_CAMERA" LabelTitle="Camera" />
    <Command Name="TabContextViewfinder" Symbol="ID_TAB_CONTEXT_VIEWFINDER" LabelTitle="Viewfinder" />
    <Command Name="TabContextScripting" Symbol="ID_TAB_CONTEXT_SCRIPTING" LabelTitle="Scripting" />

    <!-- Tab groups -->
    <Command Name="TabGroupContextCamera" Symbol="ID_TAB_GROUP_CONTEXT_CAMERA" LabelTitle="Camera" />
    <Command Name="TabGroupContextViewfinder" Symbol="ID_TAB_GROUP_CONTEXT_VIEWFINDER" LabelTitle="Viewfinder" />
    <Command Name="TabGroupContextScripting" Symbol="ID_TAB_GROUP_CONTEXT_SCRIPTING" LabelTitle="Scripting" />

    <!-- Groups -->
    <Command Name="GroupHome" Symbol="ID_GROUP_HOME" LabelTitle="Home" />
    <Command Name="GroupPhotoModes" Symbol="ID_GROUP_PHOTO_MODES" LabelTitle="Photo Modes" />
    <Command Name="GroupViews" Symbol="ID_GROUP_VIEWFINDER" LabelTitle="Views" />
    <Command Name="GroupPreviousImagesExit" Symbol="ID_GROUP_PREV_IMAGES_EXIT" LabelTitle="Exit" />
    <Command Name="GroupPreviousImagesNavigation" Symbol="ID_GROUP_PREV_IMAGES_NAVIGATION" LabelTitle="Navigation" />
    <Command Name="GroupPreviousImagesActions" Symbol="ID_GROUP_PREV_IMAGES_ACTIONS" LabelTitle="Actions" />
    <Command Name="GroupCameraActions" Symbol="ID_GROUP_CAMERA_ACTIONS" LabelTitle="Actions" />
    <Command Name="GroupCameraShootingSettings" Symbol="ID_GROUP_CAMERA_SHOOTING_SETTINGS" LabelTitle="Shooting settings" />
    <Command Name="GroupCameraMiscSettings" Symbol="ID_GROUP_CAMERA_MISC_SETTINGS" LabelTitle="Misc. settings" />
    <Command Name="GroupViewfinderViewfinder" Symbol="ID_GROUP_VIEWFINDER_VIEWFINDER" LabelTitle="Viewfinder" />
    <Command Name="GroupViewfinderAdjust" Symbol="ID_GROUP_VIEWFINDER_ADJUST" LabelTitle="Adjust" />
    <Command Name="GroupViewfinderZoom" Symbol="ID_GROUP_VIEWFINDER_ZOOM" LabelTitle="Zoom" />
    <Command Name="GroupViewfinderShow" Symbol="ID_GROUP_VIEWFINDER_SHOW" LabelTitle="Show" />
    <Command Name="GroupScriptingScript" Symbol="ID_GROUP_SCRIPTING_SCRIPT" LabelTitle="Script" />
    <Command Name="GroupScriptingDebug" Symbol="ID_GROUP_SCRIPTING_DEBUG" LabelTitle="Debug" />
    <Command Name="GroupScriptingEdit" Symbol="ID_GROUP_SCRIPTING_EDIT" LabelTitle="Edit" />

    <!-- App Menu, MRU list, Help button and Quick Access Toolbar -->
    <Command Name="AppMenu" Symbol="ID_RIBBON_APP_MENU"/>
    <Command Name="QAT" Symbol="ID_RIBBON_QAT"/>
  </Application.Commands>

  <Application.Views>
    <Ribbon>
      <!-- Application Menu -->
      <Ribbon.ApplicationMenu>
        <ApplicationMenu CommandName="AppMenu">
          <ApplicationMenu.RecentItems>
            <RecentItems CommandName="RecentFiles" MaxCount="16" EnablePinning="false"/>
          </ApplicationMenu.RecentItems>

          <MenuGroup Class="StandardItems">
            <Button CommandName="phototool_HOME_CONNECT"/>
            <Button CommandName="phototool_HOME_SETTINGS"/>
          </MenuGroup>
          <MenuGroup>
            <Button CommandName="phototool_PREV_IMAGES_SHOW"/>
          </MenuGroup>
          <MenuGroup>
            <Button CommandName="wtl_APP_EXIT"/>
          </MenuGroup>
        </ApplicationMenu>
      </Ribbon.ApplicationMenu>

      <!-- Help button -->
      <Ribbon.HelpButton>
        <HelpButton CommandName="wtl_APP_ABOUT" />
      </Ribbon.HelpButton>

      <!-- QAT (Quick Access Toolbar) -->
      <Ribbon.QuickAccessToolbar>
        <QuickAccessToolbar CommandName="QAT">
          <QuickAccessToolbar.ApplicationDefaults>
            <Button CommandName="phototool_HOME_CONNECT"/>
            <Button CommandName="phototool_PREV_IMAGES_SHOW"/>
          </QuickAccessToolbar.ApplicationDefaults>
        </QuickAccessToolbar>
      </Ribbon.QuickAccessToolbar>

      <Ribbon.Tabs>
        <Tab CommandName="TabHome">
          <Tab.ScalingPolicy>
            <ScalingPolicy>
              <ScalingPolicy.IdealSizes>
                <Scale Group="GroupHome" Size="Large"/>
              </ScalingPolicy.IdealSizes>
            </ScalingPolicy>
          </Tab.ScalingPolicy>

          <Group CommandName="GroupHome" SizeDefinition="TwoButtons">
            <Button CommandName="phototool_HOME_CONNECT"/>
            <Button CommandName="phototool_HOME_SETTINGS"/>
          </Group>

          <Group CommandName="GroupPhotoModes" SizeDefinition="SevenButtons">
            <Button CommandName="phototool_PHOTO_MODE_NORMAL"/>
            <Button CommandName="phototool_PHOTO_MODE_HDR"/>
            <Button CommandName="phototool_PHOTO_MODE_PANO" />
            <Button CommandName="phototool_PHOTO_MODE_HDR_PANO" />
            <!-- Button CommandName="phototool_PHOTO_MODE_TIMELAPSE" />
            <Button CommandName="phototool_PHOTO_MODE_PHOTOSTACK" / -->
            <Button CommandName="phototool_PHOTO_MODE_SCRIPTING" />
            <Button CommandName="phototool_PHOTO_MODE_DEVICE_PROPERTIES" />
            <Button CommandName="phototool_PHOTO_MODE_IMAGE_PROPERTIES" />
          </Group>

          <Group CommandName="GroupViews" SizeDefinition="ThreeButtons">
            <Button CommandName="phototool_VIEWFINDER_SHOW"/>
            <Button CommandName="phototool_PREV_IMAGES_SHOW"/>
            <Button CommandName="wtl_VIEW_RIBBON"/>
          </Group>
        </Tab>

        <Tab CommandName="TabPreviousImages" ApplicationModes="1">
          <Tab.ScalingPolicy>
            <ScalingPolicy>
              <ScalingPolicy.IdealSizes>
                <Scale Group="GroupPreviousImagesExit" Size="Large"/>
                <Scale Group="GroupPreviousImagesNavigation" Size="Large"/>
                <Scale Group="GroupPreviousImagesActions" Size="Large"/>
              </ScalingPolicy.IdealSizes>
            </ScalingPolicy>
          </Tab.ScalingPolicy>

          <Group CommandName="GroupPreviousImagesExit" SizeDefinition="OneButton" ApplicationModes="1">
            <Button CommandName="phototool_PREV_IMAGES_EXIT"/>
          </Group>

          <Group CommandName="GroupPreviousImagesNavigation" SizeDefinition="TwoButtons" ApplicationModes="1">
            <Button CommandName="phototool_PREV_IMAGES_PREV"/>
            <Button CommandName="phototool_PREV_IMAGES_NEXT"/>
          </Group>

          <Group CommandName="GroupPreviousImagesActions" SizeDefinition="TwoButtons" ApplicationModes="1">
            <Button CommandName="phototool_PREV_IMAGES_OPEN_FOLDER"/>
            <Button CommandName="phototool_PREV_IMAGES_EDIT"/>
          </Group>
        </Tab>

      </Ribbon.Tabs>

      <!-- Contextual tabs-->
      <Ribbon.ContextualTabs>
        <!-- Contextual tab "Camera" -->
        <TabGroup CommandName="TabGroupContextCamera">
          <Tab CommandName="TabContextCamera">
            <Group CommandName="GroupCameraActions" SizeDefinition="OneButton">
              <Button CommandName="phototool_CAMERA_RELEASE"/>
            </Group>
            
            <Group CommandName="GroupCameraShootingSettings">
              <ComboBox CommandName="phototool_CAMERA_SHOOTING_MODE" />
              <ComboBox CommandName="phototool_CAMERA_SETTINGS_AV" />
              <ComboBox CommandName="phototool_CAMERA_SETTINGS_TV" />
              <ComboBox CommandName="phototool_CAMERA_SETTINGS_EXPOSURE" />
              <ComboBox CommandName="phototool_CAMERA_SETTINGS_ISO" />
            </Group>

            <Group CommandName="GroupCameraMiscSettings" SizeDefinition="TwoButtons">
              <DropDownGallery CommandName="phototool_CAMERA_SETTINGS_SAVETO"
                               HasLargeItems="false"
                               TextPosition="Right">
                <DropDownGallery.MenuLayout>
                  <VerticalMenuLayout
                    Gripper="None"
                    Rows="3" />
                </DropDownGallery.MenuLayout>
              </DropDownGallery>

              <DropDownGallery CommandName="phototool_CAMERA_SETTINGS_IMAGE_FORMAT"
                               HasLargeItems="false"
                               TextPosition="Right">
                <DropDownGallery.MenuLayout>
                  <FlowMenuLayout Columns = "3"/>
                </DropDownGallery.MenuLayout>
              </DropDownGallery>
            </Group>
          </Tab>
        </TabGroup>

        <!-- Contextual tab "Viewfinder" -->
        <TabGroup CommandName="TabGroupContextViewfinder">
          <Tab CommandName="TabContextViewfinder">
            <Tab.ScalingPolicy>
              <ScalingPolicy>
                <ScalingPolicy.IdealSizes>
                  <Scale Group="GroupViewfinderViewfinder" Size="Large"/>
                  <Scale Group="GroupViewfinderAdjust" Size="Large"/>
                  <Scale Group="GroupViewfinderZoom" Size="Large"/>
                  <Scale Group="GroupViewfinderShow" Size="Large"/>
                </ScalingPolicy.IdealSizes>
              </ScalingPolicy>
            </Tab.ScalingPolicy>

            <Group CommandName="GroupViewfinderViewfinder" SizeDefinition="OneButton">
              <Button CommandName="phototool_VIEWFINDER_SHOW"/>
            </Group>
            <Group CommandName="GroupViewfinderAdjust" SizeDefinition="TwoButtons">
              <Button CommandName="phototool_VIEWFINDER_AUTO_FOCUS"/>
              <Button CommandName="phototool_VIEWFINDER_AUTO_WB"/>
            </Group>
            <Group CommandName="GroupViewfinderZoom" SizeDefinition="TwoButtons">
              <Button CommandName="phototool_VIEWFINDER_ZOOM_OUT"/>
              <Button CommandName="phototool_VIEWFINDER_ZOOM_IN"/>
            </Group>
            <Group CommandName="GroupViewfinderShow" SizeDefinition="ThreeButtons">
              <DropDownGallery CommandName="phototool_VIEWFINDER_LINES_MODE"
                               HasLargeItems="false"
                               TextPosition="Right">
                <DropDownGallery.MenuLayout>
                  <VerticalMenuLayout
                    Gripper="None"
                    Rows="3" />
                </DropDownGallery.MenuLayout>
              </DropDownGallery>
              <DropDownGallery CommandName="phototool_VIEWFINDER_OUTPUT_TYPE"
                               HasLargeItems="false"
                               TextPosition="Right">
                <DropDownGallery.MenuLayout>
                  <VerticalMenuLayout
                    Gripper="None"
                    Rows="3" />
                </DropDownGallery.MenuLayout>
              </DropDownGallery>
              <Button CommandName="phototool_VIEWFINDER_SHOW_OVEREXPOSED"/>
              <!-- Button CommandName="phototool_VIEWFINDER_SHOW_OVERLAY_IMAGE"/ -->
              <!-- Button CommandName="phototool_VIEWFINDER_HISTOGRAM"/ -->
            </Group>
          </Tab>
        </TabGroup>

        <!-- Contextual tab "Scripting" -->
        <TabGroup CommandName="TabGroupContextScripting">
          <Tab CommandName="TabContextScripting">
            <Tab.ScalingPolicy>
              <ScalingPolicy>
                <ScalingPolicy.IdealSizes>
                  <Scale Group="GroupScriptingScript" Size="Large"/>
                  <Scale Group="GroupScriptingDebug" Size="Large"/>
                  <Scale Group="GroupScriptingEdit" Size="Large"/>
                </ScalingPolicy.IdealSizes>
              </ScalingPolicy>
            </Tab.ScalingPolicy>

            <Group CommandName="GroupScriptingScript" SizeDefinition="TwoButtons">
              <Button CommandName="phototool_SCRIPTING_OPEN"/>
              <Button CommandName="phototool_SCRIPTING_RELOAD"/>
            </Group>
            <Group CommandName="GroupScriptingDebug" SizeDefinition="TwoButtons">
              <Button CommandName="phototool_SCRIPTING_RUN"/>
              <Button CommandName="phototool_SCRIPTING_STOP"/>
            </Group>
            <Group CommandName="GroupScriptingEdit" SizeDefinition="OneButton">
              <Button CommandName="phototool_SCRIPTING_EDIT"/>
            </Group>
          </Tab>
        </TabGroup>
      </Ribbon.ContextualTabs>

    </Ribbon>
  </Application.Views>
</Application>
<commit_msg>added key tips for almost all ribbon commands in RemotePhotoTool<commit_after><Application xmlns="http://schemas.microsoft.com/windows/2009/Ribbon">

  <Application.Commands>
    <!-- RemotePhotoTool.rc Menu Commands-->
    <Command Name="phototool_HOME_CONNECT" Symbol="ID_HOME_CONNECT" Id="32768" Keytip="C" />
    <Command Name="phototool_HOME_SETTINGS" Symbol="ID_HOME_SETTINGS" Id="32769" Keytip="S" />

    <Command Name="phototool_PHOTO_MODE_NORMAL" Symbol="ID_PHOTO_MODE_NORMAL" Id="32770" Keytip="N" />
    <Command Name="phototool_PHOTO_MODE_HDR" Symbol="ID_PHOTO_MODE_HDR" Id="32771" Keytip="H" />
    <Command Name="phototool_PHOTO_MODE_PANO" Symbol="ID_PHOTO_MODE_PANO" Id="32772" Keytip="P" />
    <Command Name="phototool_PHOTO_MODE_HDR_PANO" Symbol="ID_PHOTO_MODE_HDR_PANO" Id="32773" Keytip="A" />
    <Command Name="phototool_PHOTO_MODE_TIMELAPSE" Symbol="ID_PHOTO_MODE_TIMELAPSE" Id="32774" Keytip="T" />
    <Command Name="phototool_PHOTO_MODE_PHOTOSTACK" Symbol="ID_PHOTO_MODE_PHOTOSTACK" Id="32775" Keytip="H" />
    <Command Name="phototool_PHOTO_MODE_SCRIPTING" Symbol="ID_PHOTO_MODE_SCRIPTING" Id="32776" Keytip="L" />
    <Command Name="phototool_PHOTO_MODE_DEVICE_PROPERTIES" Symbol="ID_PHOTO_MODE_DEVICE_PROPERTIES" Id="32777" Keytip="D" />
    <Command Name="phototool_PHOTO_MODE_IMAGE_PROPERTIES" Symbol="ID_PHOTO_MODE_IMAGE_PROPERTIES" Id="32778" Keytip="I" />

    <Command Name="phototool_PREV_IMAGES_SHOW" Symbol="ID_PREV_IMAGES_SHOW" Id="32779" Keytip="R" />
    <Command Name="phototool_PREV_IMAGES_EXIT" Symbol="ID_PREV_IMAGES_EXIT" Id="32780" Keytip="X" />
    <Command Name="phototool_PREV_IMAGES_PREV" Symbol="ID_PREV_IMAGES_PREV" Id="32781" Keytip="R" />
    <Command Name="phototool_PREV_IMAGES_NEXT" Symbol="ID_PREV_IMAGES_NEXT" Id="32782" Keytip="N" />
    <Command Name="phototool_PREV_IMAGES_OPEN_FOLDER" Symbol="ID_PREV_IMAGES_OPEN_FOLDER" Id="32783" Keytip="O" />
    <Command Name="phototool_PREV_IMAGES_EDIT" Symbol="ID_PREV_IMAGES_EDIT" Id="32784" Keytip="E" />
    <Command Name="phototool_PREV_IMAGES_OVERLAY_IMAGE" Symbol="ID_PREV_IMAGES_OVERLAY_IMAGE" Id="32785" Keytip="V" />

    <Command Name="phototool_CAMERA_RELEASE" Symbol="ID_CAMERA_RELEASE" Id="32786" Keytip="R" />
    <Command Name="phototool_CAMERA_SHOOTING_MODE" Symbol="ID_CAMERA_SHOOTING_MODE"  Id="32787" Keytip="S" />
    <Command Name="phototool_CAMERA_SETTINGS_AV" Symbol="ID_CAMERA_SETTINGS_AV"  Id="32788" Keytip="A" />
    <Command Name="phototool_CAMERA_SETTINGS_TV" Symbol="ID_CAMERA_SETTINGS_TV"  Id="32789" Keytip="H" />
    <Command Name="phototool_CAMERA_SETTINGS_EXPOSURE" Symbol="ID_CAMERA_SETTINGS_EXPOSURE"  Id="32790" Keytip="E" />
    <Command Name="phototool_CAMERA_SETTINGS_ISO" Symbol="ID_CAMERA_SETTINGS_ISO"  Id="32791" Keytip="I" />
    <Command Name="phototool_CAMERA_SETTINGS_SAVETO" Symbol="ID_CAMERA_SETTINGS_SAVETO"  Id="32792" Keytip="T" />
    <Command Name="phototool_CAMERA_SETTINGS_SAVETO_CAMERA" Symbol="ID_CAMERA_SETTINGS_SAVETO_CAMERA"  Id="32793" />
    <Command Name="phototool_CAMERA_SETTINGS_SAVETO_PC" Symbol="ID_CAMERA_SETTINGS_SAVETO_PC"  Id="32794" />
    <Command Name="phototool_CAMERA_SETTINGS_SAVETO_BOTH" Symbol="ID_CAMERA_SETTINGS_SAVETO_BOTH"  Id="32795" />
    <Command Name="phototool_CAMERA_SETTINGS_IMAGE_FORMAT" Symbol="ID_CAMERA_SETTINGS_IMAGE_FORMAT"  Id="32796" Keytip="F" />

    <Command Name="phototool_VIEWFINDER_SHOW" Symbol="ID_VIEWFINDER_SHOW" Id="32797" Keytip="V" />
    <Command Name="phototool_VIEWFINDER_AUTO_FOCUS" Symbol="ID_VIEWFINDER_AUTO_FOCUS" Id="32798" Keytip="F" />
    <Command Name="phototool_VIEWFINDER_AUTO_WB" Symbol="ID_VIEWFINDER_AUTO_WB" Id="32799" Keytip="W" />
    <Command Name="phototool_VIEWFINDER_ZOOM_IN" Symbol="ID_VIEWFINDER_ZOOM_IN" Id="32800" Keytip="I" />
    <Command Name="phototool_VIEWFINDER_ZOOM_OUT" Symbol="ID_VIEWFINDER_ZOOM_OUT" Id="32801" Keytip="O" />
    <Command Name="phototool_VIEWFINDER_LINES_MODE" Symbol="ID_VIEWFINDER_LINES_MODE" Id="32802" LabelTitle="Lines mode" Keytip="L" />
    <Command Name="phototool_VIEWFINDER_LINES_MODE_NONE" Symbol="ID_VIEWFINDER_LINES_MODE_NONE" Id="32803" Keytip="N" />
    <Command Name="phototool_VIEWFINDER_LINES_MODE_RULEOFTHIRDS" Symbol="ID_VIEWFINDER_LINES_MODE_RULEOFTHIRDS" Id="32804" Keytip="R" />
    <Command Name="phototool_VIEWFINDER_LINES_MODE_GOLDENRATIO" Symbol="ID_VIEWFINDER_LINES_MODE_GOLDENRATIO" Id="32805" Keytip="G" />
    <Command Name="phototool_VIEWFINDER_OUTPUT_TYPE" Symbol="ID_VIEWFINDER_OUTPUT_TYPE" Id="32806" LabelTitle="Viewfinder output" Keytip="T" />
    <Command Name="phototool_VIEWFINDER_OUTPUT_TYPE_LCD" Symbol="ID_VIEWFINDER_OUTPUT_TYPE_LCD" Id="32807" Keytip="L" />
    <Command Name="phototool_VIEWFINDER_OUTPUT_TYPE_VIDEO_OUT" Symbol="ID_VIEWFINDER_OUTPUT_TYPE_VIDEO_OUT" Id="32808" Keytip="V" />
    <Command Name="phototool_VIEWFINDER_OUTPUT_TYPE_OFF" Symbol="ID_VIEWFINDER_OUTPUT_TYPE_OFF" Id="32809" Keytip="O" />
    <Command Name="phototool_VIEWFINDER_SHOW_OVEREXPOSED" Symbol="ID_VIEWFINDER_SHOW_OVEREXPOSED" Id="32810" Keytip="X" />
    <Command Name="phototool_VIEWFINDER_SHOW_OVERLAY_IMAGE" Symbol="ID_VIEWFINDER_SHOW_OVERLAY_IMAGE" Id="32811" Keytip="L" />
    <Command Name="phototool_VIEWFINDER_HISTOGRAM" Symbol="ID_VIEWFINDER_HISTOGRAM" Id="32812" Keytip="H" />

    <Command Name="phototool_SCRIPTING_OPEN" Symbol="ID_SCRIPTING_OPEN" Id="32813" Keytip="O" />
    <Command Name="phototool_SCRIPTING_RELOAD" Symbol="ID_SCRIPTING_RELOAD" Id="32814" Keytip="L" />
    <Command Name="phototool_SCRIPTING_RUN" Symbol="ID_SCRIPTING_RUN" Id="32815" Keytip="R" />
    <Command Name="phototool_SCRIPTING_STOP" Symbol="ID_SCRIPTING_STOP" Id="32816" Keytip="T" />
    <Command Name="phototool_SCRIPTING_EDIT" Symbol="ID_SCRIPTING_EDIT" Id="32817" Keytip="E" />

    <Command Name="wtl_VIEW_RIBBON" Symbol="ID_VIEW_RIBBON" Id="0xE804" Keytip="B" />
    <Command Name="wtl_APP_ABOUT" Symbol="ID_APP_ABOUT" Id="0xE140" Keytip="?" />
    <Command Name="wtl_APP_EXIT" Symbol="ID_APP_EXIT" Id="0xE141" Keytip="X" />

    <Command Name="RecentFiles" Symbol="ID_RIBBON_RECENT_FILES" LabelTitle="Recent Files" />

    <!-- Tabs -->
    <Command Name="TabHome" Symbol="ID_TAB_HOME" LabelTitle="Home" Keytip="H" />
    <Command Name="TabPreviousImages" Symbol="ID_TAB_PREVIOUS_IMAGES" LabelTitle="Previous Images" Keytip="P" />
    <Command Name="TabContextCamera" Symbol="ID_TAB_CONTEXT_CAMERA" LabelTitle="Camera" Keytip="C" />
    <Command Name="TabContextViewfinder" Symbol="ID_TAB_CONTEXT_VIEWFINDER" LabelTitle="Viewfinder" Keytip="V" />
    <Command Name="TabContextScripting" Symbol="ID_TAB_CONTEXT_SCRIPTING" LabelTitle="Scripting" Keytip="S" />

    <!-- Tab groups -->
    <Command Name="TabGroupContextCamera" Symbol="ID_TAB_GROUP_CONTEXT_CAMERA" LabelTitle="Camera" />
    <Command Name="TabGroupContextViewfinder" Symbol="ID_TAB_GROUP_CONTEXT_VIEWFINDER" LabelTitle="Viewfinder" />
    <Command Name="TabGroupContextScripting" Symbol="ID_TAB_GROUP_CONTEXT_SCRIPTING" LabelTitle="Scripting" />

    <!-- Groups -->
    <Command Name="GroupHome" Symbol="ID_GROUP_HOME" LabelTitle="Home" />
    <Command Name="GroupPhotoModes" Symbol="ID_GROUP_PHOTO_MODES" LabelTitle="Photo Modes" />
    <Command Name="GroupViews" Symbol="ID_GROUP_VIEWFINDER" LabelTitle="Views" />
    <Command Name="GroupPreviousImagesExit" Symbol="ID_GROUP_PREV_IMAGES_EXIT" LabelTitle="Exit" />
    <Command Name="GroupPreviousImagesNavigation" Symbol="ID_GROUP_PREV_IMAGES_NAVIGATION" LabelTitle="Navigation" />
    <Command Name="GroupPreviousImagesActions" Symbol="ID_GROUP_PREV_IMAGES_ACTIONS" LabelTitle="Actions" />
    <Command Name="GroupCameraActions" Symbol="ID_GROUP_CAMERA_ACTIONS" LabelTitle="Actions" />
    <Command Name="GroupCameraShootingSettings" Symbol="ID_GROUP_CAMERA_SHOOTING_SETTINGS" LabelTitle="Shooting settings" />
    <Command Name="GroupCameraMiscSettings" Symbol="ID_GROUP_CAMERA_MISC_SETTINGS" LabelTitle="Misc. settings" />
    <Command Name="GroupViewfinderViewfinder" Symbol="ID_GROUP_VIEWFINDER_VIEWFINDER" LabelTitle="Viewfinder" />
    <Command Name="GroupViewfinderAdjust" Symbol="ID_GROUP_VIEWFINDER_ADJUST" LabelTitle="Adjust" />
    <Command Name="GroupViewfinderZoom" Symbol="ID_GROUP_VIEWFINDER_ZOOM" LabelTitle="Zoom" />
    <Command Name="GroupViewfinderShow" Symbol="ID_GROUP_VIEWFINDER_SHOW" LabelTitle="Show" />
    <Command Name="GroupScriptingScript" Symbol="ID_GROUP_SCRIPTING_SCRIPT" LabelTitle="Script" />
    <Command Name="GroupScriptingDebug" Symbol="ID_GROUP_SCRIPTING_DEBUG" LabelTitle="Debug" />
    <Command Name="GroupScriptingEdit" Symbol="ID_GROUP_SCRIPTING_EDIT" LabelTitle="Edit" />

    <!-- App Menu, MRU list, Help button and Quick Access Toolbar -->
    <Command Name="AppMenu" Symbol="ID_RIBBON_APP_MENU"/>
    <Command Name="QAT" Symbol="ID_RIBBON_QAT"/>
  </Application.Commands>

  <Application.Views>
    <Ribbon>
      <!-- Application Menu -->
      <Ribbon.ApplicationMenu>
        <ApplicationMenu CommandName="AppMenu">
          <ApplicationMenu.RecentItems>
            <RecentItems CommandName="RecentFiles" MaxCount="16" EnablePinning="false"/>
          </ApplicationMenu.RecentItems>

          <MenuGroup Class="StandardItems">
            <Button CommandName="phototool_HOME_CONNECT"/>
            <Button CommandName="phototool_HOME_SETTINGS"/>
          </MenuGroup>
          <MenuGroup>
            <Button CommandName="phototool_PREV_IMAGES_SHOW"/>
          </MenuGroup>
          <MenuGroup>
            <Button CommandName="wtl_APP_EXIT"/>
          </MenuGroup>
        </ApplicationMenu>
      </Ribbon.ApplicationMenu>

      <!-- Help button -->
      <Ribbon.HelpButton>
        <HelpButton CommandName="wtl_APP_ABOUT" />
      </Ribbon.HelpButton>

      <!-- QAT (Quick Access Toolbar) -->
      <Ribbon.QuickAccessToolbar>
        <QuickAccessToolbar CommandName="QAT">
          <QuickAccessToolbar.ApplicationDefaults>
            <Button CommandName="phototool_HOME_CONNECT"/>
            <Button CommandName="phototool_PREV_IMAGES_SHOW"/>
          </QuickAccessToolbar.ApplicationDefaults>
        </QuickAccessToolbar>
      </Ribbon.QuickAccessToolbar>

      <Ribbon.Tabs>
        <Tab CommandName="TabHome">
          <Tab.ScalingPolicy>
            <ScalingPolicy>
              <ScalingPolicy.IdealSizes>
                <Scale Group="GroupHome" Size="Large"/>
              </ScalingPolicy.IdealSizes>
            </ScalingPolicy>
          </Tab.ScalingPolicy>

          <Group CommandName="GroupHome" SizeDefinition="TwoButtons">
            <Button CommandName="phototool_HOME_CONNECT"/>
            <Button CommandName="phototool_HOME_SETTINGS"/>
          </Group>

          <Group CommandName="GroupPhotoModes" SizeDefinition="SevenButtons">
            <Button CommandName="phototool_PHOTO_MODE_NORMAL"/>
            <Button CommandName="phototool_PHOTO_MODE_HDR"/>
            <Button CommandName="phototool_PHOTO_MODE_PANO" />
            <Button CommandName="phototool_PHOTO_MODE_HDR_PANO" />
            <!-- Button CommandName="phototool_PHOTO_MODE_TIMELAPSE" />
            <Button CommandName="phototool_PHOTO_MODE_PHOTOSTACK" / -->
            <Button CommandName="phototool_PHOTO_MODE_SCRIPTING" />
            <Button CommandName="phototool_PHOTO_MODE_DEVICE_PROPERTIES" />
            <Button CommandName="phototool_PHOTO_MODE_IMAGE_PROPERTIES" />
          </Group>

          <Group CommandName="GroupViews" SizeDefinition="ThreeButtons">
            <Button CommandName="phototool_VIEWFINDER_SHOW"/>
            <Button CommandName="phototool_PREV_IMAGES_SHOW"/>
            <Button CommandName="wtl_VIEW_RIBBON"/>
          </Group>
        </Tab>

        <Tab CommandName="TabPreviousImages" ApplicationModes="1">
          <Tab.ScalingPolicy>
            <ScalingPolicy>
              <ScalingPolicy.IdealSizes>
                <Scale Group="GroupPreviousImagesExit" Size="Large"/>
                <Scale Group="GroupPreviousImagesNavigation" Size="Large"/>
                <Scale Group="GroupPreviousImagesActions" Size="Large"/>
              </ScalingPolicy.IdealSizes>
            </ScalingPolicy>
          </Tab.ScalingPolicy>

          <Group CommandName="GroupPreviousImagesExit" SizeDefinition="OneButton" ApplicationModes="1">
            <Button CommandName="phototool_PREV_IMAGES_EXIT"/>
          </Group>

          <Group CommandName="GroupPreviousImagesNavigation" SizeDefinition="TwoButtons" ApplicationModes="1">
            <Button CommandName="phototool_PREV_IMAGES_PREV"/>
            <Button CommandName="phototool_PREV_IMAGES_NEXT"/>
          </Group>

          <Group CommandName="GroupPreviousImagesActions" SizeDefinition="TwoButtons" ApplicationModes="1">
            <Button CommandName="phototool_PREV_IMAGES_OPEN_FOLDER"/>
            <Button CommandName="phototool_PREV_IMAGES_EDIT"/>
          </Group>
        </Tab>

      </Ribbon.Tabs>

      <!-- Contextual tabs-->
      <Ribbon.ContextualTabs>
        <!-- Contextual tab "Camera" -->
        <TabGroup CommandName="TabGroupContextCamera">
          <Tab CommandName="TabContextCamera">
            <Group CommandName="GroupCameraActions" SizeDefinition="OneButton">
              <Button CommandName="phototool_CAMERA_RELEASE"/>
            </Group>
            
            <Group CommandName="GroupCameraShootingSettings">
              <ComboBox CommandName="phototool_CAMERA_SHOOTING_MODE" />
              <ComboBox CommandName="phototool_CAMERA_SETTINGS_AV" />
              <ComboBox CommandName="phototool_CAMERA_SETTINGS_TV" />
              <ComboBox CommandName="phototool_CAMERA_SETTINGS_EXPOSURE" />
              <ComboBox CommandName="phototool_CAMERA_SETTINGS_ISO" />
            </Group>

            <Group CommandName="GroupCameraMiscSettings" SizeDefinition="TwoButtons">
              <DropDownGallery CommandName="phototool_CAMERA_SETTINGS_SAVETO"
                               HasLargeItems="false"
                               TextPosition="Right">
                <DropDownGallery.MenuLayout>
                  <VerticalMenuLayout
                    Gripper="None"
                    Rows="3" />
                </DropDownGallery.MenuLayout>
              </DropDownGallery>

              <DropDownGallery CommandName="phototool_CAMERA_SETTINGS_IMAGE_FORMAT"
                               HasLargeItems="false"
                               TextPosition="Right">
                <DropDownGallery.MenuLayout>
                  <FlowMenuLayout Columns = "3"/>
                </DropDownGallery.MenuLayout>
              </DropDownGallery>
            </Group>
          </Tab>
        </TabGroup>

        <!-- Contextual tab "Viewfinder" -->
        <TabGroup CommandName="TabGroupContextViewfinder">
          <Tab CommandName="TabContextViewfinder">
            <Tab.ScalingPolicy>
              <ScalingPolicy>
                <ScalingPolicy.IdealSizes>
                  <Scale Group="GroupViewfinderViewfinder" Size="Large"/>
                  <Scale Group="GroupViewfinderAdjust" Size="Large"/>
                  <Scale Group="GroupViewfinderZoom" Size="Large"/>
                  <Scale Group="GroupViewfinderShow" Size="Large"/>
                </ScalingPolicy.IdealSizes>
              </ScalingPolicy>
            </Tab.ScalingPolicy>

            <Group CommandName="GroupViewfinderViewfinder" SizeDefinition="OneButton">
              <Button CommandName="phototool_VIEWFINDER_SHOW"/>
            </Group>
            <Group CommandName="GroupViewfinderAdjust" SizeDefinition="TwoButtons">
              <Button CommandName="phototool_VIEWFINDER_AUTO_FOCUS"/>
              <Button CommandName="phototool_VIEWFINDER_AUTO_WB"/>
            </Group>
            <Group CommandName="GroupViewfinderZoom" SizeDefinition="TwoButtons">
              <Button CommandName="phototool_VIEWFINDER_ZOOM_OUT"/>
              <Button CommandName="phototool_VIEWFINDER_ZOOM_IN"/>
            </Group>
            <Group CommandName="GroupViewfinderShow" SizeDefinition="ThreeButtons">
              <DropDownGallery CommandName="phototool_VIEWFINDER_LINES_MODE"
                               HasLargeItems="false"
                               TextPosition="Right">
                <DropDownGallery.MenuLayout>
                  <VerticalMenuLayout
                    Gripper="None"
                    Rows="3" />
                </DropDownGallery.MenuLayout>
              </DropDownGallery>
              <DropDownGallery CommandName="phototool_VIEWFINDER_OUTPUT_TYPE"
                               HasLargeItems="false"
                               TextPosition="Right">
                <DropDownGallery.MenuLayout>
                  <VerticalMenuLayout
                    Gripper="None"
                    Rows="3" />
                </DropDownGallery.MenuLayout>
              </DropDownGallery>
              <Button CommandName="phototool_VIEWFINDER_SHOW_OVEREXPOSED"/>
              <!-- Button CommandName="phototool_VIEWFINDER_SHOW_OVERLAY_IMAGE"/ -->
              <!-- Button CommandName="phototool_VIEWFINDER_HISTOGRAM"/ -->
            </Group>
          </Tab>
        </TabGroup>

        <!-- Contextual tab "Scripting" -->
        <TabGroup CommandName="TabGroupContextScripting">
          <Tab CommandName="TabContextScripting">
            <Tab.ScalingPolicy>
              <ScalingPolicy>
                <ScalingPolicy.IdealSizes>
                  <Scale Group="GroupScriptingScript" Size="Large"/>
                  <Scale Group="GroupScriptingDebug" Size="Large"/>
                  <Scale Group="GroupScriptingEdit" Size="Large"/>
                </ScalingPolicy.IdealSizes>
              </ScalingPolicy>
            </Tab.ScalingPolicy>

            <Group CommandName="GroupScriptingScript" SizeDefinition="TwoButtons">
              <Button CommandName="phototool_SCRIPTING_OPEN"/>
              <Button CommandName="phototool_SCRIPTING_RELOAD"/>
            </Group>
            <Group CommandName="GroupScriptingDebug" SizeDefinition="TwoButtons">
              <Button CommandName="phototool_SCRIPTING_RUN"/>
              <Button CommandName="phototool_SCRIPTING_STOP"/>
            </Group>
            <Group CommandName="GroupScriptingEdit" SizeDefinition="OneButton">
              <Button CommandName="phototool_SCRIPTING_EDIT"/>
            </Group>
          </Tab>
        </TabGroup>
      </Ribbon.ContextualTabs>

    </Ribbon>
  </Application.Views>
</Application>

{'fraction_non_alphanumeric': 0.11577408051209889, 'fraction_numerical': 0.015230527274232266, 'mean_word_length': 3.483424047501237, 'pattern_counts': {'":': 0, '<': 549, '<?xml version=': 0, '>': 549, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4253550', 'n_tokens_mistral': 12096, 'n_tokens_neox': 11463, 'n_words': 1426}