Re: Maintain Order in JSON Import

2016-09-16 Thread Sannyasin Brahmanathaswami
Never mind.. I found it on the forums

Mark just pasted his script there… no "lib" as such.


On 9/16/16, 6:11 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" 
 wrote:

Richard Gaskin" wrote:

YAML was designed to provide similar serialization to/from plain text, 
but optimized for human readability/writability.  Mark Wieder has a 
nice 
pair of functions for using it in LC, converting to and from arrays.

BR: where can I get these?



___
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: Maintain Order in JSON Import

2016-09-16 Thread Sannyasin Brahmanathaswami
Richard Gaskin" wrote:

YAML was designed to provide similar serialization to/from plain text, 
but optimized for human readability/writability.  Mark Wieder has a nice 
pair of functions for using it in LC, converting to and from arrays.

BR: where can I get these?



___
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: Copying text from LC Script Editor

2016-09-16 Thread Monte Goulding

> On 17 Sep 2016, at 10:00 AM, Paul Hibbert  wrote:
> 
> It’s not just the SE that has this behaviour, any text from a LC field does 
> the same, with in the IDE and in a standalone, on Mac at least.

Yes… perhaps it isn’t what I thought as it looks like it works fine in 6.7. Is 
there an open bug report on this?

Cheers

Monte
___
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: Copying text from LC Script Editor

2016-09-16 Thread Paul Hibbert
It’s not just the SE that has this behaviour, any text from a LC field does the 
same, with in the IDE and in a standalone, on Mac at least.

Example from text typed into a LC 8.1.0 field:–

Line 1

Line 2

Line 3

Last Line

Paul
--
Livecode 8.1.0 on Mac OS X El Capitan Version 10.11.6

> On Sep 16, 2016, at 4:20 PM, Monte Goulding  wrote:
> 
> 
>> On 17 Sep 2016, at 5:28 AM, J. Landman Gay  wrote:
>> 
>> My hunch is that it's a line-ending translation issue.
> 
> I’m wondering if it’s a html issue. What LiveCode uses as a paragraph 
> `` is more like a `` as in LiveCode it’s represented by a single 
> line break with no vertical whitespace in most html views it will have some 
> vertical whitespace in there. If that’s the case then I’m really not sure how 
> we could work around it in a backwards compatible way.
> 
> Cheers
> 
> Monte
> ___
> 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: Playing Sound question

2016-09-16 Thread William Prothero
Folks:
I have a small sample stack that plays audio on desktop and iOS. I haven’t 
debugged in on Android or Windows, but if anybody would like to see it, here is 
the link.

https://www.dropbox.com/s/aqnlgzph5x5h23l/PlaySound Tests.zip?dl=0 


It’s very simple, but for those who are not familiar with playing sounds in 
version 8, it may save you some time.
Best,
Bill

> On Sep 15, 2016, at 5:49 PM, William Prothero  wrote:
> 
> Last thing to do: get it working in iOS. The avPlayer object doesn’t work for 
> me in the simulator. I’ll have to experiment further. 
> 
> If anybody has any suggestions of which command to use, plse comment. I’m 
> done for the day. 
> Otherwise, I’ll fumble around in the dictionary until I find something that 
> works.
> 
> I’m making a test stack that I’ll share when I’m done.
> Best,
> Bill
> 
>> On Sep 15, 2016, at 5:36 PM, William Prothero  
>> wrote:
>> 
>> Ok, answered my own question. Set the playLoudness of player “playername” to 
>> “a percentage between 0 and 100”
>> 
>> It would be nice if that property was mentioned in the player object 
>> dictionary entry.
>> Best,
>> Bill
>> 
>>> On Sep 15, 2016, at 5:30 PM, William Prothero  
>>> wrote:
>>> 
>>> I made a test stack with 3 players. BUT, I can’t find a property to set the 
>>> volume level of the players. Is there a way to set the play volume?
>>> Bill
>>> 
>>> 
 On Sep 15, 2016, at 5:11 PM, William Prothero  
 wrote:
 
 Folks:
 I have an app that I am building for mobile. In previous versions of LC, I 
 used the 
 mobilePlaySoundOnChannel
 command and its associated control commands. I play an mp3 file.
 This no longer works on LC8.1 (at least on the simulator) in the latest 
 iOS version.
 
 I have two looping sounds that are background and another sound containing 
 instructions, that play over the looping background sound. To do this, 
 I’ve created 3 players and each plays one of the sounds. 
 
 So, does the player widget work on iOS too? I can get it working in the 
 IDE. There are numerous sound play commands listed in the dictionary and 
 it’s very confusing which ones apply to the new avFoundation player.
 
 Could someone enlighten me. Do I need 3 players, or are there channels in 
 the avFoundation player? Will the avFoundation player play in iOS? Are the 
 mobilePlaySoundOnChannel commands deprecated or am I just getting confused 
 because they don’t work in the simulator?
 
 Best,
 Bill
 
 William Prothero, Ph.D.
 University of California, Santa Barbara, Emeritus
 proth...@earthednet.org
 
 
 
 ___
 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: tSettings["username"]

2016-09-16 Thread Matthias Rebbe
It´s late and i should go to sleep…

After rereading i  found an error in the if statement of the scripts. 

Here are the correct ones.

then for the To recipients you would write:

repeat for each line tRecipient in fld “To”
if tRecipient is empty then next repeat
put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
tResponseHeaders,tBytes,tSettings) into tResult
end repeat

for the Cc recipients:

repeat for each line tRecipient in fld “Cc”
if tRecipient is empty then next repeat
put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
tResponseHeaders,tBytes,tSettings) into tResult
end repeat

and for the Bcc:

repeat for each line tRecipient in fld “Bcc”
if tRecipient is empty then next repeat
put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
tResponseHeaders,tBytes,tSettings) into tResult
end repeat



> Am 17.09.2016 um 01:06 schrieb Matthias Rebbe 
> :
> 
> 2nd try.
> 
> 
>> Am 16.09.2016 um 22:29 schrieb Mark Clark > >:
>> 
>> Thanks for all the help so far. I forgot to ask -- what is the best way to 
>> add multiple recipients, BCC, etc?
>> ___
>> 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
> 
> 
> regarding the  multiple to:
> 
> 1. you have to add the additional To recipients also to the smtp header. You 
> have to separate the recipients with Comma. 
> The line must end with CRLF. 
> 
> To: ema...@runrev.com, ema...@runrev.com, ema...@runrev.com
> 
> For CC recipients it´s the same
> Cc: m...@livecode.com, y...@livecode.com, w...@livecode.com
> 
> A sample smtp header would then look like this:
> 
> Content-Type: text/plain; charset=utf-8
> Date: Sat, 17 Sep 2016 00:37:04 +0200
> From: supp...@myawesomecompany.com
> To: ema...@runrev.com, ema...@runrev.com, ema...@runrev.com
> Cc: m...@livecode.com, y...@livecode.com, w...@livecode.com
> Subject: =?UTF-8?B?TWVzc2FnZSB3aXRoIG5vbiBBU0NJSSDDs8K/wqHDoSc=?=
> 
> This is the message.
> 
> 
> 
> Very important : Bcc Recipients are not added to the SMTP header ! ! !
> 
> 
> 2. for sending you have to call the tsNetSmptSync function for every To, Cc 
> and Bcc recipient.
> 
> Lets say you have a To, a Cc and Bcc field. Every line contains a emailadress.
> 
> 
> then for the To recipients you would write:
> 
> repeat for each line tRecipient in fld “To”
> if line tRecipient is empty then next repeat
> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
> tResponseHeaders,tBytes,tSettings) into tResult
> end repeat
> 
> for the Cc recipients:
> 
> repeat for each line tRecipient in fld “Cc”
> if line tRecipient is empty then next repeat
> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
> tResponseHeaders,tBytes,tSettings) into tResult
> end repeat
> 
> and for the Bcc:
> 
> repeat for each line tRecipient in fld “Bcc”
> if line tRecipient is empty then next repeat
> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
> tResponseHeaders,tBytes,tSettings) into tResult
> end repeat
> 
> 
> Regarding Dave´s question about Html. As you mentioned already,Sarahs library 
> gives good advice how to implement that and it should work with tsNet. At 
> least if you create smtp message (tPostData) correctly.
> 
> For those who are intrested in Sarah´s scripts and library: She uploaded hem 
> all to GitHub
> https://github.com/trozware/rev_stacks
> 
> Regards,
> 
> Matthias
> 
> 
> 
> 
> 
> 
> Matthias Rebbe
> Bramkampsieke 13
> 32312 Lübbecke
> Tel   +49 5741 31
>   +49 160 5504462
> Fax: +49 5741 310002
> eMail: matth...@m-r-d.de
> 
> BR5 Konverter - BR5 -> MP3
> 
> ___
> 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: Copying text from LC Script Editor

2016-09-16 Thread Monte Goulding

> On 17 Sep 2016, at 5:28 AM, J. Landman Gay  wrote:
> 
> My hunch is that it's a line-ending translation issue.

I’m wondering if it’s a html issue. What LiveCode uses as a paragraph `` 
is more like a `` as in LiveCode it’s represented by a single line break 
with no vertical whitespace in most html views it will have some vertical 
whitespace in there. If that’s the case then I’m really not sure how we could 
work around it in a backwards compatible way.

Cheers

Monte
___
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: tSettings["username"]

2016-09-16 Thread Matthias Rebbe
Just noticed that my email client added also mailto:links for the email 
addresses. 
I will try to resend.
Please excuse.

Matthias Rebbe
Bramkampsieke 13
32312 Lübbecke
Tel +49 5741 31
+49 160 5504462
Fax: +49 5741 310002
eMail: matth...@m-r-d.de 

BR5 Konverter - BR5 -> MP3 
> Am 17.09.2016 um 01:00 schrieb Matthias Rebbe 
> :
> 
> 
>> Am 16.09.2016 um 22:29 schrieb Mark Clark > >:
>> 
>> Thanks for all the help so far. I forgot to ask -- what is the best way to 
>> add multiple recipients, BCC, etc?
>> ___
>> 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
> 
> 
> regarding the  multiple to:
> 
> 1. you have to add the additional To recipients also to the smtp Header. You 
> have to separate the recipients with Comma. 
> The line must end with CRLF. 
> 
> To: ema...@runrev.com , ema...@runrev.com 
> , ema...@runrev.com 
> 
> For CC recipients it´s the same
> Cc: m...@livecode.com , y...@livecode.com 
> , w...@livecode.com 
> 
> A sample smtp header would then look like this:
> 
> Content-Type: text/plain; charset=utf-8
> Date: Sat, 17 Sep 2016 00:37:04 +0200
> From: supp...@myawesomecompany.com 
> To: ema...@runrev.com , ema...@runrev.com 
> , ema...@runrev.com 
> Cc: m...@livecode.com , y...@livecode.com 
> , w...@livecode.com 
> Subject: =?UTF-8?B?TWVzc2FnZSB3aXRoIG5vbiBBU0NJSSDDs8K/wqHDoSc=?=
> 
> This is the message.
> 
> 
> 
> Very important : Bcc Recipients are not added to the SMTP header ! ! !
> 
> 
> 2. for sending you have to call the tsNetSmptSync function for every To, Cc 
> and Bcc recipient.
> 
> Lets say you have a To, a Cc and Bcc field. Every line contains a emailadress.
> 
> 
> then for the To recipients you would write:
> 
> repeat for each line tRecipient in fld “To”
> if line tRecipient is empty then next repeat
> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
> tResponseHeaders,tBytes,tSettings) into tResult
> end repeat
> 
> for the Cc recipients:
> 
> repeat for each line tRecipient in fld “Cc”
> if line tRecipient is empty then next repeat
> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
> tResponseHeaders,tBytes,tSettings) into tResult
> end repeat
> 
> and for the Bcc:
> 
> repeat for each line tRecipient in fld “Bcc”
> if line tRecipient is empty then next repeat
> put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
> tResponseHeaders,tBytes,tSettings) into tResult
> end repeat
> 
> 
> Regarding Dave´s question about Html. As you mentioned already,Sarahs library 
> gives good advice how to implement that and it should work with tsNet. At 
> least if you create smtp message (tPostData) correctly.
> 
> For those who are intrested in Sarah´s scripts and library: She uploaded hem 
> all to GitHub
> https://github.com/trozware/rev_stacks 
> 
> 
> Regards,
> 
> Matthias
> 
> 
> 
> 
> 
> 
> Matthias Rebbe
> Bramkampsieke 13
> 32312 Lübbecke
> Tel   +49 5741 31
>   +49 160 5504462
> Fax: +49 5741 310002
> eMail: matth...@m-r-d.de 
> 
> BR5 Konverter - BR5 -> MP3 
> ___
> 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: tSettings["username"]

2016-09-16 Thread Matthias Rebbe
2nd try.


> Am 16.09.2016 um 22:29 schrieb Mark Clark  >:
> 
> Thanks for all the help so far. I forgot to ask -- what is the best way to 
> add multiple recipients, BCC, etc?
> ___
> 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


regarding the  multiple to:

1. you have to add the additional To recipients also to the smtp header. You 
have to separate the recipients with Comma. 
The line must end with CRLF. 

To: ema...@runrev.com, ema...@runrev.com, ema...@runrev.com

For CC recipients it´s the same
Cc: m...@livecode.com, y...@livecode.com, w...@livecode.com

A sample smtp header would then look like this:

Content-Type: text/plain; charset=utf-8
Date: Sat, 17 Sep 2016 00:37:04 +0200
From: supp...@myawesomecompany.com
To: ema...@runrev.com, ema...@runrev.com, ema...@runrev.com
Cc: m...@livecode.com, y...@livecode.com, w...@livecode.com
Subject: =?UTF-8?B?TWVzc2FnZSB3aXRoIG5vbiBBU0NJSSDDs8K/wqHDoSc=?=

This is the message.



Very important : Bcc Recipients are not added to the SMTP header ! ! !


2. for sending you have to call the tsNetSmptSync function for every To, Cc and 
Bcc recipient.

Lets say you have a To, a Cc and Bcc field. Every line contains a emailadress.


then for the To recipients you would write:

repeat for each line tRecipient in fld “To”
if line tRecipient is empty then next repeat
put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
tResponseHeaders,tBytes,tSettings) into tResult
end repeat

for the Cc recipients:

repeat for each line tRecipient in fld “Cc”
if line tRecipient is empty then next repeat
put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
tResponseHeaders,tBytes,tSettings) into tResult
end repeat

and for the Bcc:

repeat for each line tRecipient in fld “Bcc”
if line tRecipient is empty then next repeat
put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
tResponseHeaders,tBytes,tSettings) into tResult
end repeat


Regarding Dave´s question about Html. As you mentioned already,Sarahs library 
gives good advice how to implement that and it should work with tsNet. At least 
if you create smtp message (tPostData) correctly.

For those who are intrested in Sarah´s scripts and library: She uploaded hem 
all to GitHub
https://github.com/trozware/rev_stacks

Regards,

Matthias






Matthias Rebbe
Bramkampsieke 13
32312 Lübbecke
Tel +49 5741 31
+49 160 5504462
Fax: +49 5741 310002
eMail: matth...@m-r-d.de

BR5 Konverter - BR5 -> MP3

___
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: tSettings["username"]

2016-09-16 Thread Matthias Rebbe

> Am 16.09.2016 um 22:29 schrieb Mark Clark  >:
> 
> Thanks for all the help so far. I forgot to ask -- what is the best way to 
> add multiple recipients, BCC, etc?
> ___
> 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


