diff options
Diffstat (limited to 'support/refreshpdf')
21 files changed, 24 insertions, 0 deletions
diff --git a/support/refreshpdf/Flashmode/Applications/acrobat.scpt b/support/refreshpdf/Flashmode/Applications/acrobat.scpt Binary files differnew file mode 100644 index 0000000000..f9411d63ce --- /dev/null +++ b/support/refreshpdf/Flashmode/Applications/acrobat.scpt diff --git a/support/refreshpdf/Flashmode/Applications/refreshpdf.app b/support/refreshpdf/Flashmode/Applications/refreshpdf.app Binary files differnew file mode 100644 index 0000000000..d07649a678 --- /dev/null +++ b/support/refreshpdf/Flashmode/Applications/refreshpdf.app diff --git a/support/refreshpdf/Flashmode/Applications/refreshpdf.scpt b/support/refreshpdf/Flashmode/Applications/refreshpdf.scpt Binary files differnew file mode 100644 index 0000000000..784c67e618 --- /dev/null +++ b/support/refreshpdf/Flashmode/Applications/refreshpdf.scpt diff --git a/support/refreshpdf/Flashmode/Input-Files/acrobat-input b/support/refreshpdf/Flashmode/Input-Files/acrobat-input new file mode 100644 index 0000000000..0b6a5583e7 --- /dev/null +++ b/support/refreshpdf/Flashmode/Input-Files/acrobat-input @@ -0,0 +1 @@ +/Users/claus/Documents/Local-Switcher-ReadMe.pdf diff --git a/support/refreshpdf/Flashmode/Subroutines/Flashmode.scpt b/support/refreshpdf/Flashmode/Subroutines/Flashmode.scpt Binary files differnew file mode 100644 index 0000000000..6ad701efc3 --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/Flashmode.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/do_menu.scpt b/support/refreshpdf/Flashmode/Subroutines/do_menu.scpt Binary files differnew file mode 100644 index 0000000000..e9358518a0 --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/do_menu.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/preview_acrobat.scpt b/support/refreshpdf/Flashmode/Subroutines/preview_acrobat.scpt Binary files differnew file mode 100644 index 0000000000..ff4ae9cb79 --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/preview_acrobat.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/preview_bbedit.scpt b/support/refreshpdf/Flashmode/Subroutines/preview_bbedit.scpt Binary files differnew file mode 100644 index 0000000000..cbefae9cf1 --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/preview_bbedit.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/preview_itm.scpt b/support/refreshpdf/Flashmode/Subroutines/preview_itm.scpt Binary files differnew file mode 100644 index 0000000000..94778a8bcf --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/preview_itm.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/setname.scpt b/support/refreshpdf/Flashmode/Subroutines/setname.scpt Binary files differnew file mode 100644 index 0000000000..cb157b3726 --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/setname.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/setname_pdf.scpt b/support/refreshpdf/Flashmode/Subroutines/setname_pdf.scpt Binary files differnew file mode 100644 index 0000000000..7b118f42c5 --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/setname_pdf.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/setnamealpha.scpt b/support/refreshpdf/Flashmode/Subroutines/setnamealpha.scpt Binary files differnew file mode 100644 index 0000000000..e02d4db097 --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/setnamealpha.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/setnamebbedit.scpt b/support/refreshpdf/Flashmode/Subroutines/setnamebbedit.scpt Binary files differnew file mode 100644 index 0000000000..c331c2359c --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/setnamebbedit.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/setnamebbedit_root.scpt b/support/refreshpdf/Flashmode/Subroutines/setnamebbedit_root.scpt Binary files differnew file mode 100644 index 0000000000..cd019f9e04 --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/setnamebbedit_root.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/setnamebbedit_rootn.scpt b/support/refreshpdf/Flashmode/Subroutines/setnamebbedit_rootn.scpt Binary files differnew file mode 100644 index 0000000000..56a56b03b9 --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/setnamebbedit_rootn.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/setnameitexmac.scpt b/support/refreshpdf/Flashmode/Subroutines/setnameitexmac.scpt Binary files differnew file mode 100644 index 0000000000..106210c974 --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/setnameitexmac.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/setnamets.scpt b/support/refreshpdf/Flashmode/Subroutines/setnamets.scpt Binary files differnew file mode 100644 index 0000000000..5b210e45ad --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/setnamets.scpt diff --git a/support/refreshpdf/Flashmode/Subroutines/setnametsn.scpt b/support/refreshpdf/Flashmode/Subroutines/setnametsn.scpt Binary files differnew file mode 100644 index 0000000000..1630ba9de8 --- /dev/null +++ b/support/refreshpdf/Flashmode/Subroutines/setnametsn.scpt diff --git a/support/refreshpdf/Flashmode/bin/refreshpdf b/support/refreshpdf/Flashmode/bin/refreshpdf new file mode 100644 index 0000000000..0cba7670cc --- /dev/null +++ b/support/refreshpdf/Flashmode/bin/refreshpdf @@ -0,0 +1,16 @@ +#!/bin/tcsh +# refreshpdf +# Claus Gerhardt +# Dec. 2006 +# Usage +# refreshpdf fullpath.pdf + +set path= ( $home/texprograms /usr/local/bin /usr/bin /bin /sbin /usr/sbin ) + + + + +echo $1 > $home/Library/Flashmode/Input-Files/acrobat-input +open $home/Library/Flashmode/Applications/refreshpdf.app + + diff --git a/support/refreshpdf/README b/support/refreshpdf/README new file mode 100644 index 0000000000..c912e666da --- /dev/null +++ b/support/refreshpdf/README @@ -0,0 +1,7 @@ +Refreshpdf is an Applescript that takes the path of a pdf file as argument +and then opens the file in Acrobat. If the file is already open in Acrobat, +then Acrobat is told to close and reopen the file and to go to the same +page that was displayed in the closed file. + +The Applescript can also be called from the command line by a shell script +"refreshpdf". Refreshpdf only works on MacOS X. diff --git a/support/refreshpdf/refreshpdf.pdf b/support/refreshpdf/refreshpdf.pdf Binary files differnew file mode 100644 index 0000000000..511c87c6e2 --- /dev/null +++ b/support/refreshpdf/refreshpdf.pdf |