Re: Dirty HTTP Launch

2017-02-02 Thread Bob Sneidar via use-livecode
err... that are white spaces that is.

Bob S


On Feb 2, 2017, at 07:41 , Bob Sneidar 
> wrote:

Actually it works to take out any number of beginning and ending characters.

Bob S

___
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


Re: Dirty HTTP Launch

2017-02-02 Thread Bob Sneidar via use-livecode
Actually it works to take out any number of beginning and ending characters.

Bob S


On Feb 1, 2017, at 18:10 , Tom Glod via use-livecode 
> wrote:

scratch that...bob's solution works and isn't likley to do anything ever
except take out the last space.  great jobthere should be no spaces in
URLs anyways..thanks Bob

___
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


Re: Dirty HTTP Launch

2017-02-01 Thread Tom Glod via use-livecode
scratch that...bob's solution works and isn't likley to do anything ever
except take out the last space.  great jobthere should be no spaces in
URLs anyways..thanks Bob

On Wed, Feb 1, 2017 at 9:05 PM, Tom Glod  wrote:

> Bob, I can't really use yours since it doesn't always happen and
> Mike's suggestion did not work.. there is no magnifying glass in the
> variable watcher, so it is just the last character.  replace space with
> empty also didn't work.  head scratching continues.
>
> On Mon, Jan 30, 2017 at 5:54 PM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Try replacing the variable holding the URL (let's assume it's tVar) with
>> word 1 to -1 of tVar.
>>
>> As in put word 1 to -1 of tVar into tVar
>>
>> Bob S
>>
>>
>> > On Jan 30, 2017, at 10:34 , Tom Glod via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> >
>> > the URL is read as an ITEM from a line in a file that was generated by
>> PHP
>> > (which is I am sure where the cr comes from)
>> >
>> > PHP code just concatnates label "HTTP Link, item delimiter "=" and the
>> URL
>> > starting with HTTP.
>> >
>> > I think I will just write a little repeat loop to rewrite the URL
>> before I
>> > send it off to the launch command.   Gonna try format function too
>> >
>> >
>> >
>> > On Mon, Jan 30, 2017 at 1:24 PM, Mike Bonner via use-livecode <
>> > use-livecode@lists.runrev.com> wrote:
>> >
>> >> Mind posting the code that you use to build the url?
>> >>
>> >> On Mon, Jan 30, 2017 at 11:16 AM, Tom Glod via use-livecode <
>> >> use-livecode@lists.runrev.com> wrote:
>> >>
>> >>> I will try to clean it somehow as nothing (no cr) appears at the end
>> >> until
>> >>> i run the launch url command i guess i can just rewrite the
>> variable
>> >>> somehow.  Thanks
>> >>>
>> >>> On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode <
>> >>> use-livecode@lists.runrev.com> wrote:
>> >>>
>>  Most likely you have an extraneous cr at the end of the url, and its
>>  showing as html encoded.  If thats the case, before you
>>  encode/launch/whatever, remove the cr and it should go away.
>> 
>> 
>>  On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode <
>>  use-livecode@lists.runrev.com> wrote:
>> 
>> > Hi Livecoders,
>> >
>> > I have a license file generated by PHP and when I bring it into LC I
>>  parse
>> > it for data. should be easy right?
>> >
>> > So I parse an http link and upon the using launch url command, I
>> >>> realize
>> > there is garbage at the end of the URL... the end of line "%0d"
>> >> garbage
>>  to
>> > be exact.
>> >
>> > Anyone know how to clean this? it doesn't apprear at the end of the
>> > variable that i am using to store the http URL...just appears after
>> >> the
>> > launch url command.
>> >
>> > Thanks for any help on this
>> >
>> > Tom
>> > ___
>> > 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
>> 
>> >>> ___
>> >>> 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
>> >>
>> > ___
>> > 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
>>
>
>
___
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


Re: Dirty HTTP Launch

2017-02-01 Thread Tom Glod via use-livecode
Bob, I can't really use yours since it doesn't always happen and Mike's
suggestion did not work.. there is no magnifying glass in the variable
watcher, so it is just the last character.  replace space with empty also
didn't work.  head scratching continues.

