Get url "file:///..."
Mike Bonner
bonnmike at gmail.com
Mon Jun 20 20:00:55 EDT 2016
Try changing it to this: file:/Users/jimhurley/
Library/Mail%20Downloads/elec_web/precincts/241.htm
Alternatively, you can probably use a browser widget and set the url to
file:///Users/jimhurley/Library/Mail%20Downloads/elec_web/precincts/241.htm
then get the htmltext of the browser widget, (since it knows how to handle
file:///... type urls) but just eliminating the superfluous // should help.
Yet another option. Set the default folder to "/Users/jimhurley/
Library/Mail%20Downloads/elec_web/precincts"
at which point you can simply: get URL "file:241.htm"
On Mon, 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
>
More information about the use-livecode
mailing list