Delete a footnote - close popup

(예전 커뮤니티(2016-2020) 사이트에서 옮겨온 글입니다: 번호 134)

작성자: assaf.goldberg
날짜: 2019-10-27


Hi, When I delete a footnote, a popup from the system opens “Do you realy want to delete the footnote?” Can I make it not happen? Can I close it straight?

The code:

hwpApp.Run("NoteDelete"); 

The message attached.

Thanks in advance, Assaf

footnoteMessage

댓글

smj0226 (2019.11.05)

After setting the caret to the footnote you want to delete, why don’t you just use

hwpApp.Run("MoveSelRight");
hwpApp.Run("Delete");
assaf.goldberg (2019.11.28)

Also if I run these commands or delete them manually by the keyboard I’m getting the popup.