diff options
author | Norbert Preining <norbert@preining.info> | 2020-07-10 03:02:35 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-07-10 03:02:35 +0000 |
commit | b3cf6973881fee79b4abb0be96dcfd5330bfeeea (patch) | |
tree | 43938d7ef0bdc8d688f2ed5fef9b92cde2da9607 /macros/latex/contrib/fitr/examples/restoreHook.js | |
parent | 36846a866c020aa9369708b527a1297fcd5215f9 (diff) |
CTAN sync 202007100302
Diffstat (limited to 'macros/latex/contrib/fitr/examples/restoreHook.js')
-rw-r--r-- | macros/latex/contrib/fitr/examples/restoreHook.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/macros/latex/contrib/fitr/examples/restoreHook.js b/macros/latex/contrib/fitr/examples/restoreHook.js new file mode 100644 index 0000000000..c5c42fa84d --- /dev/null +++ b/macros/latex/contrib/fitr/examples/restoreHook.js @@ -0,0 +1,12 @@ +% +% Custom restore action +% +\begin{insDLJS}{rfitr}{Blink border on restore} +function pbRestoreHookCustom(event,bRestore) { + console.show(); + app.beep(); + console.println("You just returned from a view window named \"" + +event.target.name+"\"!"); +} +\end{insDLJS} +\endinput |