# ReloadScript() in OnConfigChange()

**URL:** https://resource.dopus.com/t/reloadscript-in-onconfigchange/19226
**Category:** Help & Support
**Created:** [September 20, 2014, 6:08am UTC](https://resource.dopus.com/t/reloadscript-in-onconfigchange/19226 "2014-09-20T06:08:33Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![tbone](https://resource.dopus.com/user_avatar/resource.dopus.com/tbone/32/25726_2.png) [@tbone](https://resource.dopus.com/u/tbone)
#### Post date: [September 27, 2014, 12:33am UTC](https://resource.dopus.com/t/reloadscript-in-onconfigchange/19226/3 "2014-09-27T00:33:04Z")

</div>

Hi Jon, sorry it took me so long, but this issue is a bit difficult to track down.

I had the mentioned behaviour some minutes ago again and was not able to resolve it without eventually renaming the script file.  
The last time I tried it worked as expected, but once it get's into the problematic behaviour it keeps malfunctioning for some unknown time.  
I think it has something to do with the script config getting out of sync with what DO remembers and/or the defaults a script uses/used.

I uploaded the script here, but I doubt it's going to show the same error for you, if you freshly put it into the scripts folder.

> [@Event: CloseTabSiblings (autoclose equal tabs in tab-row)](https://resource.dopus.com/t/event-closetabsiblings-autoclose-equal-tabs-in-tab-row/19282/1):
>
> CloseTabSiblings - an event based script to automatically close equal tabs already open, when opening new tabs or changing folders. There's also a command "CloseTabSiblings" included, you can unregister the event and make use of the command only if …

Thanks for all the other fixes in 11.7.2, the uploaded script makes use of the new "right" property e.g. (with a fallback for pre 11.2.7).  
cya! o)

---

_[View the full topic](https://resource.dopus.com/t/reloadscript-in-onconfigchange/19226)._
