Make window "clickable" if display alert is shown

What I miss:
Make changes to the currently selected record while the alert box is shown, like change the given tags or some other field.

My setup:

  1. A script shows a window for a record
  2. A display alert shows some meta information about the record
  3. Using the buttons of the dialog box I chose how to handle the document

The code for the display alert:

set theAlertResponse to display alert "DNtp" message "File: " & theName & "
Company: " & theCompany & "
Tags: " & my convertListToString(theResultTags, ", ") & "
Targent path: " & theTargetPath & "
Database: " & theDatabaseName buttons {"Abort", "Ignore", "Move"} default button 2 as warning giving up after 30

The code for the window:

local theWindow
set theWindow to open tab for record theRecord

That’s my current workaround for DT4 - show window to review changes - #11 by MarvinMarvelouis.

Note you’re not going to be able to build a new interface for interacting with DEVONthink via scripting. An alert dialog (1) isn’t our invention, and (2) is intended for a specific purpose.

1 Like

Ok. Thanks