[BACK]Return to asirgui.mac CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / windows / post-msg-asirgui

Diff for /OpenXM_contrib2/windows/post-msg-asirgui/asirgui.mac between version 1.3 and 1.5

version 1.3, 2013/11/14 17:21:51 version 1.5, 2013/11/19 13:03:59
Line 1 
Line 1 
 // $OpenXM: OpenXM_contrib2/windows/post-msg-asirgui/asirgui.mac,v 1.2 2013/11/13 15:43:31 ohara Exp $  // $OpenXM: OpenXM_contrib2/windows/post-msg-asirgui/asirgui.mac,v 1.4 2013/11/14 17:28:29 ohara Exp $
 // Keep shift-jis code!  // Keep shift-jis code!
 call Main;  call Main;
 endmacro;  endmacro;
Line 13  if (result==0) endmacro; 
Line 13  if (result==0) endmacro; 
 else if (result == 1) {  else if (result == 1) {
   run $asirpath+"asirgui";    run $asirpath+"asirgui";
 } else if (result == 2) {  } else if (result == 2) {
   run "cmd /c "+$asirpath+"cmdasir %f";    run "cmd /c \""+$asirpath+"cmdasir\" %f";
 } else if (result == 3) {  } else if (result == 3) {
   call ExecuteSelectedArea;    call ExecuteSelectedArea;
 } else if (result == 4) {  } else if (result == 4) {
Line 31  ExecuteSelectedArea: 
Line 31  ExecuteSelectedArea: 
     $tmp_fname = getenv("TEMP")+"\\cmdasir-tmp-hidemaru.rr";      $tmp_fname = getenv("TEMP")+"\\cmdasir-tmp-hidemaru.rr";
     run "cmd /c del "+$tmp_fname ;      run "cmd /c del "+$tmp_fname ;
     call MakeFile $tmp_fname,$s;      call MakeFile $tmp_fname,$s;
     run "cmd /c "+$asirpath+"cmdasir "+$tmp_fname;      run "cmd /c \""+$asirpath+"cmdasir\" "+$tmp_fname;
   } else {    } else {
   message "範囲選択されていません";    message "範囲選択されていません";
   }    }
Line 75  ExecuteSelectedAreaByPaste: 
Line 75  ExecuteSelectedAreaByPaste: 
     $tmp_fname = getenv("TEMP")+"\\cmdasir-tmp-hidemaru.rr";      $tmp_fname = getenv("TEMP")+"\\cmdasir-tmp-hidemaru.rr";
     run "cmd /c del "+$tmp_fname ;      run "cmd /c del "+$tmp_fname ;
     call MakeFile $tmp_fname,$s;      call MakeFile $tmp_fname,$s;
     run "cmd /c "+$asirpath+"cmdasir --paste-contents "+$tmp_fname;      run "cmd /c \""+$asirpath+"cmdasir\" --paste-contents "+$tmp_fname;
   } else {    } else {
   message "範囲選択されていません";    message "範囲選択されていません";
   }    }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>