This command returns the ASCII character associated with the number provided as a parameter. For example, ASCII character 80 returns the string “P.”
You can find the ASCII number of a character by using code, such as
ASCII number "P"
(this returns an integer of 80).
This makes the beep sound
integer number of times,
or once if a parameter is not included.
This command opens the choose application dialog box, which only lists the programs running at the moment. Figure A-3 shows this dialog. Figure A-4 shows what this dialog looks like in the OS X release. The following example lists the running applications, then opens the user’s choice. Note that choose application also displays faceless background applications that the user cannot interact with (they can quit some of these apps, however).
try -- capture error if they choose a 'background only' app tell (choose application application label "Choose one program"¬ with prompt "Here are the running applications") to activate ...