On Mon, Jan 30, 2017 at 5:54 PM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Try replacing the variable holding the URL (let's assume it's tVar) with
> word 1 to -1 of tVar.
>
> As in put word 1 to -1 of tVar into tVar
>
> Bob S
>
>
> > On Jan 30, 2017, at 10:34 , Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > the URL is read as an ITEM from a line in a file that was generated by
> PHP
> > (which is I am sure where the cr comes from)
> >
> > PHP code just concatnates label "HTTP Link, item delimiter "=" and the
> URL
> > starting with HTTP.
> >
> > I think I will just write a little repeat loop to rewrite the URL before
> I
> > send it off to the launch command.   Gonna try format function too
> >
> >
> >
> > On Mon, Jan 30, 2017 at 1:24 PM, Mike Bonner via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Mind posting the code that you use to build the url?
> >>
> >> On Mon, Jan 30, 2017 at 11:16 AM, Tom Glod via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> I will try to clean it somehow as nothing (no cr) appears at the end
> >> until
> >>> i run the launch url command i guess i can just rewrite the
> variable
> >>> somehow.  Thanks
> >>>
> >>> On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode <
> >>> use-livecode@lists.runrev.com> wrote:
> >>>
>  Most likely you have an extraneous cr at the end of the url, and its
>  showing as html encoded.  If thats the case, before you
>  encode/launch/whatever, remove the cr and it should go away.
> 
> 
>  On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode <
>  use-livecode@lists.runrev.com> wrote:
> 
> > Hi Livecoders,
> >
> > I have a license file generated by PHP and when I bring it into LC I
>  parse
> > it for data. should be easy right?
> >
> > So I parse an http link and upon the using launch url command, I
> >>> realize
> > there is garbage at the end of the URL... the end of line "%0d"
> >> garbage
>  to
> > be exact.
> >
> > Anyone know how to clean this? it doesn't apprear at the end of the
> > variable that i am using to store the http URL...just appears after
> >> the
> > launch url command.
> >
> > Thanks for any help on this
> >
> > Tom
> > ___
> > 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
> 
> >>> ___
> >>> 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
> >>
> > ___
> > 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
>
___
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


Re: Dirty HTTP Launch

2017-01-30 Thread Bob Sneidar via use-livecode
Try replacing the variable holding the URL (let's assume it's tVar) with word 1 
to -1 of tVar. 

As in put word 1 to -1 of tVar into tVar

Bob S


> On Jan 30, 2017, at 10:34 , Tom Glod via use-livecode 
>  wrote:
> 
> the URL is read as an ITEM from a line in a file that was generated by PHP
> (which is I am sure where the cr comes from)
> 
> PHP code just concatnates label "HTTP Link, item delimiter "=" and the URL
> starting with HTTP.
> 
> I think I will just write a little repeat loop to rewrite the URL before I
> send it off to the launch command.   Gonna try format function too
> 
> 
> 
> On Mon, Jan 30, 2017 at 1:24 PM, Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Mind posting the code that you use to build the url?
>> 
>> On Mon, Jan 30, 2017 at 11:16 AM, Tom Glod via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> I will try to clean it somehow as nothing (no cr) appears at the end
>> until
>>> i run the launch url command i guess i can just rewrite the variable
>>> somehow.  Thanks
>>> 
>>> On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 Most likely you have an extraneous cr at the end of the url, and its
 showing as html encoded.  If thats the case, before you
 encode/launch/whatever, remove the cr and it should go away.
 
 
 On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
> Hi Livecoders,
> 
> I have a license file generated by PHP and when I bring it into LC I
 parse
> it for data. should be easy right?
> 
> So I parse an http link and upon the using launch url command, I
>>> realize
> there is garbage at the end of the URL... the end of line "%0d"
>> garbage
 to
> be exact.
> 
> Anyone know how to clean this? it doesn't apprear at the end of the
> variable that i am using to store the http URL...just appears after
>> the
> launch url command.
> 
> Thanks for any help on this
> 
> Tom
> ___
> 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
 
>>> ___
>>> 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
>> 
> ___
> 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


