Save current or save URL list

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?

thank you but that doest work. it just gives me the search. screenshot below

**** and this is what I want, screenshot below

So is this possible in DEVONthink 4 or no?

Adding “display group selector” doesn’t give me the options above

Have you looked in the scripting dictionary? I don’t have DT4 installed, so I can’t check.

This is from DT3’s dictionary:

No, that is not the group selector presented e.g., when you drag and drop the Dock icon.

Good call from @troejgaard as I had forgotten there are options to expose those UI elements.

tell application id "DNtp" to display group selector with tags and name

This is weird the initial script posted, works now. don’t know how that happened.

Thank you but it works now, I didn’t change anything.