Mac OS Terminal Zip Command – Run from Omnis
Hello Michael
Perhaps it would be well to put the full path “users/UserName/desktop” ?
HTH
Regards,
Jean-Marc
> Le 17 nov. 2017 à 22:05, Michael Mantkowski <michaelj@clientrax.com> a écrit :
>
> I can run th efollowing command in OSX Terminal and it will create a Zip file of all the files in the Pictures folder.
>
> Zip -r “Desktop/Omnis 4321/Test.zip” “Desktop/Omnis 4321/Pictures”
>
> However, when I try to do it from Omnis with the below code I get lvError=1753 (Script Error). I suspect it has to do with the Quotes. Tried several variations but no luck. Any ideas?
>
> Begin text block
> Text: do shell script ” Zip -r “Desktop/Omnis 4321/Test.zip” “Desktop/Omnis 4321/Pictures”” (Carriage return)
> End text block
> Get text block lvText
> Do $runapplescript(lvText,lvReturn) Returns lvError
>
> *********************************************************************
> Michael Mantkowski
> ClienTrax Software
> 1-614-875-2245
> *********************************************************************
>
>
> _____________________________________________________________
> Manage your list subscriptions at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com