• Das kreative Thema des Monats Oktober wird vor allem diejenigen unter Euch besonders ansprechen, denen Do-it-yourself quasi im Blut liegt. Zeigt uns Eure Improvisationskünste oder fotografiert, was andere Leute sich so im Alltag zusammengestrickt haben. --> Zum Mitmachen bitte hier klicken

An AppleScript application to run the Google Earth installer package

boeserjunge

Bismarckapfel
Registriert
28.07.04
Beiträge
141
Bekommen seit heute laufend ein Start eines Apples Scriptes

(* An AppleScript application to run the Google Earth installer package.
This is an app instead of a simple AppleScript (or shell script for that matter)
because we need to use the built-in system authentication dialog to elevate to
root safely. If this were a simple script, the application name reported in the
dialog would be wrong (probably "osascript"), so it must be a full-fledged app. *)

(* Sets the exit status for this script to |status|. This can be called more than once,
and only the last call before the script exits will count. *)
on write_status(status)
-- Write the status to the file whose path is in the "status_file" environment variable.
do shell script "/bin/echo " & quoted form of (status as text) & " > " & quoted form of (system attribute "status_file")
end write_status


.....
Dieses führ zu einem Script alert.