- 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.
(* 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.