Re: use-livecode Digest, Vol 210, Issue 2

2021-03-02 Thread Mark Clark via use-livecode
Hey Tom, the email I wrote about potential “integration" is almost five years old and things change. Primarily I think just a base set of S3 compatible (vs AWS hard coded) connectivity would be more than enough. It’s pretty trivial to use minio (or any compatible s3 object store) in

Re: Version 1.2 of the mail stack

2021-03-02 Thread matthias rebbe via use-livecode
I would copy the complete file mime.livecodescript to the server. The file can be found in the Extensions folder either in the app bundle (macOS) or the Livecode program folder under program files (Windows). In your script use 'start using" to use the library e.g. start using

Re: how do I get geoLocation on a Mac?

2021-03-02 Thread Kee Nethery via use-livecode
Paul, This is a great suggestion. I’m trying simulate the iOS geolocation while I develop on macOS. Yours is a great idea. I have gotten the JavaScript to auto load the lat long when I hit the html page with the JavaScript on my Mac as a file using Safari. And I’ve gotten the browser widget

Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthias, Sorry, but I have never needed to mess with libraries before this. Where do I get the complete Mime library script? I tried looking in the Project Browser for version 1.2 of the mail stack but all I could see was com.livecode.library.mime and tsNetLibUrl for choices. When I open

Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthais, It’s been so long since I have used the project browser I forgot that one has to click on the number of lines of code to see the actual code. LOL Ok, so which one do I want? Rick ___ use-livecode mailing list

Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthias, Ok, I only see mimeEncodeFieldAsMIMEMultipartDocument in com.livecode.library.mime and not in the TsNetLibUrl, so I guess that answers that question. If I’m incorrect somehow, please let me know. Thanks, Rick > On Mar 1, 2021, at 7:09 PM, matthias rebbe via use-livecode >

Re: Version 1.2 of the mail stack

2021-03-02 Thread matthias rebbe via use-livecode
When i did test it some time ago, i've put it in the same folder where the livecode server script that used the library was located. - Matthias Rebbe Life Is Too Short For Boring Code > Am 02.03.2021 um 21:05 schrieb Rick Harrison via use-livecode > : > > Hi Matthias, > > I managed to find

RE: sort container parameters

2021-03-02 Thread Ralph DiMola via use-livecode
I found that you must us a "Do"(thank heaven for "Do"s) if you want to make variable any LC token that colorizes like "stack", "the", "field", "button", "put" or "ascending". I don't think "Do" is a kludge is this case. Ralph DiMola IT Director Evergreen Information Services

Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthias, I put mime.livecodescript into the folder with the script that call it. I put in the start using “mime.livecodescript” statement. When I run the script, I now get: Function: error in function handler (tsNetSmtpSync) which is pointing to: put tsNetSmtpSync(tURL, tFrom,

Re: sort container parameters

2021-03-02 Thread Paul Dupuis via use-livecode
Okay. Thank you Ralph. I was reluctant to use "do" for performance reasons. The sort could be sorting a large number of lines - as many as several hundred sorts of a thousand to ten thousand lines. I could of course do timing trials, but does anyone from the mothership (or anyone period)

Re: Version 1.2 of the mail stack

2021-03-02 Thread matthias rebbe via use-livecode
no, only the file which is suitable for the OS on which the Livecode Server is running. For Windows it would be one of the .dll files, for Linux one of the .so files. The file with the 64 in its filename is for the 64bit version of the os, the other one for the 32bit verision. So for macOS i

Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthias, I managed to find mime.livecodescript. What folder do I need to put it into on my macOS Catalina LC Server? Thanks, Rick > On Mar 2, 2021, at 12:55 PM, matthias rebbe via use-livecode > wrote: > > I would copy the complete file mime.livecodescript to the server. > The file can

Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthias, What I’m seeing is: Applications LiveCode (App) (Right Click)Show Package Contents Contents Tools Ext tsNet_INDY_1.4.2 (Folder Full of tsNet stuff) Do I want the entire folder? Do I just want: tsNet.bundle tsNet.dylib tsnetliburl.livecodescript There’s a lot of items. Thanks,

sort container parameters

2021-03-02 Thread Paul Dupuis via use-livecode
I just discovered much to my dismay that you can not execute the following: put "ascending" into tDirection soft lines of tContainer tDirection international apparently neither the sort direction (ascending|descending) nor the sort type (international|text|datetime|numeric|binary) can be

Re: Version 1.2 of the mail stack

2021-03-02 Thread matthias rebbe via use-livecode
it seems tsNet is missing in your installation of Livecode Server. Please create a folder externals in the folder where livecode server is installed. Then copy the tsNet external from you Livecode Desktop installation into the newly created externals folder. That should do. Regards, -

Re: sort container parameters

2021-03-02 Thread Bob Sneidar via use-livecode
If it is a lot to sort, I am wondering why not use a memory database with the indexes you need to sort by, or a file database if the data needs to be persistent? Bob S On Mar 2, 2021, at 2:52 PM, Paul Dupuis via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Okay. Thank you

tsNet FTP help

2021-03-02 Thread scott--- via use-livecode
Hello Folks (Matthias?), I am trying to use tsNet to upload a file to my mHost account. Although the lesson seemed very straight forward, I am not making any headway. I am using LC 9.6.2 (rc 2) Business, OSX

Re: tsNet FTP help

2021-03-02 Thread Charles Warwick via use-livecode
Hi Scott, This part of the server response is your clue: > 421-Sorry, cleartext sessions and weak ciphers are not accepted on this > server. > 421 Please reconnect using TLS security mechanisms. You need to connect to the FTP server using SSL. The following LC lesson should help:

Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthias, I put tsNet.dylib into the already existing externals folder that was inside of the CGI-Executables folder where the revdb.dylib and others reside as it seemed to be the logical choice. The error I was getting went away and the script completes, but no message gets sent out. I

Re: Version 1.2 of the mail stack

2021-03-02 Thread Charles Warwick via use-livecode
Hi Rick, Assuming you are using the code from the lesson, just add any Bcc e-mail addresses to the tRecipient variable before the call to tsNetSmtpSync. Since you don't include them in the variables passed to mimeEncodeAsMIMEEmail, the addresses won't be included in the e-mail headers.

Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthias, I got it to work! I just needed the statement: tsNetInit Now it works great! Is there anyway I can put in a BCC email address instead of CC? Thanks! Rick > On Mar 2, 2021, at 6:19 PM, matthias rebbe via use-livecode > wrote: > > no, only the file which is suitable for the

Re: sort container parameters

2021-03-02 Thread Alex Tweedly via use-livecode
The number of lines being sorted makes o difference. The number of distinct sorts will - but at a single 'do' for each of "several hundreds", you'll not even notice except (maybe) if you are benchmarking it (around 5ms per 1000 'do's on an elderly MacBook Pro). Alex. On 02/03/2021 22:52,

Re: sort container parameters

2021-03-02 Thread Curry Kenworthy via use-livecode
Paul: > apparently neither the sort direction (ascending|descending) > nor the sort type (international|text|datetime|numeric|binary) > can be variable! > I see this a a bug or perhaps a failure to fully > robust impliment the sort container command? > Does any one else see this as a bug?

Re: tsNet FTP help

2021-03-02 Thread scott--- via use-livecode
Thank you, Charles. I had actually started with that lesson… I just didn’t realize how they went together. Your hint (and lessons!) was exactly what I needed. — Scott Morrow > On Mar 2, 2021, at 7:29 PM, Charles Warwick via use-livecode > wrote: > > Hi Scott, > > This part of the server