Welcome, Anonymous (Profile, Private Messages)
Having trouble signing into the forums? Please [ logout ] and log back in.
 Log inLog in 
SEARCH:     » Advanced Search

Shutterstock Photographer Forum Forum Index : Critique / Tips / Tricks :
Script to generate full size crop and resized photos
Page Previous  1, 2
 
Post new topic    Reply to topic
Author Message
Mike Price


Joined: 06 Jun 2008
Posts: 2920
Location: South Wales

Post Posted: Sun Jul 22, 2012 11:25 am     Reply with quote

marcusvdt wrote:
jeffbanke wrote:
Marcus, OK, I don't know why now I cannot get it to run on either my Windows 7 Laptop or my iMAC, getting the same kind of error referring to line 2


Hi Jeff! This line refers to where the script automatically gets the current active document which should be already opened for editing in Photoshop. If you don't have an opened document when you load the script, then you will get this error.

I suppose you did not followed the instructions as in the first post of this thread. To avoid the same problem with other users, I've updated the script so it checks if there is an active document when you load it. Just download it again from the first post and follow the instructions on the first post.



Works great with windows 7 and cs5 and cs6. You are correct, I can get Jeff's error if I try to load the script without a document open.

Mike
marcusvdt


Joined: 12 Feb 2009
Posts: 1204
Location: www.flashbackfoto.com.br or www.facebook.com/flashbackfoto

Post Posted: Sun Jul 22, 2012 2:22 pm     Reply with quote

Mike Price wrote:
marcusvdt wrote:
jeffbanke wrote:
Marcus, OK, I don't know why now I cannot get it to run on either my Windows 7 Laptop or my iMAC, getting the same kind of error referring to line 2


Hi Jeff! This line refers to where the script automatically gets the current active document which should be already opened for editing in Photoshop. If you don't have an opened document when you load the script, then you will get this error.

I suppose you did not followed the instructions as in the first post of this thread. To avoid the same problem with other users, I've updated the script so it checks if there is an active document when you load it. Just download it again from the first post and follow the instructions on the first post.



Works great with windows 7 and cs5 and cs6. You are correct, I can get Jeff's error if I try to load the script without a document open.

Mike

That's right. If you get the latest version, it checks for a document open and if it does not exist, it will let you know.
jason bell


Joined: 22 Jun 2012
Posts: 132

Post Posted: Sun Jul 22, 2012 8:18 pm     Reply with quote

thank you very much!!! i have trouble getting crops! not any more ;)
regards jason
jeffbanke


Joined: 18 Dec 2005
Posts: 17468
Location: www.xlr8photo.com, The real California

Post Posted: Mon Jul 23, 2012 12:55 am     Reply with quote

marcusvdt wrote:
jeffbanke wrote:
Marcus, OK, I don't know why now I cannot get it to run on either my Windows 7 Laptop or my iMAC, getting the same kind of error referring to line 2


Hi Jeff! This line refers to where the script automatically gets the current active document which should be already opened for editing in Photoshop. If you don't have an opened document when you load the script, then you will get this error.

I suppose you did not followed the instructions as in the first post of this thread. To avoid the same problem with other users, I've updated the script so it checks if there is an active document when you load it. Just download it again from the first post and follow the instructions on the first post.


You are right Marcus, My bad, I just forgot to have a doc open :-)
scheriton


Joined: 28 Dec 2010
Posts: 736
Location: London, UK

Post Posted: Tue Jul 24, 2012 5:13 pm     Reply with quote

Sweet, Marcus.

MacPro, Lion, CS5.

Can you tell us how to make the script permanently available in PS?
marcusvdt


Joined: 12 Feb 2009
Posts: 1204
Location: www.flashbackfoto.com.br or www.facebook.com/flashbackfoto

Post Posted: Tue Jul 24, 2012 5:36 pm     Reply with quote

scheriton wrote:
Sweet, Marcus.

MacPro, Lion, CS5.

Can you tell us how to make the script permanently available in PS?

Thanks!

Sure, I can tell but since this information is ready on many internet sites already, instead of showing myself, I'll just give a link for one blog where the guy say how to create keyboard shortcuts to call scripts:

http://tranberry.com/photoshop/photoshop_scripting/tips/script_shortcut.html
scheriton


Joined: 28 Dec 2010
Posts: 736
Location: London, UK

Post Posted: Wed Jul 25, 2012 3:45 am     Reply with quote

I actually meant how do you add it to the File > Scripts menu in PS, but I found the way to do it is close PS, then copy the *.jsx file into the Presets > Scripts folder on your hard drive.

On a Mac this is under;
Applications > Adobe Photoshop CS5 > Presets > Scripts

Not too sure where it is on a PC, but I assume similar.

Then when you re-open PS your script is available under File>Scripts.

Thereafter you can use the link you supplied to create an action, or assign a shortcut key.

Nice!
Mike Price


Joined: 06 Jun 2008
Posts: 2920
Location: South Wales

Post Posted: Wed Jul 25, 2012 4:58 am     Reply with quote

scheriton wrote:
I actually meant how do you add it to the File > Scripts menu in PS, but I found the way to do it is close PS, then copy the *.jsx file into the Presets > Scripts folder on your hard drive.

On a Mac this is under;
Applications > Adobe Photoshop CS5 > Presets > Scripts

Not too sure where it is on a PC, but I assume similar.

Then when you re-open PS your script is available under File>Scripts.



Thereafter you can use the link you supplied to create an action, or assign a shortcut key.

Nice!


It is the same on a Pc, just place in the scripts folder in PS. On a PC it is under program files, rather than applications, rest is same.

Mike
alaroarts


Joined: 12 Jan 2012
Posts: 38

Post Posted: Fri Nov 23, 2012 5:33 am     Reply with quote

Great programme thanks!
 
Display posts from previous:   
Post new topic   Reply to topic Page 2 of 2 All times are GMT - 5 Hours
Page Previous  1, 2

 


Shutterstock Forum for Contributors