Re: Dirty HTTP Launch

2017-01-30 Thread Tom Glod via use-livecode
lol..too easywill try that thanks.

On Mon, Jan 30, 2017 at 1:38 PM, Mike Bonner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Yw.
>  Sounds like an easy enough fix.  (or instead of rewriting the thing, you
> might be able to read in the item and "replace cr with empty" which I
> guess is rewriting, so nevermind!)
>
> On Mon, Jan 30, 2017 at 11:35 AM, Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > thanks for your help Mike.
> >
> > On Mon, Jan 30, 2017 at 1:34 PM, Tom Glod  wrote:
> >
> > > the URL is read as an ITEM from a line in a file that was generated by
> > PHP
> > > (which is I am sure where the cr comes from)
> > >
> > > PHP code just concatnates label "HTTP Link, item delimiter "=" and the
> > URL
> > > starting with HTTP.
> > >
> > > I think I will just write a little repeat loop to rewrite the URL
> before
> > I
> > > send it off to the launch command.   Gonna try format function too
> > >
> > >
> > >
> > > On Mon, Jan 30, 2017 at 1:24 PM, Mike Bonner via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > >> Mind posting the code that you use to build the url?
> > >>
> > >> On Mon, Jan 30, 2017 at 11:16 AM, Tom Glod via use-livecode <
> > >> use-livecode@lists.runrev.com> wrote:
> > >>
> > >> > I will try to clean it somehow as nothing (no cr) appears at the end
> > >> until
> > >> > i run the launch url command i guess i can just rewrite the
> > variable
> > >> > somehow.  Thanks
> > >> >
> > >> > On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode <
> > >> > use-livecode@lists.runrev.com> wrote:
> > >> >
> > >> > > Most likely you have an extraneous cr at the end of the url, and
> its
> > >> > > showing as html encoded.  If thats the case, before you
> > >> > > encode/launch/whatever, remove the cr and it should go away.
> > >> > >
> > >> > >
> > >> > > On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode <
> > >> > > use-livecode@lists.runrev.com> wrote:
> > >> > >
> > >> > > > Hi Livecoders,
> > >> > > >
> > >> > > > I have a license file generated by PHP and when I bring it into
> > LC I
> > >> > > parse
> > >> > > > it for data. should be easy right?
> > >> > > >
> > >> > > > So I parse an http link and upon the using launch url command, I
> > >> > realize
> > >> > > > there is garbage at the end of the URL... the end of line "%0d"
> > >> garbage
> > >> > > to
> > >> > > > be exact.
> > >> > > >
> > >> > > > Anyone know how to clean this? it doesn't apprear at the end of
> > the
> > >> > > > variable that i am using to store the http URL...just appears
> > after
> > >> the
> > >> > > > launch url command.
> > >> > > >
> > >> > > > Thanks for any help on this
> > >> > > >
> > >> > > > Tom
> > >> > > > ___
> > >> > > > 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
> > >> > >
> > >> > ___
> > >> > 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
> > >>
> > >
> > >
> > ___
> > 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
>
___
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


Re: Dirty HTTP Launch

2017-01-30 Thread Mike Bonner via use-livecode
Yw.
 Sounds like an easy enough fix.  (or instead of rewriting the thing, you
might be able to read in the item and "replace cr with empty" which I
guess is rewriting, so nevermind!)

