最終更新: 2012-03-14T04:26+0900
before | after | |
---|---|---|
商品コ | FW03XL(ラベルに INTERNATIONAL BASICとある) | 503WF-601(503 WILD FIRE ストレ |
サイズ | 29 W73 H91 L84 (タブによる) | 29インチ(ウエスト(ヌ |
素材 | 表地:綿85% ポリエステル10% ポリウレタン5% 裏地:ポリエステル100% ラベル:人工皮革 | 表地:綿70% ポリエステル30% 裏地:ポリエステル100% ラベル:人工皮革 |
比較して優れてる点 | ・裏地の毛足が長く肌離れがよい(ペタ | ・薄く、膝が曲げやすい |
今日が3月に似合わず特別寒か
最終更新: 2012-02-29T12:47+0900
と思わないでもないけど、Rubyマクロにはエデ
# coding: windows-31j $/ = "\r\n" $stdout.sync = true # putsした内容をすぐ flushして .jsが受け取れるように。 puts("[size = % 4d]" % $_.chomp.size) while gets
var RubyBin = "ruby"; var RubyScr = "script.rb"; var RubyExec = new ActiveXObject("WScript.Shell").Exec("\""+ RubyBin +"\" \""+ RubyScr +"\""); RubyExec.StdErr.Close(); /* (折り返し行でない)改行単位でのカーソル移動が「GoLineTop」しかなさそうなので、これを基にしてカーソル移動を行う。 ExpandParameterで $yの変化を監視する手もあるにはある。 */ // 開始地点(最終行)へ移動。 Editor.GoFileEnd(); Editor.GoLineTop(9); if (! Editor.GetLineStr(0)) { Editor.Up(); // skip [EOF] only line. } // 下から上へ一行ずつ処理する。 for (var linenum = Editor.GetLineCount(0); 1 <= linenum; --linenum) { if (RubyExec.Status != 0) { // if not running break; // 継続は無意味。 } RubyExec.StdIn.WriteLine(Editor.GetLineStr(0).replace(/(?:\r\n?|\n)$/, "")); // カーソル行の文字列をRubyに送る Editor.InsText(RubyExec.StdOut.ReadLine()); //カーソルを上の行の先頭へ移動 Editor.GoLineTop(9); Editor.Up(); } RubyExec.StdIn.Close(); RubyExec.StdOut.Close(); RubyExec.Terminate();