How do I bring up this location chooser using Applescript?

This chooser interface comes up when I “create” a record programmatically. But I just need to use it to choose a location, not necessarily to create something. Thoughts?

Perhaps

displayGroupSelector method : Display a dialog to select a (destination) group. Returns either the selected group (without name and tags parameters) due to compatibility to older versions or a dictionary containing the key-value pairs “group” and optionally “name” and “tags” (with nam
displayGroupSelector [Text] : The title of the dialog.
[buttons: list] : The labels for the cancel and select buttons.
[for: [Database]: The database. All open databases are used if not specified.
[name: boolean] : Show field to enter a name (off by default)
[tags: boolean] : Show field to enter tags (off by default)
→ any

The scripting dictionary is your friend. Oh, and that one was from the JavaScript variant. AppleScript is similar

1 Like

Thanks, buddy. I tried looking thru the dictionary, but couldn’t find it.