On Mon, Jan 30, 2017 at 11:35 AM, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> thanks for your help Mike.
>
> On Mon, Jan 30, 2017 at 1:34 PM, Tom Glod  wrote:
>
> > the URL is read as an ITEM from a line in a file that was generated by
> PHP
> > (which is I am sure where the cr comes from)
> >
> > PHP code just concatnates label "HTTP Link, item delimiter "=" and the
> URL
> > starting with HTTP.
> >
> > I think I will just write a little repeat loop to rewrite the URL before
> I
> > send it off to the launch command.   Gonna try format function too
> >
> >
> >
> > On Mon, Jan 30, 2017 at 1:24 PM, Mike Bonner via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Mind posting the code that you use to build the url?
> >>
> >> On Mon, Jan 30, 2017 at 11:16 AM, Tom Glod via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >> > I will try to clean it somehow as nothing (no cr) appears at the end
> >> until
> >> > i run the launch url command i guess i can just rewrite the
> variable
> >> > somehow.  Thanks
> >> >
> >> > On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode <
> >> > use-livecode@lists.runrev.com> wrote:
> >> >
> >> > > Most likely you have an extraneous cr at the end of the url, and its
> >> > > showing as html encoded.  If thats the case, before you
> >> > > encode/launch/whatever, remove the cr and it should go away.
> >> > >
> >> > >
> >> > > On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode <
> >> > > use-livecode@lists.runrev.com> wrote:
> >> > >
> >> > > > Hi Livecoders,
> >> > > >
> >> > > > I have a license file generated by PHP and when I bring it into
> LC I
> >> > > parse
> >> > > > it for data. should be easy right?
> >> > > >
> >> > > > So I parse an http link and upon the using launch url command, I
> >> > realize
> >> > > > there is garbage at the end of the URL... the end of line "%0d"
> >> garbage
> >> > > to
> >> > > > be exact.
> >> > > >
> >> > > > Anyone know how to clean this? it doesn't apprear at the end of
> the
> >> > > > variable that i am using to store the http URL...just appears
> after
> >> the
> >> > > > launch url command.
> >> > > >
> >> > > > Thanks for any help on this
> >> > > >
> >> > > > Tom
> >> > > > ___
> >> > > > 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
> >> > >
> >> > ___
> >> > 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
> >>
> >
> >
> ___
> 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


Re: Dirty HTTP Launch

2017-01-30 Thread Tom Glod via use-livecode
thanks for your help Mike.

On Mon, Jan 30, 2017 at 1:34 PM, Tom Glod  wrote:

> the URL is read as an ITEM from a line in a file that was generated by PHP
> (which is I am sure where the cr comes from)
>
> PHP code just concatnates label "HTTP Link, item delimiter "=" and the URL
> starting with HTTP.
>
> I think I will just write a little repeat loop to rewrite the URL before I
> send it off to the launch command.   Gonna try format function too
>
>
>
> On Mon, Jan 30, 2017 at 1:24 PM, Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Mind posting the code that you use to build the url?
>>
>> On Mon, Jan 30, 2017 at 11:16 AM, Tom Glod via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> > I will try to clean it somehow as nothing (no cr) appears at the end
>> until
>> > i run the launch url command i guess i can just rewrite the variable
>> > somehow.  Thanks
>> >
>> > On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode <
>> > use-livecode@lists.runrev.com> wrote:
>> >
>> > > Most likely you have an extraneous cr at the end of the url, and its
>> > > showing as html encoded.  If thats the case, before you
>> > > encode/launch/whatever, remove the cr and it should go away.
>> > >
>> > >
>> > > On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode <
>> > > use-livecode@lists.runrev.com> wrote:
>> > >
>> > > > Hi Livecoders,
>> > > >
>> > > > I have a license file generated by PHP and when I bring it into LC I
>> > > parse
>> > > > it for data. should be easy right?
>> > > >
>> > > > So I parse an http link and upon the using launch url command, I
>> > realize
>> > > > there is garbage at the end of the URL... the end of line "%0d"
>> garbage
>> > > to
>> > > > be exact.
>> > > >
>> > > > Anyone know how to clean this? it doesn't apprear at the end of the
>> > > > variable that i am using to store the http URL...just appears after
>> the
>> > > > launch url command.
>> > > >
>> > > > Thanks for any help on this
>> > > >
>> > > > Tom
>> > > > ___
>> > > > 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
>> > >
>> > ___
>> > 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
>>
>
>
___
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


Re: Dirty HTTP Launch

2017-01-30 Thread Tom Glod via use-livecode
the URL is read as an ITEM from a line in a file that was generated by PHP
(which is I am sure where the cr comes from)

PHP code just concatnates label "HTTP Link, item delimiter "=" and the URL
starting with HTTP.

I think I will just write a little repeat loop to rewrite the URL before I
send it off to the launch command.   Gonna try format function too



