Get url "file:///..."

Mike Bonner bonnmike at gmail.com
Mon Jun 20 21:04:47 EDT 2016


On windows, I can't make it work with the extra ///, so it does appear that
os matters.Hopefully the result will give a clue

On Mon, Jun 20, 2016 at 6:52 PM, Dar Scott <dsc at swcp.com> wrote:

> Yeah, checking 'the result' sounds like a good idea.
>
> I don't have a problem with ///, though, on my macOS (as we say instead of
> OS X these days).  Maybe that part depends on the OS.
>
> I have a feeling that we might be missing the core of the problem.
>
>
> > On Jun 20, 2016, at 6:39 PM, Mike Bonner <bonnmike at gmail.com> wrote:
> >
> > Ah. A combination of both.  get url urldecode(" file:/Users/jimhurley/
> > Library/Mail%20Downloads/elec_web/precincts/241.htm")  Still need to get
> > rid of the extra //.  If you check the result on fail it'll probably say
> > "can't open file". You'll need to urldecode to set the folder too if you
> > decide to go that way.
> >
> > On Mon, Jun 20, 2016 at 6:23 PM, Dar Scott <dsc at swcp.com> wrote:
> >
> >> urlDecode() ?
> >>
> >>> On Jun 20, 2016, at 5:54 PM, Jim Hurley <jhurley0305 at sbcglobal.net>
> >> wrote:
> >>>
> >>> I got this web page address from the county election's office:
> >>>
> >>>
> >>
> file:///Users/jimhurley/Library/Mail%20Downloads/elec_web/precincts/241.htm
> >>>
> >>> It opens when I paste  it into the address field in Safari.
> >>>
> >>> But
> >>>
> >>>  get url
> >>
> "file:///Users/jimhurley/Library/Mail%20Downloads/elec_web/precincts/241.htm"
> >>>
> >>> in Live Code leaves "it" empty.
> >>>
> >>> I need to get the source code (programmatically) so that I may parse
> >> "it" for voter results.
> >>>
> >>> Is there something I can do to the address that would make it
> acceptable
> >> to LiveCode's: get url
> >>>
> >>> Jim
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> use-livecode mailing list
> >>> use-livecode at lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >> _______________________________________________
> >> use-livecode mailing list
> >> use-livecode at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list