In article <1kc76g5.p2r4s3w3ograN%steban63L...@gmail.com>,
steban63L...@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.
> 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"
steban63L...@gmail.com (Stefano) wrote:
> > 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"
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. : /
-- 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.
> 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