regarding the  multiple to:

1. you have to add the additional To recipients also to the smtp Header. You 
have to separate the recipients with Comma. 
The line must end with CRLF. 

To: ema...@runrev.com , ema...@runrev.com 
, ema...@runrev.com 

For CC recipients it´s the same
Cc: m...@livecode.com , y...@livecode.com 
, w...@livecode.com 

A sample smtp header would then look like this:

Content-Type: text/plain; charset=utf-8
Date: Sat, 17 Sep 2016 00:37:04 +0200
From: supp...@myawesomecompany.com 
To: ema...@runrev.com , ema...@runrev.com 
, ema...@runrev.com 
Cc: m...@livecode.com , y...@livecode.com 
, w...@livecode.com 
Subject: =?UTF-8?B?TWVzc2FnZSB3aXRoIG5vbiBBU0NJSSDDs8K/wqHDoSc=?=

This is the message.



Very important : Bcc Recipients are not added to the SMTP header ! ! !


2. for sending you have to call the tsNetSmptSync function for every To, Cc and 
Bcc recipient.

Lets say you have a To, a Cc and Bcc field. Every line contains a emailadress.


then for the To recipients you would write:

repeat for each line tRecipient in fld “To”
if line tRecipient is empty then next repeat
put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
tResponseHeaders,tBytes,tSettings) into tResult
end repeat

for the Cc recipients:

repeat for each line tRecipient in fld “Cc”
if line tRecipient is empty then next repeat
put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
tResponseHeaders,tBytes,tSettings) into tResult
end repeat

and for the Bcc:

repeat for each line tRecipient in fld “Bcc”
if line tRecipient is empty then next repeat
put tsNetSmtpSync(tURL, tSender, tRecipient, tPostData, 
tResponseHeaders,tBytes,tSettings) into tResult
end repeat


Regarding Dave´s question about Html. As you mentioned already,Sarahs library 
gives good advice how to implement that and it should work with tsNet. At least 
if you create smtp message (tPostData) correctly.

For those who are intrested in Sarah´s scripts and library: She uploaded hem 
all to GitHub
https://github.com/trozware/rev_stacks 

Regards,

Matthias






Matthias Rebbe
Bramkampsieke 13
32312 Lübbecke
Tel +49 5741 31
+49 160 5504462
Fax: +49 5741 310002
eMail: matth...@m-r-d.de 

BR5 Konverter - BR5 -> MP3 
___
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: tSettings["username"]

2016-09-16 Thread Dave Kilroy
Yep a v good question

I looked at Sarah Reichelt's smtp library 
(https://github.com/trozware/rev_stacks 
) to see how she did multiple 
recipients, but how she handles multiple recipients doesn’t help with tsNet…

AND I have another question - which is: how do we send html emails? Sarah’s 
library seems to have cracked this and I can see enough of the bones of how she 
did it (assuming it is still in date and works on tsNet) to be able to 
reconstruct it (but it does look very fiddly) - and when I have time I’ll give 
it a go as it would be nice to have it in the dementia app I’m working on - 
when/if I get it working I’ll post the script here…

Dave


> Great question... Awaiting responses... 
> 
> SKIP 
> 
> > On Sep 16, 2016, at 3:29 PM, Mark Clark <[hidden email] 
> > >
> >  wrote: 
> > 
> > Thanks for all the help so far. I forgot to ask -- what is the best way to 
> > add multiple recipients, BCC, etc? 
> > ___ 
> > use-livecode mailing list 
> > [hidden email] 
> > 
> >  
> > 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

regex to add a variable to calls

2016-09-16 Thread Dr. Hawkins
As I move to multiple open debtors, I'm having small but consistent and
numerous changes.

I need to catch every instance of


getVal(a,b,c)


and change them to

getVal(a,b,c,dbtr)

(and similarly to find when called with one or two arguments)

a can actually be a combination of letters and numbers (a variable
name)--but might be an expression to produce this.

b should only be empty or "D", "T", and one other like that, and c will be
a variable that evaluates to a number.

dbtr is the variable name I want to pass.

Even catching most, and inspecting before tapping replace, would be a huge
timesaver.

I don't remember enough regexes to make this work with the parens.

I'm thinking a search term of

getVal\(([a-z1-9A-Z]+,[a-z1-9A-Z]+,[a-z1-9A-Z]+)\)


and

getVal($1,dbtr)


as replace, but this isn't right.

Can anyone help?

Thanks
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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


How can I "fake" the appearance of merged cells (like in Excel)

2016-09-16 Thread Roger Eller
I have a table field with about 10 columns. Some of the cells may contain
the same data as the cell above and/or below it.  I want to visually
portray these occurances as a single cell with the text centered within the
visually larger cell.

How would you approach this problem?  Would you overlay an opaque field
whose rectangle is that of the combined cells?

I need it to scroll too.  Thoughts?  Creative solutions?  No, not gonna use
Excel.  ;-)

~Roger
___
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: tSettings["username"]

2016-09-16 Thread Skip Kimpel
Great question... Awaiting responses...

SKIP

> On Sep 16, 2016, at 3:29 PM, Mark Clark  wrote:
> 
> Thanks for all the help so far. I forgot to ask -- what is the best way to 
> add multiple recipients, BCC, etc?
> ___
> 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


tSettings["username"]

2016-09-16 Thread Mark Clark
Thanks for all the help so far. I forgot to ask -- what is the best way to add 
multiple recipients, BCC, etc?
___
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: Copying text from LC Script Editor

2016-09-16 Thread J. Landman Gay

On 9/16/16 11:06 AM, Jim MacConnell wrote:

I have a similar issue with Windows 7 Pro (LC 8.1 Community)...
I also can't copy and paste directly into applications other than a simple
text editor (NotePad). I can then copy and paste from NotePad to wherever I
want to go (PowerPoint, Word, etc.) with no issues.

My problem also occurs trying to copy text from fields.

Saving the text to file and opening works fine so sure seems to be an LC 8
clipboard issue.


My hunch is that it's a line-ending translation issue. LC auto-corrects 
line endings when importing/exporting text to files but I don't think it 
does the same for the clipboard. I'm not sure how it could; it has no 
idea where you intend to paste. If you paste into another LC field, you 
don't want any translation.


It sounds like you'd need a custom clipboard function that could live in 
a front or backscript. It would get the clipboardData["text"] and 
replace LF with CRLF, or CR, or whatever your receiving app expects. The 
double-pass you and Richmond need to do probably works because the plain 
text editor does the line ending replacements.


There may also be an issue with UTF16 vs UTF8. LC uses UTF16, some apps 
expect UTF8, but many will accomodate either.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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: detecting currently connected printer - Mac

2016-09-16 Thread Peter M. Brigham
Fantastic! That does it. Many thanks.

— Peter

Peter M. Brigham
pmb...@gmail.com

> On Sep 16, 2016, at 2:22 PM, Colin Holgate  wrote:
> 
> I found this, which lets you see all devices connected to USB:
> 
> ioreg -p IOUSB -w0 | sed 's/[^o]*o //; s/@.*$//' | grep -v '^Root.*'
> 
> 
> 
>> On Sep 16, 2016, at 2:16 PM, Peter M. Brigham  wrote:
>> 
>>> On Sep 16, 2016, at 2:09 PM, Mike Bonner  wrote:
>>> 
>>> Interesting.  If it returns zombie printers, its not exactly helpful.
>> 
>> Right. I need a way of detecting which printer is currently connected via 
>> USB. Any other ideas?


___
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: Multiple Property Inspector Instances for the same object - Bug or Feature ?

2016-09-16 Thread Dr. Hawkins
On Fri, Sep 16, 2016 at 10:04 AM, Peter Bogdanoff  wrote:

> To me, this is cumbersome in many ways… I’d rather have just one inspector
> that reflects just the currently focused object.
>

The 7 method of simply saying "No! You can't!" instead of bring that one to
the front left a lot to be desired  . .


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: detecting currently connected printer - Mac

2016-09-16 Thread Colin Holgate
I found this, which lets you see all devices connected to USB:

ioreg -p IOUSB -w0 | sed 's/[^o]*o //; s/@.*$//' | grep -v '^Root.*'



> On Sep 16, 2016, at 2:16 PM, Peter M. Brigham  wrote:
> 
>> On Sep 16, 2016, at 2:09 PM, Mike Bonner  wrote:
>> 
>> Interesting.  If it returns zombie printers, its not exactly helpful.
> 
> Right. I need a way of detecting which printer is currently connected via 
> USB. Any other ideas?
> 
>> On Fri, Sep 16, 2016 at 12:07 PM, Colin Holgate 
>> wrote:
>> 
>>> Was curious what that does. For me it returns a list of all the printers
>>> my Mac has seen in the last few years, and currently I have no active
>>> printers on my network at home.
>>> 
>>> 
 On Sep 16, 2016, at 2:02 PM, Mike Bonner  wrote:
 
 does-- lpstat -p give the info you need? (from shell)
 
 On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham 
>>> wrote:
 
> Anyone know how to get a listing of the currently connected printer on a
> Mac? I used to do this on my (very) old MacBook via a shell call:
> put shell("ioreg") into tList
> and then parse the list to find the connected printer name.
> 
> And I now have a new MacBook Pro, and I can’t find anything resembling a
> printer in the IO registry list.
> 
> Any ideas?
> 
> — Peter
> 
> Peter M. Brigham
> pmb...@gmail.com
> 
> 
> ___
> 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: detecting currently connected printer - Mac

2016-09-16 Thread Peter M. Brigham
> On Sep 16, 2016, at 2:09 PM, Mike Bonner  wrote:
> 
> Interesting.  If it returns zombie printers, its not exactly helpful.

Right. I need a way of detecting which printer is currently connected via USB. 
Any other ideas?

> On Fri, Sep 16, 2016 at 12:07 PM, Colin Holgate 
> wrote:
> 
>> Was curious what that does. For me it returns a list of all the printers
>> my Mac has seen in the last few years, and currently I have no active
>> printers on my network at home.
>> 
>> 
>>> On Sep 16, 2016, at 2:02 PM, Mike Bonner  wrote:
>>> 
>>> does-- lpstat -p give the info you need? (from shell)
>>> 
>>> On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham 
>> wrote:
>>> 
 Anyone know how to get a listing of the currently connected printer on a
 Mac? I used to do this on my (very) old MacBook via a shell call:
 put shell("ioreg") into tList
 and then parse the list to find the connected printer name.
 
 And I now have a new MacBook Pro, and I can’t find anything resembling a
 printer in the IO registry list.
 
 Any ideas?

— Peter

Peter M. Brigham
pmb...@gmail.com


___
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: detecting currently connected printer - Mac

2016-09-16 Thread Mike Bonner
Interesting.  If it returns zombie printers, its not exactly helpful.

On Fri, Sep 16, 2016 at 12:07 PM, Colin Holgate 
wrote:

> Was curious what that does. For me it returns a list of all the printers
> my Mac has seen in the last few years, and currently I have no active
> printers on my network at home.
>
>
> > On Sep 16, 2016, at 2:02 PM, Mike Bonner  wrote:
> >
> > does-- lpstat -p give the info you need? (from shell)
> >
> > On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham 
> wrote:
> >
> >> Anyone know how to get a listing of the currently connected printer on a
> >> Mac? I used to do this on my (very) old MacBook via a shell call:
> >> put shell("ioreg") into tList
> >> and then parse the list to find the connected printer name.
> >>
> >> And I now have a new MacBook Pro, and I can’t find anything resembling a
> >> printer in the IO registry list.
> >>
> >> Any ideas?
> >>
> >> — Peter
> >>
> >> Peter M. Brigham
> >> pmb...@gmail.com 
> >>
> >> ___
> >> 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: detecting currently connected printer - Mac

2016-09-16 Thread Colin Holgate
Was curious what that does. For me it returns a list of all the printers my Mac 
has seen in the last few years, and currently I have no active printers on my 
network at home.


> On Sep 16, 2016, at 2:02 PM, Mike Bonner  wrote:
> 
> does-- lpstat -p give the info you need? (from shell)
> 
> On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham  wrote:
> 
>> Anyone know how to get a listing of the currently connected printer on a
>> Mac? I used to do this on my (very) old MacBook via a shell call:
>> put shell("ioreg") into tList
>> and then parse the list to find the connected printer name.
>> 
>> And I now have a new MacBook Pro, and I can’t find anything resembling a
>> printer in the IO registry list.
>> 
>> Any ideas?
>> 
>> — Peter
>> 
>> Peter M. Brigham
>> pmb...@gmail.com 
>> 
>> ___
>> 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: detecting currently connected printer - Mac

2016-09-16 Thread Mike Bonner
does-- lpstat -p give the info you need? (from shell)

On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham  wrote:

> Anyone know how to get a listing of the currently connected printer on a
> Mac? I used to do this on my (very) old MacBook via a shell call:
> put shell("ioreg") into tList
> and then parse the list to find the connected printer name.
>
> And I now have a new MacBook Pro, and I can’t find anything resembling a
> printer in the IO registry list.
>
> Any ideas?
>
> — Peter
>
> Peter M. Brigham
> pmb...@gmail.com 
>
> ___
> 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

detecting currently connected printer - Mac

2016-09-16 Thread Peter M. Brigham
Anyone know how to get a listing of the currently connected printer on a Mac? I 
used to do this on my (very) old MacBook via a shell call:
put shell("ioreg") into tList
and then parse the list to find the connected printer name.

And I now have a new MacBook Pro, and I can’t find anything resembling a 
printer in the IO registry list.

Any ideas?

— Peter

Peter M. Brigham
pmb...@gmail.com 

___
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: urlResponse empty in 8.1.0RC1

2016-09-16 Thread panagiotis merakos
http://quality.livecode.com/show_bug.cgi?id=18380

On Fri, Sep 16, 2016 at 8:30 PM, Richard Gaskin 
wrote:

> pink wrote:
> > FYI - in case anyone else runs into this problem, it should be
> > fixed 8.1.1
>
> Interesting.  Bug report number?
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> 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: Copying text from LC Script Editor

2016-09-16 Thread Richard Gaskin

Jim MacConnell wrote:

> Richmond wrote:
>> Copying text from the script editor is problematic on more than one
>> platform.
>>
>> Over here "in the wilds of Linux" it is not possible to copy-paste
>> directly from the script editor into anything but a simple text
>> editor.
>>
>> For instance; if I want to paste code from the script editor into
>> Thunderbird (my e-mail client) I have to paste it into a text editor
>> and then copy-paste from there into Thunderbird (a double bounce, so
>> to say).
>> The same sort of thing into a Libre Office document, and so on.
>
> I have a similar issue with Windows 7 Pro (LC 8.1 Community)...
> I also can't copy and paste directly into applications other than a
> simple text editor (NotePad). I can then copy and paste from NotePad
> to wherever I want to go (PowerPoint, Word, etc.) with no issues.
>
> My problem also occurs trying to copy text from fields.
>
> Saving the text to file and opening works fine so sure seems to be an
> LC 8 clipboard issue.

Interestingly, those descriptions sound exactly like this bug I'd 
reported against the Linux engine some time ago:

http://quality.livecode.com/show_bug.cgi?id=14416

That was one fixed several versions ago, and I just confirmed that 
indeed it still works well in v8.1 on Ubuntu 14.04.



@Jim, Richmond:  When either of you files the bug report for this, you 
may want to mention #14416 as the fix may be related to the they'd done 
earlier.


