<< Click to Display Table of Contents >>
OZUserActionCommand > SaveAsAudio
OZUserActionCommand의 type 중 SaveAsAudio는 녹음에 저장된 내용을 오디오 파일로 저장할 때 발생하며, 리턴되는 attr은 다음과 같습니다.
attr |
설명 |
compname |
컴포넌트 이름(string) |
filename |
파일 이름(string) |
path |
저장 경로(string) |
reportname |
보고서 이름(string) |
Reference
HTML5JS 뷰어의 경우 "filename", "path"는 빈 값으로 리턴됩니다.
Example
...
function OZUserActionCommand_OZViewer(type, attr) {
var MyObj = eval('(' + attr + ')');
if(type == "SaveAsAudio") {
alert(MyObj.compname);
...
}
}
...