Re: Photoshop layer mask scripting - stumped
Re: Photoshop layer mask scripting - stumped
- Subject: Re: Photoshop layer mask scripting - stumped
- From: Martin Orpen <email@hidden>
- Date: Tue, 14 Sep 2004 23:12:51 +0100
on 14/9/04 10:46 pm, Roger Howard at email@hidden wrote:
> Argh, damnit, see my years-long prejudices against UI scripting and now
> I've come crawling back!
Sometimes it's the only way with Photoshop :-(
> Of course, duh. I actually do most of this manually right now with
> keyboard shortcuts (as I do with everything in Photoshop, as much as
> possible). Thanks - this isn't ideal, but it's better than nothing...
> which seems to be the concensus on the Adobe forums, where someone else
> started a thread recently on layer mask scripting.
Haven't been to the forum for a while, but at least you know the keystrokes
if you're an operator.
> Ok, UI Scripting and Actions will do it... hey, the upshot is I always
> found writing UI scripts (mostly with Prefab, and QuicKeys) forced me
> into better commenting habits as it seems to me it's nearly impossible
> to read complex UI scripts and have a clue what they are doing (without
> stepping through it)
>
> Thanks Martin,
No problem.
I've just read Paul Berkowitz's message where he states:
" (For those who wondered, Photoshop CS is tiny in comparison - 41 pages,
628 KB)."
That made me smile - as it's going to come as no surprise to anybody who's
tried to script Photoshop :-) [Not that I've ever used CS]
> PS, I don't mind JavaScript at all, and find the JS implementation in
> Photoshop CS to generally execute scripts faster than the equivalent
> AS... but I didn't have much more luck with the JS object model
> (doesn't seem as is layer masks are fully exposed there either), and
> the output of Script Listener for this task was absolutely
> headache-inducing!
I've had to use Javascript for stuff that you'd assume would be pretty
simple to script using AS - try making a rounded selection...
BTW if you ever want to generate some abstract *art*, be sure to use my
script:
<http://prometheus.idea-digital.com/phpbb2/viewtopic.php?t=246>
And you'll find some more AppleScript "art" here:
<http://inside.rgb2cmyk.com/linpha/third_stage_album.php?prev_path=albums/
07_idea/idea&name=idea&first_name=07_idea>
Regards
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden