12 |
13 |
16 |
17 |
Pashua 0.9.5.1
18 |
19 |
What is Pashua?
20 |
Pashua ist a tool for creating ‘real’ dialog windows for Perl, PHP, Tcl, Python, Groovy, Ruby, Rexx and shell scripts as well as AppleScript. The GUI elements which can be used for such dialogs include text input fields, checkboxes, radiobuttons, popup menus, buttons and so on. Moreover, it is also possible to embed images or PDFs.
21 | Any data submitted from the dialog will be passed on to the calling script, which can (of course) use it for anything.
22 | To describe the dialog window, Pashua uses a very simple syntax. All the tedious details such as positioning the elements, calculating the window size etc. are handled automatically by Pashua, thus you can fully concentrate on your application.
23 |
24 |
Price
25 |
Pashua is free. However, if you appreciate it and would like to send a “Thank you”, there are a number of ways to do that.
26 |
27 |
How to use
28 |
In the folder “Examples” on the disk image containing this Readme, there are several scripts which demonstrate how to use Pashua:
29 |
30 | example.applescript
By calling from AppleScript.
31 | example.groovy
By calling from a Groovy script. The file contains the class PashuaRunner
which you can use in your own scripts.
32 | example.php
By calling from a PHP command line script. The file contains a function called pashua_run()
, which calls Pashua and returns the result.
33 | example.pl
by calling from a Perl script. This file uses the Perl module Pashua.pm
(located in the same folder), which manages communicating with Pashua and parsing the result. For convenience reasons, you should copy this module to a directory that is in @INC
, for example /Library/Perl
. The module contains documentation in Perl’s POD format.
34 | example.py
By calling from a Python script. This file uses the Python module Pashua.py
(located in the same folder), which manages communicating with Pashua and parsing the result.
35 | example.rb
By calling from a Ruby script. This file uses the module Pashua.rb
(located in the same folder), which manages the communication with Pashua.
36 | example.rexx
By calling from a Rexx script. Using this script requires an installation of Rexx/Regina. If necessary, the path in the Shebang line (the script’s very first line) must be changed to match your filesystem layout.
37 | example.sh
By calling from a shell script. The file contains a function called pashua_run
which you can use in your own scripts.
38 | example.tcl
By calling from a Tcl script. This file uses a function from file pashua_run.tcl
(located in the same folder), which manages communicating with Pashua and parsing the result.
39 |
40 |
41 |
The AppleScript example can be launched by simply doubleclicking the icon. All the other examples can be launched by entering the script path at the terminal (the easiest way to do this, is to drag the script onto Terminal.app).
42 | Important: In order to work, Pashua (the application itself, not the calling script) must be located in the global application folder /Applications
, in your personal application folder ~/Applications
, in the folder containing the calling script or in the working directory. Otherwise execution will fail. But of course you can modify the search locations according to your filesystem layout. (But to simply launch the examples, you do not have to install anything: they will run directly from the disk image.)
43 |
44 |
Can you tell me more about the configuration syntax?
45 |
Pashua’s
46 |
56 | explains the configuration syntax, as well as any GUI element types and their attributes.
57 |
58 |
What about additional programming languages?
59 |
Basically you can use Pashua from any language that is able to write a file or write to a Unix pipe, call an application with command line arguments, manipulate strings and declare variables dynamically or handle associative arrays.
60 |
61 |
What is new in version 0.9.5.1?
62 |
63 | - Slightly improved the documentation
64 | - There is no longer a maximum allowed “rely” value
65 | - Fixed errors in doc comments inside “Pashua.py”
66 |
67 |
Pashua 0.9.5.1 was released on 06/20/2014.
68 | Release notes for previous versions can be found on the website
69 |
70 |
Credits
71 |
The following users contributed code, fixes and/or translations: Bruce M. Axtens, Hans Haesler, Mike Hall, Ed Heil, Canis Lupus, James Reese, Daniel Robillard, Eddy Roosnek, Tor Sigurdsson, Bruce Woller.
72 |
73 |
Disclaimer
74 |
This application is provided as-is. Support is not included. Use this software at your own risk. If for some obscure reason any damage or data loss may arise from using it (which in my opinion is nearly impossible), it is nobody else’s problem than yours.
75 |
76 |
77 |
Contact / Feedback
78 |
Carsten Blüm
79 | E-Mail: macapps@bluem.net
80 | Pashua Homepage: www.bluem.net/en/mac/pashua/
81 |
82 |
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/English.lproj/dict.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/English.lproj/dict.strings
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/French.lproj/MainMenu.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/French.lproj/MainMenu.nib
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/French.lproj/dict.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/French.lproj/dict.strings
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/German.lproj/MainMenu.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/German.lproj/MainMenu.nib
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/German.lproj/Read me.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
13 |
16 |
17 |
Pashua 0.9.5.1
18 |
19 |
Was ist Pashua?
20 |
Pashua ist ein Utility zur Erzeugung von ›echten‹ Dialogfenstern für Perl-, PHP-, Tcl-, Python-, Groovy-, Shell-, Ruby- sowie Rexx-Skripte und AppleScripts unter Mac OS X. Hierfür stehen eine Reihe von GUI-Elementen zur Verfügung: Texteingabefelder, Checkboxes, Aufklappmenüs, Combo Boxes, Buttons und so weiter; außerdem können auch Bilder und PDFs eingebettet werden.
21 | Die vom Benutzer eingegebenen Daten werden von Pashua an das aufrufende Skript zurückgeben, welches dann mit diesen arbeiten kann.
22 | Pashua bedient sich dabei einer äußerst einfachen Syntax für die Beschreibung des Dialoges; alle Fleißarbeiten wie das Positionieren der Elemente, die Berechnung der Fenstergröße etc. werden vollautomatisch übernommen.
23 |
24 |
Was kostet Pashua?
25 |
Pashua ist kostenlos. Aber wenn das Programm für Sie nützlich ist und Sie ein »Danke« senden möchten, gibt es dafür eine Reihe von Möglichkeiten.
26 |
27 |
Wie benutzt man Pashua?
28 |
Im Ordner »Examples« auf dem Disk Image, welches dieses Readme enthält, befinden sich einige Dateien, welche die Anwendung exemplarisch zeigen:
29 |
30 | example.applescript
Aus einem AppleScript heraus.
31 | example.groovy
Aus einem Groovy-Skript heraus. Die Datei enthält die Klasse PashuaRunner
, die in eigene Skripts eingebaut werden kann.
32 | example.php
Aus einem PHP-Skript heraus. Das Skript enthält die Funktion pashua_run()
, welche Pashua aufruft und das Ergebnis parst.
33 | example.pl
Aus einem Perl-Skript heraus. Das Skript bindet das ebenfalls im gleichen Ordner liegende Perl-Modul Pashua.pm
ein, welches die Kommunikation mit Pashua übernimmt. Am einfachsten ist es, wenn man das Modul in ein Verzeichnis kopiert, das in @INC
enthalten ist, beispielsweise /Library/Perl
. Das Modul enthält eine POD-Dokumentation.
34 | example.py
Aus einem Python-Skript heraus. Das Skript bindet das ebenfalls im gleichen Ordner liegende Python-Modul Pashua.py
ein, welches die Kommunikation mit Pashua übernimmt.
35 | example.rb
Aus einem Ruby-Skript heraus. Das Skript bindet das im gleichen Ordner liegende Ruby-Modul Pashua.rb
ein, welches die Funktionalität für die Kommunikation mit Pashua enthält.
36 | example.rexx
Aus einem Rexx-Skript heraus. Dieses Skript setzt eine Installation von Rexx/Regina voraus; der Pfad in der Shebang-Line (der ersten Zeile des Skripts) muss ggf. auf die lokalen Gegebenheiten angepasst werden.
37 | example.sh
Aus einem Shell-Skript heraus. Die Datei enthält die Funktion pashua_run
, die in eigene Shell-Skripts eingebaut werden kann.
38 | example.tcl
Aus einem Tcl-Skript heraus. Das Skript bindet die im gleichen Ordner liegende Datei pashua_run.tcl
ein, welches eine Funktion für die Kommunikation mit Pashua enthält.
39 |
40 |
41 |
Das AppleScript-Beispiel wurde als Applikation gesichert und kann daher einfach durch Doppelklicken gestartet werden. Alle anderen Beispiele kann man einfach ausprobieren, indem den Pfad des Skripts im Terminal eingibt (am einfachsten geht das, indem man das Icon des gewünschten Skripts auf das Fenster des Terminal-Programmes zieht) und dann Return drückt.
42 | Wichtig: Es wird erwartet, dass Pashua (also das Programm, nicht das aufrufende Skript) entweder im allgemeinen Programm-Ordner /Applications
, im persönlichen Programm-Ordner ~/Applications
, im gleichen Ordner wie das aufrufende Skript oder im aktuellen Arbeitsverzeichnis liegt. Andernfalls wird die Ausführung mit einer Fehlermeldung abgebrochen. Natürlich lässt sich das aber anpassen, wenn ein anderes Verhalten benötigt wird. (Um Pashua einfach auszuprobieren, muss man aber nichts installieren, denn die Beispiele laufen alle direkt vom Disk Image aus.)
43 |
44 |
Wie ist die genaue Syntax der Konfiguration?
45 |
Sämtliche GUI-Elementtypen und deren Attribute werden in der (englischen)
46 |
56 | erklärt.
57 |
58 |
Wie steht es mit weiteren Programmiersprachen?
59 |
Prinzipiell kann man Pashua aus jeder Sprache heraus nutzen, die in eine Datei oder in eine Unix-Pipe schreiben, ein externes Programm via Shell mit Argumenten aufrufen, Strings bearbeiten und entweder Variablen dynamisch deklarieren oder mit assoziativen Arrays umgehen kann.
60 |
61 |
Was ist neu in Version 0.9.5.1?
62 |
63 | - Dokumentation geringfügig verbessert
64 | - Der Wert für »rely« kann nun beliebig groß gewählt werden
65 | - Fehler in Doc comments in »Pashua.py« behoben
66 |
67 |
68 |
Pashua 0.9.5.1 wurde am 20.06.2014 veröffentlicht.
69 | Informationen für ältere Versionen finden Sie auf der Website
70 |
71 |
Credits
72 |
Folgende Benutzer haben Code, Korrekturen und/oder Übersetzungen beigesteuert: Bruce M. Axtens, Hans Haesler, Mike Hall, Ed Heil, Canis Lupus, James Reese, Daniel Robillard, Eddy Roosnek, Tor Sigurdsson, Bruce Woller.
73 |
74 |
Das Kleingedruckte
75 |
Dieses Programm wird ohne jegliche Gewährleistung, Garantie, Support etc. zur Verfügung gestellt. Die Benutzung erfolgt auf eigenes Risiko, und sollte der unwahrscheinliche Fall auftreten, dass durch die Nutzung ein wie auch immer gearteter Schaden auftritt, kann niemand außer der das Programm benutzenden Person dafür haftbar gemacht werden.
76 |
77 |
78 |
Kontakt / Feedback
79 |
Carsten Blüm
80 | E-Mail: macapps@bluem.net
81 | Pashua Homepage: www.bluem.net/de/mac/pashua/
82 |
83 |
84 |
85 |
86 |
87 |
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/German.lproj/dict.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/German.lproj/dict.strings
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/bar.png
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/bar@2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/bar@2.png
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/clear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/clear.png
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/clear@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/clear@2x.png
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/li.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/li.png
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/logo.png
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/logo@2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/logo@2.png
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/MacOS/Pashua.app/Contents/Resources/style.css:
--------------------------------------------------------------------------------
1 | * {
2 | color: #000;
3 | font-family: Helvetica, Arial, sans-serif;
4 | font-size: 13px;
5 | line-height: 18px;
6 | }
7 |
8 | body {
9 | background: #FFF;
10 | margin: 0;
11 | padding: 0;
12 | }
13 |
14 | a {
15 | text-decoration: none;
16 | border-width: 1px;
17 | border-style: none none solid none;
18 | border-color: #BFBEBE;
19 | }
20 |
21 | p a:hover, li a:hover {
22 | border-style: none none solid none;
23 | border-color: #7E7D7D;
24 | }
25 |
26 | p {
27 | margin: 0 0 0.8em 0;
28 | }
29 |
30 | h1, h2, h3 {
31 | text-transform: uppercase;
32 | margin: 1.75em 0 0.25em 0;
33 | font-size: 14px;
34 | color: #414040;
35 | }
36 |
37 | h1 {
38 | font-size: 20px;
39 | font-weight: normal;
40 | margin-top: 0;
41 | }
42 |
43 | h2, h3 {
44 | font-weight: normal;
45 | letter-spacing: 1px;
46 | }
47 |
48 | h3 {
49 | font-size: 12px;
50 | margin: 4px 0 2px 0;
51 | }
52 |
53 | h1:after {
54 | content: "";
55 | display: block;
56 | width: 128px;
57 | height: 128px;
58 | float: right;
59 | margin: 0 0 2em 2em;
60 | background: url(AppIcon.png) no-repeat 0 0;
61 | }
62 |
63 | div.version, div.version ul {
64 | margin-left: 16px;
65 | }
66 |
67 | ul {
68 | margin: 0 0 8px 0;
69 | padding: 0;
70 | }
71 |
72 | li {
73 | list-style-type: none;
74 | padding: 0 48px 0 16px;
75 | margin: 0 0 3px 0;
76 | background: url(li.png) no-repeat 0 4px;
77 | background-size: 9px 4px;
78 | }
79 |
80 | pre, code {
81 | font-family: Monaco, Courier;
82 | color: #414040;
83 | font-size: 11px;
84 | }
85 |
86 | #frame {
87 | max-width: 680px;
88 | padding: 0;
89 | margin: 35px auto;
90 | }
91 |
92 | header {
93 | height: 34px;
94 | background: url(bar.png) repeat-x 0 bottom;
95 | margin-bottom: 38px;
96 | }
97 |
98 | header a {
99 | display: block;
100 | border-style: none;
101 | background: url(logo.png) no-repeat 0 0;
102 | width: 255px;
103 | height: 17px;
104 | }
105 |
106 | header span {
107 | position: absolute;
108 | top: -100em;
109 | }
110 |
111 | @media (min--moz-device-pixel-ratio: 1.3),
112 | (-o-min-device-pixel-ratio: 2.6/2),
113 | (-webkit-min-device-pixel-ratio: 1.3),
114 | (min-device-pixel-ratio: 1.3),
115 | (min-resolution: 1.3dppx) {
116 | header {
117 | background-image: url(bar@2.png);
118 | background-size: 255px 3px;
119 | }
120 | header a {
121 | background-image: url(logo@2.png);
122 | background-size: 100%;
123 | }
124 | h1:after {
125 | background-image: url(AppIcon@2.png);
126 | background-size: 100%;
127 | }
128 | }
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/Resources/Scripts/main.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/Resources/Scripts/main.scpt
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/Resources/description.rtfd/TXT.rtf:
--------------------------------------------------------------------------------
1 | {\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf210
2 | {\fonttbl}
3 | {\colortbl;\red255\green255\blue255;}
4 | }
--------------------------------------------------------------------------------
/Scripts/DT/Annotation template with specific issue tagging___Ctrl-Alt-2.scptd/Contents/Resources/style.css:
--------------------------------------------------------------------------------
1 | * {
2 | color: #000;
3 | font-family: Helvetica, Arial, sans-serif;
4 | font-size: 13px;
5 | line-height: 18px;
6 | }
7 |
8 | body {
9 | background: #FFF;
10 | margin: 0;
11 | padding: 0;
12 | }
13 |
14 | a {
15 | text-decoration: none;
16 | border-width: 1px;
17 | border-style: none none solid none;
18 | border-color: #BFBEBE;
19 | }
20 |
21 | p a:hover, li a:hover {
22 | border-style: none none solid none;
23 | border-color: #7E7D7D;
24 | }
25 |
26 | p {
27 | margin: 0 0 0.8em 0;
28 | }
29 |
30 | h1, h2, h3 {
31 | text-transform: uppercase;
32 | margin: 1.75em 0 0.25em 0;
33 | font-size: 14px;
34 | color: #414040;
35 | }
36 |
37 | h1 {
38 | font-size: 20px;
39 | font-weight: normal;
40 | margin-top: 0;
41 | }
42 |
43 | h2, h3 {
44 | font-weight: normal;
45 | letter-spacing: 1px;
46 | }
47 |
48 | h3 {
49 | font-size: 12px;
50 | margin: 4px 0 2px 0;
51 | }
52 |
53 | h1:after {
54 | content: "";
55 | display: block;
56 | width: 128px;
57 | height: 128px;
58 | float: right;
59 | margin: 0 0 2em 2em;
60 | background: url(AppIcon.png) no-repeat 0 0;
61 | }
62 |
63 | div.version, div.version ul {
64 | margin-left: 16px;
65 | }
66 |
67 | ul {
68 | margin: 0 0 8px 0;
69 | padding: 0;
70 | }
71 |
72 | li {
73 | list-style-type: none;
74 | padding: 0 48px 0 16px;
75 | margin: 0 0 3px 0;
76 | background: url(li.png) no-repeat 0 4px;
77 | background-size: 9px 4px;
78 | }
79 |
80 | pre, code {
81 | font-family: Monaco, Courier;
82 | color: #414040;
83 | font-size: 11px;
84 | }
85 |
86 | #frame {
87 | max-width: 680px;
88 | padding: 0;
89 | margin: 35px auto;
90 | }
91 |
92 | header {
93 | height: 34px;
94 | background: url(bar.png) repeat-x 0 bottom;
95 | margin-bottom: 38px;
96 | }
97 |
98 | header a {
99 | display: block;
100 | border-style: none;
101 | background: url(logo.png) no-repeat 0 0;
102 | width: 255px;
103 | height: 17px;
104 | }
105 |
106 | header span {
107 | position: absolute;
108 | top: -100em;
109 | }
110 |
111 | @media (min--moz-device-pixel-ratio: 1.3),
112 | (-o-min-device-pixel-ratio: 2.6/2),
113 | (-webkit-min-device-pixel-ratio: 1.3),
114 | (min-device-pixel-ratio: 1.3),
115 | (min-resolution: 1.3dppx) {
116 | header {
117 | background-image: url(bar@2.png);
118 | background-size: 255px 3px;
119 | }
120 | header a {
121 | background-image: url(logo@2.png);
122 | background-size: 100%;
123 | }
124 | h1:after {
125 | background-image: url(AppIcon@2.png);
126 | background-size: 100%;
127 | }
128 | }
--------------------------------------------------------------------------------
/Scripts/DT/DT_Skim.scpt:
--------------------------------------------------------------------------------
1 | tell application ":Applications:DEVONthink Pro.app"
2 | set pdfFile to the content record of the think window 1
3 | set RecordLink to the reference URL of pdfFile
4 | set PdfPage to current page of the think window 1
5 | set DevonThinkLink to RecordLink & "?page=" & PdfPage
6 | set the clipboard to DevonThinkLink
7 | set PdfPath to get the path of pdfFile
8 | set PdfPath to (POSIX file PdfPath) as Unicode text
9 | close the think window 1
10 |
11 | tell application "Skim"
12 | activate
13 | open file PdfPath
14 | set PdfPage to PdfPage + 1
15 | go document 1 to page PdfPage of document 1
16 | end tell
17 | end tell
18 |
--------------------------------------------------------------------------------
/Scripts/DT/Mark Read.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Mark Read.scpt
--------------------------------------------------------------------------------
/Scripts/DT/RefreshAllRSS___Ctrl-Alt-1.scptd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/RefreshAllRSS___Ctrl-Alt-1.scptd
--------------------------------------------------------------------------------
/Scripts/DT/Remove all tags from selection.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/Remove all tags from selection.scpt
--------------------------------------------------------------------------------
/Scripts/DT/database_change_error.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DT/database_change_error.scpt
--------------------------------------------------------------------------------
/Scripts/DevonAgent/Open URL in Default Browser.scpt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/emraher/workflow/35f6c18abebc391dca05ec6c6d1d0bd3a153139b/Scripts/DevonAgent/Open URL in Default Browser.scpt
--------------------------------------------------------------------------------
/Scripts/PerlScripts/README.md:
--------------------------------------------------------------------------------
1 |
2 | ### bibfetch.pl.scpt
3 |
4 |
5 | These are for the "bibfetch.pl.scpt" on the [mankoff/BibDeskAppleScripts](https://github.com/mankoff/BibDeskAppleScripts).
6 |
7 | **"bibfetch.pl" is from [dschoepe/bibfetch](https://github.com/dschoepe/bibfetch)**
8 |
9 | ```
10 | $ brew install perl
11 | ```
12 |
13 |
14 | Then followed http://triopter.com/archive/how-to-install-perl-modules-on-mac-os-x-in-4-easy-steps/
15 |
16 | ```
17 | $ sudo perl -MCPAN -e shell
18 |
19 |
20 | Would you like to configure as much as possible automatically? [yes]
21 |
22 |
23 | What approach do you want? (Choose 'local::lib', 'sudo' or 'manual') [local::lib] sudo
24 |
25 | perl> o conf init
26 |
27 | $ sudo perl -MCPAN -e 'install Bundle::CPAN'
28 |
29 | ```
30 |
31 | sudo perl -MCPAN -e 'install Bundle::Name'
32 |
33 | ```
34 | $ sudo perl -MCPAN -e 'install URI::Escape'
35 | $ sudo perl -MCPAN -e 'install Web::Scraper'
36 | $ sudo perl -MCPAN -e 'install WWW::Mechanize'
37 | $ sudo perl -MCPAN -e 'install String::Random'
38 | $ sudo perl -MCPAN -e 'install Pod::Usage'
39 | $ sudo perl -MCPAN -e 'install Getopt::Long'
40 |
41 | $ sudo perl -MCPAN -e 'install List::Util'
42 | Can't locate object method "install" via package "List::Util" at -e line 1.
43 |
44 | ```
45 |
46 |
47 | Added an if loop to scpt file to fix arxiv pdfs.
48 |
49 |
50 |
51 | ### abbreviateJournalTitles.pl
52 |
53 | For journal title abbreviations script see [Jeremy Van Cleve's page](http://vancleve.theoretical.bio/software/).
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/Scripts/PerlScripts/abbreviateJournalTitles.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl
2 | #
3 | # Jeremy Van Cleve