svnno****@sourc*****
svnno****@sourc*****
2013年 3月 16日 (土) 00:23:17 JST
Revision: 5146 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5146 Author: yutakapon Date: 2013-03-16 00:23:17 +0900 (Sat, 16 Mar 2013) Log Message: ----------- listbox コマンドの説明を追加した。 Modified Paths: -------------- trunk/doc/en/html/about/history.html trunk/doc/en/html/macro/command/index.html trunk/doc/en/teraterm.hhc trunk/doc/en/teraterm.hhp trunk/doc/ja/html/about/history.html trunk/doc/ja/html/macro/command/index.html trunk/doc/ja/teraterm.hhc trunk/doc/ja/teraterm.hhp Added Paths: ----------- trunk/doc/en/html/macro/command/listbox.html trunk/doc/ja/html/macro/command/listbox.html -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2013-03-12 15:52:32 UTC (rev 5145) +++ trunk/doc/en/html/about/history.html 2013-03-15 15:23:17 UTC (rev 5146) @@ -37,6 +37,10 @@ <li>Changes <ul> <li>Upgraded checking the invalid character of a file name.</li> + <li>Macro + <ul> + <li>added the <a href="../macro/command/listbox.html">listbox</a> command.</li> + </ul></li> </ul> </li> Modified: trunk/doc/en/html/macro/command/index.html =================================================================== --- trunk/doc/en/html/macro/command/index.html 2013-03-12 15:52:32 UTC (rev 5145) +++ trunk/doc/en/html/macro/command/index.html 2013-03-15 15:23:17 UTC (rev 5146) @@ -198,6 +198,7 @@ <li><a href="ifdefined.html">ifdefined</a> (version 4.46 or later) <li><a href="inputbox.html">inputbox</a> <li><a href="intdim.html">intdim</a> (version 4.72 or later) + <li><a href="listbox.html">listbox</a> (version 4.78 or later) <li><a href="messagebox.html">messagebox</a> <li><a href="random.html">random</a> (version 4.27 or later) <li><a href="rotateleft.html">rotateleft</a> (version 4.54 or later) Copied: trunk/doc/en/html/macro/command/listbox.html (from rev 5144, trunk/doc/en/html/macro/command/yesnobox.html) =================================================================== --- trunk/doc/en/html/macro/command/listbox.html (rev 0) +++ trunk/doc/en/html/macro/command/listbox.html 2013-03-15 15:23:17 UTC (rev 5146) @@ -0,0 +1,66 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <title>listbox</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>listbox</h1> + +<p> +Displays a list box, and ask a item to user. +</p> + +<pre class="macro-syntax"> +listbox <message> <title> <item1> [<item2>] [...] [<item10>] +</pre> + +<h2>Parameters</h2> + +<dl> + <dt class="macro">string <message></dt> + <dd>It is displayed in the list box.</dd> + + <dt class="macro">string <title></dt> + <dd>It is displayed as the list box title.</dd> + + <dt class="macro">string <itemN> (N=1-10)</dt> + <dd>It is displayed as the list box items.</dd> + +</dl> + +<h2>Return Value</h2> + +<dl> + <dt class="macro">System variable <result></dt> + <dd>If the user selects one of items, it is set to from 0 to N-1.<br> + If the user cancels, it is set to -1.</dd> + +</dl> + +<h2>Example</h2> + +<pre class="macro-example"> +listbox 'Select your favorite food.' 'Confirmation' 'Banana' 'Apple' 'Orange' +sprintf2 var "%d" result +messagebox var "result" +; result +; -1: Cancel +; 0: Banana +; 1: Apple +; 2: Orange +</pre> + +<h2>See also</h2> +<ul> + <li><a href="yesnobox.html">yesnobox</a></li> +</ul> + +</body> +</html> Modified: trunk/doc/en/teraterm.hhc =================================================================== --- trunk/doc/en/teraterm.hhc 2013-03-12 15:52:32 UTC (rev 5145) +++ trunk/doc/en/teraterm.hhc 2013-03-15 15:23:17 UTC (rev 5146) @@ -1422,6 +1422,11 @@ <param name="ImageNumber" value="11"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="listbox"> + <param name="Local" value="html\macro\command\listbox.html"> + <param name="ImageNumber" value="11"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="messagebox"> <param name="Local" value="html\macro\command\messagebox.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/en/teraterm.hhp =================================================================== --- trunk/doc/en/teraterm.hhp 2013-03-12 15:52:32 UTC (rev 5145) +++ trunk/doc/en/teraterm.hhp 2013-03-15 15:23:17 UTC (rev 5146) @@ -233,6 +233,7 @@ HlpMacroCommandKmtget=html\macro\command\kmtget.html HlpMacroCommandKmtrecv=html\macro\command\kmtrecv.html HlpMacroCommandKmtsend=html\macro\command\kmtsend.html +HlpMacroCommandListbox=html\macro\command\listbox.html HlpMacroCommandLoadkeymap=html\macro\command\loadkeymap.html HlpMacroCommandLogclose=html\macro\command\logclose.html HlpMacroCommandLoginfo=html\macro\command\loginfo.html Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2013-03-12 15:52:32 UTC (rev 5145) +++ trunk/doc/ja/html/about/history.html 2013-03-15 15:23:17 UTC (rev 5146) @@ -36,6 +36,10 @@ <li>\x95ύX <ul> <li>\x83t\x83@\x83C\x83\x8B\x96\xBC\x82̕s\x90\xB3\x95\xB6\x8E\x9A\x83`\x83F\x83b\x83N\x82\xF0\x8B\xAD\x89\xBB\x82\xB5\x82\xBD\x81B</li> + <li>\x83}\x83N\x83\x8D + <ul> + <li><a href="../macro/command/listbox.html">listbox</a>\x83R\x83}\x83\x93\x83h\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li> + </ul></li> </ul> </li> Modified: trunk/doc/ja/html/macro/command/index.html =================================================================== --- trunk/doc/ja/html/macro/command/index.html 2013-03-12 15:52:32 UTC (rev 5145) +++ trunk/doc/ja/html/macro/command/index.html 2013-03-15 15:23:17 UTC (rev 5146) @@ -198,6 +198,7 @@ <li><a href="ifdefined.html">ifdefined</a> (\x83o\x81[\x83W\x83\x87\x83\x934.46\x88ȍ~) <li><a href="inputbox.html">inputbox</a> <li><a href="intdim.html">intdim</a> (\x83o\x81[\x83W\x83\x87\x83\x934.72\x88ȍ~) + <li><a href="listbox.html">listbox</a> (\x83o\x81[\x83W\x83\x87\x83\x934.78\x88ȍ~) <li><a href="messagebox.html">messagebox</a> <li><a href="random.html">random</a> (\x83o\x81[\x83W\x83\x87\x83\x934.27\x88ȍ~) <li><a href="rotateleft.html">rotateleft</a> (\x83o\x81[\x83W\x83\x87\x83\x934.54\x88ȍ~) Copied: trunk/doc/ja/html/macro/command/listbox.html (from rev 5144, trunk/doc/ja/html/macro/command/yesnobox.html) =================================================================== --- trunk/doc/ja/html/macro/command/listbox.html (rev 0) +++ trunk/doc/ja/html/macro/command/listbox.html 2013-03-15 15:23:17 UTC (rev 5146) @@ -0,0 +1,66 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> + <title>listbox</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>listbox</h1> + +<p> +\x83\x8A\x83X\x83g\x83{\x83b\x83N\x83X\x82\xF0\x8AJ\x82\xAB\x81A\x83\x86\x81[\x83U\x81[\x82ɍ\x80\x96ڂ\xF0\x91I\x91\xF0\x82\xB3\x82\xB9\x82\xE9\x81B +</p> + +<pre class="macro-syntax"> +listbox <message> <title> <item1> [<item2>] [...] [<item10>] +</pre> + +<h2>\x83p\x83\x89\x83\x81\x81[\x83^</h2> + +<dl> + <dt class="macro">\x95\xB6\x8E\x9A\x97\xF1 <message></dt> + <dd>\x83\x8A\x83X\x83g\x83{\x83b\x83N\x83X\x82ɕ\\x8E\xA6\x82\xB3\x82\xEA\x82郁\x83b\x83Z\x81[\x83W\x81B</dd> + + <dt class="macro">\x95\xB6\x8E\x9A\x97\xF1 <title></dt> + <dd>\x83\x8A\x83X\x83g\x83{\x83b\x83N\x83X\x82̃^\x83C\x83g\x83\x8B\x81B</dd> + + <dt class="macro">\x95\xB6\x8E\x9A\x97\xF1 <itemN> (N=1-10)</dt> + <dd>\x83\x8A\x83X\x83g\x83{\x83b\x83N\x83X\x82̑I\x91\xF0\x8D\x80\x96ځB</dd> + +</dl> + +<h2>\x95Ԃ\xE8\x92l</h2> + +<dl> + <dt class="macro">\x83V\x83X\x83e\x83\x80\x95ϐ\x94 <result></dt> + <dd>\x8D\x80\x96ڂ\xAA\x91I\x91\xF0\x82\xB3\x82ꂽ\x8Fꍇ\x81A0 - (N-1)\x82̂\xA2\x82\xB8\x82ꂩ\x82̒l\x82\xAA\x8Ai\x94[\x82\xB3\x82\xEA\x82\xE9\x81B<br> + \x83L\x83\x83\x83\x93\x83Z\x83\x8B\x82\xB3\x82ꂽ\x8Fꍇ\x81A-1\x82\xAA\x8Ai\x94[\x82\xB3\x82\xEA\x82\xE9\x81B</dd> + +</dl> + +<h2>\x97\xE1</h2> + +<pre class="macro-example"> +listbox '\x8DD\x82\xAB\x82ȐH\x82ו\xA8\x82\xF0\x91I\x82\xF1\x82ł\xAD\x82\xBE\x82\xB3\x82\xA2' '\x82\xA0\x82Ȃ\xBD\x82ւ̖₢' '\x83o\x83i\x83i' '\x82\xE8\x82\xF1\x82\xB2' '\x82݂\xA9\x82\xF1' +sprintf2 var "%d" result +messagebox var "result" +; result +; -1: Cancel +; 0: Banana +; 1: Apple +; 2: Orange +</pre> + +<h2>\x8EQ\x8F\xC6</h2> +<ul> + <li><a href="yesnobox.html">yesnobox</a></li> +</ul> + +</body> +</html> Modified: trunk/doc/ja/teraterm.hhc =================================================================== --- trunk/doc/ja/teraterm.hhc 2013-03-12 15:52:32 UTC (rev 5145) +++ trunk/doc/ja/teraterm.hhc 2013-03-15 15:23:17 UTC (rev 5146) @@ -1429,6 +1429,10 @@ <param name="ImageNumber" value="11"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="listbox"> + <param name="Local" value="html\macro\command\listbox.html"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="messagebox"> <param name="Local" value="html\macro\command\messagebox.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/ja/teraterm.hhp =================================================================== --- trunk/doc/ja/teraterm.hhp 2013-03-12 15:52:32 UTC (rev 5145) +++ trunk/doc/ja/teraterm.hhp 2013-03-15 15:23:17 UTC (rev 5146) @@ -243,6 +243,7 @@ HlpMacroCommandKmtget=html\macro\command\kmtget.html HlpMacroCommandKmtrecv=html\macro\command\kmtrecv.html HlpMacroCommandKmtsend=html\macro\command\kmtsend.html +HlpMacroCommandListbox=html\macro\command\listbox.html HlpMacroCommandLoadkeymap=html\macro\command\loadkeymap.html HlpMacroCommandLogclose=html\macro\command\logclose.html HlpMacroCommandLoginfo=html\macro\command\loginfo.html