Changing case in attachment title

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
martinjp
Posts: 87
Joined: Tue Jan 28, 2014 4:25 pm

Changing case in attachment title

Post by martinjp »

Suppose I import a PDF and the downloaded data has the author's name in capital letters. As I have things configured, the attachment will be titled with the name, in capital letters. If I then correct the name in the reference, and try to use this to change the title of the attachment -- for example, from SMITH 1969 to Smith 1969 - I seem to encounter some bugs. If I use the Rename Attachments... command in the widget menu at the bottom of the attachment window, no change is made. If I use Rename Attachment in the Inspector, I am told that an attachment already exists with the new name, though this is not in fact so.
Jon
Site Admin
Posts: 10292
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Changing case in attachment title

Post by Jon »

Bookends ignores case for attachment names. If you want to rename it, do it in the Finder and Bookends should still find it (to Bookends, SMITH - smith).

Jon
Sonny Software
martinjp
Posts: 87
Joined: Tue Jan 28, 2014 4:25 pm

Re: Changing case in attachment title

Post by martinjp »

Jon, is there a way to search attachment names within Bookends?
Jon
Site Admin
Posts: 10292
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Changing case in attachment title

Post by Jon »

Look at p. 333 of the User Guide (Help menu) for info about SQL searches.

To find a reference with a specific attachment:

Locate('my attachment name', varCharField) > 0

Jon
Sonny Software
martinjp
Posts: 87
Joined: Tue Jan 28, 2014 4:25 pm

Re: Changing case in attachment title

Post by martinjp »

Thanks, Jon. That just made my life a lot easier! :)

(Though the SQL query editor kept changing quotes into smart quotes, which caused an error.)
Jon
Site Admin
Posts: 10292
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Changing case in attachment title

Post by Jon »

I have seen the same thing. I think that's a system setting. Go to System Preferences -> Keyboard -> Text and UNCHECK "Use smart quotes and dashes".

Jon
Sonny Software
Post Reply