Name
get... as
Synopsis
coercion by target
coercion by target
Syntax
[get]reference
asclass
Description
If reference
is an object or attribute of some application, you're asking that application to fetch it and coerce it to class
. If the application is willing, the result is a value of the requested datatype. If not, there's a runtime error.
Get AppleScript: The Definitive Guide, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.