I'd consider re-opening the old report, but since their fix is still 
working well for me that specific issue has not regressed per se. But 
probably worth mentioning just in case the issue you're seeing is indeed 
related under the hood.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: Browser widget

2016-09-16 Thread panagiotis merakos
Well, we do not know yet. We have been able to reproduce it only in a
specific Ubuntu 16.04 64bit VM an affected user sent us.

We also have an Ubuntu 16.04 64bit VM in the office, which works as
expected.

I made a list of all packages that are installed *only* in the "bad" VM,
and a list of the ones that are installed *only* in the "good" one. I then
installed all the missing ones to the "bad" one, but the problem was not
fixed.

I even installed all the missing ones to the "good" one, hoping that the
"good" one will break at some point, but no luck. So finally both VMs ended
up having exactly the same packages installed, but still the "bad" one was
having that bug whereas the "good" one worked as expected.

:(

Best,
Panos
--

On Fri, Sep 16, 2016 at 8:28 PM, Richmond 
wrote:

> Aha. Well I'm a bit slow and am discovering all aspects of this one piece
> at a time.
>
> Is this XFCE specific, Xubuntu specific, or a Linux-wide thing?
>
> Thanks.
>
> Richmond.
>
>
> On 16.09.2016 20:05, panagiotis merakos wrote:
>
>> Hi Richmond,
>>
>> This problem is another manifestation of the non-functioning dictionary
>> problem. In fact, this bug:
>>
>> http://quality.livecode.com/show_bug.cgi?id=18025
>>
>> and ALL of the bugs that are in the "See also" section of this bug, are
>> all
>> closely related (probably the fix to one of them will fix all of them).
>>
>> Best,
>> Panos
>> --
>>
>> On Fri, Sep 16, 2016 at 5:31 PM, Richmond 
>> wrote:
>>
>> Bug 18420
>>>
>>> Not getting very far I'm afraid.
>>>
>>> Richmond.
>>>
>>> ___
>>> 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: How to stop LoveCode running in Edit mode

2016-09-16 Thread Richmond

You have an xTalk fixation? Wow . . . can we start a self-help group?

Livecoders anonymous, perhaps.

Richmond.

On 16.09.2016 20:27, Richard Gaskin wrote:

Mark Wieder wrote:

> Richmond wrote
>> Hey: one of the best "slips" for a long time!
>>
>> Richmond.
>
> ... and so much better than my usual finger-slippage, which ends up
> "LiceCode"

One of my biggest xTalk fixations is that I'm no longer able to type 
the word "cart" - it always comes out "card", and I have to go back 
and correct it.





___
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: How to stop LoveCode running in Edit mode

2016-09-16 Thread Richmond

After a certain age all we male Livecode programmers can only wish that
Lovecode would run in Edit mode rather more often than it does.

Kisses, Richmond.

On 16.09.2016 20:11, mwieder wrote:

Richmond wrote

Hey: one of the best "slips" for a long time!

Richmond.

... and so much better than my usual finger-slippage, which ends up
"LiceCode"



-



___
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: urlResponse empty in 8.1.0RC1

2016-09-16 Thread Richard Gaskin

pink wrote:
> FYI - in case anyone else runs into this problem, it should be
> fixed 8.1.1

Interesting.  Bug report number?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: Browser widget

2016-09-16 Thread Richmond
Aha. Well I'm a bit slow and am discovering all aspects of this one 
piece at a time.


Is this XFCE specific, Xubuntu specific, or a Linux-wide thing?

Thanks.

Richmond.

On 16.09.2016 20:05, panagiotis merakos wrote:

Hi Richmond,

This problem is another manifestation of the non-functioning dictionary
problem. In fact, this bug:

http://quality.livecode.com/show_bug.cgi?id=18025

and ALL of the bugs that are in the "See also" section of this bug, are all
closely related (probably the fix to one of them will fix all of them).

Best,
Panos
--

On Fri, Sep 16, 2016 at 5:31 PM, Richmond 
wrote:


Bug 18420

Not getting very far I'm afraid.

Richmond.

___
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: How to stop LoveCode running in Edit mode

2016-09-16 Thread Richard Gaskin

Mark Wieder wrote:

> Richmond wrote
>> Hey: one of the best "slips" for a long time!
>>
>> Richmond.
>
> ... and so much better than my usual finger-slippage, which ends up
> "LiceCode"

One of my biggest xTalk fixations is that I'm no longer able to type the 
word "cart" - it always comes out "card", and I have to go back and 
correct it.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: How to stop LoveCode running in Edit mode

2016-09-16 Thread mwieder
Richmond wrote
> Hey: one of the best "slips" for a long time!
> 
> Richmond.

... and so much better than my usual finger-slippage, which ends up
"LiceCode"



-
-- 
 Mark Wieder
 ahsoftw...@gmail.com
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-stop-LoveCode-running-in-Edit-mode-tp4708494p4708528.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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: How to stop LoveCode running in Edit mode

2016-09-16 Thread Roger Eller
You can't stop LoveCode.  You just can't.


On Fri, Sep 16, 2016 at 12:29 PM, Richmond 
wrote:

> Hey: one of the best "slips" for a long time!
>
> Richmond.
>
> On 16.09.2016 12:55, Keith Clarke wrote:
>
>> …and sorry about the ‘LoveCode’ typo - a Freudian slip, or just absence
>> making the heart grow fonder, perhaps! :-)
>> Best,
>> Keith..
>>
>> On 16 Sep 2016, at 10:50, Keith Clarke  wrote:
>>>
>>> Hi folks,
>>> Returning to LiveCode after some months away and am wondering why, in
>>> 8.1 (in Mac & Windows IDE environments) scripts on buttons, etc are still
>>> firing when I switch to (or open a simple stack in) ‘Edit/Pointer’ mode.
>>>
>>> IIRC,  code only used to run whilst in ‘Run/Browse’ mode. This is making
>>> development & debugging hard work - have I missed a new setting that I need
>>> to disable?
>>> Best,
>>> Keith..
>>>
>>
>> ___
>> 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: Browser widget

2016-09-16 Thread panagiotis merakos
Hi Richmond,

This problem is another manifestation of the non-functioning dictionary
problem. In fact, this bug:

http://quality.livecode.com/show_bug.cgi?id=18025

and ALL of the bugs that are in the "See also" section of this bug, are all
closely related (probably the fix to one of them will fix all of them).

Best,
Panos
--

On Fri, Sep 16, 2016 at 5:31 PM, Richmond 
wrote:

> Bug 18420
>
> Not getting very far I'm afraid.
>
> Richmond.
>
> ___
> 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: Multiple Property Inspector Instances for the same object - Bug or Feature ?

2016-09-16 Thread Peter Bogdanoff
This “bug” has to do with multiple property inspector showing at once.

I’m sure if you’ve worked with LC8, you’ve seen this happen where a PI can be 
showing for each control that was previously inspected—double-click with the 
edit tool on different controls and you’ll see what happens.

To me, this is cumbersome in many ways… I’d rather have just one inspector that 
reflects just the currently focused object.

Peter Bogdanoff


On Aug 31, 2016, at 4:01 AM, panagiotis merakos  
wrote:

> Hi all,
> 
> Today we came across this report, and we are on a discussion on whether
> this is a bug or a feature. What do you think?
> 
> http://quality.livecode.com/show_bug.cgi?id=18291
> 
> Should we allow this behavior, given of course that there are no syncing
> issues? A quick test shows that there are no syncing problems so far.
> 
> Best,
> Panos
> --
> ___
> 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: urlResponse empty in 8.1.0RC1

2016-09-16 Thread pink
FYI - in case anyone else runs into this problem, it should be fixed 8.1.1



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/urlResponse-empty-in-8-1-0RC1-tp4708176p4708524.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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: Maintain Order in JSON Import

2016-09-16 Thread pink
JsonImport and JsonExport are not in the "LiveCode Script" dictionary. You
need to switch to "JSON Library" from the dropdown.

mergJSON, easyJSON and fastJSON all output numeric-keyed arrays as JSON
arrays, if you need JSON arrays then you definitely need one of them (ie -
the stuff within a square brace). For my purposes with CouchDB, the JSON LCB
library is insufficient.

mergJSON's  "pretty" mode is great for displaying a readable JSON, it
alphabetizes keys and indents based on depth

I put together a couple of functions a while back to make a readable JSON, I
haven't updated it in a while. It does not sort keys alphabetically, just
adds whitespace to indent key/value pairs based on depth
https://github.com/madpink/gingerjson/blob/master/gingerjson.lc


if needed:   
FastJSON (still being maintained):  https://github.com/bhall2001/fastjson
EasyJSON (stable, but not updated in several years):  
https://github.com/luxlogica/easyjson




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Maintain-Order-in-JSON-Import-tp4708343p4708523.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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


Browser widget

2016-09-16 Thread Richmond

Bug 18420

Not getting very far I'm afraid.

Richmond.

___
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: Copying text from LC Script Editor

2016-09-16 Thread Jim MacConnell
I have a similar issue with Windows 7 Pro (LC 8.1 Community)... 
I also can't copy and paste directly into applications other than a simple
text editor (NotePad). I can then copy and paste from NotePad to wherever I
want to go (PowerPoint, Word, etc.) with no issues.

My problem also occurs trying to copy text from fields.

Saving the text to file and opening works fine so sure seems to be an LC 8
clipboard issue.

Jim


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Richmond
Sent: Thursday, September 15, 2016 11:15 PM
To: How to use LiveCode
Subject: Re: Copying text from LC Script Editor

Copying text from the script editor is problematic on more than one
platform.

Over here "in the wilds of Linux" it is not possible to copy-paste directly
from the script editor into anything but a simple text editor.

For instance; if I want to paste code from the script editor into
Thunderbird (my e-mail client) I have to paste it into a text editor and
then copy-paste from there into Thunderbird (a double bounce, so to say).
The same sort of thing into a Libre Office document, and so on.

Richmond.

On 16.09.2016 03:01, Peter Bogdanoff wrote:
> I'm noticing that with LiveCode 8, copying scripts from the Script Editor
and pasting it into other applications on the Mac yields text that displays
differently than pre-LC 8.
>
> Pasting it into Apple Mail puts it as double-spaced. Copying it from Mail
puts it back into the Script Editor as double spaced:
>
> on mouseUp
>
> doThis
>
> thenDoThis
>
> followedByThis
>
> end mouseUp
>
>
> Apple TextEdit is OK:
>
> on mouseUp
> doThis
> thenDoThis
> followedByThis
> end mouseUp
>
> Pasting it into Tex-Edit Plus yields a single line with feed characters.
>
> Is this worth making a fuss over?
>
> Peter Bogdanoff
> UCLA
>
> ___
> 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: LiveCode Server 8.1 - installing

2016-09-16 Thread Graham Samuel
Thanks Mark, but I didn’t have to do this- good, because typically I would have 
no idea what password to use. I just went back over Stephen Barncard’s advice 
(thanks so much, Stephen!) about .htaccess (I was already there in fact) and 
most particularly about permissions (I was emphatically NOT there). So my 
samples are working now and any other problems are to do with mistakes I’ve 
made and not to do with the issue of installing LC Server. I am not sure if the 
current LC documentation warns you about the pesky permission problem, but it 
should.

Thanks also to Richard Gaskin for his very helpful and thoughtful mail. It 
would indeed be good if we could meet again. My pad in the South of France is 
still functioning, as you guessed! We need a bit more rain to get the grass 
back in order… but I digress.


Graham


> On 14 Sep 2016, at 22:59, Mark Talluto  wrote:
> 
> 
>> On Sep 14, 2016, at 8:57 AM, Graham Samuel  wrote:
>> 
>> Obviously I have made a massive error, but what is it? I just want to be 
>> able to run some .lc programs on the server - it doesn’t seem much to ask.
> 
> LC 8.1 has different dependencies than previous versions of LC. The first 
> thing I would do is make sure you have GLib installed. Open terminal, sign 
> into your server and type the following: 
> 
> apt-get install libglib2.0-0
> 
> You may need to get sudo access thus:
> 
> sudo apt-get install libglib2.0-0
> (enter password when asked)
> 
> Something else that is new in 8.1 is the ability to get error messages 
> regarding missing dependencies. Not sure if you are seeing those.
> 
> I hope this helps.
> 
> Best regards,
> 
> Mark Talluto
> livecloud.io
> canelasoftware.com
> 

___
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: Xcode 8 / iOS 10 support coming in 8.1.1

2016-09-16 Thread panagiotis merakos
Hi all,

@Phil
I have added some comments and a workaround to the bug report
http://quality.livecode.com/show_bug.cgi?id=18416

@Randy
I cannot reproduce those errors, even when setting the minimum iOS version
to 8.0. Could you please file a bug report and attach a sample stack?

Best
Panos
--

On Fri, Sep 16, 2016 at 2:30 PM, Phil Jimmieson 
wrote:

