Search found 127 matches

by DrJJWMac
Mon Jun 28, 2021 10:04 am
Forum: Looking for AppleScripts…
Topic: Request: commands to detach/remove/add attachment items
Replies: 9
Views: 162

Re: Request: commands to detach/remove/add attachment items

> I think we are perhaps talking at cross purposes. I hope not cross purposes, rather different needs. > Bookends itself doesn't care where the attachment is, it only cares what the name is, and that's what you're setting in that line of AppleScript. Bookends will find it it is in the default folder...
by DrJJWMac
Mon Jun 28, 2021 8:01 am
Forum: Bookends
Topic: Request: menu option to Replace attachment
Replies: 5
Views: 167

Re: Request: menu option to Replace attachment

Thank you.
by DrJJWMac
Mon Jun 28, 2021 8:01 am
Forum: Looking for AppleScripts…
Topic: Request: commands to detach/remove/add attachment items
Replies: 9
Views: 162

Re: Request: commands to detach/remove/add attachment items

> Manipulating the the names IS how you remove or add attachments. OK. I see now. I am able to remove or add attachments this way. BUT ... Once the file name is added, Bookends must search for the file to attach it. According to my test, the attachment search begins at the Attachments root folder an...
by DrJJWMac
Sun Jun 27, 2021 6:06 pm
Forum: Looking for AppleScripts…
Topic: Request: commands to detach/remove/add attachment items
Replies: 9
Views: 162

Re: Request: commands to detach/remove/add attachment items

> You can access the contents of the attachment field and manipulate the attachments yourself. They are simply a newline-delimited list of file names. I want to REMOVE or ADD attachment items, not manipulate the names in the attachments field. What is the correct syntax for this operation? The impor...
by DrJJWMac
Sun Jun 27, 2021 5:56 pm
Forum: Bookends
Topic: Request: menu option to Replace attachment
Replies: 5
Views: 167

Re: Request: menu option to Replace attachment

> Reattach a missing attachment is the same as Replace. This is not the case for my actions: * Attach a file MyFile.pdf * Rename the file in the Finder to MyFileX.pdf * Go to the inspector panel, view the Attachments tab * Context click to Reattach to "Can't find file ..." * Attach file --> PREVIOUS...
by DrJJWMac
Sun Jun 27, 2021 1:56 pm
Forum: Bookends
Topic: Request: menu option to Replace attachment
Replies: 5
Views: 167

Request: menu option to Replace attachment

When viewing the attachment of a missing attachment (i.e. "Can't find file ..."), we can choose to detach or reattach an attachment using the optional (context click) menu choice. Please consider adding a menu option to Replace the missing attachment. The one step option would detach the missing att...
by DrJJWMac
Sun Jun 27, 2021 11:58 am
Forum: Looking for AppleScripts…
Topic: Request: commands to detach/remove/add attachment items
Replies: 9
Views: 162

Request: commands to detach/remove/add attachment items

We can add and remove publication items. Please consider also including these additional commands:

* detach/remove attachment item 3 of attachment items of publication item
* add (POSIX FILE) to attachment item(s) of publication item
by DrJJWMac
Tue Jun 22, 2021 4:42 pm
Forum: Looking for AppleScripts…
Topic: Default attachments sub-folder for an open library
Replies: 8
Views: 164

Re: Default attachments sub-folder for an open library

> Of course it's not going to change,

Ok. I'll work around this as I need.

I leave this thread how I entered it ... requesting an AppleScript command to get the default attachments (sub)-folder for an open library.
by DrJJWMac
Tue Jun 22, 2021 4:23 pm
Forum: Looking for AppleScripts…
Topic: Default attachments sub-folder for an open library
Replies: 8
Views: 164

Re: Default attachments sub-folder for an open library

> Bookends doesn't store attachment paths, it stores just the name of the attachment. Well, the library knows its default attachment folder. I just want an AppleScript call to return that value. default attachments path of frontmost library window > So you must move, not copy, the file to the subfol...
by DrJJWMac
Tue Jun 22, 2021 2:01 pm
Forum: Bookends
Topic: Request: View Full Path to Attachment
Replies: 0
Views: 107

Request: View Full Path to Attachment

I would like the attachments inspector view to show the FULL PATH to the attachment, not just the file name.
by DrJJWMac
Tue Jun 22, 2021 1:54 pm
Forum: Looking for AppleScripts…
Topic: Script: Copy Attachments to Default Folder for Library
Replies: 2
Views: 83

Script: Copy Attachments to Default Folder for Library

This script will copy attachments into the default folder for an open library. This does NOT remove the links to the source attachment that may be in a different folder. (* version 1.0 author jjw - open a library - run this script - searches over all publications - when attachments are not in the de...
by DrJJWMac
Tue Jun 22, 2021 1:45 pm
Forum: Looking for AppleScripts…
Topic: Default attachments sub-folder for an open library
Replies: 8
Views: 164

Re: Default attachments sub-folder for an open library

Follow up ...

I can GET the path for an attachment. Once I copy over an attachment to the new folder, how do I reset/change the attachment path?

I tried deleting the attachment item. I tried removing the attachment item.

I tried adding the other attachment item.
by DrJJWMac
Tue Jun 22, 2021 8:49 am
Forum: Looking for AppleScripts…
Topic: Default attachments sub-folder for an open library
Replies: 8
Views: 164

Re: Default attachments sub-folder for an open library

> And if you know the subfolders assigned to each library, ... I can certainly take a brute force or hard-coded approach. Let me use this opening then also to request AppleScript access to the default folder path for the current (frontmost) library window. Alternatively or in addition, as requested ...
by DrJJWMac
Mon Jun 21, 2021 1:19 pm
Forum: Looking for AppleScripts…
Topic: Default attachments sub-folder for an open library
Replies: 8
Views: 164

Default attachments sub-folder for an open library

How do I get the path to the default attachment sub-folder for a currently opened (active) library? The default attachments folder returns the base folder.

--
JJW
by DrJJWMac
Sat Jun 19, 2021 10:34 pm
Forum: Bookends
Topic: How do I copy attachments to a new library folder?
Replies: 1
Views: 116

How do I copy attachments to a new library folder?

I am generating a new library (to start a new publication). I would like to copy bibliography entries (drag + drop) and their attachments from across a scattering of other libraries into the new library. The bibliography entries copy with no problem. The attachments ... copy as well but remain resid...