# Favorities/Favourites

**URL:** https://resource.dopus.com/t/favorities-favourites/41368
**Category:** Help & Support
**Created:** [June 2, 2022, 7:06am UTC](https://resource.dopus.com/t/favorities-favourites/41368 "2022-06-02T07:06:23Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![pgauld](https://resource.dopus.com/letter_avatar_proxy/v4/letter/p/ea666f/32.png) [@pgauld](https://resource.dopus.com/u/pgauld)
#### Post date: [June 2, 2022, 7:06am UTC](https://resource.dopus.com/t/favorities-favourites/41368/1 "2022-06-02T07:06:23Z")

</div>

I am trying to make a Favourite of the results of a search.

I want to look at all the files in a particular (legal) matter.

All filenames in a matter start with the file reference eg., G1234. So searching is easy.

Two issues:

1. If I add to the files, will that saved favourite Lister recognise the new files created after the saving of the Favourite, and display them?
2. When I add one of these search results to Favourites, it just replaces the existing Favourite. So, at present, I am only able to get one Favourite saved. Am I missing something here?

---

<div class="post-metadata">

### Author: ![lxp](https://resource.dopus.com/user_avatar/resource.dopus.com/lxp/32/33734_2.png) [@lxp](https://resource.dopus.com/u/lxp)
#### Post date: [June 2, 2022, 8:44am UTC](https://resource.dopus.com/t/favorities-favourites/41368/2 "2022-06-02T08:44:23Z")

</div>

I am not sure I totally understand what you want, but a button like

```
Favorites ADD PATH={filepath} 

```

is probably all you need.

---

<div class="post-metadata">

### Author: ![pgauld](https://resource.dopus.com/letter_avatar_proxy/v4/letter/p/ea666f/32.png) [@pgauld](https://resource.dopus.com/u/pgauld)
#### Post date: [June 4, 2022, 12:09am UTC](https://resource.dopus.com/t/favorities-favourites/41368/3 "2022-06-04T00:09:58Z")

</div>

Let me put it another way.

I want to quickly find all my files that commence with, say, g12345\_

That is my file reference; it is always at the very start of the filename.

But I can't always remember what this reference is because I have many matters, each with their own unique reference.

I can always remember the client name though.

So I would like a favorites entry with the client name, say "Smith", that searches all files commencing with Smith's file reference g12345\_

Or any means of doing this; a button would be ok.

Note that I am constantly adding new files to each reference. I might have 50 today, but 70 next week.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [June 4, 2022, 12:45am UTC](https://resource.dopus.com/t/favorities-favourites/41368/4 "2022-06-04T00:45:01Z")

</div>

One way would be to use [Stored Queries](https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Stored_Queries.htm).

But I would probably just make a menu or toolbar buttons which run the `Find` command for each thing you want to search for:

```nohighlight
Find g12345_* IN "D:\Clients"

```

Or similar. You can then give the button a label with the client's name, and click it to run the search whenever you need to.

You can use the [Find command](https://www.gpsoft.com.au/help/opus12/index.html#!Documents/Find.htm) arguments to change what it does, e.g. if you want to output the results to a separate collection for each client.

If needed: [How to use buttons and scripts from this forum](https://resource.dopus.com/t/how-to-use-buttons-and-scripts-from-this-forum/3546/1)

---

<div class="post-metadata">

### Author: ![pgauld](https://resource.dopus.com/letter_avatar_proxy/v4/letter/p/ea666f/32.png) [@pgauld](https://resource.dopus.com/u/pgauld)
#### Post date: [June 4, 2022, 1:47am UTC](https://resource.dopus.com/t/favorities-favourites/41368/5 "2022-06-04T01:47:49Z")

</div>

Leo, thanks, that's exactly what I want. This wasn't rocket science.

How do I make a new toolbar just for these buttons?

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [June 4, 2022, 2:11am UTC](https://resource.dopus.com/t/favorities-favourites/41368/6 "2022-06-04T02:11:24Z")

</div>

Settings \> Customize Toolbars, then click the first button above the list of toolbars.
