{"id":4223,"date":"2022-10-19T09:53:08","date_gmt":"2022-10-19T00:53:08","guid":{"rendered":"https:\/\/www.agtech.co.jp\/blog\/?p=4223"},"modified":"2023-04-19T16:51:26","modified_gmt":"2023-04-19T07:51:26","slug":"automatic-output-of-difference-report","status":"publish","type":"post","link":"https:\/\/www.agtech.co.jp\/blog\/2022\/10\/automatic-output-of-difference-report\/","title":{"rendered":"\u5dee\u5206\u30ec\u30dd\u30fc\u30c8\u3092 Araxis Merge \u304b\u3089\u201d\u81ea\u52d5\u201d\u51fa\u529b"},"content":{"rendered":"<p style=\"text-align:center\"><img loading=\"lazy\" src=\"https:\/\/www.agtech.co.jp\/blog\/wp-content\/uploads\/2022\/10\/folder-g5fe1fb370_640.jpg\" alt=\"\" width=\"500\" height=\"334\" class=\"alignnone size-full wp-image-4222\" srcset=\"https:\/\/www.agtech.co.jp\/blog\/wp-content\/uploads\/2022\/10\/folder-g5fe1fb370_640.jpg 640w, https:\/\/www.agtech.co.jp\/blog\/wp-content\/uploads\/2022\/10\/folder-g5fe1fb370_640-300x200.jpg 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\r\n\r\n<p>Araxis Merge \u306e\u6a5f\u80fd\u306e 1 \u3064\u3067\u3042\u308b\u3001\u5dee\u5206\u30ec\u30dd\u30fc\u30c8\u306e\u51fa\u529b\u306b\u95a2\u3059\u308b Tips \u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u5dee\u5206\u30ec\u30dd\u30fc\u30c8\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u6bd4\u8f03\u3057\u305f\u7d50\u679c\u3092 html \u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3067\u51fa\u529b\u3057\u305f\u3082\u306e\u3067\u3059\u3002\u79c1\u306e\u5834\u5408\u3001\u696d\u52d9\u3067\u7de8\u96c6\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3068\u5143\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u306e\u5dee\u5206\u60c5\u5831\u3092\u30a8\u30d3\u30c7\u30f3\u30b9\u3068\u3057\u3066\u6b8b\u3059\u305f\u3081\u306b\u6d3b\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n\r\n<p>\u3057\u304b\u3057\u3001\u6bce\u65e5\u540c\u3058\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u5dee\u5206\u30ec\u30dd\u30fc\u30c8\u3092\u51fa\u529b\u3059\u308b\u5834\u5408\u3001\u4e0b\u8a18\u306b\u6319\u3052\u305f\u3088\u3046\u306a\u7e70\u308a\u8fd4\u3057\u306e\u4f5c\u696d\u304c\u5c11\u3005\u9762\u5012\u306b\u611f\u3058\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n<p>Step 1\uff1aAraxis Merge \u3092\u7acb\u3061\u4e0a\u3052\u3001\u6bd4\u8f03\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e<\/p>\r\n<p>Step 2\uff1a\u6bd4\u8f03\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u30ec\u30dd\u30fc\u30c8\u306e\u751f\u6210\u3092\u62bc\u4e0b<\/p>\r\n<p>Step 3\uff1a\u30ec\u30dd\u30fc\u30c8\u306e\u4fdd\u5b58\u5148\u3092\u6307\u5b9a<\/p>\r\n\r\n<p>\u305d\u3053\u3067\u3001\u7e70\u308a\u8fd4\u3057\u306e\u4f5c\u696d\u8ca0\u62c5\u304c\u8efd\u6e1b\u3055\u308c\u308b\u3088\u3046\u306b\u3001\u6bd4\u8f03\u4f5c\u696d\u304b\u3089\u5dee\u5206\u30ec\u30dd\u30fc\u30c8\u306e\u51fa\u529b\u307e\u3067\u304c\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u3055\u308c\u308b\u7c21\u5358\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002Araxis Merge \u306b\u306f\u300c Merge \u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3 API \u300d\u3068\u547c\u3070\u308c\u308b API \u304c\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u3053\u306e API \u3092\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n<p>\u6b21\u306e\u7ae0\u3067\u306f\u3001\u6bd4\u8f03\u4f5c\u696d\u3092\u7c21\u7d20\u5316\u3059\u308b\u305f\u3081\u306e API \u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<h2>API \u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\r\n\r\n<p>\u6bd4\u8f03\u7528\u306e\u30b5\u30f3\u30d7\u30eb\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u30012 \u3064\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\uff08\u300c 1.txt \u300d\u3068\u300c 2.txt \u300d\uff09\u3092\u7528\u610f\u3057\u3001\u3053\u308c\u3089\u3092\u6bd4\u8f03\u3059\u308b\u305f\u3081\u306e\u30b9\u30af\u30ea\u30d7\u30c8\uff08\u203b\uff09\u3068\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<p>\uff08\u203b\uff09\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u8a73\u7d30\u306f<a href=\"#merge005\">\u3053\u3061\u3089\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/a><\/p>\r\n\r\n<h3>[\u5b9f\u884c\u6642\u306e\u69d8\u5b50]<\/h3>\r\n\r\n<p>\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\uff08\u81ea\u52d5\u51e6\u7406\u30b5\u30f3\u30d7\u30eb.bat\uff09\u3092\u8d77\u52d5\u3059\u308b\u3068\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u300c 1.txt \u300d\u3068\u300c 2.txt \u300d\u306e 2 \u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u6bd4\u8f03\u3057\u3001\u305d\u306e\u7d50\u679c\u304c\u8a18\u8f09\u3055\u308c\u305f\u6bd4\u8f03\u30ec\u30dd\u30fc\u30c8\u3092\u300c report.html \u300d\u3068\u3057\u3066\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<p><img loading=\"lazy\" src=\"https:\/\/www.agtech.co.jp\/blog\/wp-content\/uploads\/2022\/10\/Merge005-01.gif\" alt=\"\" width=\"781\" height=\"386\" class=\"alignnone size-full wp-image-4220\" \/><\/p>\r\n\r\n<p><img loading=\"lazy\" src=\"https:\/\/www.agtech.co.jp\/blog\/wp-content\/uploads\/2022\/10\/Merge005-02.png\" alt=\"\" width=\"915\" height=\"839\" class=\"alignnone size-full wp-image-4221\" srcset=\"https:\/\/www.agtech.co.jp\/blog\/wp-content\/uploads\/2022\/10\/Merge005-02.png 915w, https:\/\/www.agtech.co.jp\/blog\/wp-content\/uploads\/2022\/10\/Merge005-02-300x275.png 300w, https:\/\/www.agtech.co.jp\/blog\/wp-content\/uploads\/2022\/10\/Merge005-02-768x704.png 768w\" sizes=\"(max-width: 915px) 100vw, 915px\" \/><\/p>\r\n\r\n<h3><a id=\"merge005\"><\/a>[\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u5185\u5bb9]<\/h3>\r\n\r\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u540d\uff1aTextComparison2Way.vbs<\/p>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">\r\nif WScript.Arguments.Length <> 3 then\r\n  WScript.echo(\"<text1> <text2> <reportFile>\")\r\n  WScript.quit(1)\r\nend if\r\n\r\ndim text1, text2, reportFile\r\ntext1 = WScript.Arguments(0)\r\ntext2 = WScript.Arguments(1)\r\nreportFile = WScript.Arguments(2)\r\n\r\n' \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\r\ndim application\r\nset application = WScript.CreateObject(\"Merge70.Application\")\r\n\r\napplication.Active = true\r\napplication.Visible = false\r\n\r\n' \u30c6\u30ad\u30b9\u30c8\u6bd4\u8f03\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u6709\u52b9\u671f\u9593\u3092\u30e6\u30fc\u30b6\u30fc\u304c\u5236\u5fa1\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\r\ndim tc\r\nset tc = application.TextComparison\r\ntc.Compare text1, text2\r\ntc.GiveUserControl()\r\n\r\n' 2 \u3064\u306e\u30c6\u30ad\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u306e\u9055\u3044\u306e\u6570\u3092\u8868\u793a\u3057\u307e\u3059\u3002\r\n'WScript.Echo(\"Number of changes between the text files: \" & tc.NumberOfChanges(0))\r\n\r\n' \u30d5\u30a1\u30a4\u30eb\u6bd4\u8f03\u30ec\u30dd\u30fc\u30c8\u3092\u751f\u6210\u3059\u308b\r\ntc.Report \"html\", 0, reportFile\r\n<\/pre>\r\n\r\n<h3>[\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9]<\/h3>\r\n\r\n<p>\u30d5\u30a1\u30a4\u30eb\u540d\uff1a\u81ea\u52d5\u51e6\u7406\u30b5\u30f3\u30d7\u30eb.bat<\/p>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">\r\nTextComparison2Way.vbs 1.txt 2.txt C:&yen;Users&yen;Araxis&yen;Report\r\n<\/pre>\r\n<p>&rarr; \u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u540d \u6bd4\u8f03\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb1 \u6bd4\u8f03\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb2 \u4efb\u610f\u306e\u30ec\u30dd\u30fc\u30c8\u51fa\u529b\u5148<\/p>\r\n\r\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001Araxis Merge \u306e\u30e6\u30fc\u30b6\u30fc \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\uff08\u6bd4\u8f03\u753b\u9762\uff09\u3092\u8868\u793a\u3057\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306e\u5b9f\u884c\u6642\u306b\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u5177\u4f53\u7684\u306b\u306f Application \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e Visible \u30d7\u30ed\u30d1\u30c6\u30a3\u3092 True \u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u5f53\u8a2d\u5b9a\u3092\u542b\u3080 API \u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u4e0b\u8a18\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\r\n\r\n\r\n<p><strong>\u30fb\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3 API \u306e\u6982\u8981<\/strong><br>\r\n\u25bc <a href=\"https:\/\/www.araxis.com\/merge\/documentation-windows\/api-reference.ja\" target=\"_blank\" rel=\"noopener\">https:\/\/www.araxis.com\/merge\/documentation-windows\/api-reference.ja<\/a><\/p>\r\n\r\n\r\n<p>\u4eca\u56de\u306f\u3001\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u3092\u5bfe\u8c61\u306b\u3057\u305f\u81ea\u52d5\u5316\u306b\u3064\u3044\u3066\u3054\u8aac\u660e\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u79c1\u306f\u30d5\u30a9\u30eb\u30c0\u30fc\u5358\u4f4d\u3067\u306e\u5dee\u5206\u30ec\u30dd\u30fc\u30c8\u51fa\u529b\u306b\u3082\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u81ea\u52d5\u5316\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u3001\u88fd\u54c1\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\u30fc\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001C:&yen;Program Files&yen;Araxis&yen;Araxis Merge&yen;AutomationSamples\uff09\u306b\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3042\u308f\u305b\u3066\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\r\n\r\n\r\n<h2>\u6700\u5f8c\u306b<\/h2>\r\n\r\n<p>Araxis Merge \u306f\u3001\u3055\u307e\u3056\u307e\u306a\u4f5c\u696d\u52b9\u7387\u306e\u6539\u5584\u306b\u304a\u5f79\u7acb\u3066\u3044\u305f\u3060\u3051\u308b\u30c4\u30fc\u30eb\u3067\u3059\u3002\u8a55\u4fa1\u7248\u3092\u3054\u7528\u610f\u3057\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u3001\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002<\/p>\r\n\r\n\r\n<p><strong>\u30fb\u8a55\u4fa1\u7248\u306e\u7533\u3057\u8fbc\u307f<\/strong><br>\r\n\u25bc <a href=\"\/araxis\/merge\/trial\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.agtech.co.jp\/araxis\/merge\/trial\/<\/a><\/p>","protected":false},"excerpt":{"rendered":"Araxis Merge \u306e\u6a5f\u80fd\u306e 1 \u3064\u3067\u3042\u308b\u3001\u5dee\u5206\u30ec\u30dd\u30fc\u30c8\u306e\u51fa\u529b\u306b\u95a2\u3059\u308b Tips \u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u5dee\u5206\u30ec\u30dd\u30fc\u30c8\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u6bd4\u8f03\u3057\u305f\u7d50\u679c\u3092 html \u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3067\u51fa\u529b\u3057\u305f\u3082\u306e\u3067\u3059\u3002\u79c1\u306e\u5834\u5408\u3001\u696d\u52d9\u3067\u7de8\u96c6\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3068 [&hellip;]","protected":false},"author":1,"featured_media":4222,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"product":[88,93],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts\/4223"}],"collection":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=4223"}],"version-history":[{"count":5,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts\/4223\/revisions"}],"predecessor-version":[{"id":4393,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts\/4223\/revisions\/4393"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/media\/4222"}],"wp:attachment":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=4223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=4223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=4223"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/product?post=4223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}