I'm running the latest version of the simulator and with LC 4.6.4 it now works,
but with 4.6.3 and earlier it doesn't.
Gerry
-- http://gerryorkin.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsub
Ok, will try that.
Thanks.
On Sep 15, 2011, at 1:21 PM, J. Landman Gay wrote:
> On 9/15/11 2:06 PM, James Little wrote:
>>
>> Do you know, will it be possible to load local files in the simulator
>> in a future LiveCode build? Or is this too much to expect with the
>> simulator?
>
> I don't
On 9/15/11 2:06 PM, James Little wrote:
Do you know, will it be possible to load local files in the simulator
in a future LiveCode build? Or is this too much to expect with the
simulator?
I don't think it's a LiveCode issue, it's probably the old version of
the simulator I'm using. Dixie say
On 9/15/11 2:34 PM, John Dixon wrote:
Sorry Jacque... loading a local file DOES work in the simulator...
Ah, okay. Good to know. It's probably my version of the simulator, I
haven't updated yet to the latest. I guess it's time to brace for the
gigabyte download. I wasn't sure if it would wor
Sorry Jacque... loading a local file DOES work in the simulator...
Dixie
> On Sep 14, 2011, at 8:21 PM, J. Landman Gay wrote:
>
> > Okay. Solved.
> > Loading a local file does NOT work in the simulator. My script, which is
> > similar to all your examples, works great on my real live iPad.
Do you know, will it be possible to load local files in the simulator in a
future LiveCode build? Or is this too much to expect with the simulator?
Jim L.
On Sep 14, 2011, at 8:21 PM, J. Landman Gay wrote:
> Okay. Solved.
>
> Loading a local file does NOT work in the simulator. My scrip
3 I believe if you are using the full path. The extra slash means "The boot
volume" as in /Users or /Library. If SpecialFolderPath returns the full path to
the special folder then 2 should do it. I just checked and it does so the 2
slashes are all you need. I also entered your bit of code into t
On 9/14/11 10:15 PM, Roger Eller wrote:
On which mobile platform? We don't have a browser control on Android yet.
I was just checking the path to make sure I didn't have my slashes all
wrong. On Android I used the "launch" command and it popped up a choice
of html viewers. I'm glad that's w
On 9/14/11 10:28 PM, Gerry Orkin wrote:
Loading a local file does NOT work in the simulator. My script,
which is similar to all your examples, works great on my real live
iPad.
D'oh. I knew that from my own bitter experience loading local .pdfs.
Sorry, should have remembered :(
That's okay. I
> Loading a local file does NOT work in the simulator. My script, which is
> similar to all your examples, works great on my real live iPad.
D'oh. I knew that from my own bitter experience loading local .pdfs. Sorry,
should have remembered :(
Gerry
Okay. Solved.
Loading a local file does NOT work in the simulator. My script, which is
similar to all your examples, works great on my real live iPad.
At least I know now. I wish I'd known sooner.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software
On Wed, Sep 14, 2011 at 11:11 PM, J. Landman Gay wrote:
> On 9/14/11 9:11 PM, Roger Eller wrote:
>
> With file: and binfile: on Windows, I never put slashes after :
>>
>> put quote& "file:"& specialFolderPath("documents")& slash&
>> "docs.html"&
>> quote into tURL
>>
>
> That's what I'm doing
On 9/14/11 9:11 PM, Roger Eller wrote:
With file: and binfile: on Windows, I never put slashes after :
put quote& "file:"& specialFolderPath("documents")& slash& "docs.html"&
quote into tURL
That's what I'm doing to copy the files to the documents folder, and
that part works. Still tinke
On 9/14/11 9:13 PM, chris thompson wrote:
Here is a code snippet that works for me:
put "file://"& specialFolderPath("documents")& "/MyFile.html" into theURL
replace space with "%20" in theURL
iphoneControlCreate "browser"
put the result into browserID
iphoneControlSet bro
Here is a code snippet that works for me:
put "file://" & specialFolderPath("documents") & "/MyFile.html" into theURL
replace space with "%20" in theURL
iphoneControlCreate "browser"
put the result into browserID
iphoneControlSet browserID, "visible", "true"
iphoneControlSet
On Wed, Sep 14, 2011 at 9:59 PM, J. Landman Gay wrote:
> On 9/14/11 6:29 PM, John Dixon wrote:
>
>>
>> Jacque..
>> try...
>> put "file://"& specialFolderPath("documents")& slash& "docs.html" into
>> tURL
>>
>
>
> Anyone know how many slashes should there be? I've seen examples with none,
> one,
Mine works with 2, but oddly, if I remove the %20 replace it doesn't. Here's an
example:
put "file://" & specialFolderPath("Documents")&"/"&"hearts.html" into localURL
replace " " with "%20" in localURL
iphoneControlSet sHeartsScrollerId, "url", localURL
Gerry
On 15/09/2011, at 11:59 AM, J. L
On 9/14/11 6:29 PM, John Dixon wrote:
Jacque..
try...
put "file://"& specialFolderPath("documents")& slash& "docs.html" into tURL
Anyone know how many slashes should there be? I've seen examples with
none, one, two, and three.
I also tried setting the defaultfolder to documents and usin
On 9/14/11 6:29 PM, John Dixon wrote:
Jacque..
try...
put "file://"& specialFolderPath("documents")& slash& "docs.html" into tURLreplace space with
"20%" in tURLiphoneControlSet sBrowserID, "url", tURL
Thanks, but my path doesn't have any spaces, it's just as I typed it
here. I tried
Nope, it's still missing the return! Weird.
Gerry
On 15/09/2011, at 10:19 AM, John Dixon wrote:
> put "file://" & specialFolderPath("documents") & slash & "docs.html" into
> tURLreplace space with "20%" in tURLiphoneControlSet sBrowserID, "url", tURL
_
There was when I wrote it... but obviously not when it arrived... :-(
put "file://" & specialFolderPath("documents") & slash & "docs.html" into
tURLreplace space with "20%" in tURLiphoneControlSet sBrowserID, "url", tURL
might be be
I'm going to say there was supposed to be a cr in there somewhere...
On Sep 14, 2011, at 4:29 PM, John Dixon wrote:
>
> Jacque..
> try...
> put "file://" & specialFolderPath("documents") & slash & "docs.html" into
> tURLreplace space with "20%" in tURLiphoneControlSet sBrowserID, "url", tURL
>
Jacque..
try...
put "file://" & specialFolderPath("documents") & slash & "docs.html" into
tURLreplace space with "20%" in tURLiphoneControlSet sBrowserID, "url", tURL
> I can't get a local file to load into a UIWebView control. The control
> loads a remote url from my server okay, so it's work
23 matches
Mail list logo