"copy files", specialfolderpath("resources") and missing files = SHOWSTOPPER

Klaus major-k klaus at major-k.de
Mon Aug 12 12:22:56 EDT 2019


Hi Hermann,

> Am 10.08.2019 um 19:32 schrieb hh via use-livecode <use-livecode at lists.runrev.com>:
> 
>> Klaus M. wrote:
>> yes, success, at least partly, now I get a SHELL error -> ... access denied
>> Although I "chmod"ded that file to "777" (via the INFO window on my Mac), so
>> everyone should be able to access it, before I put it into a custom property
>> of my stack. What can I do to make it run? Anything I am overseeing? 
> This works for me:
> set the myp of this stack to url ("binfile:"<the compiled shellfile>))
> 
> Then
> put the temporaryfolder & "/"& <mypName> into f1
> replace "//" with "/"in f1 -- avoid platform bugs
> put the myp of this stack into url ("binfile:"&f1)
> put shell("chmod 777 "&f1) into nirwana

quick feddback: I now use this way and it works great! :-)


Best

Klaus

--
Klaus Major
https://www.major-k.de
klaus at major-k.de





More information about the Use-livecode mailing list