Feature Request: Additional AppleScript commands
Posted: Tue Jul 13, 2021 11:33 am
I would like to have further command options in AppleScript. One case is to be able to rename an attachment.
This requires two new options
* RENAME -- rename an attachment item
* USING FORMAT -- the format to use in renaming
We'd also benefit by access to get the list of names of formats, also restricted to only the active ones
Having these additional features in the AppleScript dictionary for Bookends, along with having access to set/get the library attachment folder, would significantly simplify the ability to create an AppleScript package for a user to a) select an attachment folder for a library, b) select a naming convention using a format created in Bookends, and c) move/copy attachments to the defined attachment folder with renaming using a predefined renaming convention.
These additions would offer the ability to create an attachment management script package that would not require the user to know AppleScript coding (to change internal property values in the code itself).
Code: Select all
rename the second attachment item of the publication item as "This Is the Second One.pdf"
rename the first attachment item of the publication item using format "My Renaming Format"
* RENAME -- rename an attachment item
* USING FORMAT -- the format to use in renaming
We'd also benefit by access to get the list of names of formats, also restricted to only the active ones
Code: Select all
set theFullFormatList to the full format list
set theActiveFormatList to the active format list
These additions would offer the ability to create an attachment management script package that would not require the user to know AppleScript coding (to change internal property values in the code itself).