svnno****@sourc*****
svnno****@sourc*****
2012年 11月 16日 (金) 23:31:57 JST
Revision: 5065 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5065 Author: maya Date: 2012-11-16 23:31:56 +0900 (Fri, 16 Nov 2012) Log Message: ----------- 表現を修正 サンプルコード追加 ticket #30103 Ticket Links: ------------ http://sourceforge.jp/projects/ttssh2/tracker/detail/30103 Modified Paths: -------------- trunk/doc/en/html/macro/command/clipb2var.html trunk/doc/ja/html/macro/command/clipb2var.html -------------- next part -------------- Modified: trunk/doc/en/html/macro/command/clipb2var.html =================================================================== --- trunk/doc/en/html/macro/command/clipb2var.html 2012-11-16 09:33:21 UTC (rev 5064) +++ trunk/doc/en/html/macro/command/clipb2var.html 2012-11-16 14:31:56 UTC (rev 5065) @@ -31,7 +31,7 @@ <p> If <offset> is specified, copied string starts offset*255-1 bytes.<br> <!-- -<offset>\x82\xC90\x88ȊO\x82\xF0\x8Ew\x92肷\x82\xE9\x8Fꍇ\x81A\x88\xEA\x93x<offset>\x96\xB3\x82\xB5\x81A\x82܂\xBD\x82\xCD<offset>\x82\xC90\x82\xF0\x8Ew\x92肵\x82\xC4clipb2var\x82\xF0\x8E\xC0\x8Ds\x82\xB7\x82\xE9\x95K\x97v\x82\xAA\x82\xA0\x82\xE9\x81B<br> +<offset>\x82\xC90\x88ȊO\x82\xF0\x8Ew\x92肷\x82邽\x82߂ɂ́A\x8E\x96\x91O\x82\xC9<offset>\x96\xB3\x82\xB5\x81A\x82܂\xBD\x82\xCD<offset>\x82\xC90\x82\xF0\x8Ew\x92肵\x82\xC4clipb2var\x82\xF0\x8E\xC0\x8Ds\x82\xB7\x82\xE9\x95K\x97v\x82\xAA\x82\xA0\x82\xE9\x81B<br> <offset>\x82\xC90\x88ȊO\x82\xF0\x8Ew\x92肵\x82\xBD\x8E\x9E\x82ɓ\xBE\x82\xE7\x82\xEA\x82\xE9\x83N\x83\x8A\x83b\x83v\x83{\x81[\x83h\x82̓\xE0\x97e\x82͌\xBB\x8D݂̂\xE0\x82̂ł͂Ȃ\xAD\x81A\x8DŌ\xE3\x82\xC9<offset>\x96\xB3\x82\xB5\x81A\x82܂\xBD\x82\xCD<offset>\x82\xC90\x82\xF0\x8Ew\x92肵\x82\xC4clipb2var\x82\xF0\x8E\xC0\x8Ds\x82\xB5\x82\xBD\x8E\x9E\x93_\x82ł̃N\x83\x8A\x83b\x83v\x83{\x81[\x83h\x82̓\xE0\x97e\x82ƂȂ\xE9\x81B --> </p> @@ -74,6 +74,28 @@ messagebox data 'clipboard data' </pre> +<!--pre class="macro-example"> +; 255\x83o\x83C\x83g\x82\xA6\x82\xE9\x83N\x83\x8A\x83b\x83v\x83{\x81[\x83h\x95\xB6\x8E\x9A\x97\xF1\x82\xF0\x93ǂݍ\x9E\x82\xDE +; +------------------------------------------------------------------+ +; | 512 bytes clipboard text | +; +------------------------------------------------------------------+ +; +-------------------------+--------------------------+-------------+ +; | (1) 255 bytes | (2) 255 bytes | (3) 2 bytes | +; +-------------------------+--------------------------+-------------+ + +clipb2var data ; data \x82\xC9 (1) \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x81Aresult \x82\xC9 2 \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x82\xE9 +messagebox data 'clipboard data 1' + +clipb2var data 1 ; data \x82\xC9 (2) \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x81Aresult \x82\xC9 2 \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x82\xE9 +messagebox data 'clipboard data 2' + +clipb2var data 2 ; data \x82\xC9 (3) \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x81Aresult \x82\xC9 1 \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x82\xE9 +messagebox data 'clipboard data 3' + +clipb2var data 3 ; data \x82ɂ͂Ȃɂ\xE0\x91\xE3\x93\xFC\x82\xB3\x82ꂸ\x81Aresult \x82\xC9 0 \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x82\xE9 +messagebox data 'clipboard data 4' +</pre--> + <pre class="macro-example"> ; read a clipboard content and write it to a file. fileopen fp 'clipboard.txt' 0 Modified: trunk/doc/ja/html/macro/command/clipb2var.html =================================================================== --- trunk/doc/ja/html/macro/command/clipb2var.html 2012-11-16 09:33:21 UTC (rev 5064) +++ trunk/doc/ja/html/macro/command/clipb2var.html 2012-11-16 14:31:56 UTC (rev 5065) @@ -30,7 +30,7 @@ <p> <offset>\x82\xF0\x8Ew\x92肷\x82\xE9\x82ƁAoffset*255+1\x95\xB6\x8E\x9A\x96ڈȍ~\x82̓\xE0\x97e\x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x82\xE9\x81B<br> -<offset>\x82\xC90\x88ȊO\x82\xF0\x8Ew\x92肷\x82\xE9\x8Fꍇ\x81A\x88\xEA\x93x<offset>\x96\xB3\x82\xB5\x81A\x82܂\xBD\x82\xCD<offset>\x82\xC90\x82\xF0\x8Ew\x92肵\x82\xC4clipb2var\x82\xF0\x8E\xC0\x8Ds\x82\xB7\x82\xE9\x95K\x97v\x82\xAA\x82\xA0\x82\xE9\x81B<br> +<offset>\x82\xC90\x88ȊO\x82\xF0\x8Ew\x92肷\x82邽\x82߂ɂ́A\x8E\x96\x91O\x82\xC9<offset>\x96\xB3\x82\xB5\x81A\x82܂\xBD\x82\xCD<offset>\x82\xC90\x82\xF0\x8Ew\x92肵\x82\xC4clipb2var\x82\xF0\x8E\xC0\x8Ds\x82\xB7\x82\xE9\x95K\x97v\x82\xAA\x82\xA0\x82\xE9\x81B<br> <offset>\x82\xC90\x88ȊO\x82\xF0\x8Ew\x92肵\x82\xBD\x8E\x9E\x82ɓ\xBE\x82\xE7\x82\xEA\x82\xE9\x83N\x83\x8A\x83b\x83v\x83{\x81[\x83h\x82̓\xE0\x97e\x82͌\xBB\x8D݂̂\xE0\x82̂ł͂Ȃ\xAD\x81A\x8DŌ\xE3\x82\xC9<offset>\x96\xB3\x82\xB5\x81A\x82܂\xBD\x82\xCD<offset>\x82\xC90\x82\xF0\x8Ew\x92肵\x82\xC4clipb2var\x82\xF0\x8E\xC0\x8Ds\x82\xB5\x82\xBD\x8E\x9E\x93_\x82ł̃N\x83\x8A\x83b\x83v\x83{\x81[\x83h\x82̓\xE0\x97e\x82ƂȂ\xE9\x81B </p> @@ -73,6 +73,28 @@ </pre> <pre class="macro-example"> +; 255\x83o\x83C\x83g\x82\xA6\x82\xE9\x83N\x83\x8A\x83b\x83v\x83{\x81[\x83h\x95\xB6\x8E\x9A\x97\xF1\x82\xF0\x93ǂݍ\x9E\x82\xDE +; +------------------------------------------------------------------+ +; | 512 bytes clipboard text | +; +------------------------------------------------------------------+ +; +-------------------------+--------------------------+-------------+ +; | (1) 255 bytes | (2) 255 bytes | (3) 2 bytes | +; +-------------------------+--------------------------+-------------+ + +clipb2var data ; data \x82\xC9 (1) \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x81Aresult \x82\xC9 2 \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x82\xE9 +messagebox data 'clipboard data 1' + +clipb2var data 1 ; data \x82\xC9 (2) \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x81Aresult \x82\xC9 2 \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x82\xE9 +messagebox data 'clipboard data 2' + +clipb2var data 2 ; data \x82\xC9 (3) \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x81Aresult \x82\xC9 1 \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x82\xE9 +messagebox data 'clipboard data 3' + +clipb2var data 3 ; data \x82ɂ͂Ȃɂ\xE0\x91\xE3\x93\xFC\x82\xB3\x82ꂸ\x81Aresult \x82\xC9 0 \x82\xAA\x91\xE3\x93\xFC\x82\xB3\x82\xEA\x82\xE9 +messagebox data 'clipboard data 4' +</pre> + +<pre class="macro-example"> ; \x83N\x83\x8A\x83b\x83v\x83{\x81[\x83h\x82̓\xE0\x97e\x82\xF0\x83t\x83@\x83C\x83\x8B(clipboard.txt)\x82ɏ\x91\x82\xAB\x8Fo\x82\xB7 fileopen fp 'clipboard.txt' 0 if result <> 0 end