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

alpha components

39 views
Skip to first unread message

Stefano

unread,
Dec 12, 2011, 10:44:16 PM12/12/11
to
is possible to get alpha components with applescript?


--
Togli "LEVA" dal mio indirizzo per contattarmi

Jolly Roger

unread,
Dec 12, 2011, 11:57:32 PM12/12/11
to
In article <1kc76g5.p2r4s3w3ograN%steban...@gmail.com>,
steban...@gmail.com (Stefano) wrote:

> is possible to get alpha components with applescript?

That depends on what you mean by "alpha components", I imagine.

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR

Stefano

unread,
Dec 13, 2011, 5:21:33 AM12/13/11
to
> That depends on what you mean by "alpha components", I imagine.

need to set RGB+Alpha by dialog
in choose color haven't found

thanks for reply :)

Jolly Roger

unread,
Dec 15, 2011, 11:11:05 AM12/15/11
to
Stefano <steban...@gmail.com> wrote:
>> That depends on what you mean by "alpha components", I imagine.
>
> need to set RGB+Alpha by dialog
> in choose color haven't found
>
> thanks for reply :)

You need to explain more of what you are trying to accomplish, and with
which programs.

--
Posted from my iPhone.

Stefano

unread,
Dec 15, 2011, 8:41:51 PM12/15/11
to
> You need to explain more of what you are trying to accomplish, and with
> which programs.

ok sorry :)

want to use applescript to get color+alpha components (i'm writing a script for
configure a little utility)

one of feature of this utility need: RRGGBBAA colour (rgb+a)
in applescript i can use "choose color" for get rgb but can't find a way for set
alpha components

the result I get is: RRGGBBAA
after i can use it in do shell script "defaults write etc etc -data RRGGBBAA"

Jolly Roger

unread,
Dec 15, 2011, 9:09:07 PM12/15/11
to
In article <1kcck4t.1fcwo5z1pmh6zyN%steban...@gmail.com>,
I was afraid of that. The Mac OS standard color picker doesn't display
the alpha channel controls when invoked by the Standard Additions
scripting addition, as far as I know. And if it did, it probably
wouldn't include the alpha channel setting in the results returned to
AppleScripts. : /

Stefano

unread,
Dec 16, 2011, 5:32:58 AM12/16/11
to
> I was afraid of that. The Mac OS standard color picker doesn't display
> the alpha channel controls when invoked by the Standard Additions
> scripting addition, as far as I know. And if it did, it probably
> wouldn't include the alpha channel setting in the results returned to
> AppleScripts. : /

I thought this ... unfortunately
I'll find another way, I hope

thanks for reply :)
0 new messages