Re: AppleScript-Users Digest, Vol 5, Issue 631
Re: AppleScript-Users Digest, Vol 5, Issue 631
- Subject: Re: AppleScript-Users Digest, Vol 5, Issue 631
- From: "Christian Boyce" <email@hidden>
- Date: Sat, 29 Nov 2008 20:05:22 -0800
Very nice. I should have thought of this. Thanks to you I've solved
the problem. A plug-in is just the thing.
I sure would like to be able to customize the toolbars of (at least
Apple's) various applications. Seems like such a natural, especially
for a program like Address Book with that big toolbar and nothing to
put in it.
My goal here was to trigger the script in a way that would be obvious
to the user (I am one of several users). That's why I wanted a button
in the toolbar. A plug-in that triggers a script by clicking on the
label of an address is not as obvious to the user but I'm happy that
it does not require me to install other software. So, once again,
thanks.
c
> Date: Sat, 29 Nov 2008 17:54:25 +1100
> From: Matthew Smith <email@hidden>
> Subject: Re: How to trigger scripts
> To: Christian Boyce <email@hidden>
> Cc: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=UTF-8
>
> on 29/11/2008 17:39 , Christian Boyce at email@hidden wrote:
>
>> I have a simple script that takes address information from Apple's
>> Address Book and turns it into an envelope in Pages. Ideally I'd
>> trigger that script from a button in the Address Book toolbar but as
>> far as I can tell, I can't add a button to the toolbar.
>>
>> I know that I can add a script to the Scripts menu but that is a
>> little messy and not as pretty as a button in Address Book's toolbar.
>>
>> Maybe I need to make a little floating palette with buttons that
>> trigger scripts. If I go that route, I'll need to learn Xcode or at
>> least part of it, right? What is the easiest/fastest way to do it? (A
>> simple Display Dialog is not going to be enough for this project.)
>
> You want to create an Address Book plug-in. This will put an entry in the pop-up menu against an address, which you can then select to run your script.
>
> See further down on:
> <http://www.mactech.com/articles/mactech/Vol.21/21.10/ScriptingAddressBook/index.html>
>
> --
> Matthew Smith
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden