set a prop after get url a stackfile

Klaus Major klaus at major-k.de
Fri Apr 1 12:51:38 EST 2005


Bon soir Thierry,

> Hi Dan,
>
> DS> You made a tiny but important mistake.
> DS> On Apr 1, 2005, at 8:49 AM, thierry wrote:
>
>>>   put  url ( "binfile:" & theFullpath ) into aAnonymousStack
>
> DS> Instead of "put", use "get" and don't put it into anything.
>
> DS> get url ("binfile:" & theFullPath)
> DS> put the short name of it into aAnonymousStack
>
> i got a Script error at "of it".
> the file has been loaded correctly. ?????

try this:

  get url ("binfile:" & theFullPath)
  put the short name of STACK it into aAnonymousStack

Hope that helps...

> testing on Win98 Rev2.5.1
>
> DS> Then aAnonymousStack contains the name of the stack downloaded 
> rather
> DS> than the downloaded file itself.
>
> DS> I tested that here and it seems to work.
>
> Best regards,  thierry

Best

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



More information about the use-livecode mailing list