Access the File System with Macros

February 02, 2025

An update to Onetastic brings the ability to access the file system via Macros. This can be useful to import files programmatically into OneNote as well as process contents of local files to modify your OneNote notebooks. You can also automate exporting information from OneNote to files on disk.

Access to file system is provided via File System Functions summarized below. See the documentation for each function for more information.

Checking if a file or folder exists

Asking the user to pick files and folders

Creating and deleting files and folders

Reading and writing files

Enumerating contents of a folder and known folders

Obtaining the size of a file

Comments

Name
Comment
DEsser - 2025-04-19
Hello, this was written using a translation program.

I created a table for a OneNote page using a macro. Is it now possible to insert the "Tasks" category—that is, the checkbox—into a cell of the table using a macro command?
Thank you in advance for your support.
Regards,
Dieter
SMT - 2025-02-21
I am having issues with my Onetastic certificate ---

Revocation information for the security certificat for this site is not available

I don't know how to get my Onetastic back.
MJB - 2025-02-11
Hi,
Is there a possibility to update a content map or a TOC. Currently I have to replace an existing content map or a TOC
Kind Regards Manfred

Other Posts

Show all posts