Re: Asking for Photoshop Batch help please.
Re: Asking for Photoshop Batch help please.
- Subject: Re: Asking for Photoshop Batch help please.
- From: Simon Topliss <email@hidden>
- Date: Wed, 01 Aug 2012 11:25:04 +0100
On 1 Aug 2012, at 11:12, Brian Christmas <email@hidden> wrote:
> Simon, the only nested tell statements are in a repeat loop, and I simply couldn't be bothered writing two 'tell application "Finder" ' routines as subroutines, and passing all the variables, or making them global. They were done as an extra thought, and I simply rattled them off.
Your design is bad and this approach will come back to bite you. Split of the code into separate subroutines.
You won't improve as a scripter unless you push yourself into trying more advance techniques.
It doesn't how small the script is. Do it properly so that if it does grow, you've got a better base to build on. It also helps you share your code should you need it again in the future.
Ignore me if you want. Just some friendly advice.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden