Copy link to clipboard
Copied
I’m a beginner, and I want my plugin’s UI button to export a CSV file and write content into it when clicked.
But from what I see, the official SDK doesn’t seem to provide similar examples, and I have no idea how to implement this.
It’s like in AE scripting with .saveDlg() → .open() → .write() → .close().
I’d like to see an example if possible.
static PF_Err ParamsSetup(PF_InData* in_data, PF_OutData* out_data, PF_ParamDef* params[], PF_LayerDef* output) {
PF_ParamDef def;
......
AEFX_CLR_STRUCT(def);
PF_ADD_BUTTON("TTT", "ttt", NULL, NULL, ID_BUTTON);
......
out_data->num_params = ID_NUM_PARAMS;
return PF_Err_NONE;
}
the sdk only deals with importing files into an AE project or rendering out to custom file types.
if you wish to save some file with some arbitrary data in it at a click of a button, you just do it directly using fopen/fwrite/fclose, as you would in javascript.
Copy link to clipboard
Copied
the sdk only deals with importing files into an AE project or rendering out to custom file types.
if you wish to save some file with some arbitrary data in it at a click of a button, you just do it directly using fopen/fwrite/fclose, as you would in javascript.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now