# IDE Scripting - SaveFileAs

**URL:** <https://ifnotnil.com/t/ide-scripting-savefileas/1855>\
**Category:** General Programming\
**Created:** [27 June 2021 16:58 UTC](https://ifnotnil.com/t/ide-scripting-savefileas/1855 "2021-06-27T16:58:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [27 June 2021 16:58 UTC](https://ifnotnil.com/t/ide-scripting-savefileas/1855/1 "2021-06-27T16:58:45Z")

</div>

Is there a way to specify the path for DoCommmand(SaveFileAs)?

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [27 June 2021 19:30 UTC](https://ifnotnil.com/t/ide-scripting-savefileas/1855/2 "2021-06-27T19:30:34Z")

</div>

> [@Meestor\_X](#):
>
> DoCommmand(SaveFileAs)?

It _SHOULD_ bring up a prompt to ask you where to save

IDE scripting is 99.9% just the ability to automate what you would do by hand  
So instead of having to remember to “save file as” you can script it and then it will always ask you  
It really never was designed for many of the tasks people try to put it to

---

<div class="post-metadata">

**Author:** ![Meestor\_X](https://ifnotnil.com/user_avatar/ifnotnil.com/meestor_x/32/567_2.png) [@Meestor\_X](https://ifnotnil.com/u/Meestor_X)\
**Post date:** [27 June 2021 19:40 UTC](https://ifnotnil.com/t/ide-scripting-savefileas/1855/3 "2021-06-27T19:40:23Z")

</div>

Thanks, @npalardy ,  
It brings up a save as dialogue, but I was hoping there might be a way to set the default path and file name.

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [27 June 2021 23:08 UTC](https://ifnotnil.com/t/ide-scripting-savefileas/1855/4 "2021-06-27T23:08:33Z")

</div>

NO  
As I said its a way to “automate” what you might do manually with most of the same restrictions & behaviour

---

<div class="post-metadata">

**Author:** ![beatrixwillius](https://ifnotnil.com/user_avatar/ifnotnil.com/beatrixwillius/32/24_2.png) [@beatrixwillius](https://ifnotnil.com/u/beatrixwillius)\
**Post date:** [28 June 2021 07:12 UTC](https://ifnotnil.com/t/ide-scripting-savefileas/1855/5 "2021-06-28T07:12:40Z")

</div>

Have you checked Arbed? The app can do scripting, too.