> Hi Randy,
> I get so many errors generated and they display in an answer dialog window
> that truncates the ends off some of the error messages and so it’s
> difficult for me to figure out what the errors actually are. The stack in
> question uses revZip and pdfPrinter though (unlike a stack I’ve got that
> works, that only uses PDFPrinter) and so I was wondering if revZip was to
> blame…
>
> > On 16 Sep 2016, at 13:45, Randy Hengst  wrote:
> >
> > Hi Panos,
> >
> > Well, your response is consistent with what I thought I knew… but, when
> I tried to build a standalone with the minimum iOS version set to 8.0, I
> received the error message build on the build… there is no error message
> when I build for 9.3. And, when I build for 9.3 I can load the app on an
> iPad running iOS 10.
> >
> > “linking for arm (arm64) failed with Id: warning: Id: warning: object
> file
> > (/private/var/folders/15d3mtyl1r8xj4y3006s6dhb6r
> gn/T/TemporaryItems/tmp.81721.zat*Cbeal)
> > was build for new iOS version (9.3) than being linked (8.0)object file
> (/Applications/LiveCode Indy
> > 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) was build
> for newer iOS version ) (9.3)
> > than being linked (8.0)
> >
> > I tried to make sense of the error message and set the build for 8.1 and
> later…  when I set to build for 8.1 later, things work fine… I assume that
> has something to to do with the part of message: (/Applications/LiveCode
> Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone)
> >
> >
> > I see Phil Jimmieson also noted a similar arm64 error… Phil… is your
> message like mine? What do you see that corresponds to the point in the
> error message “8.1.0.app”?
> >
> > Thoughts anyone?
> >
> > be well,
> > randy
> >
> > Randy Hengst
> > www.classroomFocusedSoftware.com
> >
> >
> >
> >> On Sep 16, 2016, at 3:50 AM, panagiotis merakos 
> wrote:
> >>
> >> Hi Randy,
> >>
> >> The version of Xcode you choose in [Preferences -> Mobile support] only
> >> decides which version of the iOS SDK will be used to *build* the iOS
> >> standalone app.
> >>
> >> In the Standalone Application Settings, you can choose the minimum iOS
> >> version you want your app to *run* in.
> >>
> >> So you set this option to "8.0 or later"
> >>
> >> Best regards,
> >> Panos
> >> --
> >>
> >> On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst 
> wrote:
> >>
> >>> Thank you Panos, I’ll get that going.
> >>>
> >>> One related question…. I’ve had a computer “issue” and now only have
> Xcode
> >>> 7.3.1 on my machine… it only has SDK 9.3.
> >>>
> >>> I assume that will allow me to build for iOS 10… but will it building
> for
> >>> the iOS 7 or 8 series?
> >>>
> >>> If not, is there an easy way to add SDKs to Xcode 7.3.1? I’ve been
> >>> searching without success. If I have to download other Xcode apps, can
> >>> someone point me to which one would allow me to build for at least iOS
> 8
> >>> and beyond.
> >>>
> >>> Thanks in advance for the help.
> >>>
> >>> be well,
> >>> randy
> >>>
> >>> Randy Hengst
> >>> www.classroomFocusedSoftware.com
> >>>
> >>>
> >>>
>  On Sep 15, 2016, at 11:28 AM, panagiotis merakos 
> >>> wrote:
> 
>  Hi Randy,
> 
>  This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed
> >>> in LC
>  8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0.
> 
>  Best,
>  Panos
>  --
> 
>  On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst 
> >>> wrote:
> 
> > All,
> >
> > 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems
> to
> >>> be
> > that the apps don’t know they are “landscape” only apps and open (and
> >>> only
> > display) in portrait… thus, cutting off part of the screen. All of
> the
> >>> apps
> > work fine in iOS 9.3.x
> >
> > And, in fact, landscape iPad apps build in 2014 (can’t remember
> which LC
> > version) work fine… it’s only the apps built in summer 2015 and
> summer
> >>> 2016.
> >
> > I thought I saw something about this on the list earlier, but can’t
> >>> locate
> > it now.
> >
> > Will 8.1.1 RC1 be stable enough to use to update apps?
> >
> > be well,
> > randy
> >
> > Randy Hengst
> > www.classroomFocusedSoftware.com
> >
> >
> >
> >> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media <
> > and...@midwestcoastmedia.com> wrote:
> >>
> >> An app I just released for a customer has had the main functionality
> > (connect to a LiveCode 

Re: Xcode 8 / iOS 10 support coming in 8.1.1

2016-09-16 Thread Phil Jimmieson
Hi Randy,
I get so many errors generated and they display in an answer dialog window that 
truncates the ends off some of the error messages and so it’s difficult for me 
to figure out what the errors actually are. The stack in question uses revZip 
and pdfPrinter though (unlike a stack I’ve got that works, that only uses 
PDFPrinter) and so I was wondering if revZip was to blame…

> On 16 Sep 2016, at 13:45, Randy Hengst  wrote:
> 
> Hi Panos,
> 
> Well, your response is consistent with what I thought I knew… but, when I 
> tried to build a standalone with the minimum iOS version set to 8.0, I 
> received the error message build on the build… there is no error message when 
> I build for 9.3. And, when I build for 9.3 I can load the app on an iPad 
> running iOS 10.
> 
> “linking for arm (arm64) failed with Id: warning: Id: warning: object file
> (/private/var/folders/15d3mtyl1r8xj4y3006s6dhb6rgn/T/TemporaryItems/tmp.81721.zat*Cbeal)
> was build for new iOS version (9.3) than being linked (8.0)object file 
> (/Applications/LiveCode Indy
> 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) was build for 
> newer iOS version ) (9.3)
> than being linked (8.0)
> 
> I tried to make sense of the error message and set the build for 8.1 and 
> later…  when I set to build for 8.1 later, things work fine… I assume that 
> has something to to do with the part of message: (/Applications/LiveCode Indy 
> 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone)
> 
> 
> I see Phil Jimmieson also noted a similar arm64 error… Phil… is your message 
> like mine? What do you see that corresponds to the point in the error message 
> “8.1.0.app”?
> 
> Thoughts anyone?
> 
> be well,
> randy
> 
> Randy Hengst
> www.classroomFocusedSoftware.com
> 
> 
> 
>> On Sep 16, 2016, at 3:50 AM, panagiotis merakos  wrote:
>> 
>> Hi Randy,
>> 
>> The version of Xcode you choose in [Preferences -> Mobile support] only
>> decides which version of the iOS SDK will be used to *build* the iOS
>> standalone app.
>> 
>> In the Standalone Application Settings, you can choose the minimum iOS
>> version you want your app to *run* in.
>> 
>> So you set this option to "8.0 or later"
>> 
>> Best regards,
>> Panos
>> --
>> 
>> On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst  wrote:
>> 
>>> Thank you Panos, I’ll get that going.
>>> 
>>> One related question…. I’ve had a computer “issue” and now only have Xcode
>>> 7.3.1 on my machine… it only has SDK 9.3.
>>> 
>>> I assume that will allow me to build for iOS 10… but will it building for
>>> the iOS 7 or 8 series?
>>> 
>>> If not, is there an easy way to add SDKs to Xcode 7.3.1? I’ve been
>>> searching without success. If I have to download other Xcode apps, can
>>> someone point me to which one would allow me to build for at least iOS 8
>>> and beyond.
>>> 
>>> Thanks in advance for the help.
>>> 
>>> be well,
>>> randy
>>> 
>>> Randy Hengst
>>> www.classroomFocusedSoftware.com
>>> 
>>> 
>>> 
 On Sep 15, 2016, at 11:28 AM, panagiotis merakos 
>>> wrote:
 
 Hi Randy,
 
 This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed
>>> in LC
 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0.
 
 Best,
 Panos
 --
 
 On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst 
>>> wrote:
 
> All,
> 
> 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to
>>> be
> that the apps don’t know they are “landscape” only apps and open (and
>>> only
> display) in portrait… thus, cutting off part of the screen. All of the
>>> apps
> work fine in iOS 9.3.x
> 
> And, in fact, landscape iPad apps build in 2014 (can’t remember which LC
> version) work fine… it’s only the apps built in summer 2015 and summer
>>> 2016.
> 
> I thought I saw something about this on the list earlier, but can’t
>>> locate
> it now.
> 
> Will 8.1.1 RC1 be stable enough to use to update apps?
> 
> be well,
> randy
> 
> Randy Hengst
> www.classroomFocusedSoftware.com
> 
> 
> 
>> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media <
> and...@midwestcoastmedia.com> wrote:
>> 
>> An app I just released for a customer has had the main functionality
> (connect to a LiveCode Server using the SSL API from HostM) break in
>>> iOS 10.
>> 
>> I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub
> so I can figure out what's happening.
>> 
>> Is there any documentation on how to do this or is it even possible?
>>> I'm
> not real familiar with github, but cloned the branch and got it
>>> downloaded.
> I know the release is planned for the next 5 days, and realize this
>>> might
> not even be worth my time.
>> 
>> --Andrew Bell
>> 
>> 
>>> From: Peter TB Brett 

Re: use-livecode Digest, Vol 156, Issue 33

2016-09-16 Thread Mark Clark
Charles and Matthias—thanks to both of you! Works like a charm now that you’ve 
shown the way:) The line by line explanations and updated sample stack were 
perfect--
FWIW, hostm apparently allows either TLS or SSL but their docs use TLS (port 
designation 587 or 465) as the “right” way. 

I have the list set to digest so apologize for the delay in thanking you 
both.You have helped me overcome a really tedious monitoring job ---from a web 
interface to a swimming pool controller to a handy LC style “email me if you 
have any issues with chlorine or PH, etc. I do volunteer work for a non-profit 
with a fairly large (160,000 gallons)  swimming pool and we just installed 
Prominent DCM5 chemical controllers/monitors. They do have a built in web host 
that exists on our local network but who wants to vpn at all hours of the day? 
Livecode is perfect for scraping data from an old taco cgi, building a little 
logic and posting data to a simple db. It also sends out a notice once daily as 
well as warnings if things go really wrong—thanks to you now all in a simple LC 
app that launchd tickles once/15 minutes for data logging.


mc
> On Sep 16, 2016, at 4:55 AM, use-livecode-requ...@lists.runrev.com wrote:
> 
> If you are using FTPS in implicit mode, then you just need a URL 
> starting with "ftps://" and you do not need the "use_ssl" setting.
> If you are using FTPS in explicit mode, then you need a URL that starts 
> with "ftp://; and you must use the "use_ssl" setting to invoke TLS.

___
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: How to stop LoveCode running in Edit mode

2016-09-16 Thread Rick Harrison
Hi Keith,

I think LiveCode probably would have been better off to have been named 
LoveCode!
That was certainly a big marketing opportunity which was missed by the team. Oh 
well…

Just my 2 cents.  LOL

Rick

> On Sep 16, 2016, at 5:55 AM, Keith Clarke  wrote:
> 
> …and sorry about the ‘LoveCode’ typo - a Freudian slip, or just absence 
> making the heart grow fonder, perhaps! :-)
> Best,
> Keith..
> 
>> On 16 Sep 2016, at 10:50, Keith Clarke  wrote:
>> 
>> Hi folks,
>> Returning to LiveCode after some months away and am wondering why, in 8.1 
>> (in Mac & Windows IDE environments) scripts on buttons, etc are still firing 
>> when I switch to (or open a simple stack in) ‘Edit/Pointer’ mode.
>> 
>> IIRC,  code only used to run whilst in ‘Run/Browse’ mode. This is making 
>> development & debugging hard work - have I missed a new setting that I need 
>> to disable?
>> Best,
>> Keith..
> 
> 
> ___
> 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: Xcode 8 / iOS 10 support coming in 8.1.1

2016-09-16 Thread Randy Hengst
Yes, I do… just tried again after reading your message.

be well,
randy

Randy Hengst
www.classroomFocusedSoftware.com



> On Sep 16, 2016, at 7:56 AM, panagiotis merakos  wrote:
> 
> Hi Randy,
> 
> Those errors (object file X was build for newer iOS version
> than being linked) should occur only the first time you build an iOS
> standalone. Do you still see them, after trying again (with the minimum iOS
> version set to 8.0)?
> 
> Best,
> Panos
> --
> 
> On Fri, Sep 16, 2016 at 1:45 PM, Randy Hengst  wrote:
> 
>> Hi Panos,
>> 
>> Well, your response is consistent with what I thought I knew… but, when I
>> tried to build a standalone with the minimum iOS version set to 8.0, I
>> received the error message build on the build… there is no error message
>> when I build for 9.3. And, when I build for 9.3 I can load the app on an
>> iPad running iOS 10.
>> 
>> “linking for arm (arm64) failed with Id: warning: Id: warning: object file
>> (/private/var/folders/15d3mtyl1r8xj4y3006s6dhb6r
>> gn/T/TemporaryItems/tmp.81721.zat*Cbeal)
>> was build for new iOS version (9.3) than being linked (8.0)object file
>> (/Applications/LiveCode Indy
>> 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) was build for
>> newer iOS version ) (9.3)
>> than being linked (8.0)
>> 
>> I tried to make sense of the error message and set the build for 8.1 and
>> later…  when I set to build for 8.1 later, things work fine… I assume that
>> has something to to do with the part of message: (/Applications/LiveCode
>> Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone)
>> 
>> 
>> I see Phil Jimmieson also noted a similar arm64 error… Phil… is your
>> message like mine? What do you see that corresponds to the point in the
>> error message “8.1.0.app”?
>> 
>> Thoughts anyone?
>> 
>> be well,
>> randy
>> 
>> Randy Hengst
>> www.classroomFocusedSoftware.com
>> 
>> 
>> 
>>> On Sep 16, 2016, at 3:50 AM, panagiotis merakos 
>> wrote:
>>> 
>>> Hi Randy,
>>> 
>>> The version of Xcode you choose in [Preferences -> Mobile support] only
>>> decides which version of the iOS SDK will be used to *build* the iOS
>>> standalone app.
>>> 
>>> In the Standalone Application Settings, you can choose the minimum iOS
>>> version you want your app to *run* in.
>>> 
>>> So you set this option to "8.0 or later"
>>> 
>>> Best regards,
>>> Panos
>>> --
>>> 
>>> On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst 
>> wrote:
>>> 
 Thank you Panos, I’ll get that going.
 
 One related question…. I’ve had a computer “issue” and now only have
>> Xcode
 7.3.1 on my machine… it only has SDK 9.3.
 
 I assume that will allow me to build for iOS 10… but will it building
>> for
 the iOS 7 or 8 series?
 
 If not, is there an easy way to add SDKs to Xcode 7.3.1? I’ve been
 searching without success. If I have to download other Xcode apps, can
 someone point me to which one would allow me to build for at least iOS 8
 and beyond.
 
 Thanks in advance for the help.
 
 be well,
 randy
 
 Randy Hengst
 www.classroomFocusedSoftware.com
 
 
 
> On Sep 15, 2016, at 11:28 AM, panagiotis merakos 
 wrote:
> 
> Hi Randy,
> 
> This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed
 in LC
> 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0.
> 
> Best,
> Panos
> --
> 
> On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst 
 wrote:
> 
>> All,
>> 
>> 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to
 be
>> that the apps don’t know they are “landscape” only apps and open (and
 only
>> display) in portrait… thus, cutting off part of the screen. All of the
 apps
>> work fine in iOS 9.3.x
>> 
>> And, in fact, landscape iPad apps build in 2014 (can’t remember which
>> LC
>> version) work fine… it’s only the apps built in summer 2015 and summer
 2016.
>> 
>> I thought I saw something about this on the list earlier, but can’t
 locate
>> it now.
>> 
>> Will 8.1.1 RC1 be stable enough to use to update apps?
>> 
>> be well,
>> randy
>> 
>> Randy Hengst
>> www.classroomFocusedSoftware.com
>> 
>> 
>> 
>>> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media <
>> and...@midwestcoastmedia.com> wrote:
>>> 
>>> An app I just released for a customer has had the main functionality
>> (connect to a LiveCode Server using the SSL API from HostM) break in
 iOS 10.
>>> 
>>> I'm looking for a way to build a pre-release 8.1.1rc1 build from
>> GitHub
>> so I can figure out what's happening.
>>> 
>>> Is there any documentation on how to do this or is it even possible?
 I'm
>> not real familiar with github, but cloned the branch and 

Re: error building for iOS with LiveCode 8.1

2016-09-16 Thread Phil Jimmieson
Hi Panos,
thanks. I’ll send you a dropbox link to the stack and supporting material. I 
don’t think our email system will let me send more than a couple of megabytes…

Bug reported has been submitted. 

http://quality.livecode.com/show_bug.cgi?id=18416

> On 16 Sep 2016, at 13:29, panagiotis merakos  wrote:
> 
> Ok, I suggest you file a bug at quality.livecode.com and attach your sample
> stack so as we can investigate this further. Or send the stack to
> panos.mera...@livecode.com if it is confidential.
> 
> BTW could you please first check if you get this error with *any* stack? Or
> does it happen with just this particular stack?
> 
> Best,
> Panos
> --
> 
> On Fri, Sep 16, 2016 at 1:24 PM, Phil Jimmieson 
> wrote:
> 
>> Hi Panos,
>> yes. I’ve tried three times now. I initially targeted 7.1 or later, but
>> have now selected 8.0 and 8.1 - but I still get the error.
>>> On 16 Sep 2016, at 13:19, panagiotis merakos  wrote:
>>> 
>>> Hi Phil,
>>> 
>>> IIRC I used to get similar errors just *the very first time* I tried to
>>> create an ios standalone. Do you get this error *always* when trying to
>>> build an ios standalone?
>>> 
>>> Best,
>>> Panos
>>> --
>>> 
>>> On Fri, Sep 16, 2016 at 1:10 PM, Phil Jimmieson 
>>> wrote:
>>> 
 Hi folks
 due to the right hand edge black bar problems with landscape apps under
 iOS 10 I’m currently trying to build new versions of my LiveCode iOS
>> apps.
 The first one I’ve tried to build is generating build errors - “linking
