From Xojo Documentation
| This item was deprecated..
| This method is only available on the macOS platform.
For cross-platform compatibility, use ＃If...＃Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform.
Used to bring up a dialog box that allows the user to choose the target application on his computer or a networked computer. The dialog box shows computers on the left and applications on the right. The applications list is labelled with the parameter ListLabel.
result=GetAppleEventTarget (Prompt, ListLabel)
|Result||AppleEventTarget||Reference to target application.|
|Prompt||String||Prompt text that will appear as the header of the dialog box.|
|ListLabel||String||Label for the list of applications in the dialog box.|
This function worked under Mac OS "classic" only. REALbasic 2007 Release 4 and above no longer build for Mac OS "classic."