about eventClose

Comments and discussions about 8bf plugins which can be use in various applications like Photoshop, Paint Shop Pro or Photo-Paint
Jiro Imaizumi

about eventClose

Postby Jiro Imaizumi » Wed Nov 24, 2004 2:55 am

I'm creating Photoshop automation plugin.

I have some question about eventClose.
When I call eventClose, the modal dialog which I created lost modal.

What is the problem??

thanks

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

OPErr playeventClose(void)
{
PIActionDescriptor result = NULL;
OPPError error = kSPNoError;
PIActionDescriptor desc = NULL;

error = sPSActionDescriptor->Make(&desc);

if (!error)
error = sPSActionDescriptor->PutEnumerated(desc,
keySaving,
typeYesNo,
enumNo);

if (!error)
error = sPSActionControl->Play(&result,
eventClose,
desc,
plugInDialogSilent);

if (result != NULL) sPSActionDescriptor->Free(result);
if (desc != NULL) sPSActionDescriptor->Free(desc);
return error;
}

Return to “Photoshop-compatible Plugins”

Who is online

Users browsing this forum: No registered users and 4 guests