On 31 Mar 2008, at 6:06 PM, [EMAIL PROTECTED] wrote: > Just got this message from Stewart: > > This is a script that will remove the last period of theChunk: > > -- > set theChunk to "trailing full stop." > > if the last character of theChunk is "." then > set theLength to the length of theChunk > set theChunk to characters 1 through (theLength - 1) of theChunk
if length of theChunk > 0 and character -1 of theChunk is "." then set theChunk to text 1 thru -1 of theChunk end if > > end if > > return theChunk as string > > > Does anyone has an idea how to integrate this into a Bibdesk Script? Have a look at a sample script hook or a sample script, see the Help and there are several available on the Wiki. Christiaan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Bibdesk-users mailing list Bibdesk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-users