Creativebits.org

an All Creative World site
Officer Swank's picture
6 pencils

"Center to selection"-script?

Hi!
I wonder if there's any way of centering one layer (moving it) depending on a selected area or spot. I have a big map which is a huge layer and I'm supposed to cut it into many smaller pieces highlighting only some selected areas (see picture below). Since there's alot of areas I'd like to make as much of it automatically and I've managed everything else by by using actions but I can't figure out how to center the layer so that the selected area is the one in the center.

Can this maybe be done using scripts? If so, how? I know nothing about scripting..

I'm also interested in a script that can save and image to something based on a text layer, eg: myimagename + "_" + textlayer1.contents + extension
or something similar..

Thanks in advance!
/ante

Commenting on this Forum topic is closed.

Martin Koch's picture
82 pencils

Here's a zoom and center to selection script:
http://www.wundes.com/js4ai/displayFilesWTemplate.pl

But I'm afraid that's not what you are looking for.

Officer Swank's picture
6 pencils

Oh.. I should probably mention that I'm working in Photoshop...

Anonymous's picture

Obviously I am a beginner.

How do you center text?

Creativebits is a blog about creativity, design and Macs. We also have a critique section where you can post your work to get opinions and a forum to discuss any design related topics.

Recommend us on Google

Latest critique

Do you need a great new logo?

If you need a logo for your company or product you can get it done with us.
In our logo store you can pick from over 28,000 pre-made logos that will be customized to your name for free or you can post a contest for us for just $250 and our designers from all over the world will submit dozens of logo design suggestions to your specific needs.

Marketplace