Add setting for revealing files after export

Innes

  • *
  • Posts: 1960
Whilst we're on the topic of exporting, is it possible to prevent the Finder / Explorer window opening once the file has been exported?

If not, would it be possible to create a parameter in the Settings so that it is an option?

Thanks.
Visit www.TheStencylBook.com - the only published book for learning Stencyl.

captaincomic

  • *
  • Posts: 6108
Yeah, I also find it a bit annoying that the explorer is opened after export (especially when exporting several things in a row.) I think it is intended though, so I'm not sure if I should just disable it?

Hectate

  • *
  • Posts: 4643
A setting would be preferred. It's not that unusual to find that a person exporting will also want to locate the file so they can transfer it to someone else or copy to a backup location, perhaps.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Innes

  • *
  • Posts: 1960
I suggested a setting because I am sure that some people find it useful to have the folder opened after export.
Visit www.TheStencylBook.com - the only published book for learning Stencyl.

Hectate

  • *
  • Posts: 4643
Indeed.

Note, confirmed for Windows: The pathname is correctly displayed and the warning is displayed only once (now via Windows, not Stencyl also).
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Jon

  • *
  • Posts: 17524
We can look into more niche settings down the line. Since a bunch of operations are tied to revealing in the finder post-operation, either we'd have to make a call to make them separate settings, tie them together or leave it alone for now.

It actually takes more-than-necessary work to add a setting, and if we do it, some work should instead be done on making it quicker and easier to add setting en-masse from the development side since there are more areas that could use settings but don't due to that friction.

captaincomic

  • *
  • Posts: 6108
Okay, I'll wait with this for now. I split the topic and move it to suggestions.

captaincomic

  • *
  • Posts: 6108
I added an option to prefs/boot.txt. Replace "prefs.exportpopup=true" with "prefs.exportpopup=false" to disable the folder pop-up after exporting.