Getting Photoshop slices info with PS API help

S
Posted By
SAXon
Nov 17, 2009
Views
809
Replies
7
Status
Closed
Hi.
have tried listener. but there is no info about slices.
in "SDK\samplecode\common\sources\PropertyUtils.cpp" i found a such function
OSErr PIGetSlices(Handle & slices);

but there is no information WHAT is that Handle?!

Please, give some information about it

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

MR
Mike Russell
Nov 17, 2009
On Mon, 16 Nov 2009 23:31:21 -0800 (PST), SAXon wrote:

Hi.
have tried listener. but there is no info about slices.
in "SDK\samplecode\common\sources\PropertyUtils.cpp" i found a such function
OSErr PIGetSlices(Handle & slices);

but there is no information WHAT is that Handle?!

Please, give some information about it

My two cents. Looks like the plugin api calls relating to slices are very limited – counting them, getting the ID of the currently selected slice, etc. I’d take a look at the scripting API and see if there’s more functonality there, though if listener is not recording anything, that says that scripting is not going to be helpful either.

Also, join the ppdl yahoo group, where people discuss these questions, as well as the mailing list. There may be an SDK discussion group at www.adobe.com as well.

Hopefully Toby will chime in.

Mike Russell – http://www.curvemeister.com
S
SAXon
Nov 17, 2009
From all slice functions I can use just a GetSliceLineColor. that’s all. all other functions return code -30901 (and i can’t understand what it means).
I can’t even get currently selected slice.
thanks for your answer and yahoo group link.
S
SAXon
Nov 18, 2009
It seems that group is unactive.
is there some other groups/forums dedicated to PS API + C++ programming?
MR
Mike Russell
Nov 19, 2009
On Wed, 18 Nov 2009 05:34:51 -0800 (PST), SAXon wrote:

It seems that group is unactive.
is there some other groups/forums dedicated to PS API + C++ programming?

It’s active – you just asked too hard of a question 🙂

Another place to ask is on the sdk forum at adobe.com

Mike Russell – http://www.curvemeister.com
S
SAXon
Nov 19, 2009
It’s active – you just asked too hard of a question 🙂
yep, but all answers for easy questions i’m already know 🙂
Another place to ask is on the sdk forum at adobe.com
don’t know why, but previous adobe forum (with old design) was better and more responsive..
MR
Mike Russell
Nov 19, 2009
On Wed, 18 Nov 2009 23:10:11 -0800 (PST), SAXon wrote:

It’s active – you just asked too hard of a question 🙂
yep, but all answers for easy questions i’m already know 🙂

My hat is off to you.

Another place to ask is on the sdk forum at adobe.com
don’t know why, but previous adobe forum (with old design) was better and more responsive..

I agree – I dropped out when it stopped offering news reader access, and I suspect a lot of the others did too. OTOH, the level of hostility has decreased somewhat, which can only be a good thing.

Mike Russell – http://www.curvemeister.com
PU
Photoshop User
Nov 19, 2009
"Mike Russell" wrote in message
On Wed, 18 Nov 2009 23:10:11 -0800 (PST), SAXon wrote:

It’s active – you just asked too hard of a question 🙂
yep, but all answers for easy questions i’m already know 🙂

My hat is off to you.

Another place to ask is on the sdk forum at adobe.com
don’t know why, but previous adobe forum (with old design) was better and more responsive..

I agree – I dropped out when it stopped offering news reader access, and I suspect a lot of the others did too. OTOH, the level of hostility has decreased somewhat, which can only be a good thing.

Mike Russell – http://www.curvemeister.com

I dropped out when it stopped offering news reader access

me too

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections