Re: Options for file operations
Re: Options for file operations
- Subject: Re: Options for file operations
- From: Stan Cleveland <email@hidden>
- Date: Thu, 10 Feb 2011 17:01:04 -0800
On Feb 10, 2011, at 3:46 PM, Shane Stanley wrote:
> <snip>
>
> do shell script will win easily for both reliability and speed
Thanks for your valuable insights, Shane! I declare 'do shell script' to be the winner.
> (and the fact that shell commands don't need rewriting with OS
> upgrades, as happens all-too-often with System Events stuff).
True for shell commands, but a couple years back, the net-sftp RubyGem broke some scripts when it went to version 2.0 with a ground-up rewrite. I hadn't checked for backward compatibility before blindly upgrading.
> The only downside is that very long operations (say, big copies
> to remote disks) are susceptible to the escape-key bug.
The escape-key bug is an acceptable risk, since the scripts are all running on dedicated machines. It's probably a greater risk that Photoshop, or some other UI dragger, would get pushed to the background, lose focus, and break.
Many thanks,
Stan C.
_______________________________________________
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