Getting started
You can use package for only one certain application (After Effects, Premiere Pro, Photoshop, ...), you should point the application in settings of the package.
If you need several packages, for ex. one for After Effects, another for Premiere Pro - you have to create two separate packages (due to it's impossible to combine templates for divers apps in one package).
Base structure
The base structure of package contains: the package itself (file format .ATOM) and additional folders with files.
Package File.atom
- The file with settings and the package structure in JSON language (more on that see further). The name of the package can be of any kind of correspondent format (.ATOM).Atom Preview Assets
- A folder with preview files (see the detales here)Atom [Software Name]
- A folder with templates files / presets / other elements of corresponding app.note
Inscription [Software Name] has to be changed to the name of the application:
After Effects -> Atom After Effects,
Premiere Pro -> Atom Premiere Pro and so on.
The folder with preview files and templates folder have to correspond to the hierarchy you point while creating the package structure.
Package creation
A file of the package represents a system of organized data storing on JSON language (JavaScript Object Notation).
You may need a text editor with syntax highlighting to make a code of the package more convenient in use.
Editors examples: Sublime, Notepad++, Visual Studio Code, or any other with the highlighting JSON syntax.
Default | Highlighted JSON (Visual Code) |
---|---|
note
There's no need to be a programmer to be able to work with the package code, thus the code is just a tool to structure adn store the data, it's not a fullfledged programming language.
Moreover, you can operate the structure and settings of the package not using the code, just using a tree panel. More details learn in the chapter code checkout.
File creation (.ATOM)
Create a file in a format .ATOM
(create a text file first, then change its format to .atom) in any directory, or use a ready-made package template (you can test it right from inside the extansion).
The package file stores the data:
warning
The syntax JSON abide strict hierarchy that you have to keep also.
For ex.: after a group settings we have a comma, but after a group structure there is no comma for there is no elements further. However, there has to be a comma if there are other groups after the group structure (and vice versa).
The features abowe are relevant throughout the code: if there are elements inside the group - list them with comma (if one element deleted , delete the comma).
note
More details: The option values have olways be written with double quotes " "
, except of spetial parametrs - true
/ false
and numerical values where needed.
You can copy the code below and paste it into your .ATOM file, or, as we've already discussed, use a ready-made package that already includes all the files and a ready-made code.
Here are all the main package data are described (settings and structure; surely you'll have to have our own data). Now all you need to do to finish the package is to mate all this with a file system.
More on how to mate the package structure with preview files and your template see in a chapter package structure.
After the work is done you can checkout the package (more on the chekout here).
Ready-made examples
We recommend you to download a full package example to make its operating clear to you (it's fully functional and ready for use, includes all the neсessary files).
You can rely on it every time you have errors in running your package, or you'd like to learn more with the help of a ready-made examle.
Press here to see the chapter with additional information and download the package example.