Scratch that!

The secret was in the ImageMagick documentation. When doing a Windows Batch 
Script (and apparently a Mac OS BASH script too) replace '\' with '^'.

Yay!

Wayne Irvine

On 13/04/2012, at 1:43 PM, Wayne Irvine wrote:

> It works! (sorta)
>
> I have now changed the BASH script and the Command Line action.
>
> First a make a VAR cmd and assign it like the following:
>
> <@ASSIGN NAME=cmd SCOPE=local 
> VALUE='/Library/Server/Web/Data/Sites/~luxe/tours/raw/IllyFreak679212.jpg 
> -resize 200x200 
> /Library/Server/Web/Data/Sites/~luxe/tours/images/IllyFreak679212.jpg'>
>
> The Command Line action is:
>
> Command: /Library/Server/Web/Data/Sites/~luxe/admin/resizeimage.sh
>
> Environment Variable:
> cmd   @@local$cmd
>
> Trouble is the actual command I want to use is:
>
> -resize 200x200\>
>
> The backslash is causing an error. I have tried escaping it:
>
> -resize 200x200\\>
>
> But no difference.
>
> Any clues?
>
> Wayne Irvine
>
>
> To unsubscribe from this list, please send an email to 
> [email protected] with "unsubscribe terascript-talk" in the body.



----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to