diff options
Diffstat (limited to 'texmf-dist/doc/latex/fitr/examples/restoreHook.js')
-rw-r--r-- | texmf-dist/doc/latex/fitr/examples/restoreHook.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/fitr/examples/restoreHook.js b/texmf-dist/doc/latex/fitr/examples/restoreHook.js new file mode 100644 index 00000000..c5c42fa8 --- /dev/null +++ b/texmf-dist/doc/latex/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 |