John Labovitz

NAME

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

SYNOPSIS

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

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

DESCRIPTION

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

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

Mac::AppleScript::Glue

Mac::AppleScript::Glue::Application

AUTHOR

John Labovitz <johnl@johnlabovitz.com>

COPYRIGHT

Copyright (c) 2002 John Labovitz. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.