win32.run
AppGithub
  • Introduction
  • Acknowledgements
  • Files Transfer
  • Developers
    • Run, build & deploy
    • Spaghetti Code
      • Code Structure
      • System Variables
      • Working with Files
      • Open a program with a file
    • 3rd-party apps
      • Pick Files
      • Save File As
      • Get File
      • Save File
Powered by GitBook
On this page
  • Params
  • Return
  1. Developers
  2. 3rd-party apps

Save File

PreviousGet File

Last updated 2 years ago

Save a file without invoking File Saving Dialog.

Similar to win32.get_file method, you have to have a win32 file id first, which could obtain when you first save the file using or win32.pick_files or win32.save_file_as

await win32.save_file(file, id)

Params

file

File

Content of the file you want to save to win32. A File object. See

id

String

id of the file. Refer to

Return

Promise<Void>

Mozilla Docs
Pick Files