# Request: Export action to responds to filename change

**URL:** https://community.mp3tag.de/t/request-export-action-to-responds-to-filename-change/16109
**Category:** General Discussion
**Created:** [September 5, 2014, 11:09pm UTC](https://community.mp3tag.de/t/request-export-action-to-responds-to-filename-change/16109 "2014-09-05T23:09:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [September 5, 2014, 11:09pm UTC](https://community.mp3tag.de/t/request-export-action-to-responds-to-filename-change/16109/1 "2014-09-05T23:09:57Z")

</div>

Currently if I change the $filename value in a Export config used by an Action, the change fails to take effect on Action "Export file name" until I e.g. enter the Action definition and change the config selection to another, and then back.

E.g. [http://i.imgur.com/jfgl2JL.png](http://i.imgur.com/jfgl2JL.png)

It would be nice if this was remedied.

EDIT: The same problem occurs on the Export config from the File, Export command e.g.

1 Create an Export config having $filename specify a filename e.g. [http://i.imgur.com/HfvZxnS.png](http://i.imgur.com/HfvZxnS.png)  
2 Close the Export dialog  
3 Edit the filename in the config file e.g. [http://i.imgur.com/vm40KYi.png](http://i.imgur.com/vm40KYi.png)  
4 Do File, Export and inspect "Export file name:"

Expected: filename changed  
Observed: filename unchanged e.g. [http://i.imgur.com/wjTd63y.png](http://i.imgur.com/wjTd63y.png)

Workaround: select a different config then reselct the first e.g. [http://i.imgur.com/a6z5ViK.png](http://i.imgur.com/a6z5ViK.png) [http://i.imgur.com/edtxydP.png](http://i.imgur.com/edtxydP.png)

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [September 6, 2014, 3:47am UTC](https://community.mp3tag.de/t/request-export-action-to-responds-to-filename-change/16109/2 "2014-09-06T03:47:13Z")

</div>

Yes, once the report filename has been hardcoded by $filename() in the export script and the script has been saved, then the preset filename in the file selection dialog should be automatically updated to the hardcoded filename ... or ... the file selection dialog should be disabled (greyed out) for such an export script.

DD.20140906.0753.CEST

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [September 6, 2014, 9:52am UTC](https://community.mp3tag.de/t/request-export-action-to-responds-to-filename-change/16109/3 "2014-09-06T09:52:50Z")

</div>

> [@DetlevD](#):
>
> or ... the file selection dialog should be disabled for such an export script.

To which dialog do you refer? The one on the "Select export file" button [http://i.imgur.com/ZhQx3BD.png](http://i.imgur.com/ZhQx3BD.png) ?

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [September 6, 2014, 10:38am UTC](https://community.mp3tag.de/t/request-export-action-to-responds-to-filename-change/16109/4 "2014-09-06T10:38:55Z")

</div>

> [@chrisjj](#):
>
> To which dialog do you refer? The one on the "Select export file"?

The [...] button and the edit field.

DD.20140906.1439.CEST

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [September 6, 2014, 11:04am UTC](https://community.mp3tag.de/t/request-export-action-to-responds-to-filename-change/16109/5 "2014-09-06T11:04:23Z")

</div>

OK.

I now see the same problem affects the Export dialog from the File, Export command (see edit to root post). There, fixing by disabling would be inappropriate. Also, disabling would obstruct the user making a deliberate manual override. So I prefer your first fix suggestion - automatic update.

I now think this is a bug, so have reported it in Bugs, here [/t/16111/1](https://community.mp3tag.de/t/16111/1) .
