Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting Photoshop slices info with PS API help

13 views
Skip to first unread message

SAXon

unread,
Nov 17, 2009, 2:31:21 AM11/17/09
to
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

Mike Russell

unread,
Nov 17, 2009, 2:56:13 AM11/17/09
to

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 s...@adobe.com 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

SAXon

unread,
Nov 17, 2009, 3:48:42 AM11/17/09
to
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.

SAXon

unread,
Nov 18, 2009, 8:34:51 AM11/18/09
to
It seems that group is unactive.
is there some other groups/forums dedicated to PS API + C++
programming?

Mike Russell

unread,
Nov 18, 2009, 10:35:46 PM11/18/09
to

It's active - you just asked too hard of a question :-)

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

SAXon

unread,
Nov 19, 2009, 2:10:11 AM11/19/09
to
> 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..

Mike Russell

unread,
Nov 19, 2009, 2:37:53 AM11/19/09
to
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.

Kabuki

unread,
Nov 19, 2009, 3:33:37 PM11/19/09
to

"Mike Russell" <grou...@MOVEcurvemeister.com> wrote in message
news:1ak5xj5f7o7s$.dlg@mike.curvemeister.com...

me too


0 new messages