Informationsquellen:
Art | Link |
---|---|
Für Anfänger | http://fischer-bayern.de/as/as4as/AS4AS_g.pdf |
Von Apple | http://www.apple.com/applescript |
Scriptentwickler | http://macscripter.net |
my1.scpt
beep 2 say "Hello World" tell application "OpenOffice.org" open "his_file.doc" end tell set stringToBeDisplayed to "Julia is a pretty actress." set tempVar to display dialog stringToBeDisplayed buttons {"OK", "no", "xx"} set theButtonPressed to button returned of tempVar display dialog "You pressed the following button: " & theButtonPressed set temp to display dialog "Who is your favorite actress?" default answer "What Ever" set theTextReturned to text returned of temp display dialog theTextReturned