On 16/04/2010, at 10.15, Raphael Sebbe wrote:
> Hi Jens,
>
> yes, osascript does the job, but it's a bit clumsy to pass along variables, etc.
>
> Thanks,
>
> Raphael
>
> On Thu, Apr 15, 2010 at 6:02 PM, Jens Alfke <
email@hidden> wrote:
>
> On Apr 15, 2010, at 5:38 AM, Raphael Sebbe wrote:
>
> 1. have feedback for that command within Xcode,
>
> I don't think so, because I haven't seen any case where Xcode shows information about the progress within an individual build command.
>
>
> 2. execute the script in an external Terminal.app, to monitor its progress.
>
> You can probably make your shell script use the 'osascript' command to send an AppleEvent to Terminal telling it the command line to run. I don't think there's a way to have it block until the 'scp' command finishes, though.
>
> —Jens
>
>
>
> --
> Raphael Sebbe
> Creaceed — Creative iPhone & Mac apps
> ••• Twitter:
http://twitter.com/rsebbe
> ••• Web:
http://www.creaceed.com