>> for
 arm (arm64) failed with a duplicate symbol l001 in:
>> /Applications/LiveCode
 Indy” - followed by lots of errors relating to revpdfprinter, Standalone
 and one to revzip. Anyone got any suggestions as to how to fix it?
 
 In fact an app is generated at the end of the standalone building
>> process,
 but it is incomplete. Loading it onto an iPad via Xcode leads to the
>> error
 that it “doesn’t contain a valid info.plist”.
 
 --
 Phil Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236  (Mobile)
>> 07976
 983164
 Computer Science Dept., Liverpool University, Ashton Building, Ashton
 Street
 Liverpool L69 3BX  http://www.csc.liv.ac.uk/~phil/
 I used to sit on a special medical board... ...but now I use this
>> ointment.
 
 
 
 
 
 ___
 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
>> 
>> --
>> Phil Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236  (Mobile) 07976
>> 983164
>> Computer Science Dept., Liverpool University, Ashton Building, Ashton
>> Street
>> Liverpool L69 3BX  http://www.csc.liv.ac.uk/~phil/
>> I used to sit on a special medical board... ...but now I use this ointment.
>> 
>> 
>> 
>> 
>> 
>> ___
>> 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

--
Phil Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236  (Mobile) 07976 983164
Computer Science Dept., Liverpool University, Ashton Building, Ashton Street
Liverpool L69 3BX  http://www.csc.liv.ac.uk/~phil/
I used to sit on a special medical board... ...but now I use this ointment.





___
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: Xcode 8 / iOS 10 support coming in 8.1.1

2016-09-16 Thread panagiotis merakos
Hi Randy,

Those errors (object file X was build for newer iOS version
than being linked) should occur only the first time you build an iOS
standalone. Do you still see them, after trying again (with the minimum iOS
version set to 8.0)?

Best,
Panos
--

On Fri, Sep 16, 2016 at 1:45 PM, Randy Hengst  wrote:

> Hi Panos,
>
> Well, your response is consistent with what I thought I knew… but, when I
> tried to build a standalone with the minimum iOS version set to 8.0, I
> received the error message build on the build… there is no error message
> when I build for 9.3. And, when I build for 9.3 I can load the app on an
> iPad running iOS 10.
>
> “linking for arm (arm64) failed with Id: warning: Id: warning: object file
> (/private/var/folders/15d3mtyl1r8xj4y3006s6dhb6r
> gn/T/TemporaryItems/tmp.81721.zat*Cbeal)
> was build for new iOS version (9.3) than being linked (8.0)object file
> (/Applications/LiveCode Indy
> 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) was build for
> newer iOS version ) (9.3)
> than being linked (8.0)
>
> I tried to make sense of the error message and set the build for 8.1 and
> later…  when I set to build for 8.1 later, things work fine… I assume that
> has something to to do with the part of message: (/Applications/LiveCode
> Indy 8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone)
>
>
> I see Phil Jimmieson also noted a similar arm64 error… Phil… is your
> message like mine? What do you see that corresponds to the point in the
> error message “8.1.0.app”?
>
> Thoughts anyone?
>
> be well,
> randy
>
> Randy Hengst
> www.classroomFocusedSoftware.com
>
>
>
> > On Sep 16, 2016, at 3:50 AM, panagiotis merakos 
> wrote:
> >
> > Hi Randy,
> >
> > The version of Xcode you choose in [Preferences -> Mobile support] only
> > decides which version of the iOS SDK will be used to *build* the iOS
> > standalone app.
> >
> > In the Standalone Application Settings, you can choose the minimum iOS
> > version you want your app to *run* in.
> >
> > So you set this option to "8.0 or later"
> >
> > Best regards,
> > Panos
> > --
> >
> > On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst 
> wrote:
> >
> >> Thank you Panos, I’ll get that going.
> >>
> >> One related question…. I’ve had a computer “issue” and now only have
> Xcode
> >> 7.3.1 on my machine… it only has SDK 9.3.
> >>
> >> I assume that will allow me to build for iOS 10… but will it building
> for
> >> the iOS 7 or 8 series?
> >>
> >> If not, is there an easy way to add SDKs to Xcode 7.3.1? I’ve been
> >> searching without success. If I have to download other Xcode apps, can
> >> someone point me to which one would allow me to build for at least iOS 8
> >> and beyond.
> >>
> >> Thanks in advance for the help.
> >>
> >> be well,
> >> randy
> >>
> >> Randy Hengst
> >> www.classroomFocusedSoftware.com
> >>
> >>
> >>
> >>> On Sep 15, 2016, at 11:28 AM, panagiotis merakos 
> >> wrote:
> >>>
> >>> Hi Randy,
> >>>
> >>> This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed
> >> in LC
> >>> 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0.
> >>>
> >>> Best,
> >>> Panos
> >>> --
> >>>
> >>> On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst 
> >> wrote:
> >>>
>  All,
> 
>  22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to
> >> be
>  that the apps don’t know they are “landscape” only apps and open (and
> >> only
>  display) in portrait… thus, cutting off part of the screen. All of the
> >> apps
>  work fine in iOS 9.3.x
> 
>  And, in fact, landscape iPad apps build in 2014 (can’t remember which
> LC
>  version) work fine… it’s only the apps built in summer 2015 and summer
> >> 2016.
> 
>  I thought I saw something about this on the list earlier, but can’t
> >> locate
>  it now.
> 
>  Will 8.1.1 RC1 be stable enough to use to update apps?
> 
>  be well,
>  randy
> 
>  Randy Hengst
>  www.classroomFocusedSoftware.com
> 
> 
> 
> > On Sep 15, 2016, at 11:10 AM, Mid West Coast Media <
>  and...@midwestcoastmedia.com> wrote:
> >
> > An app I just released for a customer has had the main functionality
>  (connect to a LiveCode Server using the SSL API from HostM) break in
> >> iOS 10.
> >
> > I'm looking for a way to build a pre-release 8.1.1rc1 build from
> GitHub
>  so I can figure out what's happening.
> >
> > Is there any documentation on how to do this or is it even possible?
> >> I'm
>  not real familiar with github, but cloned the branch and got it
> >> downloaded.
>  I know the release is planned for the next 5 days, and realize this
> >> might
>  not even be worth my time.
> >
> > --Andrew Bell
> >
> >
> >> From: Peter TB Brett 
> >> To: User List 
> >> 

Re: Xcode 8 / iOS 10 support coming in 8.1.1

2016-09-16 Thread Randy Hengst
Hi Panos,

Well, your response is consistent with what I thought I knew… but, when I tried 
to build a standalone with the minimum iOS version set to 8.0, I received the 
error message build on the build… there is no error message when I build for 
9.3. And, when I build for 9.3 I can load the app on an iPad running iOS 10.

“linking for arm (arm64) failed with Id: warning: Id: warning: object file
(/private/var/folders/15d3mtyl1r8xj4y3006s6dhb6rgn/T/TemporaryItems/tmp.81721.zat*Cbeal)
was build for new iOS version (9.3) than being linked (8.0)object file 
(/Applications/LiveCode Indy
8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone) was build for newer 
iOS version ) (9.3)
than being linked (8.0)

I tried to make sense of the error message and set the build for 8.1 and later… 
 when I set to build for 8.1 later, things work fine… I assume that has 
something to to do with the part of message: (/Applications/LiveCode Indy 
8.1.0.app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone)


I see Phil Jimmieson also noted a similar arm64 error… Phil… is your message 
like mine? What do you see that corresponds to the point in the error message 
“8.1.0.app”?

Thoughts anyone?

be well,
randy

Randy Hengst
www.classroomFocusedSoftware.com



> On Sep 16, 2016, at 3:50 AM, panagiotis merakos  wrote:
> 
> Hi Randy,
> 
> The version of Xcode you choose in [Preferences -> Mobile support] only
> decides which version of the iOS SDK will be used to *build* the iOS
> standalone app.
> 
> In the Standalone Application Settings, you can choose the minimum iOS
> version you want your app to *run* in.
> 
> So you set this option to "8.0 or later"
> 
> Best regards,
> Panos
> --
> 
> On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst  wrote:
> 
>> Thank you Panos, I’ll get that going.
>> 
>> One related question…. I’ve had a computer “issue” and now only have Xcode
>> 7.3.1 on my machine… it only has SDK 9.3.
>> 
>> I assume that will allow me to build for iOS 10… but will it building for
>> the iOS 7 or 8 series?
>> 
>> If not, is there an easy way to add SDKs to Xcode 7.3.1? I’ve been
>> searching without success. If I have to download other Xcode apps, can
>> someone point me to which one would allow me to build for at least iOS 8
>> and beyond.
>> 
>> Thanks in advance for the help.
>> 
>> be well,
>> randy
>> 
>> Randy Hengst
>> www.classroomFocusedSoftware.com
>> 
>> 
>> 
>>> On Sep 15, 2016, at 11:28 AM, panagiotis merakos 
>> wrote:
>>> 
>>> Hi Randy,
>>> 
>>> This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed
>> in LC
>>> 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0.
>>> 
>>> Best,
>>> Panos
>>> --
>>> 
>>> On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst 
>> wrote:
>>> 
 All,
 
 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to
>> be
 that the apps don’t know they are “landscape” only apps and open (and
>> only
 display) in portrait… thus, cutting off part of the screen. All of the
>> apps
 work fine in iOS 9.3.x
 
 And, in fact, landscape iPad apps build in 2014 (can’t remember which LC
 version) work fine… it’s only the apps built in summer 2015 and summer
>> 2016.
 
 I thought I saw something about this on the list earlier, but can’t
>> locate
 it now.
 
 Will 8.1.1 RC1 be stable enough to use to update apps?
 
 be well,
 randy
 
 Randy Hengst
 www.classroomFocusedSoftware.com
 
 
 
> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media <
 and...@midwestcoastmedia.com> wrote:
> 
> An app I just released for a customer has had the main functionality
 (connect to a LiveCode Server using the SSL API from HostM) break in
>> iOS 10.
> 
> I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub
 so I can figure out what's happening.
> 
> Is there any documentation on how to do this or is it even possible?
>> I'm
 not real familiar with github, but cloned the branch and got it
>> downloaded.
 I know the release is planned for the next 5 days, and realize this
>> might
 not even be worth my time.
> 
> --Andrew Bell
> 
> 
>> From: Peter TB Brett 
>> To: User List 
>> Subject: Xcode 8 / iOS 10 support coming in 8.1.1
>> Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05...@livecode.com>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>> 
>> Hi all,
>> 
>> Since Xcode 8 GM is now available for download by members of the Apple
>> developer program, I thought it might be helpful to give you an update
>> on our plans for enabling LiveCode app deployment using Xcode 8.
>> 
>> - iOS 10 deployment using Xcode 8 will be available in the 8.1.1
>> release
>> 
>> - If you need to deploy to iOS using 

Re: tsNet Qs

2016-09-16 Thread Dave Kilroy
It works like a dream!

Thank you all, this thread has been really helpful to me - I now know so much 
more about emails than I did before (which wasn’t hard considering what I knew 
before)

Kind regards

Dave


> Hi Dave, 
> 
> Yes, you can include attachments in an e-mail. 
> 
> The pData parameter to the tsNetSmtp* commands is the raw e-mail message 
> that you wish to send, complete with e-mail headers. 
> 
> So to send an attachment, you need to build the e-mail as a multi-part 
> MIME message. 
> 
> I have just updated the LCMail stack (thanks to Neil and Matthias for 
> that stack) to add an attachment when you click the "send" button. 
> 
> It is at the same URL as before: 
> 
> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 
> 
> 
> Cheers, 
> 
> Charles 
> 
___
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: error building for iOS with LiveCode 8.1

2016-09-16 Thread panagiotis merakos
Ok, I suggest you file a bug at quality.livecode.com and attach your sample
stack so as we can investigate this further. Or send the stack to
panos.mera...@livecode.com if it is confidential.

BTW could you please first check if you get this error with *any* stack? Or
does it happen with just this particular stack?

Best,
Panos
--

On Fri, Sep 16, 2016 at 1:24 PM, Phil Jimmieson 
wrote:

> Hi Panos,
> yes. I’ve tried three times now. I initially targeted 7.1 or later, but
> have now selected 8.0 and 8.1 - but I still get the error.
> > On 16 Sep 2016, at 13:19, panagiotis merakos  wrote:
> >
> > Hi Phil,
> >
> > IIRC I used to get similar errors just *the very first time* I tried to
> > create an ios standalone. Do you get this error *always* when trying to
> > build an ios standalone?
> >
> > Best,
> > Panos
> > --
> >
> > On Fri, Sep 16, 2016 at 1:10 PM, Phil Jimmieson 
> > wrote:
> >
> >> Hi folks
> >> due to the right hand edge black bar problems with landscape apps under
> >> iOS 10 I’m currently trying to build new versions of my LiveCode iOS
> apps.
> >> The first one I’ve tried to build is generating build errors - “linking
> for
> >> arm (arm64) failed with a duplicate symbol l001 in:
> /Applications/LiveCode
> >> Indy” - followed by lots of errors relating to revpdfprinter, Standalone
> >> and one to revzip. Anyone got any suggestions as to how to fix it?
> >>
> >> In fact an app is generated at the end of the standalone building
> process,
> >> but it is incomplete. Loading it onto an iPad via Xcode leads to the
> error
> >> that it “doesn’t contain a valid info.plist”.
> >>
> >> --
> >> Phil Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236  (Mobile)
> 07976
> >> 983164
> >> Computer Science Dept., Liverpool University, Ashton Building, Ashton
> >> Street
> >> Liverpool L69 3BX  http://www.csc.liv.ac.uk/~phil/
> >> I used to sit on a special medical board... ...but now I use this
> ointment.
> >>
> >>
> >>
> >>
> >>
> >> ___
> >> 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
>
> --
> Phil Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236  (Mobile) 07976
> 983164
> Computer Science Dept., Liverpool University, Ashton Building, Ashton
> Street
> Liverpool L69 3BX  http://www.csc.liv.ac.uk/~phil/
> I used to sit on a special medical board... ...but now I use this ointment.
>
>
>
>
>
> ___
> 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: error building for iOS with LiveCode 8.1

2016-09-16 Thread Phil Jimmieson
Hi Panos,
yes. I’ve tried three times now. I initially targeted 7.1 or later, but have 
now selected 8.0 and 8.1 - but I still get the error. 
> On 16 Sep 2016, at 13:19, panagiotis merakos  wrote:
> 
> Hi Phil,
> 
> IIRC I used to get similar errors just *the very first time* I tried to
> create an ios standalone. Do you get this error *always* when trying to
> build an ios standalone?
> 
> Best,
> Panos
> --
> 
> On Fri, Sep 16, 2016 at 1:10 PM, Phil Jimmieson 
> wrote:
> 
>> Hi folks
>> due to the right hand edge black bar problems with landscape apps under
>> iOS 10 I’m currently trying to build new versions of my LiveCode iOS apps.
>> The first one I’ve tried to build is generating build errors - “linking for
>> arm (arm64) failed with a duplicate symbol l001 in: /Applications/LiveCode
>> Indy” - followed by lots of errors relating to revpdfprinter, Standalone
>> and one to revzip. Anyone got any suggestions as to how to fix it?
>> 
>> In fact an app is generated at the end of the standalone building process,
>> but it is incomplete. Loading it onto an iPad via Xcode leads to the error
>> that it “doesn’t contain a valid info.plist”.
>> 
>> --
>> Phil Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236  (Mobile) 07976
>> 983164
>> Computer Science Dept., Liverpool University, Ashton Building, Ashton
>> Street
>> Liverpool L69 3BX  http://www.csc.liv.ac.uk/~phil/
>> I used to sit on a special medical board... ...but now I use this ointment.
>> 
>> 
>> 
>> 
>> 
>> ___
>> 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

