Photoshop Gurus Forum  

Go Back   Photoshop Gurus Forum > Photoshop Resources > Best Filters and Plugins
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Welcome to the Photoshop Gurus Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-10-2004, 10:20 AM
Junior Member
 
Join Date: Apr 2004
Posts: 1
Send a message via Yahoo to mariuszn3
Scripting issues.. (how to create an adjustment layer etc..)

Hi I just started to make use of scripting for Photoshop.. and I have few.. issues I can't get through..
1. How can I create an adjustment layer (like curves.. etc)?
the following code doesn't do the job:

var artLayerRef = app.activeDocument.artLayers.add();
artLayerRef.kind = LayerKind.CURVES;

it says that I can only change to normal or text layer.. how then I can right away create CURVES layer?? Is that possible?

2. Can I make use of "Save for Web" option from File menu (it is possible with Actions)? I noticed only the option to use standard save as jpg... which is not so good in some cases..

3. .. can I use scripts to run photoshop actions.. (in case of some disabilities of scripting which actions can go through.. hope there's none.. ?
Sorry if my issues are simply silly but I'm completely newbie to PS scripting.. and quite fresh to scripting at all.. I've just spend few hours trying to create simple solid color layer using script.. with no success Thanks for help..

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:37 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0