Web object is an Objective-C wrapper for a scripting object passed to your application from the scripting environment.
- macOS 10.4+
You can not create a
Web object directly. You get a window
Web object by sending
window to your
You can use key-value coding methods—for example,
value—to get and set properties of a
Web object. You can also access properties by index using the
web methods. Use the
remove method to remove a scripting object property.
Not all properties and methods of a class are exported. Use the
value(for methods to intercept access to properties that are not exported. Similarly, use the
invoke method to intercept method invocations that are not exported.