diff options
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 |