I’m sick of having to click over to the “Show Properties” dialog to adjust item titles, and I want to do some bulk retitling instead. I see in the Applescript dictionary for DTPO that the “meta data” attribute of records is read-only:
(Yes, that last item is verbatim; looks like a typo in the docs to me.)
(I’ve already tried poking around my DTPO files on the command line using mdls and xattr, and kMDItemTitle didn’t show up, so I’m at a loss as to what’s going on under the hood.)
tell application id "DNtp"
set oRec to first item of ((selection of front window) as list)
set name of oRec to "Renamed " & (current date) as string
end tell
tell application id "DNtp"
set oRec to first item of ((selection of front window) as list)
set name of oRec to "Renamed " & (current date) as string
end tell
I figured this was the case. Is there any chance that it’ll be modifiable via applescript in a future version?
(Part of the annoyance of modifying the Title in the current user interface is that in Snow Leopard, keyboard focus behaves oddly when the Information floating-window is activated. I primarily use keyboard shortcuts for interacting with DTPO, and the current keyboard focus behavior is counterintuitive. If that were fixed, the lack of Applescript editability for Titles might be less annoying.)