On Mon, Jan 30, 2017 at 1:24 PM, Mike Bonner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mind posting the code that you use to build the url?
>
> On Mon, Jan 30, 2017 at 11:16 AM, Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I will try to clean it somehow as nothing (no cr) appears at the end
> until
> > i run the launch url command i guess i can just rewrite the variable
> > somehow.  Thanks
> >
> > On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Most likely you have an extraneous cr at the end of the url, and its
> > > showing as html encoded.  If thats the case, before you
> > > encode/launch/whatever, remove the cr and it should go away.
> > >
> > >
> > > On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > > > Hi Livecoders,
> > > >
> > > > I have a license file generated by PHP and when I bring it into LC I
> > > parse
> > > > it for data. should be easy right?
> > > >
> > > > So I parse an http link and upon the using launch url command, I
> > realize
> > > > there is garbage at the end of the URL... the end of line "%0d"
> garbage
> > > to
> > > > be exact.
> > > >
> > > > Anyone know how to clean this? it doesn't apprear at the end of the
> > > > variable that i am using to store the http URL...just appears after
> the
> > > > launch url command.
> > > >
> > > > Thanks for any help on this
> > > >
> > > > Tom
> > > > ___
> > > > 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
> > >
> > ___
> > 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
>
___
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


Re: Dirty HTTP Launch

2017-01-30 Thread Mike Bonner via use-livecode
Mind posting the code that you use to build the url?

On Mon, Jan 30, 2017 at 11:16 AM, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I will try to clean it somehow as nothing (no cr) appears at the end until
> i run the launch url command i guess i can just rewrite the variable
> somehow.  Thanks
>
> On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Most likely you have an extraneous cr at the end of the url, and its
> > showing as html encoded.  If thats the case, before you
> > encode/launch/whatever, remove the cr and it should go away.
> >
> >
> > On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Hi Livecoders,
> > >
> > > I have a license file generated by PHP and when I bring it into LC I
> > parse
> > > it for data. should be easy right?
> > >
> > > So I parse an http link and upon the using launch url command, I
> realize
> > > there is garbage at the end of the URL... the end of line "%0d" garbage
> > to
> > > be exact.
> > >
> > > Anyone know how to clean this? it doesn't apprear at the end of the
> > > variable that i am using to store the http URL...just appears after the
> > > launch url command.
> > >
> > > Thanks for any help on this
> > >
> > > Tom
> > > ___
> > > 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
> >
> ___
> 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


Re: Dirty HTTP Launch

2017-01-30 Thread Tom Glod via use-livecode
I will try to clean it somehow as nothing (no cr) appears at the end until
i run the launch url command i guess i can just rewrite the variable
somehow.  Thanks

On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Most likely you have an extraneous cr at the end of the url, and its
> showing as html encoded.  If thats the case, before you
> encode/launch/whatever, remove the cr and it should go away.
>
>
> On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi Livecoders,
> >
> > I have a license file generated by PHP and when I bring it into LC I
> parse
> > it for data. should be easy right?
> >
> > So I parse an http link and upon the using launch url command, I realize
> > there is garbage at the end of the URL... the end of line "%0d" garbage
> to
> > be exact.
> >
> > Anyone know how to clean this? it doesn't apprear at the end of the
> > variable that i am using to store the http URL...just appears after the
> > launch url command.
> >
> > Thanks for any help on this
> >
> > Tom
> > ___
> > 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
>
___
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


Re: Dirty HTTP Launch

2017-01-29 Thread Mike Bonner via use-livecode
Most likely you have an extraneous cr at the end of the url, and its
showing as html encoded.  If thats the case, before you
encode/launch/whatever, remove the cr and it should go away.


On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Livecoders,
>
> I have a license file generated by PHP and when I bring it into LC I parse
> it for data. should be easy right?
>
> So I parse an http link and upon the using launch url command, I realize
> there is garbage at the end of the URL... the end of line "%0d" garbage to
> be exact.
>
> Anyone know how to clean this? it doesn't apprear at the end of the
> variable that i am using to store the http URL...just appears after the
> launch url command.
>
> Thanks for any help on this
>
> Tom
> ___
> 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