You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

[ |../../index.htm#lansa/lansa050_0960.htm]
現在地: RAMP-TSガイド > スクリプト > 使用方法 > COPYTOCLIPBOARD ファンクション

COPYTOCLIPBOARD ファンクション

ユーザーのクリップボードに文字列をコピーします。
構文
COPYTOCLIPBOARD(sString);
パラメータ

sString

必須。 ユーザーのクリップボードにコピーするデータを含む文字列。  

 |
 
戻り値
なし

COPYTOCLIPBOARD("ABC");
 
COPYTOCLIPBOARD(MAKESUBFILEINTOSTRING("uDataGrid", true, true , "0,2,3,4,5" , "1,2,3,4,6"));
 
/* Copy to a spreadsheet */
var MyString = "";
var TAB_Char = "\x09" ;
var End_Of_Line_Char = "\x0D\x0A" ;
MyString = "Line 1 Cell 1" + TAB_Char + "Line 1 Cell 2" + End_Of_Line_Char;
MyString += "Line 2 Cell 1" + TAB_Char + "Line 2 Cell 2" + End_Of_Line_Char;
COPYTOCLIPBOARD(MyString);
  
注記
このファンクションを使用すると、ユーザーは使用している実際のクリップボードにデータをコピーし、Word ドキュメントやスプレッドシートに貼り付けることができます。
このファンクションが VLF-ONE 環境で実行されている RAMP スクリプトにある場合は無視されます。
 
 
[ |../../index.htm#lansa/lansa050_0960.htm]

  • No labels