Mac::AppleScript::Glue::Object - represents an AppleScript object reference


Mac-AppleScript-Glue documentation  | view source Contained in the Mac-AppleScript-Glue distribution.

Index


NAME

Top

Mac::AppleScript::Glue::Object - represents an AppleScript object reference

SYNOPSIS

Top

    use Mac::AppleScript::Glue::Object;

    my $obj = new Mac::AppleScript::Glue::Object(
        ref => 'folder "Applications"',
        app => $my_app,
    );




DESCRIPTION

Top

Objects of this module store an AppleScript "object reference," which is a way that AppleScript refers to an object.

See Mac::AppleScript::Glue for full information on how to use this package.

METHODS

Top

new

Creates a new Mac::AppleScript::Glue::Object object.

app

Contains a Mac::AppleScript::Application object to which to send any AppleScripts. If not set, then the script is run without targeting any application.

ref

The value of the object reference as a string.

set(arg1 => val1, arg2 => val2, ...)

Sets the value of one or more properties in the object reference. Returns the result, if any, of the last "set" property.

SEE ALSO

Top

Mac::AppleScript::Glue

Mac::AppleScript::Glue::Application

AUTHOR

Top

John Labovitz <johnl@johnlabovitz.com>

COPYRIGHT

Top


Mac-AppleScript-Glue documentation  | view source Contained in the Mac-AppleScript-Glue distribution.