Applescript is a scripting language created by Apple Inc. and build in to the Macintosh operating systems. Applescript provide more features than the AppleEvent. AppleEvent is used to transfer the data between the application of Macintosh operating systems to automate the repetitive task but AppleScript provide extra features e.g. basic calculations, text processing. AppleScript have some of the features of Object oriented programming and natural programming languages but not strictly follow the features of both these languages. AppleScript is used to create the scriptable applications. Scriptable applications are those which are controlled by the scripts. For AppleScript, that means being responsive to inter application messages, called Apple events, sent when a script command targets the application.
display alert "Hello, world!" buttons {"Rudely decline", "Happily accept"} set theAnswer to button returned of the result if theAnswer is "Happily accept" then beep 5 else say "Piffle!" end if
Assignment Writing Help
Engineering Assignment Services
Do My Assignment Help
Write My Essay Services