--
Phil Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236  (Mobile) 07976 983164
Computer Science Dept., Liverpool University, Ashton Building, Ashton Street
Liverpool L69 3BX  http://www.csc.liv.ac.uk/~phil/
I used to sit on a special medical board... ...but now I use this ointment.





___
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: error building for iOS with LiveCode 8.1

2016-09-16 Thread panagiotis merakos
Hi Phil,

IIRC I used to get similar errors just *the very first time* I tried to
create an ios standalone. Do you get this error *always* when trying to
build an ios standalone?

Best,
Panos
--

On Fri, Sep 16, 2016 at 1:10 PM, Phil Jimmieson 
wrote:

> Hi folks
> due to the right hand edge black bar problems with landscape apps under
> iOS 10 I’m currently trying to build new versions of my LiveCode iOS apps.
> The first one I’ve tried to build is generating build errors - “linking for
> arm (arm64) failed with a duplicate symbol l001 in: /Applications/LiveCode
> Indy” - followed by lots of errors relating to revpdfprinter, Standalone
> and one to revzip. Anyone got any suggestions as to how to fix it?
>
> In fact an app is generated at the end of the standalone building process,
> but it is incomplete. Loading it onto an iPad via Xcode leads to the error
> that it “doesn’t contain a valid info.plist”.
>
> --
> Phil Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236  (Mobile) 07976
> 983164
> Computer Science Dept., Liverpool University, Ashton Building, Ashton
> Street
> Liverpool L69 3BX  http://www.csc.liv.ac.uk/~phil/
> I used to sit on a special medical board... ...but now I use this ointment.
>
>
>
>
>
> ___
> 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

error building for iOS with LiveCode 8.1

2016-09-16 Thread Phil Jimmieson
Hi folks
due to the right hand edge black bar problems with landscape apps under iOS 10 
I’m currently trying to build new versions of my LiveCode iOS apps. The first 
one I’ve tried to build is generating build errors - “linking for arm (arm64) 
failed with a duplicate symbol l001 in: /Applications/LiveCode Indy” - followed 
by lots of errors relating to revpdfprinter, Standalone and one to revzip. 
Anyone got any suggestions as to how to fix it?

In fact an app is generated at the end of the standalone building process, but 
it is incomplete. Loading it onto an iPad via Xcode leads to the error that it 
“doesn’t contain a valid info.plist”.

--
Phil Jimmieson  p...@liverpool.ac.uk  (UK) 0151 795 4236  (Mobile) 07976 983164
Computer Science Dept., Liverpool University, Ashton Building, Ashton Street
Liverpool L69 3BX  http://www.csc.liv.ac.uk/~phil/
I used to sit on a special medical board... ...but now I use this ointment.





___
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: tsNet Qs

2016-09-16 Thread Colin.Kelly
Hi,

The stack works fine on my mac but on Windows 10 I get the Error: 
   “Error tsnetterr (6) could not resolve host: 
   office365.com.
   returned from server”
   
Any ideas?

On 16/09/2016, 12:41, "use-livecode on behalf of Matthias Rebbe" 
 wrote:

Hi,

i have now upgraded my demo stack with Charles corrections and additions.
The stack includes smtp and ftp samples.
https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 



@Charles
If you want, you can use that stack for further modifications and extend it 
with further examples.

Regards,

Matthias



Matthias Rebbe
Bramkampsieke 13
32312 Lübbecke
Tel +49 5741 31
+49 160 5504462
Fax: +49 5741 310002
eMail: matth...@m-r-d.de 

BR5 Konverter - BR5 -> MP3 
> Am 16.09.2016 um 13:24 schrieb Charles Warwick 
>:
> 
> Hi Dave,
> 
> Yes, you can include attachments in an e-mail.
> 
> The pData parameter to the tsNetSmtp* commands is the raw e-mail message 
that you wish to send, complete with e-mail headers.
> 
> So to send an attachment, you need to build the e-mail as a multi-part 
MIME message.
> 
> I have just updated the LCMail stack (thanks to Neil and Matthias for 
that stack) to add an attachment when you click the "send" button.
> 
> It is at the same URL as before:
> 
> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 

> 
> Cheers,
> 
> Charles
> 
> 
> On 16/09/2016 8:57 PM, Dave Kilroy wrote:
>> Thanks for your help with this Charles and others
>> 
>> Yesterday I got the same advice from HostM about using TLS  - 
"smtp://domain:port” and not "scheme://host:port/path: as it is in the 
dictionary
>> 
>> I’m so impressed with your external, it’s so fast and even fussy domains 
such as nhs.net email accounts accept emails sent by it without objection :)
>> 
>> I have a question to ask though, is it possible to include an attachment 
with the email?
>> 
>> Dave
>> 
>> 
>> 
>> 
>>> Hi Matthias,
>>> 
>>> On 16/09/2016 8:46 AM, Matthias Rebbe wrote:
 And here´s a simple script
 
 
 
 put TRUE into pSettings["use_ssl"]
 
 -- Note: when setting use_ssl to TRUE, then you have to use smtps:// --
 
 
>>> That is not quite correct.
>>> 
>>> Secure SMTP comes in two flavours, SSL and TLS.
>>> 
>>> If you are using SMTP over SSL, then you just need a URL starting with
>>> "smtps://" and you do not need the "use_ssl" setting.
>>> If you are using SMTP over TLS, then you need a URL that looks like
>>> "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to
>>> invoke TLS.
>>> 
>>> I have taken the liberty to update Neil's LCMail stack with a few radio
>>> buttons, so that it generates the URL and adds the "use_ssl" setting
>>> only when appropriate.  You can download it here:
>>> 
>>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 

>>> 
>>> As an aside, a similar concept applies when using FTPS in implicit or
>>> explicit mode:
>>> 
>>> If you are using FTPS in implicit mode, then you just need a URL
>>> starting with "ftps://" and you do not need the "use_ssl" setting.
>>> If you are using FTPS in explicit mode, then you need a URL that starts
>>> with "ftp://; and you must use the "use_ssl" setting to invoke TLS.
>>> 
>>> Regards,
>>> 
>>> Charles
>>> 
>>> 
>>> 
 answer pResponseHeaders  
 
 end mouseup
 
 
 HTH,
 
 Matthias
 
> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] 
>:
> 
> Hi Mark,
> 
> i just tried it with the stack from Neil Roger which is available here
> http://techsupport.on-rev.com/LCMail.zip 
 
>
> or an extended version, which includes also some FTP examples,here
> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 
 


Re: tsNet Qs

2016-09-16 Thread Skip Kimpel
Can't wait to check it out.. Thank you!

> On Sep 16, 2016, at 6:41 AM, Matthias Rebbe 
>  wrote:
> 
> Hi,
> 
> i have now upgraded my demo stack with Charles corrections and additions.
> The stack includes smtp and ftp samples.
> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 
> 
> 
> 
> @Charles
> If you want, you can use that stack for further modifications and extend it 
> with further examples.
> 
> Regards,
> 
> Matthias
> 
> 
> 
> Matthias Rebbe
> Bramkampsieke 13
> 32312 Lübbecke
> Tel+49 5741 31
>+49 160 5504462
> Fax: +49 5741 310002
> eMail: matth...@m-r-d.de 
> 
> BR5 Konverter - BR5 -> MP3 
>> Am 16.09.2016 um 13:24 schrieb Charles Warwick 
>> >:
>> 
>> Hi Dave,
>> 
>> Yes, you can include attachments in an e-mail.
>> 
>> The pData parameter to the tsNetSmtp* commands is the raw e-mail message 
>> that you wish to send, complete with e-mail headers.
>> 
>> So to send an attachment, you need to build the e-mail as a multi-part MIME 
>> message.
>> 
>> I have just updated the LCMail stack (thanks to Neil and Matthias for that 
>> stack) to add an attachment when you click the "send" button.
>> 
>> It is at the same URL as before:
>> 
>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 
>> 
>> 
>> Cheers,
>> 
>> Charles
>> 
>> 
>>> On 16/09/2016 8:57 PM, Dave Kilroy wrote:
>>> Thanks for your help with this Charles and others
>>> 
>>> Yesterday I got the same advice from HostM about using TLS  - 
>>> "smtp://domain:port” and not "scheme://host:port/path: as it is in the 
>>> dictionary
>>> 
>>> I’m so impressed with your external, it’s so fast and even fussy domains 
>>> such as nhs.net email accounts accept emails sent by it without objection :)
>>> 
>>> I have a question to ask though, is it possible to include an attachment 
>>> with the email?
>>> 
>>> Dave
>>> 
>>> 
>>> 
>>> 
 Hi Matthias,
 
> On 16/09/2016 8:46 AM, Matthias Rebbe wrote:
> And here´s a simple script
> 
> 
> 
> put TRUE into pSettings["use_ssl"]
> 
> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// --
 That is not quite correct.
 
 Secure SMTP comes in two flavours, SSL and TLS.
 
 If you are using SMTP over SSL, then you just need a URL starting with
 "smtps://" and you do not need the "use_ssl" setting.
 If you are using SMTP over TLS, then you need a URL that looks like
 "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to
 invoke TLS.
 
 I have taken the liberty to update Neil's LCMail stack with a few radio
 buttons, so that it generates the URL and adds the "use_ssl" setting
 only when appropriate.  You can download it here:
 
 https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 
 
 
 As an aside, a similar concept applies when using FTPS in implicit or
 explicit mode:
 
 If you are using FTPS in implicit mode, then you just need a URL
 starting with "ftps://" and you do not need the "use_ssl" setting.
 If you are using FTPS in explicit mode, then you need a URL that starts
 with "ftp://; and you must use the "use_ssl" setting to invoke TLS.
 
 Regards,
 
 Charles
 
 
 
> answer pResponseHeaders  
> 
> end mouseup
> 
> 
> HTH,
> 
> Matthias
> 
>> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] 
>> >:
>> 
>> Hi Mark,
>> 
>> i just tried it with the stack from Neil Roger which is available here
>> http://techsupport.on-rev.com/LCMail.zip 
>>  
>> > >
>> or an extended version, which includes also some FTP examples,here
>> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 
>>  
>> > >
>> 
>> Are you referring to that sample stack?
>> 
>> I just tried it. I have no problems using it to send an email through 
>> one of my  HostM email accounts to my iCloud email address.
>> 
>> 
>> Matthias
>> 
>> 
>> 
>>> Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] 
>>> >:
>>> 
>>> I am looking to replace 

Re: Maintain Order in JSON Import

2016-09-16 Thread Monte Goulding

> On 15 Sep 2016, at 12:22 PM, Roger Eller  wrote:
> 
> Sweet!  Can this external be used in a Windows standalone?

It supports all of LiveCode’s platforms and is dual licensed for community 
users too.

Cheers

Monte
___
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: tsNet Qs

2016-09-16 Thread Matthias Rebbe
Hi,

i have now upgraded my demo stack with Charles corrections and additions.
The stack includes smtp and ftp samples.
https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 



@Charles
If you want, you can use that stack for further modifications and extend it 
with further examples.

Regards,

Matthias



Matthias Rebbe
Bramkampsieke 13
32312 Lübbecke
Tel +49 5741 31
+49 160 5504462
Fax: +49 5741 310002
eMail: matth...@m-r-d.de 

BR5 Konverter - BR5 -> MP3 
> Am 16.09.2016 um 13:24 schrieb Charles Warwick  >:
> 
> Hi Dave,
> 
> Yes, you can include attachments in an e-mail.
> 
> The pData parameter to the tsNetSmtp* commands is the raw e-mail message that 
> you wish to send, complete with e-mail headers.
> 
> So to send an attachment, you need to build the e-mail as a multi-part MIME 
> message.
> 
> I have just updated the LCMail stack (thanks to Neil and Matthias for that 
> stack) to add an attachment when you click the "send" button.
> 
> It is at the same URL as before:
> 
> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 
> 
> 
> Cheers,
> 
> Charles
> 
> 
> On 16/09/2016 8:57 PM, Dave Kilroy wrote:
>> Thanks for your help with this Charles and others
>> 
>> Yesterday I got the same advice from HostM about using TLS  - 
>> "smtp://domain:port” and not "scheme://host:port/path: as it is in the 
>> dictionary
>> 
>> I’m so impressed with your external, it’s so fast and even fussy domains 
>> such as nhs.net email accounts accept emails sent by it without objection :)
>> 
>> I have a question to ask though, is it possible to include an attachment 
>> with the email?
>> 
>> Dave
>> 
>> 
>> 
>> 
>>> Hi Matthias,
>>> 
>>> On 16/09/2016 8:46 AM, Matthias Rebbe wrote:
 And here´s a simple script
 
 
 
 put TRUE into pSettings["use_ssl"]
 
 -- Note: when setting use_ssl to TRUE, then you have to use smtps:// --
 
 
>>> That is not quite correct.
>>> 
>>> Secure SMTP comes in two flavours, SSL and TLS.
>>> 
>>> If you are using SMTP over SSL, then you just need a URL starting with
>>> "smtps://" and you do not need the "use_ssl" setting.
>>> If you are using SMTP over TLS, then you need a URL that looks like
>>> "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to
>>> invoke TLS.
>>> 
>>> I have taken the liberty to update Neil's LCMail stack with a few radio
>>> buttons, so that it generates the URL and adds the "use_ssl" setting
>>> only when appropriate.  You can download it here:
>>> 
>>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 
>>> 
>>> 
>>> As an aside, a similar concept applies when using FTPS in implicit or
>>> explicit mode:
>>> 
>>> If you are using FTPS in implicit mode, then you just need a URL
>>> starting with "ftps://" and you do not need the "use_ssl" setting.
>>> If you are using FTPS in explicit mode, then you need a URL that starts
>>> with "ftp://; and you must use the "use_ssl" setting to invoke TLS.
>>> 
>>> Regards,
>>> 
>>> Charles
>>> 
>>> 
>>> 
 answer pResponseHeaders  
 
 end mouseup
 
 
 HTH,
 
 Matthias
 
> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] 
> >:
> 
> Hi Mark,
> 
> i just tried it with the stack from Neil Roger which is available here
> http://techsupport.on-rev.com/LCMail.zip 
>  
>  >
> or an extended version, which includes also some FTP examples,here
> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 
>  
>  >
> 
> Are you referring to that sample stack?
> 
> I just tried it. I have no problems using it to send an email through one 
> of my  HostM email accounts to my iCloud email address.
> 
> 
> Matthias
> 
> 
> 
>> Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] 
>> >:
>> 
>> I am looking to replace sending emails via shell to one using the tsNet 
>> library. At first I had thought there was a var for the smtp port, but 
>> that’s just a server address setting (whoops).
>> I am using hostM on this project and I’m trying to configure through 
>> their mail host- I have the proper 

Re: tsNet Qs

2016-09-16 Thread Skip Kimpel
Thank you so much for working on additional samples.  These are critical 
features many of us have wanted for a long time.  I was excited the other day 
when it was announced, immediately launched LC to "play" only to realize I 
didn't know enough, didn't have enough documentation and had no examples to 
work from.

Anything you can do to assist would be greatly helpful for all.  My particular 
interest are SMTP and SFTP.

