도움말 > 작성 > 매크로 레코더 > 메뉴 항목과 도구 모음 버튼에 매크로 지정
  
메뉴 항목과 도구 모음 버튼에 매크로 지정
메뉴 항목과 도구 모음 버튼에 매크로를 지정할 수 있습니다. 예를 들어, 다음 코드는 XUI 대화 상자의 버튼에서 Highlight라는 매크로를 실행합니다.
<button label="Highlight">
<script ev:event="domactivate"
ev:propagate="continue"
type="application/x-javascript">
var dialog = Application.event.view.window;
dialog.close();
Application.run("Highlight")
</script>
</button>
도구 모음 및 메뉴 항목과 함께 매크로 사용에 대한 자세한 내용은 Customizer's GuideWorking with XUI (XML-based User Interface dialog boxes) 섹션을 참조하십시오.