[ Nexacro - 특수문자 ]


. ctrl+C, ctrl+V. enter

// Ctrl + C
if(e.ctrlKey == true && e.keycode == 67) {
}

 

// Ctrl + V
if( e.ctrlKey == true && e.keycode == 86) {
var varData = system.getClipboard("CF_TEXT"); //clipboard에 있는 값 얻기
}

 

//enter
if (e.keycode == 13){

}

 

//textArea등에 enter값 넣기

  - this.taName.set_value("aaa" + String.fromCharCode(10) + "bbb");

  - String.fromCharCode(10) : enter 값 (= \n)

Posted by 농부지기
,