Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File pickers? #133

Closed
tonnerkiller opened this issue Jan 2, 2019 · 5 comments
Closed

File pickers? #133

tonnerkiller opened this issue Jan 2, 2019 · 5 comments

Comments

@tonnerkiller
Copy link

Just about to write an application that needs loading and saving of files.
As far as I see it, with the filesystem methods I need to know path and file name to open files and also to save files.
A file picker that returns me the paths+filename as sting would be really handy. Anything likely planned? Any ideas for a workaround? I tried with File API as an alternative, but this only allows loading and writing by means of download links is just clumsy...

@tonnerkiller
Copy link
Author

Oops, wrong repo, sorry.

@shalithasuranga shalithasuranga transferred this issue from neutralinojs/neutralinojs.github.io Jan 3, 2019
@shalithasuranga
Copy link
Member

@tonnerkiller issue is moved :). Currently njs has no file picker API. but it will be nice and useful to have file save as and open dialog just as electron provides. As you said client side version downloads the file

We can add file save as and open dialogs to api easily I think in future version

@tonnerkiller
Copy link
Author

Marvellous!

@shalithasuranga
Copy link
Member

shalithasuranga commented Jan 9, 2019

This is done. Neutralino.os.dialogOpen and Neutralino.os.dialogSave methods will be available with the next release

@shalithasuranga shalithasuranga added this to the v1.1.0 milestone Jan 16, 2019
@illtellyoulater
Copy link

Does njs support opening multiple files? I mean, the ability to select and open multiple files in the file open dialog?

Sadaf-A pushed a commit to Sadaf-A/neutralinojs that referenced this issue Mar 28, 2024
Fixed a typo on line 31 (vairables -> variables)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants