-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60a3b2a
commit 9dd6439
Showing
11 changed files
with
272 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Pashua 0.10.3</title> | ||
<meta name="author" content="Carsten Blüm" /> | ||
<link rel="stylesheet" href="../style.css" /> | ||
</head> | ||
<body> | ||
|
||
<script> | ||
var doc, mandatory; | ||
if (document.location.href.indexOf('/Volumes/Pashua') == -1) { | ||
// Not launched from disk image | ||
doc = 'documentation'; | ||
mandatory = ''; | ||
} else { | ||
doc = '<a href="file:///Volumes/Pashua/Documentation.html" target="_blank">documentation</a>'; | ||
mandatory = '(see <a href="file:///Volumes/Pashua/Documentation.html#topic.mandatory" target="_blank">documentation</a>)'; | ||
} | ||
</script> | ||
|
||
<div id="frame"> | ||
|
||
<header> | ||
<a href="http://www.bluem.net/de/mac/" target="_blank"><span>Carsten Blüm Mac Development</span></a> | ||
</header> | ||
|
||
<h1>Pashua 0.10.3</h1> | ||
|
||
<h2>What is Pashua?</h2> | ||
<p>Pashua ist an application for creating “real” dialog windows from AppleScript, Bash, Perl, PHP, Python, Ruby, Tcl and other languages. 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.<br /> | ||
Any data submitted from the dialog will be passed on to the calling script, which can (of course) use it for anything.<br /> | ||
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.</p> | ||
|
||
<h2>Price</h2> | ||
<p>Pashua is free. However, if you appreciate it and would like to send a “Thank you”, there are <a href="http://www.bluem.net/jump/donations/" target="_blank">a number of ways to do that</a>.</p> | ||
|
||
<h2>How to use</h2> | ||
<p>The Pashua download contains a folder “Examples” in which you will find demonstrations for using Pashua from AppleScript, Bash, Perl and PHP. Please refer to the comments in the example files for further information. Pashua can be used with a number of other languages, but as of Pashua 0.10, examples for some languages that had been distributed with Pashua in earlier releases are no longer included in the Pashua download. You will find the <a href="https://github.com/BlueM/Pashua-Bindings">example code in a repository on GitHub</a>.</p> | ||
|
||
<p>Two examples can be launched by simply doubleclicking the icon: the AppleScript example and the “Doubleclickable Example” (which is a demonstration of how you can build an OS X application bundle which is powered by a script and uses Pashua for its UI).<br />The other examples have to be started from the terminal. The easiest way to do this is to drag the script onto a Terminal.app window and hit Return.</p> | ||
|
||
<p><em>Important:</em> In order to work, Pashua (the application itself, not the calling script) must be located in the global application folder <code>/Applications</code>, in your personal application folder <code>~/Applications</code>, 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. <em>(But to simply launch the examples, you do not have to install anything: they will run directly from the disk image.)</em></p> | ||
|
||
<h2>Can you tell me more about the configuration syntax?</h2> | ||
<p>Pashua’s <script>document.write(doc)</script> explains the configuration syntax, as well as any GUI element types and their attributes.</p> | ||
|
||
<h2>What is new in version 0.10.3?</h2> | ||
<ul> | ||
<li>Savebrowser: when default value is specified, the filename in the dialog is set accordingly.</li> | ||
<li>Fix combobox height issue introduced with v0.10.2.</li> | ||
</ul> | ||
<p>Pashua 0.10.3 was released on 12/23/2015.<br /> | ||
Release notes for previous versions can be found <a href="http://www.bluem.net/jump/pashua-versions/" target="_blank">on the website</a></p> | ||
|
||
<h2>Disclaimer</h2> | ||
<p>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.</p> | ||
|
||
<h2>Contact / Feedback</h2> | ||
<p>Carsten Blüm<br /> | ||
E-Mail: <a href="mailto:macapps@bluem.net?Subject=Pashua%200.10.3">macapps@bluem.net</a><br /> | ||
Pashua Homepage: <a href="http://www.bluem.net/en/mac/pashua/" target="_blank">www.bluem.net/en/mac/pashua/</a></p> | ||
|
||
</div> | ||
|
||
</body> | ||
</html> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<!DOCTYPE html> | ||
<html lang="de"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Pashua 0.10.3</title> | ||
<meta name="author" content="Carsten Blüm" /> | ||
<link rel="stylesheet" href="../style.css" /> | ||
</head> | ||
<body> | ||
|
||
<script> | ||
var doc, mandatory; | ||
if (document.location.href.indexOf('/Volumes/Pashua') == -1) { | ||
// Not launched from disk image | ||
doc = 'Dokumentation'; | ||
mandatory = ''; | ||
} else { | ||
doc = '<a href="file:///Volumes/Pashua/Documentation.html" target="_blank">Dokumentation</a>'; | ||
mandatory = '(vgl. <a href="file:///Volumes/Pashua/Documentation.html#topic.mandatory" target="_blank">Dokumentation</a>)'; | ||
} | ||
</script> | ||
|
||
<div id="frame"> | ||
|
||
<header> | ||
<a href="http://www.bluem.net/de/mac/" target="_blank"><span>Carsten Blüm Mac Development</span></a> | ||
</header> | ||
|
||
<h1>Pashua 0.10.3</h1> | ||
|
||
<h2>Was ist Pashua?</h2> | ||
<p>Pashua ist ein Programm zur Erzeugung von »echten« Dialogfenstern aus zahlreichen Programmiersprachen heraus, z.B. AppleScript, Bash, Perl, PHP, Python, Ruby oder Tcl. Hierfür stehen eine Reihe von GUI-Elementen zur Verfügung: Texteingabefelder, Check­boxes, Aufklapp­menüs, Combo Boxes, Buttons und so weiter; außerdem können auch Bilder und PDFs eingebettet werden.<br /> | ||
Die vom Benutzer einge­ge­benen Daten werden von Pashua an das aufrufende Skript zurückgeben, welches dann mit diesen arbeiten kann.<br /> | ||
Pashua bedient sich dabei einer äußerst einfachen Syntax für die Beschrei­bung des Dialoges; alle Fleiß­arbeiten wie das Posi­tio­nieren der Elemente, die Berechnung der Fenstergröße etc. werden vollautomatisch übernommen.</p> | ||
|
||
<h2>Was kostet Pashua?</h2> | ||
<p>Pashua ist kostenlos. Aber wenn das Programm für Sie nützlich ist und Sie ein »Danke« senden möchten, gibt es dafür <a href="http://www.bluem.net/jump/donations/">eine Reihe von Möglichkeiten</a>.</p> | ||
|
||
<h2>Wie benutzt man Pashua?</h2> | ||
<p>Der im Lieferumfang von Pashua enthaltene Ordner »Examples« zeigt die Nutzung von Pashua mittels AppleScript, Bash, Perl und PHP. Für genauere Informationen beachten Sie bitte die Kommentare in den jeweiligen Dateien. Pashua kann auch mit weiteren Sprachen genutzt werden, aber Beispiele für einige Sprachen, die in früheren Version mitgeliefert worden waren, sind seit Version 0.10nicht mehr direkt im Download enthalten, sondern <a href="https://github.com/BlueM/Pashua-Bindings">stehen in Form eines Repositories auf GitHub zur Verfügung</a>.</p> | ||
|
||
<p>Zwei Beispiele können einfach durch Doppelklicken gestartet werden: Das AppleScript-Beispiel sowie das »Doubleclickable Example« (bei dem es sich um eine Demonstration handelt, wie ein OS X Application Bundle von einem Skript gesteuert werden kann, das Pashua für die Benutzeroberfläche nutzt).<br />Alle anderen Beispiele müssen vom Terminal aus gestartet werden. Am simpelsten macht man das, indem man das Icon des gewünschten Beispiel-Skripts auf ein Ter­mi­nal-Fenster zieht und dann Return drückt.</p> | ||
|
||
<p><em>Wichtig:</em> Es wird erwartet, dass Pashua (also das Programm, nicht das aufrufende Skript) entweder im all­ge­mei­nen Programm-Ordner <code>/Applications</code>, im persönlichen Programm-Ordner <code>~/Applications</code>, im gleichen Ordner wie das aufrufende Skript oder im aktuellen Arbeits­verzeichnis liegt. Andernfalls wird die Ausführung mit einer Feh­ler­meldung abgebrochen. Natürlich lässt sich das aber anpassen, wenn ein anderes Verhalten benötigt wird. <em>(Um Pashua einfach auszuprobieren, muss man aber nichts installieren, denn die Beispiele laufen alle direkt vom Disk Image aus.)</em></p> | ||
|
||
<h2>Wie ist die genaue Syntax der Konfiguration?</h2> | ||
<p>Sämtliche GUI-Elementtypen und deren Attribute werden in der (englischsprachigen) <script>document.write(doc)</script> erklärt.</p> | ||
|
||
<h2>Was ist neu in Version 0.10.3?</h2> | ||
<ul> | ||
<li>Element »Savebrowser«: wenn ein Default-Wert angegeben ist, wird der Dateiname im Speichern-Dialog entsprechend gesetzt.</li> | ||
<li>Korrigiert ein Problem mit der Höhe von Combo-Boxen, das von v0.10.2 verursacht wurde.</li> | ||
</ul> | ||
|
||
<p>Pashua 0.10.3 wurde am 23.12.2015 veröffentlicht.<br /> | ||
Informationen für ältere Versionen <a href="http://www.bluem.net/jump/pashua-versions/" target="_blank">finden Sie auf der Website</a></p> | ||
|
||
<h2>Das Kleingedruckte</h2> | ||
<p>Dieses Programm wird ohne jegliche Gewährleistung, Garantie, Support etc. zur Verfügung gestellt. Die Benut­zung 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 haft­bar gemacht werden.</p> | ||
|
||
<h2>Kontakt / Feedback</h2> | ||
<p>Carsten Blüm<br /> | ||
E-Mail: <a href="mailto:macapps@bluem.net?Subject=Pashua%200.10.3">macapps@bluem.net</a><br /> | ||
Pashua Homepage: <a href="http://www.bluem.net/de/mac/pashua/" target="_blank">www.bluem.net/de/mac/pashua/</a></p> | ||
|
||
</div> | ||
|
||
</body> | ||
</html> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
* { | ||
color: #000; | ||
font-family: Helvetica, Arial, sans-serif; | ||
font-size: 13px; | ||
line-height: 1.55; | ||
} | ||
|
||
body { | ||
background: #FFF; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
border-width: 1px; | ||
border-style: none none solid none; | ||
border-color: #BFBEBE; | ||
} | ||
|
||
p a:hover, li a:hover { | ||
border-style: none none solid none; | ||
border-color: #7E7D7D; | ||
} | ||
|
||
p { | ||
margin: 0 0 0.8em 0; | ||
} | ||
|
||
h1, h2, h3 { | ||
text-transform: uppercase; | ||
margin: 1.75em 0 0.25em 0; | ||
font-size: 14px; | ||
color: #414040; | ||
} | ||
|
||
h1 { | ||
font-size: 20px; | ||
font-weight: normal; | ||
margin-top: 0; | ||
} | ||
|
||
h2, h3 { | ||
font-weight: normal; | ||
letter-spacing: 1px; | ||
} | ||
|
||
h3 { | ||
font-size: 12px; | ||
margin: 4px 0 2px 0; | ||
} | ||
|
||
h1:after { | ||
content: ""; | ||
display: block; | ||
width: 128px; | ||
height: 128px; | ||
float: right; | ||
margin: 0 0 2em 2em; | ||
background: url(AppIcon.png) no-repeat 0 0; | ||
} | ||
|
||
div.version, div.version ul { | ||
margin-left: 16px; | ||
} | ||
|
||
ul { | ||
margin: 0 0 8px 0; | ||
padding: 0; | ||
} | ||
|
||
li { | ||
list-style-type: none; | ||
padding: 0 48px 0 16px; | ||
margin: 0 0 3px 0; | ||
background: url(li.png) no-repeat 0 4px; | ||
background-size: 9px 4px; | ||
} | ||
|
||
pre, code { | ||
font-family: Monaco, Courier; | ||
color: #414040; | ||
font-size: 11px; | ||
} | ||
|
||
#frame { | ||
max-width: 680px; | ||
padding: 0; | ||
margin: 35px auto; | ||
} | ||
|
||
.screenshot { | ||
margin: 1.5em; | ||
-webkit-filter: drop-shadow(1px 3px 18px rgba(0, 0, 0, 0.24)); | ||
-moz-filter: drop-shadow(1px 3px 18px rgba(0, 0, 0, 0.24)); | ||
filter: drop-shadow(1px 3px 18px rgba(0, 0, 0, 0.24)); | ||
} | ||
|
||
header { | ||
height: 34px; | ||
background: url(bar.png) repeat-x 0 bottom; | ||
margin-bottom: 51px; | ||
} | ||
|
||
header a { | ||
display: block; | ||
border-style: none; | ||
background: url(logo.png) no-repeat 0 0; | ||
width: 255px; | ||
height: 17px; | ||
} | ||
|
||
header span { | ||
position: absolute; | ||
top: -100em; | ||
} | ||
|
||
@media (min--moz-device-pixel-ratio: 1.3), | ||
(-o-min-device-pixel-ratio: 2.6/2), | ||
(-webkit-min-device-pixel-ratio: 1.3), | ||
(min-device-pixel-ratio: 1.3), | ||
(min-resolution: 1.3dppx) { | ||
header { | ||
background-image: url(bar@2.png); | ||
background-size: 255px 3px; | ||
} | ||
header a { | ||
background-image: url(logo@2.png); | ||
background-size: 100%; | ||
} | ||
h1:after { | ||
background-image: url(AppIcon@2.png); | ||
background-size: 100%; | ||
} | ||
} |