Operations and recipes
Everything the desk can do. Every operation is a step of a plan: you can call it with a button, in words, through a recipe or from code. The tables below are built from the same list the tool uses.
Operations
The list appears when the page has loaded. JavaScript is needed.
Built-in recipes
A recipe is applied with one click to the files on the desk. Your own recipes are stored in your browser; you can save them to a file and pass them on.
The recipe format
A recipe file is a small JSON. You can write it by hand and load it with the "Import a recipe" button.
{
"format": "ihatepdf-recipe",
"version": 1,
"name": "For email",
"steps": [
{ "op": "merge", "params": {} },
{ "op": "number", "params": { "from": 3 } },
{ "op": "compress", "params": { "targetMB": 5 } }
]
}