Embedding Files in a .toe File - VFS

The ‘virtualFile’ component lets you embed any file inside a component so you don’t have to refer to external files in your project - they can all be embedded in the .toe.

You just pick a file, press Create Virtual FIle, and refer to it with the path that you see.

If it is an image, you refer to them using a syntax like vfs:/project1/virtualFile1/Picture.jpg.

It allows you to deliver a project with less dependencies on external files including font files.

It will of course make your .toe file larger by whatever the hard drive file size is, but one virtual file can be referred to by multiple OPs at the same time.

It uses the ‘vfs’ Tscript command inside, but fortunately you don’t have to look inside except at the readMe.
VirtualFile.1.toe (360 KB)

Niiice, that’s going into some of my tools straight away!

Thanks Greg!

hey, i’m happy with this, thanks greg.
This will do nicely in shielding my innocent eyes from dark t-script runes :wink:

This rocks. Thanks Greg!

Great!!! Thank you!!