I agree. There is something we are missing. (Trying to access as some other user?)
> On Jun 21, 2016, at 7:18 AM, Klaus major-k <kl...@major-k.de> wrote: > > Hi Jim, > > not sure I understand the problem, but this should give you the TEXT/source > of that file: > ... > put url "file:/Users/jimhurley/Library/Mail > Downloads/elec_web/precincts/241.htm" into tSource > ... > >> Am 21.06.2016 um 15:11 schrieb Jim Hurley <jhurley0...@sbcglobal.net>: >> >> Thank you so much. Sooooo useful! >> >> Understatement 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 >> >>> 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.com> >>> Content-Type: text/plain; charset=us-ascii >>> >>> Assuming you are on a Mac: >>> The following should work from 10.4 to 10.12 with LC 5/6/7/8. >>> >>> on mouseUp >>> put "/Users/jimhurley/Library/Mail%20Downloads/elec_web/precincts/241.htm" >>> into f >>> put "source" into sOrT --> one of "source", "text", "URL" >>> do iScript(f, sOrT) as applescript >>> put the result into fld 1 >>> end mouseUp >>> >>> Using above "text" instead of "source" may save you some work. >>> (The LC interpretation as htmltext does the same but somehow 'uncomplete'). >>> >>> function iScript f,x >>> put numToChar(34) into q >>> return "tell application " & q&"Safari"&q &cr& \ >>> " open POSIX file " & q&URLdecode(f)&q &cr& \ >>> " set rslt to " & x & " of document 1" &cr& \ >>> "end tell" >>> end iScript > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > kl...@major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode