{"id":6790,"date":"2016-03-08T16:05:36","date_gmt":"2016-03-08T07:05:36","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=6790"},"modified":"2016-03-08T16:05:36","modified_gmt":"2016-03-08T07:05:36","slug":"office%e3%82%a2%e3%83%89%e3%82%a4%e3%83%b3%e3%82%a2%e3%83%89%e3%82%a4%e3%83%b3-%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89add-in-commands%e3%81%ae%e7%b4%b9%e4%bb%8b2","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=6790","title":{"rendered":"[Office\u30a2\u30c9\u30a4\u30f3]\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9(Add-In Commands)\u306e\u7d39\u4ecb(2)"},"content":{"rendered":"<p><a href=\"\/\/www.ka-net.org\/blog\/?p=6436\" title=\"[Office\u30a2\u30c9\u30a4\u30f3]\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9(Add-In Commands)\u306e\u7d39\u4ecb | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">\u6628\u5e74\u672b\u306b\u66f8\u3044\u305f\u8a18\u4e8b<\/a>\u3067\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9<\/span>\u300d\u3092\u7d39\u4ecb\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u77e5\u3089\u306a\u3044\u3046\u3061\u306bPowerPoint\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u305f\u3088\u3046\u306a\u306e\u3067\u3001\u3055\u3063\u305d\u304f\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h4 class=\"style4a\">\u5fc5\u8981\u306a\u74b0\u5883<\/h4>\n<ol>\n<li><span style=\"color: #ff0000; font-weight: bold;\">16.0.6568.2025<\/span> \u4ee5\u4e0a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306ePowerPoint<\/li>\n<li>\u6a5f\u80fd\u3092\u6709\u52b9\u5316\u3059\u308b\u305f\u3081\u306e<a href=\"https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples\/raw\/master\/Tools\/AddInCommandsUndark\/EnableAppCmd_W_XL_PPT.zip\" title=\"EnableAppCmd_W_XL_PPT.zip\" target=\"_blank\">\u30ec\u30b8\u30b9\u30c8\u30ea\u30ad\u30fc<\/a><\/li>\n<\/ol>\n<h4 class=\"style4a\">\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;\r\n&lt;OfficeApp xmlns=&quot;http:\/\/schemas.microsoft.com\/office\/appforoffice\/1.1&quot;\r\n  xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;\r\n  xmlns:bt=&quot;http:\/\/schemas.microsoft.com\/office\/officeappbasictypes\/1.0&quot;\r\n  xmlns:ov=&quot;http:\/\/schemas.microsoft.com\/office\/taskpaneappversionoverrides&quot;\r\n  xsi:type=&quot;TaskPaneApp&quot;&gt;\r\n  &lt;Id&gt;3ed7de23-9a21-4b2a-9205-4a9e515331c0&lt;\/Id&gt;\r\n  &lt;Version&gt;1.0.0.0&lt;\/Version&gt;\r\n  &lt;ProviderName&gt;kinuasa&lt;\/ProviderName&gt;\r\n  &lt;DefaultLocale&gt;ja-JP&lt;\/DefaultLocale&gt;\r\n  &lt;DisplayName DefaultValue=&quot;Sample Command App 01&quot; \/&gt;\r\n  &lt;Description DefaultValue=&quot;Sample Command App Description&quot; \/&gt;\r\n  &lt;Hosts&gt;\r\n    &lt;Host Name=&quot;Presentation&quot; \/&gt;\r\n  &lt;\/Hosts&gt;\r\n  &lt;DefaultSettings&gt;\r\n    &lt;SourceLocation DefaultValue=&quot;https:\/\/localhost\/apps\/command01.html&quot; \/&gt;\r\n  &lt;\/DefaultSettings&gt;\r\n  &lt;Permissions&gt;ReadWriteDocument&lt;\/Permissions&gt;\r\n  &lt;VersionOverrides xmlns=&quot;http:\/\/schemas.microsoft.com\/office\/taskpaneappversionoverrides&quot; xsi:type=&quot;VersionOverridesV1_0&quot;&gt;\r\n    &lt;Hosts&gt;\r\n      &lt;Host xsi:type=&quot;Presentation&quot;&gt;\r\n        &lt;DesktopFormFactor&gt;\r\n          &lt;FunctionFile resid=&quot;residDesktopFuncUrl&quot; \/&gt;\r\n          &lt;ExtensionPoint xsi:type=&quot;PrimaryCommandSurface&quot;&gt;\r\n            &lt;!-- TabAddIns Start --&gt;\r\n            &lt;OfficeTab id=&quot;TabAddIns&quot;&gt;\r\n              &lt;!-- grpSample Start --&gt;\r\n              &lt;Group id=&quot;grpSample&quot;&gt;\r\n                &lt;Label resid=&quot;residGrpSampleLabel&quot; \/&gt;\r\n                &lt;Icon&gt;\r\n                  &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon16&quot; \/&gt;\r\n                  &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon32&quot; \/&gt;\r\n                  &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon80&quot; \/&gt;\r\n                &lt;\/Icon&gt;\r\n                &lt;!-- btnSample Start --&gt;\r\n                &lt;Control xsi:type=&quot;Button&quot; id=&quot;btnSample&quot;&gt;\r\n                  &lt;Label resid=&quot;residBtnSampleLabel&quot; \/&gt;\r\n                  &lt;Supertip&gt;\r\n                    &lt;Title resid=&quot;residBtnSampleTitle&quot; \/&gt;\r\n                    &lt;Description resid=&quot;residBtnSampleDesc&quot; \/&gt;\r\n                  &lt;\/Supertip&gt;\r\n                  &lt;Icon&gt;\r\n                    &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon16&quot; \/&gt;\r\n                    &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon32&quot; \/&gt;\r\n                    &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon80&quot; \/&gt;\r\n                  &lt;\/Icon&gt;\r\n                  &lt;Action xsi:type=&quot;ShowTaskpane&quot;&gt;\r\n                    &lt;SourceLocation resid=&quot;residTaskpaneUrl&quot; \/&gt;\r\n                  &lt;\/Action&gt;\r\n                &lt;\/Control&gt;\r\n                &lt;!-- btnSample End --&gt;\r\n                &lt;!-- btnSample2 Start --&gt;\r\n                &lt;Control xsi:type=&quot;Button&quot; id=&quot;btnSample2&quot;&gt;\r\n                  &lt;Label resid=&quot;residBtnSampleLabel2&quot; \/&gt;\r\n                  &lt;Supertip&gt;\r\n                    &lt;Title resid=&quot;residBtnSampleTitle2&quot; \/&gt;\r\n                    &lt;Description resid=&quot;residBtnSampleDesc2&quot; \/&gt;\r\n                  &lt;\/Supertip&gt;\r\n                  &lt;Icon&gt;\r\n                    &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon16&quot; \/&gt;\r\n                    &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon32&quot; \/&gt;\r\n                    &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon80&quot; \/&gt;\r\n                  &lt;\/Icon&gt;\r\n                  &lt;Action xsi:type=&quot;ExecuteFunction&quot;&gt;\r\n                    &lt;FunctionName&gt;btnSample_onAction&lt;\/FunctionName&gt;\r\n                  &lt;\/Action&gt;\r\n                &lt;\/Control&gt;\r\n                &lt;!-- btnSample2 End --&gt;\r\n                &lt;!-- menuSample Start --&gt;\r\n                &lt;Control xsi:type=&quot;Menu&quot; id=&quot;menuSample&quot;&gt;\r\n                  &lt;Label resid=&quot;residMenuSampleLabel&quot; \/&gt;\r\n                  &lt;Supertip&gt;\r\n                    &lt;Title resid=&quot;residMenuSampleTitle&quot; \/&gt;\r\n                    &lt;Description resid=&quot;residMenuSampleDesc&quot; \/&gt;\r\n                  &lt;\/Supertip&gt;\r\n                  &lt;Icon&gt;\r\n                    &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon16&quot; \/&gt;\r\n                    &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon32&quot; \/&gt;\r\n                    &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon80&quot; \/&gt;\r\n                  &lt;\/Icon&gt;\r\n                  &lt;Items&gt;\r\n                    &lt;!-- itmSample Start --&gt;\r\n                    &lt;Item id=&quot;itmSample&quot;&gt;\r\n                      &lt;Label resid=&quot;residItmSampleLabel&quot;\/&gt;\r\n                      &lt;Supertip&gt;\r\n                        &lt;Title resid=&quot;residItmSampleTitle&quot; \/&gt;\r\n                        &lt;Description resid=&quot;residItmSampleDesc&quot; \/&gt;\r\n                      &lt;\/Supertip&gt;\r\n                      &lt;Icon&gt;\r\n                        &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon16&quot; \/&gt;\r\n                        &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon32&quot; \/&gt;\r\n                        &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon80&quot; \/&gt;\r\n                      &lt;\/Icon&gt;\r\n                      &lt;Action xsi:type=&quot;ExecuteFunction&quot;&gt;\r\n                        &lt;FunctionName&gt;btnSample_onAction&lt;\/FunctionName&gt;\r\n                      &lt;\/Action&gt;\r\n                    &lt;\/Item&gt;\r\n                    &lt;!-- itmSample End --&gt;\r\n                    &lt;!-- itmSample2 Start --&gt;\r\n                    &lt;Item id=&quot;itmSample2&quot;&gt;\r\n                      &lt;Label resid=&quot;residItmSampleLabel2&quot;\/&gt;\r\n                      &lt;Supertip&gt;\r\n                        &lt;Title resid=&quot;residItmSampleTitle2&quot; \/&gt;\r\n                        &lt;Description resid=&quot;residItmSampleDesc2&quot; \/&gt;\r\n                      &lt;\/Supertip&gt;\r\n                      &lt;Icon&gt;\r\n                        &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon16&quot; \/&gt;\r\n                        &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon32&quot; \/&gt;\r\n                        &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon80&quot; \/&gt;\r\n                      &lt;\/Icon&gt;\r\n                      &lt;Action xsi:type=&quot;ExecuteFunction&quot;&gt;\r\n                        &lt;FunctionName&gt;btnSample_onAction&lt;\/FunctionName&gt;\r\n                      &lt;\/Action&gt;\r\n                    &lt;\/Item&gt;\r\n                    &lt;!-- itmSample2 End --&gt;\r\n                  &lt;\/Items&gt;\r\n                &lt;\/Control&gt;\r\n                &lt;!-- menuSample End --&gt;\r\n              &lt;\/Group&gt;\r\n              &lt;!-- grpSample End --&gt;\r\n            &lt;\/OfficeTab&gt;\r\n            &lt;!-- TabAddIns End --&gt;\r\n          &lt;\/ExtensionPoint&gt;\r\n          \r\n          &lt;ExtensionPoint xsi:type=&quot;ContextMenu&quot;&gt;\r\n            &lt;!-- ContextMenuText Start --&gt;\r\n            &lt;OfficeMenu id=&quot;ContextMenuText&quot;&gt;\r\n              &lt;!-- menuSample2 Start --&gt;\r\n              &lt;Control xsi:type=&quot;Menu&quot; id=&quot;menuSample2&quot;&gt;\r\n                &lt;Label resid=&quot;residMenuSampleLabel2&quot; \/&gt;\r\n                &lt;Supertip&gt;\r\n                  &lt;Title resid=&quot;residMenuSampleTitle2&quot; \/&gt;\r\n                  &lt;Description resid=&quot;residMenuSampleDesc2&quot; \/&gt;\r\n                &lt;\/Supertip&gt;\r\n                &lt;Icon&gt;\r\n                  &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon16&quot; \/&gt;\r\n                  &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon32&quot; \/&gt;\r\n                  &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon80&quot; \/&gt;\r\n                &lt;\/Icon&gt;\r\n                &lt;Items&gt;\r\n                  &lt;!-- itmSample3 Start --&gt;\r\n                  &lt;Item id=&quot;itmSample3&quot;&gt;\r\n                    &lt;Label resid=&quot;residItmSampleLabel3&quot;\/&gt;\r\n                    &lt;Supertip&gt;\r\n                      &lt;Title resid=&quot;residItmSampleTitle3&quot; \/&gt;\r\n                      &lt;Description resid=&quot;residItmSampleDesc3&quot; \/&gt;\r\n                    &lt;\/Supertip&gt;\r\n                    &lt;Icon&gt;\r\n                      &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon16&quot; \/&gt;\r\n                      &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon32&quot; \/&gt;\r\n                      &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon80&quot; \/&gt;\r\n                    &lt;\/Icon&gt;\r\n                    &lt;Action xsi:type=&quot;ExecuteFunction&quot;&gt;\r\n                      &lt;FunctionName&gt;btnSample_onAction&lt;\/FunctionName&gt;\r\n                    &lt;\/Action&gt;\r\n                  &lt;\/Item&gt;\r\n                  &lt;!-- itmSample3 End --&gt;\r\n                  &lt;!-- itmSample4 Start --&gt;\r\n                  &lt;Item id=&quot;itmSample4&quot;&gt;\r\n                    &lt;Label resid=&quot;residItmSampleLabel4&quot;\/&gt;\r\n                    &lt;Supertip&gt;\r\n                      &lt;Title resid=&quot;residItmSampleTitle4&quot; \/&gt;\r\n                      &lt;Description resid=&quot;residItmSampleDesc4&quot; \/&gt;\r\n                    &lt;\/Supertip&gt;\r\n                    &lt;Icon&gt;\r\n                      &lt;bt:Image size=&quot;16&quot; resid=&quot;residIcon16&quot; \/&gt;\r\n                      &lt;bt:Image size=&quot;32&quot; resid=&quot;residIcon32&quot; \/&gt;\r\n                      &lt;bt:Image size=&quot;80&quot; resid=&quot;residIcon80&quot; \/&gt;\r\n                    &lt;\/Icon&gt;\r\n                    &lt;Action xsi:type=&quot;ExecuteFunction&quot;&gt;\r\n                      &lt;FunctionName&gt;btnSample_onAction&lt;\/FunctionName&gt;\r\n                    &lt;\/Action&gt;\r\n                  &lt;\/Item&gt;\r\n                  &lt;!-- itmSample4 End --&gt;\r\n                &lt;\/Items&gt;\r\n              &lt;\/Control&gt;\r\n              &lt;!-- menuSample2 End --&gt;\r\n            &lt;\/OfficeMenu&gt;\r\n            &lt;!-- ContextMenuText End --&gt;\r\n          &lt;\/ExtensionPoint&gt;\r\n        &lt;\/DesktopFormFactor&gt;\r\n      &lt;\/Host&gt;\r\n    &lt;\/Hosts&gt;\r\n    &lt;Resources&gt;\r\n      &lt;bt:Images&gt;\r\n        &lt;bt:Image id=&quot;residIcon16&quot; DefaultValue=&quot;https:\/\/localhost\/apps\/img\/icon16.png&quot; \/&gt;\r\n        &lt;bt:Image id=&quot;residIcon32&quot; DefaultValue=&quot;https:\/\/localhost\/apps\/img\/icon32.png&quot; \/&gt;\r\n        &lt;bt:Image id=&quot;residIcon80&quot; DefaultValue=&quot;https:\/\/localhost\/apps\/img\/icon80.png&quot; \/&gt;\r\n      &lt;\/bt:Images&gt;\r\n      &lt;bt:Urls&gt;\r\n        &lt;bt:Url id=&quot;residDesktopFuncUrl&quot; DefaultValue=&quot;http:\/\/localhost\/apps\/func.html&quot; \/&gt;\r\n        &lt;bt:Url id=&quot;residTaskpaneUrl&quot; DefaultValue=&quot;http:\/\/localhost\/apps\/command01.html&quot; \/&gt;\r\n      &lt;\/bt:Urls&gt;\r\n      &lt;bt:ShortStrings&gt;\r\n        &lt;bt:String id=&quot;residGrpSampleLabel&quot; DefaultValue=&quot;Sample Group&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleLabel&quot; DefaultValue=&quot;Sample Button&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleLabel2&quot; DefaultValue=&quot;Sample Button 2&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residMenuSampleLabel&quot; DefaultValue=&quot;Sample Menu&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residMenuSampleLabel2&quot; DefaultValue=&quot;Sample Menu 2&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleLabel&quot; DefaultValue=&quot;Sample Menu Item&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleLabel2&quot; DefaultValue=&quot;Sample Menu Item 2&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleLabel3&quot; DefaultValue=&quot;Sample Menu Item 3&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleLabel4&quot; DefaultValue=&quot;Sample Menu Item 4&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleTitle&quot; DefaultValue=&quot;Sample Button SuperTip Title&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleTitle2&quot; DefaultValue=&quot;Sample Button 2 SuperTip Title&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residMenuSampleTitle&quot; DefaultValue=&quot;Sample Menu SuperTip Title&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residMenuSampleTitle2&quot; DefaultValue=&quot;Sample Menu 2 SuperTip Title&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleTitle&quot; DefaultValue=&quot;Sample Menu Item SuperTip Title&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleTitle2&quot; DefaultValue=&quot;Sample Menu Item 2 SuperTip Title&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleTitle3&quot; DefaultValue=&quot;Sample Menu Item 3 SuperTip Title&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleTitle4&quot; DefaultValue=&quot;Sample Menu Item 4 SuperTip Title&quot; \/&gt;\r\n      &lt;\/bt:ShortStrings&gt;\r\n      &lt;bt:LongStrings&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleDesc&quot; DefaultValue=&quot;Sample Button SuperTip Description&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residBtnSampleDesc2&quot; DefaultValue=&quot;Sample Button 2 SuperTip Description&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residMenuSampleDesc&quot; DefaultValue=&quot;Sample Menu SuperTip Description&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residMenuSampleDesc2&quot; DefaultValue=&quot;Sample Menu 2 SuperTip Description&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleDesc&quot; DefaultValue=&quot;Sample Menu Item SuperTip Description&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleDesc2&quot; DefaultValue=&quot;Sample Menu Item 2 SuperTip Description&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleDesc3&quot; DefaultValue=&quot;Sample Menu Item 3 SuperTip Description&quot; \/&gt;\r\n        &lt;bt:String id=&quot;residItmSampleDesc4&quot; DefaultValue=&quot;Sample Menu Item 4 SuperTip Description&quot; \/&gt;\r\n      &lt;\/bt:LongStrings&gt;\r\n    &lt;\/Resources&gt;\r\n  &lt;\/VersionOverrides&gt;\r\n&lt;\/OfficeApp&gt;<\/pre>\n<p>\u305b\u3063\u304b\u304f\u306a\u306e\u3067\u4eca\u56de\u306f\u30e1\u30cb\u30e5\u30fc \u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3084\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8 \u30e1\u30cb\u30e5\u30fc\u3082\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n(\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3048\u3070\u4f7f\u3046\u307b\u3069\u30b3\u30fc\u30c9\u304c\u9577\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u304c\u9b31\u9676\u3057\u3044\u3067\u3059\u304c\u3001\u305d\u3046\u3044\u3046\u4ed5\u69d8\u306a\u306e\u3067\u4ed5\u65b9\u3042\u308a\u307e\u305b\u3093\u30fb\u30fb\u30fb\u3002)<\/p>\n<h4 class=\"style4a\">command01.html<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n  &lt;meta charset=&quot;UTF-8&quot; \/&gt;\r\n  &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=Edge&quot; \/&gt;\r\n  &lt;title&gt;Sample&lt;\/title&gt;\r\n  &lt;script src=&quot;https:\/\/ajax.aspnetcdn.com\/ajax\/jQuery\/jquery-2.2.1.min.js&quot;&gt;&lt;\/script&gt;\r\n  &lt;script src=&quot;https:\/\/appsforoffice.microsoft.com\/lib\/1\/hosted\/office.js&quot;&gt;&lt;\/script&gt;\r\n  &lt;script&gt;\r\n    Office.initialize = function(reason){}\r\n    $(function(){\r\n      $(&quot;#btnTest&quot;).click(function(){\r\n        Office.context.document.setSelectedDataAsync(&quot;Hello World.&quot;);\r\n      });\r\n    });\r\n  &lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n  &lt;h4&gt;Sample Page&lt;\/h4&gt;\r\n  &lt;input id=&quot;btnTest&quot; type=&quot;button&quot; value=&quot;Test&quot;&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<h4 class=\"style4a\">func.html<\/h4>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">&lt;script src=&quot;https:\/\/appsforoffice.microsoft.com\/lib\/1\/hosted\/office.js&quot;&gt;&lt;\/script&gt;\r\n&lt;script&gt;\r\n  Office.initialize = function(reason){}\r\n  function btnSample_onAction(event){\r\n    var buttonId = event.source.id;\r\n    Office.context.document.setSelectedDataAsync(buttonId);\r\n    event.completed();\r\n  }\r\n&lt;\/script&gt;<\/pre>\n<h4 class=\"style4a\">\u5b9f\u884c\u7d50\u679c<\/h4>\n<p>\u4e0a\u8a18\u30a2\u30c9\u30a4\u30f3\u3092\u5b9f\u884c\u3057\u305f\u7d50\u679c\u304c\u4e0b\u56f3\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office_Add-In_Commands_02_01.gif\" alt=\"Office_Add-In_Commands_02_01\" width=\"577\" height=\"694\" class=\"alignnone size-full wp-image-6791\" \/><\/p>\n<p>\u30bf\u30d6\u3084\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8 \u30e1\u30cb\u30e5\u30fc\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u884c\u3046\u3068\u3001\u30b7\u30fc\u30e0\u30ec\u30b9\u306bOffice \u30a2\u30c9\u30a4\u30f3\u306e\u6a5f\u80fd\u3092\u547c\u3073\u51fa\u305b\u307e\u3059\u3002<\/p>\n<p>\u73fe\u6642\u70b9(2016\u5e743\u6708)\u3067\u306f\u5b9f\u884c\u53ef\u80fd\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5236\u9650\u304c\u3042\u308a\u3001\u4f7f\u3044\u52dd\u624b\u304c\u826f\u3044\u3068\u306f\u8a00\u3048\u306a\u3044\u6a5f\u80fd\u3067\u3059\u304c\u3001\u4eca\u5f8cOffice 2016\u306e\u30b7\u30a7\u30a2\u304c\u62e1\u5927\u3059\u308b\u306b\u3064\u308c\u3001\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3067\u304d\u308b\u74b0\u5883\u3082\u5e83\u304c\u3063\u3066\u3044\u304f\u3060\u308d\u3046\u3068\u601d\u3044\u307e\u3059\u3002Office\u958b\u767a\u8005\u306e\u65b9\u306f\u4eca\u304b\u3089\u8981\u30c1\u30a7\u30c3\u30af\u3067\u3059\uff01<\/p>\n<h4 class=\"style4a\">\u53c2\u8003\u8cc7\u6599<\/h4>\n<ul>\n<li>Excel\u3001Word \u304a\u3088\u3073 PowerPoint \u306e\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9 (\u30d7\u30ec\u30d3\u30e5\u30fc)<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/mt607161.aspx\" target=\"_blank\" title=\"Excel\u3001Word \u304a\u3088\u3073 PowerPoint \u306e\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9 (\u30d7\u30ec\u30d3\u30e5\u30fc)\">https:\/\/msdn.microsoft.com\/ja-jp\/library\/mt607161.aspx<\/a><\/li>\n<li>Excel\u3001Word\u3001\u304a\u3088\u3073 PowerPoint \u306e\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3067\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3059\u308b (\u30d7\u30ec\u30d3\u30e5\u30fc)<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/mt621545.aspx\" target=\"_blank\" title=\"Excel\u3001Word\u3001\u304a\u3088\u3073 PowerPoint \u306e\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3067\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3059\u308b (\u30d7\u30ec\u30d3\u30e5\u30fc)\">https:\/\/msdn.microsoft.com\/ja-jp\/library\/mt621545.aspx<\/a><\/li>\n<li><\/li>\n<li style=\"list-style-type:none;\"><a href=\"Office Add-in Commands Samples\" target=\"_blank\" title=\"\">Office Add-in Commands Samples<\/a><\/li>\n<li>https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples<\/li>\n<li style=\"list-style-type:none;\"><a href=\"Install the latest version of Office 2016 applications\" target=\"_blank\" title=\"https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples\">Install the latest version of Office 2016 applications<\/a><\/li>\n<li>https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples\/blob\/master\/Tools\/LatestOfficeBuild.md<\/li>\n<li style=\"list-style-type:none;\"><a href=\"Image callouts Word add-in sample: load, edit, and insert images\" target=\"_blank\" title=\"https:\/\/github.com\/OfficeDev\/Office-Add-in-Commands-Samples\/blob\/master\/Tools\/LatestOfficeBuild.md\">Image callouts Word add-in sample: load, edit, and insert images<\/a><\/li>\n<li>https:\/\/github.com\/OfficeDev\/Word-Add-in-TypeScript-Canvas<\/li>\n<li style=\"list-style-type:none;\"><a href=\"Silly stories Word add-in sample: load files and use content controls\" target=\"_blank\" title=\"https:\/\/github.com\/OfficeDev\/Word-Add-in-TypeScript-Canvas\">Silly stories Word add-in sample: load files and use content controls<\/a><\/li>\n<li>https:\/\/github.com\/OfficeDev\/Word-Add-in-SillyStories<\/li>\n<\/ul>\n<p>\u7279\u306b\u300c<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/mt607161.aspx\" title=\"Excel\u3001Word \u304a\u3088\u3073 PowerPoint \u306e\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9 (\u30d7\u30ec\u30d3\u30e5\u30fc)\" target=\"_blank\">Excel\u3001Word \u304a\u3088\u3073 PowerPoint \u306e\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9 (\u30d7\u30ec\u30d3\u30e5\u30fc)<\/a>\u300d\u3068\u300c<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/mt621545.aspx\" title=\"Excel\u3001Word\u3001\u304a\u3088\u3073 PowerPoint \u306e\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3067\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3059\u308b (\u30d7\u30ec\u30d3\u30e5\u30fc)\" target=\"_blank\">Excel\u3001Word\u3001\u304a\u3088\u3073 PowerPoint \u306e\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3067\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3059\u308b (\u30d7\u30ec\u30d3\u30e5\u30fc)<\/a>\u300d\u306e\u8a18\u4e8b\u306f\u30aa\u30b9\u30b9\u30e1\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u6628\u5e74\u672b\u306b\u66f8\u3044\u305f\u8a18\u4e8b\u3067\u300c\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9\u300d\u3092\u7d39\u4ecb\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u77e5\u3089\u306a\u3044\u3046\u3061\u306bPowerPoint\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u305f\u3088\u3046\u306a\u306e\u3067\u3001\u3055\u3063\u305d\u304f\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u5fc5\u8981\u306a\u74b0\u5883 16.0.6568.2025 \u4ee5\u4e0a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306ePowe [&hellip;]","protected":false},"author":1,"featured_media":7119,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[[Office\u30a2\u30c9\u30a4\u30f3]\u30a2\u30c9\u30a4\u30f3 \u30b3\u30de\u30f3\u30c9(Add-In Commands)\u306e\u7d39\u4ecb(2)]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[130,4,58,128],"tags":[],"class_list":["post-6790","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apps-for-office","category-office","category-powerpoint","category-office2016"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeAddins.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1Lw","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6790"}],"version-history":[{"count":1,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6790\/revisions"}],"predecessor-version":[{"id":6792,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6790\/revisions\/6792"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7119"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}