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

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

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

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 >

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

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

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

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

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

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

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

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

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:

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

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

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

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?

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

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

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.

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,

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

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 >

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

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

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

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 ___

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

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

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. >

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

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

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

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

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:

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

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

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

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

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"

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*

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

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

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

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

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:

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

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

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.

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.)

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,

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:

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

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

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

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

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 >

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

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

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

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;

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

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

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")

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?

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

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

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: >> >>

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