RetouchPRO

Go Back   RetouchPRO > Tools > Software > Photoshop Scripting
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Photoshop Scripting Learning and sharing for all platforms

linking layers?

Reply
 
Thread Tools
  #1  
Old 12-10-2004, 04:02 AM
Lasse Lasse is offline
Member
 
Join Date: Dec 2004
Location: Europe
Posts: 54
linking layers?

Hey
I have postet this question in alot of forums last forum was the adobe user to user forum, but still with no answer. So now i have come here in search for an answer, so please provide just the smallest hint if you doesnt know the full answer.

I want to make a really timesavig action, but i get stuck really fast. I want to make the action copy all the original layers to a new layersets. This will make it alot eaasyer to manage it all when the action has run since all the original is in one layerset and all the new layers are in new layersets.

This could be done by linking all tha layers but since there aint any shortcut key to link layers i cant find a way. i cant do it manualy since it records the names so it wount be sure to move all layers.

Hope this make sence, if not ask and ill try explain it more in depth. Im not native english so misunderstandings might ocure.

Im new to this site so i havent tjeckt out your tutrials, but please post links, coments and sugestions.
If you whant an idea of who i am take a look at my introducing in the saloon


Thanks, Lasse
Reply With Quote top
  #2  
Old 12-10-2004, 04:32 AM
byRo's Avatar
byRo byRo is offline
Senior Member
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,609
Doesn't seem all that difficult (but then again, I'm at work and the script stuff is at home).
First have to discover (using ScriptListner, probably) what (sequence of) command(s) will put a layer into a layer set.

Program:
1) Find out how many layers there are in your "original";
2) Make a new layer set;
3) Loop through the add-layer-to-layer-set command for each layer in the original.

Bet I'll discover at home that it's not really so easy after all!

byRo
Reply With Quote top
  #3  
Old 12-10-2004, 04:38 AM
Lasse Lasse is offline
Member
 
Join Date: Dec 2004
Location: Europe
Posts: 54
hey
i havent tryed ScriptListner and i dont know anything about scripting. i have only tryed to make it as an action. the problem is i would like to have the action work on a file where you dont know the number of layers. also when recording an action it records that you are moving layer called layer one for example so if i open a file with a layer called auther then it wount be move no matter how many layers i moved in the action.

i dont think this difers from vesion 6 to cs but i might be wrong. here at school its ps 6 im using but at home i have cs.
Reply With Quote top
  #4  
Old 12-10-2004, 07:45 AM
byRo's Avatar
byRo byRo is offline
Senior Member
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,609
That's the big difference between action and scripting.
Actions are a LOT easier to produce and to use, but you don't get any flexibility. Maybe someone will come up with a way to do this in an action, but I don't know how.
A script will let you address the layers by number and not by name - which solves that problem - and also will let you add a variable quantity of layers to the layer set - which solves the other.
Once you get a script written (!) it is possible to use an action to run the script.

If nobody posts something better I'll try it tonight.

byRo
Reply With Quote top
  #5  
Old 12-10-2004, 09:36 AM
Lasse Lasse is offline
Member
 
Join Date: Dec 2004
Location: Europe
Posts: 54
Thanksi dont know anything about scripting in ps, but i might get starting to learn it. does it requerie alot of knolede about kode and such?

Thanks for your replys.

/Lasse
Reply With Quote top
  #6  
Old 12-10-2004, 01:03 PM
byRo's Avatar
byRo byRo is offline
Senior Member
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,609
You need to be comfortable with programming and a know quite a lot about Photoshop.
If you look at the threads around here, you'll see that Photoshop scripting has not YET become very popular. However it can be fun to learn.

byRo
Reply With Quote top
Reply

  RetouchPRO > Tools > Software > Photoshop Scripting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clipping adj. layers in various blending modes undavide Software 10 07-21-2006 02:44 PM
Understanding when and what type of layers to use in photo restoration Gerald McClaren Photo Restoration 3 12-08-2005 11:34 AM
Linking adjustment layers jenjen Photo Restoration 7 11-11-2005 03:35 PM
Applying a Logo to an Image CJ Max Photoshop Help 5 03-17-2005 05:32 AM
how does PS merge layers? mediatevictoria Photo Compositing 9 05-28-2004 10:46 AM


All times are GMT -6. The time now is 06:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved