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

2016-06-21 Thread [-hh]
textutil -convert txt /path/to/folder/inputfile.html -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Get-url-file-tp4705988p4706034.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-live

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

2016-06-21 Thread [-hh]
t;htm" put shell("textutil -convert txt " & f0&"*.htm") into nirwana end mouseUp -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Get-url-file-tp4705988p4706032.html Sent from the Revolution - User mailing list archive at Nabb

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

2016-06-21 Thread Dar Scott
> On Jun 21, 2016, at 10:09 AM, Klaus major-k wrote: > >> Yes, that works well. Thank you. >> But it gives me the html source code. > > yes, I thought that is what you were after! Not? Yeah, that's what I thought. I made that incorrect assumption when the first proximate

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

2016-06-21 Thread J. Landman Gay
sing this link: http://www.google.com/advanced_search?q=site:lists.runrev.com Message: 1 Date: Mon, 20 Jun 2016 22:06:41 -0700 (PDT) From: "[-hh]" <h...@hh.on-rev.com> To: use-revolut...@lists.runrev.com Subject: Re: Get url "file:///..." Message-ID: <1466485601879-4706007.p...

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

2016-06-21 Thread Klaus major-k
t; > put url "file:/Users/jimhurley/Library/Mail > Downloads/elec_web/precincts/241.htm" into msg box > On Jun 21, 2016, at 3:00 AM, use-livecode-requ...@lists.runrev.com wrote: > >> >> Message: 1 >> Date: Mon, 20 Jun 2016 22:06:41 -0700 (PDT) >> From:

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

2016-06-21 Thread Jim Hurley
ing this link: > > http://www.google.com/advanced_search?q=site:lists.runrev.com > > > Message: 1 > Date: Mon, 20 Jun 2016 22:06:41 -0700 (PDT) > From: "[-hh]" <h...@hh.on-rev.com> > To: use-revolut...@lists.runrev.com > Subject: Re: Get url "fil

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

2016-06-21 Thread Richard Gaskin
ddress 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 vot

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

2016-06-21 Thread Dar Scott
rstatement of the year: "Using above "text" instead of "source" may save >> you some work." >> >> It saves a mountain of parsing. >> >> Shouldn't this be a part of LiveCode? >> >> Jim Hurley >> >>&

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

2016-06-21 Thread Klaus major-k
gt; >> Message: 1 >> Date: Mon, 20 Jun 2016 22:06:41 -0700 (PDT) >> From: "[-hh]" <h...@hh.on-rev.com> >> To: use-revolut...@lists.runrev.com >> Subject: Re: Get url "file:///..." >> Message-ID: <1466485601879-4706007.p...@n4.nabble

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

2016-06-21 Thread Jim Hurley
06:41 -0700 (PDT) > From: "[-hh]" <h...@hh.on-rev.com> > To: use-revolut...@lists.runrev.com > Subject: Re: Get url "file:///..." > Message-ID: <1466485601879-4706007.p...@n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > > A

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

2016-06-20 Thread [-hh]
t;tell application " & q&"Safari" & \ " open POSIX file " & q(f) & \ " set rslt to " & x & " of document 1" & \ "end tell" end iScript -- View this messa

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

2016-06-20 Thread J. Landman Gay
/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 (progr

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

2016-06-20 Thread Monte Goulding
> On 21 Jun 2016, at 11:37 AM, Jim Hurley wrote: > > Thanks for all the suggestions. So far no luck with any. > > No combination of back slashes work, and urlDecode() simply returns the file > name. > > Sarfari opens the file with no difficulty. > > Apparently

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

2016-06-20 Thread Mike Bonner
Great minds > > You might want to get rid of any control characters that got caught in the > string as you did a copy and paste. > > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

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

2016-06-20 Thread Mike Bonner
0me/steering.txt"); put it && the result ) If it works the result will be empty and you'll see the contents of the file. If it doesn't work, hopefully the result will show the error. Did you try setting the folder method? set the folder to urldecode("/Users/jimHurley/Library/Mail%20Downloa

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

2016-06-20 Thread Dar Scott
t;> On Mon, Jun 20, 2016 at 6:23 PM, Dar Scott wrote: >> >>> urlDecode() ? >>> >>>> On Jun 20, 2016, at 5:54 PM, Jim Hurley >>> wrote: >>>> >>>> I got this web page address from the county election's office: >>>

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

2016-06-20 Thread Jim Hurley
;> >>> 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. >>> >

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

2016-06-20 Thread Mike Bonner
gt; > >> wrote: > >>> > >>> I got this web page address from the county election's office: > >>> > >>> > >> > file:///Users/jimhurley/Library/Mail%20Downloads/elec_web/precincts/241.htm > >>> > >>>

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

2016-06-20 Thread Dar Scott
cglobal.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 add

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

2016-06-20 Thread Mike Bonner
n'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

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

2016-06-20 Thread Dar Scott
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 th

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

2016-06-20 Thread Mike Bonner
text 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

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

2016-06-20 Thread Mike Bonner
, (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

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

2016-06-20 Thread Jim Hurley
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/precinct