# Script to select workspace

**URL:** <https://discourse.devontechnologies.com/t/script-to-select-workspace/47571>\
**Category:** Automation\
**Tags:** devonthink3\
**Created:** [May 23, 2019, 12:34pm UTC](https://discourse.devontechnologies.com/t/script-to-select-workspace/47571 "2019-05-23T12:34:55Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![dansroka](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/dansroka/32/8651_2.png) [@dansroka](https://discourse.devontechnologies.com/u/dansroka)\
**Post date:** [September 26, 2019, 1:08pm UTC](https://discourse.devontechnologies.com/t/script-to-select-workspace/47571/25 "2019-09-26T13:08:01Z")

</div>

> [@ngan](#):
>
> Every time you change the workspace, the dummy filename changes accordingly.

So then, a save script would just have to access that file, read its name to be able to update the correct workspace. Very clever!

Does the file need to be in favorites though? I tried it without, and it worked. And that way, it could be hidden away somewhere.

---

_[View the full topic](https://discourse.devontechnologies.com/t/script-to-select-workspace/47571)._
