{"id":2959,"date":"2024-02-05T16:36:12","date_gmt":"2024-02-05T16:36:12","guid":{"rendered":"https:\/\/devicejockey.de\/?page_id=2959"},"modified":"2024-02-06T09:55:57","modified_gmt":"2024-02-06T09:55:57","slug":"basics-shared-values","status":"publish","type":"page","link":"https:\/\/devicejockey.de\/?page_id=2959","title":{"rendered":"Basics Shared Values"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row el_class=&#8221;welcomebox&#8221; css=&#8221;.vc_custom_1707149624705{margin-bottom: 20px !important;padding-bottom: 5px !important;}&#8221;][vc_column][vc_row_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_column_text]<\/p>\n<h1>Shared Values<\/h1>\n<p>[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_single_image image=&#8221;2962&#8243; img_size=&#8221;&#8221;][\/vc_column_inner][\/vc_row_inner][vc_column_text]The \u201cShared Values\u201d feature is a powerful tool for setup your items and for editing commands and events.[\/vc_column_text][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1707045863978{background-color: rgba(15,0,0,0.3) !important;*background-color: rgb(15,0,0) !important;}&#8221; el_class=&#8221;.grayBox&#8221; el_id=&#8221;interfaces&#8221;][vc_column][vc_column_text]Normally, when you want to change a command or an event, you first go to the command, adjust it, and then go to the event.[\/vc_column_text][vc_message message_box_color=&#8221;success&#8221; icon_fontawesome=&#8221;far fa-hand-point-up&#8221;]The Shared Values feature gives you all important settings for commands and events in one list, making it easier and faster to manage.<br \/>\nYou save time and effort withit.[\/vc_message][vc_row_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_column_text]<\/p>\n<h1>Select items<\/h1>\n<p>Select one or more items and display the menu by long-pressing one of the items.<\/p>\n<p>Select the \u201cValues\u201d function from the menu.[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_single_image image=&#8221;2962&#8243; img_size=&#8221;&#8221;][\/vc_column_inner][\/vc_row_inner][vc_column_text]<\/p>\n<h2>Editing Window<\/h2>\n<p>[\/vc_column_text][vc_row_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_column_text]Here is an example showing the shared values of a button.<\/p>\n<p>The \u201cShared Values\u201d list contains all the relevant values that the button has saved in its commands and events.<\/p>\n<p>And it contains important properties from the item like the title, visibility or the color.<\/p>\n<p>Tap in a field and adjust every value.[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_single_image image=&#8221;2980&#8243; img_size=&#8221;&#8221;][\/vc_column_inner][\/vc_row_inner][vc_column_text]<\/p>\n<h2>Filter<\/h2>\n<p>[\/vc_column_text][vc_row_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_column_text]You can filter the list.<\/p>\n<p>For example, enter \u201cScene1\u201d in the top field called &#8220;Filter&#8221;.<\/p>\n<p>Now you only see fields that contains \u201cScene1\u201d as its value or title.<\/p>\n<p>Fields related to any of these fields are also displayed.<br \/>\nPay attention to the vertical line in the fields \u201cLight On\/Off (event)\u201d, \u201cOn\u201d and \u201cOff\u201d.<br \/>\nThese are related and describe when the button should light up and when not.[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_single_image image=&#8221;2983&#8243; img_size=&#8221;&#8221;][\/vc_column_inner][\/vc_row_inner][vc_column_text]<\/p>\n<h2>Search And Replace<\/h2>\n<p>[\/vc_column_text][vc_message message_box_color=&#8221;success&#8221; icon_fontawesome=&#8221;far fa-hand-point-up&#8221;]You can use \u201cSearch And Replace\u201d to change entries in several fields at the same time.[\/vc_message][vc_row_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_column_text]First tap \u201cReplace\u201d[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_single_image image=&#8221;2986&#8243; img_size=&#8221;&#8221;][\/vc_column_inner][\/vc_row_inner][vc_column_text]<\/p>\n<h2>Replace With<\/h2>\n<p>[\/vc_column_text][vc_row_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_column_text]Now enter the value \u201cScene1\u201d in the \u201cReplace\u201d field.<\/p>\n<p>The list of \u201cShared Values\u201d has changed and only shows you fields that have the value \u201cScene1\u201d.<\/p>\n<p>As you can see, \u201cScene1\u201d is marked gray.<\/p>\n<p>Enter \u201cScene2\u201d in the &#8220;With&#8221; field.[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_single_image image=&#8221;2987&#8243; img_size=&#8221;&#8221;][\/vc_column_inner][\/vc_row_inner][vc_column_text]<\/p>\n<h2>Execute!<\/h2>\n<p>[\/vc_column_text][vc_row_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_column_text]Then press the green \u201cReplace all\u201d button.<\/p>\n<p>\u201cScene1\u201d has been replaced by \u201cScene2\u201d.[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_single_image image=&#8221;2988&#8243; img_size=&#8221;&#8221;][\/vc_column_inner][\/vc_row_inner][vc_message message_box_color=&#8221;success&#8221; icon_fontawesome=&#8221;fas fa-check&#8221;]Complete the editing using the check mark in the top right.[\/vc_message][vc_message message_box_color=&#8221;success&#8221; icon_fontawesome=&#8221;far fa-hand-point-up&#8221;]You have now changed many fields in commands and an events in one step.[\/vc_message][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1703005440459{background-color: rgba(15,0,0,0.3) !important;*background-color: rgb(15,0,0) !important;}&#8221; el_class=&#8221;.grayBox&#8221;][vc_column][vc_column_text]<\/p>\n<h1>Example<\/h1>\n<p>[\/vc_column_text][vc_column_text]<\/p>\n<h2>Duplicate A Button<\/h2>\n<p>A button activates \u201cScene1\u201d in OBS Studio.<\/p>\n<p>The button listens to \u201cCurrentProgramSceneChanged\u201d events and lights up when \u201cScene1\u201d is active.<\/p>\n<p>In Addition the button requests with &#8220;GetCurrentProgramScene&#8221; the current Scene in OBS Studio after restarting the connection to OBS Studio or when the panel appears after switching from another panel.<\/p>\n<p>It listens to this request and lights up when &#8220;Scene1&#8243; is active.[\/vc_column_text][vc_message message_box_color=&#8221;success&#8221;]We duplicate this button and switch the commands and events from \u201cScene1\u201d to \u201cScene2\u201d.<br \/>\nAt the end, the duplicated button will activate \u201cScene2\u201d in OBS Studio and lights up if this Scene is active there.[\/vc_message][vc_column_text]<\/p>\n<h3>Duplicate<\/h3>\n<p>First we duplicate the button with the &#8220;Copy&#8221; and &#8220;Paste&#8221; functions from the menu.<\/p>\n<h3>Open Shared Values<\/h3>\n<p>Now we select the duplicated button and call \u201cValues\u201d from the menu.<\/p>\n<h3>Replace &#8220;Scene1&#8221; To &#8220;Scene2&#8221;<\/h3>\n<p>We go to \u201cReplace\u201d and enter \u201cScene1\u201d in the \u201cReplace\u201d field and \u201cScene2\u201d in the \u201cWith\u201d field.<\/p>\n<p>Then we press the \u201cReplace all\u201d button.[\/vc_column_text][vc_message message_box_color=&#8221;success&#8221; icon_fontawesome=&#8221;fas fa-check&#8221;]We complete the editing using the check mark in the top right.[\/vc_message][vc_column_text]Now we have two buttons. One calls \u201cScene1\u201d and the other calls \u201cScene2\u201d.<\/p>\n<p>Both buttons light up when the respective scene is activated in OBS Studio.<\/p>\n<h2>Conclusion<\/h2>\n<p>[\/vc_column_text][vc_message message_box_color=&#8221;success&#8221; icon_fontawesome=&#8221;far fa-hand-point-up&#8221;]Using the \u201cShared Values\u201d function can reduce a lot of the workload when configuring a panel.[\/vc_message][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row el_class=&#8221;welcomebox&#8221; css=&#8221;.vc_custom_1707149624705{margin-bottom: 20px !important;padding-bottom: 5px !important;}&#8221;][vc_column][vc_row_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_column_text] Shared Values [\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_single_image image=&#8221;2962&#8243; img_size=&#8221;&#8221;][\/vc_column_inner][\/vc_row_inner][vc_column_text]The \u201cShared Values\u201d feature is a powerful tool for setup your items and for editing commands and events.[\/vc_column_text][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1707045863978{background-color: rgba(15,0,0,0.3) !important;*background-color: rgb(15,0,0) !important;}&#8221; el_class=&#8221;.grayBox&#8221; el_id=&#8221;interfaces&#8221;][vc_column][vc_column_text]Normally, when you want to change a command or an event, you first go to the command, adjust&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2106,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2959","page","type-page","status-publish","hentry","description-off"],"_links":{"self":[{"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/pages\/2959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devicejockey.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2959"}],"version-history":[{"count":44,"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/pages\/2959\/revisions"}],"predecessor-version":[{"id":3018,"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/pages\/2959\/revisions\/3018"}],"up":[{"embeddable":true,"href":"https:\/\/devicejockey.de\/index.php?rest_route=\/wp\/v2\/pages\/2106"}],"wp:attachment":[{"href":"https:\/\/devicejockey.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}