Had script where I could save the current or a list of opened url but I can’t seem to find it. it would bring up the window, the window had a search field, a tag field and could even edit title. where can I find it?
EDIT: Might have found it, the following scrip works fine in DT3 it brings the search and tag field but in DT4 it just saves it straight with out giving me options for search nor tag.
What do I need to change in order to work in DEVONthink 4?
property pURL : ""
property pName : ""
tell application "Safari"
set pURL to URL of current tab of window 1
set pName to name of current tab of window 1
end tell
tell application id "DNtp"
create record with {name:pName, URL:pURL, type:bookmark}
end tell
Note: You should not have DEVONthink 3 and 4 available on the same account, on the same Mac.
You are referring to the group selector, available via the display group selector AppleScript command.
Here is a modification of part of your code…
tell application id "DNtp"
set theDestination to (display group selector)
create record with {name:pName, URL:pURL, type:bookmark} in theDestination
end tell
Are you writing this to teach yourself AppleScript?