Regards,

SKIP 

> On Sep 16, 2016, at 5:27 AM, Charles Warwick  
> wrote:
> 
> Hi Matthias,
> 
> I agree, it really needs a lot more documentation and examples.
> 
> That is something I am working on.  Feel free to send me any suggestions or 
> feedback on the existing scripts and documentation, it is more than welcome!
> 
> Regards,
> 
> Charles
> 
> 
>> On 16/09/2016 7:53 PM, Matthias Rebbe wrote:
>> Hi Charles,
>> 
>> thanks you very much  for clarifying. I will adjust my demo stack at my 
>> Dropbox also asap.
>> 
>> But there you can see:
>> Your external is so powerful, but w/o useful sample scripts it´s very 
>> difficult to learn how to use the tsNet commands/functions directly.
>> 
>> Regards,
>> 
>> 
>> Matthias
>> 
>> 
>> 
>>> Am 16.09.2016 um 11:34 schrieb Charles Warwick 
>>> :
>>> 
>>> Hi Matthias,
>>> 
 On 16/09/2016 8:46 AM, Matthias Rebbe wrote:
 And here´s a simple script
 
 
 
 put TRUE into pSettings["use_ssl"]
 
 -- Note: when setting use_ssl to TRUE, then you have to use smtps:// --
>>> That is not quite correct.
>>> 
>>> Secure SMTP comes in two flavours, SSL and TLS.
>>> 
>>> If you are using SMTP over SSL, then you just need a URL starting with 
>>> "smtps://" and you do not need the "use_ssl" setting.
>>> If you are using SMTP over TLS, then you need a URL that looks like 
>>> "smtp://mail.mydomain.com:587 " and you must 
>>> use the "use_ssl" setting to invoke TLS.
>>> 
>>> I have taken the liberty to update Neil's LCMail stack with a few radio 
>>> buttons, so that it generates the URL and adds the "use_ssl" setting only 
>>> when appropriate.  You can download it here:
>>> 
>>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 
>>> 
>>> 
>>> As an aside, a similar concept applies when using FTPS in implicit or 
>>> explicit mode:
>>> 
>>> If you are using FTPS in implicit mode, then you just need a URL starting 
>>> with "ftps://" and you do not need the "use_ssl" setting.
>>> If you are using FTPS in explicit mode, then you need a URL that starts 
>>> with "ftp://; and you must use the "use_ssl" setting to invoke TLS.
>>> 
>>> Regards,
>>> 
>>> Charles
>>> 
>>> 
>>> 
 answer pResponseHeaders  
 
 end mouseup
 
 
 HTH,
 
 Matthias
 
> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe 
> :
> 
> Hi Mark,
> 
> i just tried it with the stack from Neil Roger which is available here
> http://techsupport.on-rev.com/LCMail.zip 
> 
> or an extended version, which includes also some FTP examples,here
> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 
> 
> 
> Are you referring to that sample stack?
> 
> I just tried it. I have no problems using it to send an email through one 
> of my  HostM email accounts to my iCloud email address.
> 
> 
> Matthias
> 
> 
> 
>> Am 15.09.2016 um 23:29 schrieb Mark Clark :
>> 
>> I am looking to replace sending emails via shell to one using the tsNet 
>> library. At first I had thought there was a var for the smtp port, but 
>> that’s just a server address setting (whoops).
>> I am using hostM on this project and I’m trying to configure through 
>> their mail host- I have the proper settings for outgoing mail server 
>> (587), mail username (which is just the address for the account), and 
>> password. The error message I get back is (56) Failure when receiving 
>> data from peer/returned from server.  I’m just slogging through the 
>> tsNet Sample Sync Stack to speed things up since sending the email 
>> should be trivial compared to the data enclosed in the actual message. 
>> But, sometimes that’s how it goes:) Other than the Dictionary and this 
>> sample stack does anyone have a pointer to a simple example using this 
>> external with a hosted mail service?
>> 
>> thx,
>> mark c
>> ___
>> 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: tsNet Qs

2016-09-16 Thread Charles Warwick

Hi Dave,

Yes, you can include attachments in an e-mail.

The pData parameter to the tsNetSmtp* commands is the raw e-mail message 
that you wish to send, complete with e-mail headers.


So to send an attachment, you need to build the e-mail as a multi-part 
MIME message.


I have just updated the LCMail stack (thanks to Neil and Matthias for 
that stack) to add an attachment when you click the "send" button.


It is at the same URL as before:

https://downloads.techstrategies.com.au/tsnet/LCMail.livecode

Cheers,

Charles


On 16/09/2016 8:57 PM, Dave Kilroy wrote:

Thanks for your help with this Charles and others

Yesterday I got the same advice from HostM about using TLS  - "smtp://domain:port” 
and not "scheme://host:port/path: as it is in the dictionary

I’m so impressed with your external, it’s so fast and even fussy domains such 
as nhs.net email accounts accept emails sent by it without objection :)

I have a question to ask though, is it possible to include an attachment with 
the email?

Dave





Hi Matthias,

On 16/09/2016 8:46 AM, Matthias Rebbe wrote:

And here´s a simple script



put TRUE into pSettings["use_ssl"]

-- Note: when setting use_ssl to TRUE, then you have to use smtps:// --



That is not quite correct.

Secure SMTP comes in two flavours, SSL and TLS.

If you are using SMTP over SSL, then you just need a URL starting with
"smtps://" and you do not need the "use_ssl" setting.
If you are using SMTP over TLS, then you need a URL that looks like
"smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to
invoke TLS.

I have taken the liberty to update Neil's LCMail stack with a few radio
buttons, so that it generates the URL and adds the "use_ssl" setting
only when appropriate.  You can download it here:

https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 


As an aside, a similar concept applies when using FTPS in implicit or
explicit mode:

If you are using FTPS in implicit mode, then you just need a URL
starting with "ftps://" and you do not need the "use_ssl" setting.
If you are using FTPS in explicit mode, then you need a URL that starts
with "ftp://; and you must use the "use_ssl" setting to invoke TLS.

Regards,

Charles




answer pResponseHeaders  

end mouseup


HTH,

Matthias


Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] 
>:

Hi Mark,

i just tried it with the stack from Neil Roger which is available here
http://techsupport.on-rev.com/LCMail.zip  
>
or an extended version, which includes also some FTP examples,here
https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 
 
>

Are you referring to that sample stack?

I just tried it. I have no problems using it to send an email through one of my 
 HostM email accounts to my iCloud email address.


Matthias




Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] 
>:

I am looking to replace sending emails via shell to one using the tsNet 
library. At first I had thought there was a var for the smtp port, but that’s 
just a server address setting (whoops).
I am using hostM on this project and I’m trying to configure through their mail 
host- I have the proper settings for outgoing mail server (587), mail username 
(which is just the address for the account), and password. The error message I 
get back is (56) Failure when receiving data from peer/returned from server.  
I’m just slogging through the tsNet Sample Sync Stack to speed things up since 
sending the email should be trivial compared to the data enclosed in the actual 
message. But, sometimes that’s how it goes:) Other than the Dictionary and this 
sample stack does anyone have a pointer to a simple example using this external 
with a hosted mail service?

thx,
mark c
___
use-livecode mailing list
[hidden email] 

Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode 


___
use-livecode mailing list
[hidden email] 

Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode 

Re: tsNet Qs

2016-09-16 Thread Matthias Rebbe
Dave,

as far is i know even with tsNet you have to base64encode the attachments and 
include them into the message body.

At 
http://lessons.livecode.com/m/4070/l/8184-sending-emails-from-livecode-server-scripts
 


under “Adding Attachments" you will find some useful information how this can 
be done.

Matthias



> Am 16.09.2016 um 12:57 schrieb Dave Kilroy :
> 
> Thanks for your help with this Charles and others
> 
> Yesterday I got the same advice from HostM about using TLS  - 
> "smtp://domain:port” and not "scheme://host:port/path: as it is in the 
> dictionary
> 
> I’m so impressed with your external, it’s so fast and even fussy domains such 
> as nhs.net email accounts accept emails sent by it without objection :)
> 
> I have a question to ask though, is it possible to include an attachment with 
> the email? 
> 
> Dave
> 
> 
> 
> 
>> Hi Matthias, 
>> 
>> On 16/09/2016 8:46 AM, Matthias Rebbe wrote: 
>>> And here´s a simple script 
>>> 
>>> 
>>> 
>>> put TRUE into pSettings["use_ssl"] 
>>> 
>>> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- 
>>> 
>>> 
>> That is not quite correct. 
>> 
>> Secure SMTP comes in two flavours, SSL and TLS. 
>> 
>> If you are using SMTP over SSL, then you just need a URL starting with 
>> "smtps://" and you do not need the "use_ssl" setting. 
>> If you are using SMTP over TLS, then you need a URL that looks like 
>> "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to 
>> invoke TLS. 
>> 
>> I have taken the liberty to update Neil's LCMail stack with a few radio 
>> buttons, so that it generates the URL and adds the "use_ssl" setting 
>> only when appropriate.  You can download it here: 
>> 
>> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 
>> 
>> 
>> As an aside, a similar concept applies when using FTPS in implicit or 
>> explicit mode: 
>> 
>> If you are using FTPS in implicit mode, then you just need a URL 
>> starting with "ftps://" and you do not need the "use_ssl" setting. 
>> If you are using FTPS in explicit mode, then you need a URL that starts 
>> with "ftp://; and you must use the "use_ssl" setting to invoke TLS. 
>> 
>> Regards, 
>> 
>> Charles 
>> 
>> 
>> 
>>> answer pResponseHeaders   
>>> 
>>> end mouseup 
>>> 
>>> 
>>> HTH, 
>>> 
>>> Matthias 
>>> 
 Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] 
 >:
  
 
 Hi Mark, 
 
 i just tried it with the stack from Neil Roger which is available here 
 http://techsupport.on-rev.com/LCMail.zip 
  
 > 
 or an extended version, which includes also some FTP examples,here 
 https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 
  
 > 
 
 Are you referring to that sample stack? 
 
 I just tried it. I have no problems using it to send an email through one 
 of my  HostM email accounts to my iCloud email address. 
 
 
 Matthias 
 
 
 
> Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] 
> >:
>  
> 
> I am looking to replace sending emails via shell to one using the tsNet 
> library. At first I had thought there was a var for the smtp port, but 
> that’s just a server address setting (whoops). 
> I am using hostM on this project and I’m trying to configure through 
> their mail host- I have the proper settings for outgoing mail server 
> (587), mail username (which is just the address for the account), and 
> password. The error message I get back is (56) Failure when receiving 
> data from peer/returned from server.  I’m just slogging through the tsNet 
> Sample Sync Stack to speed things up since sending the email should be 
> trivial compared to the data enclosed in the actual message. But, 
> sometimes that’s how it goes:) Other than the Dictionary and this sample 
> stack does anyone have a pointer to a simple example using this external 
> with a hosted mail service? 
> 
> thx, 
> mark c 
> ___ 
> use-livecode mailing list 
> [hidden email] 
> 
>  
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences: 
> 

Re: tsNet Qs

2016-09-16 Thread Dave Kilroy
Thanks for your help with this Charles and others

Yesterday I got the same advice from HostM about using TLS  - 
"smtp://domain:port” and not "scheme://host:port/path: as it is in the 
dictionary

I’m so impressed with your external, it’s so fast and even fussy domains such 
as nhs.net email accounts accept emails sent by it without objection :)

I have a question to ask though, is it possible to include an attachment with 
the email? 

Dave




> Hi Matthias, 
> 
> On 16/09/2016 8:46 AM, Matthias Rebbe wrote: 
> > And here´s a simple script 
> > 
> > 
> > 
> > put TRUE into pSettings["use_ssl"] 
> > 
> > -- Note: when setting use_ssl to TRUE, then you have to use smtps:// -- 
> > 
> > 
> That is not quite correct. 
> 
> Secure SMTP comes in two flavours, SSL and TLS. 
> 
> If you are using SMTP over SSL, then you just need a URL starting with 
> "smtps://" and you do not need the "use_ssl" setting. 
> If you are using SMTP over TLS, then you need a URL that looks like 
> "smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to 
> invoke TLS. 
> 
> I have taken the liberty to update Neil's LCMail stack with a few radio 
> buttons, so that it generates the URL and adds the "use_ssl" setting 
> only when appropriate.  You can download it here: 
> 
> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 
> 
> 
> As an aside, a similar concept applies when using FTPS in implicit or 
> explicit mode: 
> 
> If you are using FTPS in implicit mode, then you just need a URL 
> starting with "ftps://" and you do not need the "use_ssl" setting. 
> If you are using FTPS in explicit mode, then you need a URL that starts 
> with "ftp://; and you must use the "use_ssl" setting to invoke TLS. 
> 
> Regards, 
> 
> Charles 
> 
> 
> 
> > answer pResponseHeaders   
> > 
> > end mouseup 
> > 
> > 
> > HTH, 
> > 
> > Matthias 
> > 
> >> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe <[hidden email] 
> >> >:
> >>  
> >> 
> >> Hi Mark, 
> >> 
> >> i just tried it with the stack from Neil Roger which is available here 
> >> http://techsupport.on-rev.com/LCMail.zip 
> >>  
> >>  >> > 
> >> or an extended version, which includes also some FTP examples,here 
> >> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 
> >>  
> >>  >> > 
> >> 
> >> Are you referring to that sample stack? 
> >> 
> >> I just tried it. I have no problems using it to send an email through one 
> >> of my  HostM email accounts to my iCloud email address. 
> >> 
> >> 
> >> Matthias 
> >> 
> >> 
> >> 
> >>> Am 15.09.2016 um 23:29 schrieb Mark Clark <[hidden email] 
> >>> >:
> >>>  
> >>> 
> >>> I am looking to replace sending emails via shell to one using the tsNet 
> >>> library. At first I had thought there was a var for the smtp port, but 
> >>> that’s just a server address setting (whoops). 
> >>> I am using hostM on this project and I’m trying to configure through 
> >>> their mail host- I have the proper settings for outgoing mail server 
> >>> (587), mail username (which is just the address for the account), and 
> >>> password. The error message I get back is (56) Failure when receiving 
> >>> data from peer/returned from server.  I’m just slogging through the tsNet 
> >>> Sample Sync Stack to speed things up since sending the email should be 
> >>> trivial compared to the data enclosed in the actual message. But, 
> >>> sometimes that’s how it goes:) Other than the Dictionary and this sample 
> >>> stack does anyone have a pointer to a simple example using this external 
> >>> with a hosted mail service? 
> >>> 
> >>> thx, 
> >>> mark c 
> >>> ___ 
> >>> use-livecode mailing list 
> >>> [hidden email] 
> >>> 
> >>>  
> >>> Please visit this url to subscribe, unsubscribe and manage your 
> >>> subscription preferences: 
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode 
> >>> 
> >> ___ 
> >> use-livecode mailing list 
> >> [hidden email] 
> >> 
> >>  
> >> Please visit this url to subscribe, unsubscribe and manage your 
> >> subscription preferences: 
> >> http://lists.runrev.com/mailman/listinfo/use-livecode 
> >> 
> > 

Re: tsNet Qs

2016-09-16 Thread Charles Warwick

Hi Matthias,

I agree, it really needs a lot more documentation and examples.

That is something I am working on.  Feel free to send me any suggestions 
or feedback on the existing scripts and documentation, it is more than 
welcome!


Regards,

Charles


On 16/09/2016 7:53 PM, Matthias Rebbe wrote:

