Re: Attachability
Re: Attachability
- Subject: Re: Attachability
- From: bill fancher <email@hidden>
- Date: Wed, 07 Feb 2001 01:52:06 -0800
on 2/6/01 9:00 AM, Cal at email@hidden wrote:
>
"- An attached script is a compiled script or script application that's
>
associated with a menu item in an application; the script is executed when the
>
user chooses that command. This type of script usually resides in a particular
>
place, such as a Scripts folder. Script attachment can be implemented quickly
>
and, at its most basic level, doesn't require your application to be
>
scriptable."
>
This seems wrong to me. As Leonard said:
>
* Attachable - provided a way for the user to run scripts from "user interface
>
elements" in the application. At the time, we were thinking more along the
>
lines of buttons/fields in a database or form processor, cells in a
>
spreadsheet or folders in the Finder. The idea of attaching to menus and
>
"Script" menus came later - most likely as a response to Jens' Script Menu and
>
my OSA Menu.
>
According to the AppleScript Language Guide (p.25):
>
An attachable application is one that can be customized by attaching scripts
>
to specific objects in the application, such as buttons and menu items.
>
Again, according to ASLG (p.25):
>
...the Finder is an attachable application...
In the Finder, attached scripts (Folder Actions) are NOT triggered by menu
selection.
--
bill