Save File

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 Mozilla Docs

id

String

id of the file. Refer to Pick Files

Return

Promise<Void>

Last updated