Page 1 of 1

file won't load

Posted: Thu Jan 14, 2016 5:44 pm
by mister
Shouldn't this work? There is content in the file. it will load using the contents section of the property inspector. this is the 8th card of my stack and all the other "load files" calls work fine. i don't get it.

Code: Select all

 put specialFolderPath("documents") & "/ route.txt" into tFile
   put URL("file:" & tFile) into field "rollCall2" of card "list"
Larry

Re: file won't load

Posted: Thu Jan 14, 2016 5:47 pm
by ittarter
Is there supposed to be a space in front of route.txt, after the slash?

Re: file won't load

Posted: Thu Jan 14, 2016 5:56 pm
by mister
Thank you

The littlest things that evade the eye sometimes.

Re: file won't load

Posted: Thu Jan 14, 2016 5:59 pm
by dunbarx
Hi.

A pathName should not have spurious spaces anywhere, only, perhaps within the explicit name of a folder, as in "/" & "my folder".

But you already answered at least one question. What happens when you delete that space?

Craig Newman