English Articles

Welcome to the English language articles on this site. Basically this site is written for a German audience, but some parts, I wrote bilingual. Particularly in the category “scripting”, most pages are available in both languages.

I am no native speaker of English, so grammar and style have some quirks. I hope some of the information is useful still.

Jürgen

Remark on Test Separations

When preparing a file for offset printing, some possible errors are not visible on screen. Particularly the overprint behaviour is invisible.

Modified Ghostscript AppleScripts

The folder action scripts to convert PostScript print jobs, EPSF files and PDF files to PDF and bitmap images have been modified. Modifications are minor but bay be handy.

Using the plist_classes

The testing code on the previous page gives some basic ideas. Here, I will explain some of them.

Date and Time in PHP plist_classes

Usually, using the date class should result in the expected value, if it is used in AppleScript. But there are some subtle details. Particularly if you use the class for other purposes than AppleScript, they may be important.

The add_timespan method is my construct, particularly designed for matching database values to AppleScript.

PHP Writer for Apple Property Lists

The code discussed here creates Apple plists in PHP. The main intention for writing it was to get a better mechanism to transfer data from databases to AppleScript – particularly to get the proper data types. Complete script libraries for database access may follow later. This part of the project may still be helpful for people using a combination of AppleScript and PHP shell scripts. This article is quite technical of course.

UTC Date to Local Date/Time AppleScript

date_from_utc

date_from_utc” is the inverse handler of “date_to_utc”: It takes an AppleScript date or a list of dates assumed to be in Universal Time Co-ordinated (Greenwich Mean Time) and returns them as AppleScript dates in the local time zone of the Mac.

AppleScript Calendar Funktions / Kalenderfunktionen v. 2 (Download)

Download page for calendar handlers
Download-Seite für Kalender-Handler

Essential AppleScript Calendar Handlers (v.2)

This set of AppleScript handlers provides tools for Holiday calculations and calendar conversions. Supported are the calendars Gregorian, Julian (both including Easter), Hebrew / Jewish and the ISO week calendar. A few general tools are found at the beginning.

Converting AppleScript Dates to UTC

This is a simple handler to convert an AppleScript date to Universal Time Co-ordinated (aka Greenwich Mean Time).

Create Bitmap Images with GhostScript (Folder Action Script)

The script calls Ghostscript to convert a PostScript print job, EPS files or PDF files to an image in the formats Tiff, JPEG or PNG. As a folder action script, it allows you to create a set of simple conversion folders for different image types and resolutions. Copy a .ps, .eps or .pdf file into such folder to have it converted.
(Modified version February 2012.)