PiPL Documentation - a few questions


hi,

 

i figuring out needs go pipl file, have few questions.

 

i started using dissolve.r sample emulate. first question on line:

 

resource 'pipl' ( 16000, "color remover", purgeable )

 

the best explanation find line in syntax section of plug-in resource guide:

 

<resource header> :=
"resource" "'pipl'" "("
<resourceid> <optional resource name> <optional attribute list>
")"

 

what <resourceid>?  appears 16000 default. found can use 'resourceid' instead of '16000', don't know if should change or not.

 

what <optional attribute list>? it's list of <attribute>s, can't find further explanation of <attribute> (at least, not searching plug-in resource guide).

 

moving down file, to

 

version { (latestfilterversion << 16 ) | latestfiltersubversion },


the sample files never set latestfilterversion or latestfiltersubversion. version of adobe filter plugin api require or version number filter?

 

i found reference mactech article on aete's, hope answer other questions.

 

thanks help.

 

p.s. adobe: helpful if added documentation sdk walked through sample plugin's pipl file , talked elements need changed create new plugin , how change them. if in sdk, haven't run yet.

some points.

1) .r files rez resource descriptions (apple resource compiler). documented apple if know look.

2) if using adobe sample code .r template should "just work"

3) id 16000 artefact of 25-year-old macintosh convention numbering 'owned' resources. comes formula computing starting id when numbering resources of particular type used plugin. details of formula not relevant in context convention still followed. have 1 pipl in plugin (normally id 16000), better examples 'str ' or 'ditl' might have several, 16000, 16001, 16002 , on. plugin reference resources these ids required (for example, when invoking alert() or modaldialog(); read resource manager documentation entire resource manipulation api). also, resources have internal cross-references other resources (for example, dlog dialog box references ditl dialog item list, in turn may reference cntl control description).

4) there literally dozens of correct , complete .r rez descriptions, , win32 .rc descriptions, photoshop plugins on site. http://telegraphics.com.au/sw/ - see subversion source code repositories.

5) contact me, support@telegraphics.com.au if need more help.



More discussions in Photoshop Plugin and Companion App SDK


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???