Hi Charles,

thanks you very much  for clarifying. I will adjust my demo stack at my Dropbox 
also asap.

But there you can see:
Your external is so powerful, but w/o useful sample scripts it´s very difficult 
to learn how to use the tsNet commands/functions directly.

Regards,


Matthias




Am 16.09.2016 um 11:34 schrieb Charles Warwick :

Hi Matthias,

On 16/09/2016 8:46 AM, Matthias Rebbe wrote:

And here´s a simple script



put TRUE into pSettings["use_ssl"]

-- Note: when setting use_ssl to TRUE, then you have to use smtps:// --



That is not quite correct.

Secure SMTP comes in two flavours, SSL and TLS.

If you are using SMTP over SSL, then you just need a URL starting with "smtps://" and you 
do not need the "use_ssl" setting.
If you are using SMTP over TLS, then you need a URL that looks like "smtp://mail.mydomain.com:587 
" and you must use the "use_ssl" setting to invoke TLS.

I have taken the liberty to update Neil's LCMail stack with a few radio buttons, so that 
it generates the URL and adds the "use_ssl" setting only when appropriate.  You 
can download it here:

https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 


As an aside, a similar concept applies when using FTPS in implicit or explicit 
mode:

If you are using FTPS in implicit mode, then you just need a URL starting with "ftps://" 
and you do not need the "use_ssl" setting.
If you are using FTPS in explicit mode, then you need a URL that starts with "ftp://; and 
you must use the "use_ssl" setting to invoke TLS.

Regards,

Charles




answer pResponseHeaders  

end mouseup


HTH,

Matthias


Am 15.09.2016 um 23:54 schrieb Matthias Rebbe 
:

Hi Mark,

i just tried it with the stack from Neil Roger which is available here
http://techsupport.on-rev.com/LCMail.zip 

or an extended version, which includes also some FTP examples,here
https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 


Are you referring to that sample stack?

I just tried it. I have no problems using it to send an email through one of my 
 HostM email accounts to my iCloud email address.


Matthias




Am 15.09.2016 um 23:29 schrieb Mark Clark :

I am looking to replace sending emails via shell to one using the tsNet 
library. At first I had thought there was a var for the smtp port, but that’s 
just a server address setting (whoops).
I am using hostM on this project and I’m trying to configure through their mail 
host- I have the proper settings for outgoing mail server (587), mail username 
(which is just the address for the account), and password. The error message I 
get back is (56) Failure when receiving data from peer/returned from server.  
I’m just slogging through the tsNet Sample Sync Stack to speed things up since 
sending the email should be trivial compared to the data enclosed in the actual 
message. But, sometimes that’s how it goes:) Other than the Dictionary and this 
sample stack does anyone have a pointer to a simple example using this external 
with a hosted mail service?

thx,
mark c
___
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

Re: How to stop LoveCode running in Edit mode

2016-09-16 Thread Keith Clarke
…and sorry about the ‘LoveCode’ typo - a Freudian slip, or just absence making 
the heart grow fonder, perhaps! :-)
Best,
Keith..

> On 16 Sep 2016, at 10:50, Keith Clarke  wrote:
> 
> Hi folks,
> Returning to LiveCode after some months away and am wondering why, in 8.1 (in 
> Mac & Windows IDE environments) scripts on buttons, etc are still firing when 
> I switch to (or open a simple stack in) ‘Edit/Pointer’ mode.
> 
> IIRC,  code only used to run whilst in ‘Run/Browse’ mode. This is making 
> development & debugging hard work - have I missed a new setting that I need 
> to disable?
> Best,
> Keith..


___
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: tsNet Qs

2016-09-16 Thread Matthias Rebbe
Hi Charles,

thanks you very much  for clarifying. I will adjust my demo stack at my Dropbox 
also asap.

But there you can see:
Your external is so powerful, but w/o useful sample scripts it´s very difficult 
to learn how to use the tsNet commands/functions directly.

Regards,


Matthias



> Am 16.09.2016 um 11:34 schrieb Charles Warwick 
> :
> 
> Hi Matthias,
> 
> On 16/09/2016 8:46 AM, Matthias Rebbe wrote:
>> And here´s a simple script
>> 
>> 
>> 
>> put TRUE into pSettings["use_ssl"]
>> 
>> -- Note: when setting use_ssl to TRUE, then you have to use smtps:// --
>> 
>> 
> That is not quite correct.
> 
> Secure SMTP comes in two flavours, SSL and TLS.
> 
> If you are using SMTP over SSL, then you just need a URL starting with 
> "smtps://" and you do not need the "use_ssl" setting.
> If you are using SMTP over TLS, then you need a URL that looks like 
> "smtp://mail.mydomain.com:587 " and you must 
> use the "use_ssl" setting to invoke TLS.
> 
> I have taken the liberty to update Neil's LCMail stack with a few radio 
> buttons, so that it generates the URL and adds the "use_ssl" setting only 
> when appropriate.  You can download it here:
> 
> https://downloads.techstrategies.com.au/tsnet/LCMail.livecode 
> 
> 
> As an aside, a similar concept applies when using FTPS in implicit or 
> explicit mode:
> 
> If you are using FTPS in implicit mode, then you just need a URL starting 
> with "ftps://" and you do not need the "use_ssl" setting.
> If you are using FTPS in explicit mode, then you need a URL that starts with 
> "ftp://; and you must use the "use_ssl" setting to invoke TLS.
> 
> Regards,
> 
> Charles
> 
> 
> 
>> answer pResponseHeaders  
>> 
>> end mouseup
>> 
>> 
>> HTH,
>> 
>> Matthias
>> 
>>> Am 15.09.2016 um 23:54 schrieb Matthias Rebbe 
>>> :
>>> 
>>> Hi Mark,
>>> 
>>> i just tried it with the stack from Neil Roger which is available here
>>> http://techsupport.on-rev.com/LCMail.zip 
>>> 
>>> or an extended version, which includes also some FTP examples,here
>>> https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 
>>> 
>>> 
>>> Are you referring to that sample stack?
>>> 
>>> I just tried it. I have no problems using it to send an email through one 
>>> of my  HostM email accounts to my iCloud email address.
>>> 
>>> 
>>> Matthias
>>> 
>>> 
>>> 
 Am 15.09.2016 um 23:29 schrieb Mark Clark :
 
 I am looking to replace sending emails via shell to one using the tsNet 
 library. At first I had thought there was a var for the smtp port, but 
 that’s just a server address setting (whoops).
 I am using hostM on this project and I’m trying to configure through their 
 mail host- I have the proper settings for outgoing mail server (587), mail 
 username (which is just the address for the account), and password. The 
 error message I get back is (56) Failure when receiving data from 
 peer/returned from server.  I’m just slogging through the tsNet Sample 
 Sync Stack to speed things up since sending the email should be trivial 
 compared to the data enclosed in the actual message. But, sometimes that’s 
 how it goes:) Other than the Dictionary and this sample stack does anyone 
 have a pointer to a simple example using this external with a hosted mail 
 service?
 
 thx,
 mark c
 ___
 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

How to stop LoveCode running in Edit mode

2016-09-16 Thread Keith Clarke
Hi folks,
Returning to LiveCode after some months away and am wondering why, in 8.1 (in 
Mac & Windows IDE environments) scripts on buttons, etc are still firing when I 
switch to (or open a simple stack in) ‘Edit/Pointer’ mode.

IIRC,  code only used to run whilst in ‘Run/Browse’ mode. This is making 
development & debugging hard work - have I missed a new setting that I need to 
disable?
Best,
Keith..
___
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: tsNet Qs

2016-09-16 Thread Charles Warwick

Hi Matthias,

On 16/09/2016 8:46 AM, Matthias Rebbe wrote:

And here´s a simple script



put TRUE into pSettings["use_ssl"]

-- Note: when setting use_ssl to TRUE, then you have to use smtps:// --



That is not quite correct.

Secure SMTP comes in two flavours, SSL and TLS.

If you are using SMTP over SSL, then you just need a URL starting with 
"smtps://" and you do not need the "use_ssl" setting.
If you are using SMTP over TLS, then you need a URL that looks like 
"smtp://mail.mydomain.com:587" and you must use the "use_ssl" setting to 
invoke TLS.


I have taken the liberty to update Neil's LCMail stack with a few radio 
buttons, so that it generates the URL and adds the "use_ssl" setting 
only when appropriate.  You can download it here:


https://downloads.techstrategies.com.au/tsnet/LCMail.livecode

As an aside, a similar concept applies when using FTPS in implicit or 
explicit mode:


If you are using FTPS in implicit mode, then you just need a URL 
starting with "ftps://" and you do not need the "use_ssl" setting.
If you are using FTPS in explicit mode, then you need a URL that starts 
with "ftp://; and you must use the "use_ssl" setting to invoke TLS.


Regards,

Charles




answer pResponseHeaders  

end mouseup


HTH,

Matthias


Am 15.09.2016 um 23:54 schrieb Matthias Rebbe 
:

Hi Mark,

i just tried it with the stack from Neil Roger which is available here
http://techsupport.on-rev.com/LCMail.zip 

or an extended version, which includes also some FTP examples,here
https://dl.dropbox.com/s/q4oec8uu3pcdgfj/index.html 


Are you referring to that sample stack?

I just tried it. I have no problems using it to send an email through one of my 
 HostM email accounts to my iCloud email address.


Matthias




Am 15.09.2016 um 23:29 schrieb Mark Clark :

I am looking to replace sending emails via shell to one using the tsNet 
library. At first I had thought there was a var for the smtp port, but that’s 
just a server address setting (whoops).
I am using hostM on this project and I’m trying to configure through their mail 
host- I have the proper settings for outgoing mail server (587), mail username 
(which is just the address for the account), and password. The error message I 
get back is (56) Failure when receiving data from peer/returned from server.  
I’m just slogging through the tsNet Sample Sync Stack to speed things up since 
sending the email should be trivial compared to the data enclosed in the actual 
message. But, sometimes that’s how it goes:) Other than the Dictionary and this 
sample stack does anyone have a pointer to a simple example using this external 
with a hosted mail service?

thx,
mark c
___
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: Xcode 8 / iOS 10 support coming in 8.1.1

2016-09-16 Thread panagiotis merakos
Hi Randy,

The version of Xcode you choose in [Preferences -> Mobile support] only
decides which version of the iOS SDK will be used to *build* the iOS
standalone app.

In the Standalone Application Settings, you can choose the minimum iOS
version you want your app to *run* in.

So you set this option to "8.0 or later"

Best regards,
Panos
--

On Thu, Sep 15, 2016 at 11:32 PM, Randy Hengst  wrote:

> Thank you Panos, I’ll get that going.
>
> One related question…. I’ve had a computer “issue” and now only have Xcode
> 7.3.1 on my machine… it only has SDK 9.3.
>
> I assume that will allow me to build for iOS 10… but will it building for
> the iOS 7 or 8 series?
>
> If not, is there an easy way to add SDKs to Xcode 7.3.1? I’ve been
> searching without success. If I have to download other Xcode apps, can
> someone point me to which one would allow me to build for at least iOS 8
> and beyond.
>
> Thanks in advance for the help.
>
> be well,
> randy
>
> Randy Hengst
> www.classroomFocusedSoftware.com
>
>
>
> > On Sep 15, 2016, at 11:28 AM, panagiotis merakos 
> wrote:
> >
> > Hi Randy,
> >
> > This bug (http://quality.livecode.com/show_bug.cgi?id=18327) is fixed
> in LC
> > 8.1.0, released yesterday. Just rebuild your apps using LC 8.1.0.
> >
> > Best,
> > Panos
> > --
> >
> > On Thu, Sep 15, 2016 at 5:25 PM, Randy Hengst 
> wrote:
> >
> >> All,
> >>
> >> 22 of my iPad/iPhone apps break in iOS 10. The common pattern seems to
> be
> >> that the apps don’t know they are “landscape” only apps and open (and
> only
> >> display) in portrait… thus, cutting off part of the screen. All of the
> apps
> >> work fine in iOS 9.3.x
> >>
> >> And, in fact, landscape iPad apps build in 2014 (can’t remember which LC
> >> version) work fine… it’s only the apps built in summer 2015 and summer
> 2016.
> >>
> >> I thought I saw something about this on the list earlier, but can’t
> locate
> >> it now.
> >>
> >> Will 8.1.1 RC1 be stable enough to use to update apps?
> >>
> >> be well,
> >> randy
> >>
> >> Randy Hengst
> >> www.classroomFocusedSoftware.com
> >>
> >>
> >>
> >>> On Sep 15, 2016, at 11:10 AM, Mid West Coast Media <
> >> and...@midwestcoastmedia.com> wrote:
> >>>
> >>> An app I just released for a customer has had the main functionality
> >> (connect to a LiveCode Server using the SSL API from HostM) break in
> iOS 10.
> >>>
> >>> I'm looking for a way to build a pre-release 8.1.1rc1 build from GitHub
> >> so I can figure out what's happening.
> >>>
> >>> Is there any documentation on how to do this or is it even possible?
> I'm
> >> not real familiar with github, but cloned the branch and got it
> downloaded.
> >> I know the release is planned for the next 5 days, and realize this
> might
> >> not even be worth my time.
> >>>
> >>> --Andrew Bell
> >>>
> >>>
>  From: Peter TB Brett 
>  To: User List 
>  Subject: Xcode 8 / iOS 10 support coming in 8.1.1
>  Message-ID: <149cdb6b-3d66-7af8-4569-ae2fbcf05...@livecode.com>
>  Content-Type: text/plain; charset=utf-8; format=flowed
> 
>  Hi all,
> 
>  Since Xcode 8 GM is now available for download by members of the Apple
>  developer program, I thought it might be helpful to give you an update
>  on our plans for enabling LiveCode app deployment using Xcode 8.
> 
>  - iOS 10 deployment using Xcode 8 will be available in the 8.1.1
> release
> 
>  - If you need to deploy to iOS using LiveCode 8.1.0 you will need to
>  keep a copy of Xcode 7.3.1 around
> 
>  I currently expect that we'll release 8.1.1-rc-1 sometime between
>  15th-20th September.
> 
>  Peter
> 
>  --
>  Dr Peter Brett 
>  LiveCode Technical Project Manager
> >>>
> >>>
> >>> ___
> >>> 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:
> 

Re: Copying text from LC Script Editor

2016-09-16 Thread Richmond
Copying text from the script editor is problematic on more than one 
platform.


Over here "in the wilds of Linux" it is not possible to copy-paste 
directly from the script editor

into anything but a simple text editor.

For instance; if I want to paste code from the script editor into 
Thunderbird (my e-mail client)
I have to paste it into a text editor and then copy-paste from there 
into Thunderbird (a double bounce,

so to say). The same sort of thing into a Libre Office document, and so on.

Richmond.

On 16.09.2016 03:01, Peter Bogdanoff wrote:

I’m noticing that with LiveCode 8, copying scripts from the Script Editor and 
pasting it into other applications on the Mac yields text that displays 
differently than pre-LC 8.

Pasting it into Apple Mail puts it as double-spaced. Copying it from Mail puts 
it back into the Script Editor as double spaced:

on mouseUp

doThis

thenDoThis

followedByThis

end mouseUp


Apple TextEdit is OK:

on mouseUp
doThis
thenDoThis
followedByThis
end mouseUp

Pasting it into Tex-Edit Plus yields a single line with feed characters.

Is this worth making a fuss over?

Peter Bogdanoff
UCLA

___
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