On Jun 14, 2009, at 10:30 AM, Nicholas Cole wrote:

> On Tue, Jun 9, 2009 at 4:58 PM, Christiaan  
> Hofman<[email protected]> wrote:
>>
>> On Jun 9, 2009, at 4:46 PM, Nicholas Cole wrote:
>>
>>> Dear List,
>>>
>>> I guess the following problem a job for applescript:
>>>
>>> I need to fill in the "address" field for the publishers in my  
>>> list to
>>> cope with the modern fad for putting both the place and name of
>>> publishers. (Not so long ago this was regarded as a waste of effort,
>>> but I digress...)
>>>
>>> I need to search on the publisher field and create an address/
>>> location field
>>> where it is empty.
>>>
>>> I don't suppose there is a neat way to create a dialog box to do  
>>> this
>>> with applescript, is there?
>>
>> Not sure exactly what you'd want AppleScript to do. It cannot know
>> what to set the Address field to. You can show dialogs and get/set
>> fields in AppleScript.
>>
>>> And if so, is it possible that it could
>>> auto-complete the publisher's names?  Or is that just asking too
>>> much...? ;-)
>>>
>>
>> Auto-complete only works in the detail editor, it's not available to
>> AppleScript.
>>
>>> Best wishes,
>>>
>>> Nicholas
>>
>> I think the easiest way to do this is to create a smart group that
>> filters out all book items with an empty address, and fill in the
>> details manually.
>>
>> Christiaan
>
> At 600 qualifying volumes, I was looking for a faster way... ;-)
>
> N

Well, really the hard part is: how would a script know WHICH address  
to fill in? Unless you have some very simple situation, you need a  
human mind for that. The problem I have with your question is: what  
part do you need help with, and what does your data look like? As I  
don't have that information, so I just assume the most general  
situation, which is just hard.

Christiaan


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to