• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

The code from "getter" plug in

New Here ,
Jun 26, 2008 Jun 26, 2008

Copy link to clipboard

Copied

I want to get the code to draw Bezier path. The listener log could not get the codes. But the code from getter log could not work rightly.

-------------------------------------
error = sPSActionControl->StringIDToTypeID("Getting Work Path Info", &runtimeEventID);
if (error) goto returnError;

error = sPSActionControl->Play(&result, runtimeEventID, desc00001040, plugInDialogSilent);
if (error) goto returnError;
---------------------------------------
In the last sentence, it is error.

Do you use getter code all right?
I hope to discuss with you. Thank you.
TOPICS
SDK

Views

1.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Explorer ,
Jun 26, 2008 Jun 26, 2008

Copy link to clipboard

Copied

Didn't you ask this before?

Aandi Inston

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 26, 2008 Jun 26, 2008

Copy link to clipboard

Copied

Yes,I asked this before. But there is no answer. I am not sure it because the question is illegible.

Other path could get from listener log. But the Bezier curve path could not. Is it secret for Adobe?

I try to "getter" plugin to get the code. But it is not work. I guess that "Getting Work Path Info" is not in effect for photoshop. But I could not find other appropriate "event". Couldn't the code from "getter" plugin be used?

Thank you for your attention. Please help me. Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 27, 2008 Jun 27, 2008

Copy link to clipboard

Copied

It is worth reposting once, but more is unlikely to help unless you
say clearly that you have done so. The same people will see it, and
will have no more reason or ability to answer than before.

Personally, I have no knowledge that can help you, sorry.

Aandi Inston

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 11, 2008 Jul 11, 2008

Copy link to clipboard

Copied

Listener and Getter are similar but not the same. The same part is the way that getter/listener "dump" descriptor information to disk. Listner code can be copy/pasted to an automation plug-in and executed 99% of the time. Implementing getter code in your automation plug-in is different. You should look at the Getter example to see exactly what is going on. Getter shows you what can be "got" from Photoshop. Meaning, if Getter can write it to disk then the information is available.

Here is the trick.

Listener uses Put* routines. Getter needs Get* routines but 'writes' Put* routines because the same routine is writing out the descriptor contents. (Think about it for a while and it will be clear.)

So, figure out what class you need to "get". classApplication, classDocument, classLayer.

Figure out what property you need. keyNumberOfDocuments, keyName

And grab that info with a eventGet.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 26, 2008 Jul 26, 2008

Copy link to clipboard

Copied

LATEST
Thank you, Tom Ruark!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines