Skip to content

Exporting

Joonas Pääkkö edited this page Jan 15, 2019 · 2 revisions

The dialog can be exported as jsx code that is ready to be used as is. SDB does not handle events so those need to be attached afterwards. I would recommend using variables to rename the variables the app generates. In general, in the ideal situation you don't need to directly edit the dialog after exporting it from the SDB, so that you can keep importing and editing it in SDB... but of course there are situations where you just have to.

The exported code includes comments with item names, which announce the scope for the following items.

Export

The export button is located above the dialog preview.

In this export window, you can find a code preview and you can choose to either download or copy the code to clipboard.

There’s also a shortcut Alt+E for a quick clipboard export. This shortcut is much nicer to use if you’re constantly checking the output and piping it through the ExtendScript Toolkit, for example.

Clone this wiki locally