Re: tsNet mail message not formatting

2021-03-03 Thread matthias rebbe via use-livecode
Thanks Charles,

-
Matthias Rebbe
Life Is Too Short For Boring Code

this might is a relic from  times before tsNET.  When i started with tsNet i 
modified existing code and maybe i kept this "bad" behaviour. ;)

I used this only for inhouse status and alert emails for up to 5 recipients and 
never ran into a problem.

But i will keep it in mind for future use.



> Am 04.03.2021 um 00:48 schrieb Charles Warwick via use-livecode 
> :
> 
> Hi Matthias,
> 
> I would not recommend sending e-mail this way.  It will create a new SMTP 
> connection and send the e-mail message separately for every single recipient.
> 
> SMTP connections (and tsNetSMTP* commands) are designed to handle multiple 
> recipients for one e-mail within a single SMTP transfer.
> 
> Regards,
> 
> Charles
> 
>> On 4 Mar 2021, at 9:30 am, matthias rebbe via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Rick,
>> 
>> let's say
>> 
>> pTO contains one or more email recipients, each in one line
>> pCC contains one or mor  cc recipients, each in one line
>> pBCC contains one or more bcc recipients, each in one line
>> tData contains the mime encoded message which includes all To and all CC 
>> recipients
>> 
>> then you would do
>> 
>> 
>> repeat for each line tLine in pTO
>> put tsNetSmtpSync(tServer, tFrom, tLine, tData, rOutHeaders, rBytes, 
>> tSettings)
>> end repeat
>> 
>> repeat for each line tLine in pCC
>> put tsNetSmtpSync(tServer, tFrom, tLine, tData, rOutHeaders, rBytes, 
>> tSettings)
>> end repeat
>> 
>> repeat for each line tLine in pBCC
>> put tsNetSmtpSync(tServer, tFrom, tLine, tData, rOutHeaders, rBytes, 
>> tSettings)
>> end repeat
>> 
>> The last repeat sends to the BCC recipients.
>> 
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 03.03.2021 um 23:19 schrieb Rick Harrison via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>>:
>>> Ok, everything is fine on the format front now.
>>> I noticed the code takes about a minute to execute all the way through.
>>> (Must be a lot of background process have to run?)
>>> I tried Charles Warwick’s suggestion for Bcc, and it didn’t work. :-(
>>> If any of you want to take a crack at it, please let me know your results.
>>> Thanks to everyone!
>>> Rick
>>> ___
>>> 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 <mailto: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 
> <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: tsNet mail message not formatting

2021-03-03 Thread matthias rebbe via use-livecode
Rick,

let's say

pTO contains one or more email recipients, each in one line
pCC contains one or mor  cc recipients, each in one line
pBCC contains one or more bcc recipients, each in one line
tData contains the mime encoded message which includes all To and all CC 
recipients

then you would do


repeat for each line tLine in pTO
  put tsNetSmtpSync(tServer, tFrom, tLine, tData, rOutHeaders, rBytes, 
tSettings)
end repeat

repeat for each line tLine in pCC
  put tsNetSmtpSync(tServer, tFrom, tLine, tData, rOutHeaders, rBytes, 
tSettings)
end repeat

repeat for each line tLine in pBCC
  put tsNetSmtpSync(tServer, tFrom, tLine, tData, rOutHeaders, rBytes, 
tSettings)
end repeat

The last repeat sends to the BCC recipients.



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 03.03.2021 um 23:19 schrieb Rick Harrison via use-livecode 
> :
> 
> Ok, everything is fine on the format front now.
> 
> I noticed the code takes about a minute to execute all the way through.
> (Must be a lot of background process have to run?)
> 
> I tried Charles Warwick’s suggestion for Bcc, and it didn’t work. :-(
> If any of you want to take a crack at it, please let me know your results.
> 
> Thanks to everyone!
> 
> Rick
> ___
> 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: tsNet mail message not formatting

2021-03-03 Thread matthias rebbe via use-livecode
The problem is,  put URL file:  uses the line endings of the os where the it is 
executed, even if you have a container/variable with some text and line endings 
CRLF. As soon as you use put  into URL "file:..." the line endings are 
converted to the default ones of the os where the code is excecuted. In case of 
macOS the line endings are converted from CRLF to CR.

If you want to keep the CRLF line endings on macOS then you have to use put 
 into URL "binfile:..."  In this case the written data keeps the line 
endings you used when "filling" the container/variable.




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 03.03.2021 um 22:43 schrieb Bob Sneidar via use-livecode 
> :
> 
> OK Now I am interested. I have a little utility that converts a Konica 
> Minolta address book to a Toshiba one. If I run the utility on a Mac, the 
> address book will not import into a Toshiba copier, but if I first OPEN the 
> csv file in WINDOWS, then save and close it, suddenly it WILL import. I 
> tracked this down some time ago to the fact that the line endings were 
> different than the Toshiba was expecting. I thought I fixed it by using LF 
> but I have the same problem as before. From what I am reading, the LC 
> constants will return a different result on LC for Windows as opposed to LC 
> for Mac??
> 
> Bob S
> 
> 
> On Mar 3, 2021, at 11:51 AM, Brian Milby via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> If you want to be the most accurate (clear for others reading code) you would 
> use the LF constant instead of CR since that is how it actually evaluates.  
> The only way to generate an actual CR within code is to use CRLF (which gets 
> both) or use numtobyte(13).
> 
> If you export as text, then you get what is expected on Win/Linux and get CR 
> on Mac (which is wrong in my opinion).
> 
> Sent from my iPhone
> 
> ___
> 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: tsNet mail message not formatting

2021-03-03 Thread matthias rebbe via use-livecode
Tried this script here on macOS

put "this is line 1" &"this is line 2" into tBody

put "xx" into tFrom

put "xxx...@me.com" into tTo

put "Email test" into tSubject

put "" into tSettings["username"]

put "" into tSettings["password"]

put TRUE into tSettings["NO_REUSE"]

put "smtp://xxx.xxx.Xxx.xxx" into tServer

mimeEncodeAsMIMEEmail tBody,tFrom,tTo,"",tSubject

put it into tData

put tsNetSmtpSync(tServer, tFrom, tTo, tData, rOutHeaders, rBytes, tSettings)


The email body is showing 2 lines in Apple Mail as expected.

Could you show your code, at least the coder which you are using to fill/create 
the message (smtp header and body)?



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 03.03.2021 um 18:09 schrieb Rick Harrison via use-livecode 
> :
> 
> I want to send a message that has multiple lines.
> I have tried inserting cr and return and nothing
> works so far. The message ends up on a same line.
> 
> Ideas?
> 
> Thanks,
> 
> Rick
> 
> ___
> 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: 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 would assume the tsNet.bundle. But there is also a tsNET.dylib 
file, which according to the suffix belongs also to macOS.
I am not sure. Maybe you should copy both of them.

But maybe someone could chime in about this.



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 02.03.2021 um 23:54 schrieb 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,
> 
> Rick
> 
>> On Mar 2, 2021, at 5:23 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> 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,
> 
> ___
> 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: 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,


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 02.03.2021 um 23:10 schrieb 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, tRecipient, tEmailMessage, tResponseHeaders, 
> tBytes, tSettings) into tResult
> 
> I do not see this function in mime.livecodescript so where does tsNetSmtpSync 
> hang out?
> 
> Is that a part of " it was mandatory to run  tsInit   first in the Livecode 
> Server script to initialize tsNET”?
> 
> Where is that and how do I run it?  Another start using command?
> 
> 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 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  "mime.livecodescript"
>> 
>> put "test" into the templatefield
>> put mimeEncodeFieldAsMIMEMultipartDocument(the long id of the templatefield) 
>> into tBody
>> 
>> 
>> 
>> 
>> Regarding tsNet:
>> I am at HostM and i am using LivecodeServer Business in my accounts.
>> HostM has LivecodeServer Community installed by default for every account.
>> But if a customer can proof the purchase/subscription of an Indy or Business 
>> License, they even install the Indy or Business version of Livecode Server 
>> for the that customer accounts.
>> 
>> In the past it was mandatory to run  tsInit   first in the Livecode Server 
>> script to initialize tsNET.
>> 
>> 
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>> Matthias Rebbe
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 02.03.2021 um 17:56 schrieb 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 
>>>>  wrote:
>>>> 
>>>> mimeEncodeFieldAsMIMEMultipartDocument
>>> 
>>> ___
>>> 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: 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 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 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  "mime.livecodescript"
>> 
>> put "test" into the templatefield
>> put mimeEncodeFieldAsMIMEMultipartDocument(the long id of the templatefield) 
>> into tBody
>> 
>> 
>> 
>> 
>> Regarding tsNet:
>> I am at HostM and i am using LivecodeServer Business in my accounts.
>> HostM has LivecodeServer Community installed by default for every account.
>> But if a customer can proof the purchase/subscription of an Indy or Business 
>> License, they even install the Indy or Business version of Livecode Server 
>> for the that customer accounts.
>> 
>> In the past it was mandatory to run  tsInit   first in the Livecode Server 
>> script to initialize tsNET.
>> 
>> 
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>> Matthias Rebbe
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 02.03.2021 um 17:56 schrieb 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 
>>>>  wrote:
>>>> 
>>>> mimeEncodeFieldAsMIMEMultipartDocument
>>> 
>>> ___
>>> 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: 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  "mime.livecodescript"

put "test" into the templatefield
put mimeEncodeFieldAsMIMEMultipartDocument(the long id of the templatefield) 
into tBody




Regarding tsNet:
I am at HostM and i am using LivecodeServer Business in my accounts.
HostM has LivecodeServer Community installed by default for every account.
But if a customer can proof the purchase/subscription of an Indy or Business 
License, they even install the Indy or Business version of Livecode Server for 
the that customer accounts.

In the past it was mandatory to run  tsInit   first in the Livecode Server 
script to initialize tsNET.



Regards,
Matthias



Matthias Rebbe
-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 02.03.2021 um 17:56 schrieb 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 
>>  wrote:
>> 
>> mimeEncodeFieldAsMIMEMultipartDocument
> 
> ___
> 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: Version 1.2 of the mail stack

2021-03-01 Thread matthias rebbe via use-livecode
Hi Rick,

if i recall it correctly i used the templatefield for that in LC server.

So set the text of the templatefield and then use that in the 
mimeEncodeFieldAsMIMEMultipartDocument.

e.g.
put "test" into the templatefield
put mimeEncodeFieldAsMIMEMultipartDocument(the long id of the templatefield) 
into tBody


LC Server does not include the Mime library, so you'll need to copy the 
complete Mime library script to your web server and include it in your script.

It's late here and i am off for some sleep now. So do not wonder when i reply 
later.

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 02.03.2021 um 00:33 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi Matthias,
> 
> I tried it out and the stack works fine.
> 
> Now I am in the process of trying to convert it
> so I can use the process directly in my LC Server.
> 
> Of course field values now become variable values.
> 
> Everything seems fine except:
> 
> put mimeEncodeFieldAsMIMEMultipartDocument(the long id of field 
> "email_message") into tBody
> 
> How do I get he long id of my VariableEmailMessage into tBody?
> 
> Ideas?
> 
> Rick
> 
> 
>> On Mar 1, 2021, at 12:38 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Rick,
>> 
>> do you mean the stack lcMailAndFtp.livecode?
>> 
>> The original stack was created by Charles Warwick, the developer of the 
>> tsNet externals.
>> If i remember correctly, i added the FTP part or so and put that modified 
>> stack as lcMailAndFtp.livecode online.
>> 
>> You could look here for a newer version (1.2) of Charles mail sample stack.
>> https://www.techstrategies.com.au/tsnet-resources/
>> 
>> Although the version 1.2 of the mail stack is more current then the one from 
>> my site, it still is a little bit "outdated".
>> There is a new command in LC available called mimeEncodeAsMIMEEmail which 
>> would make some of the code in the sample stack obsolete if it would be 
>> used. But the sample stack from Techstrategies should still work.
>> 
> 
> ___
> 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: Parsing properties in Link- and Internet Shortcut files

2021-03-01 Thread matthias rebbe via use-livecode
Rick,

do you mean the stack lcMailAndFtp.livecode?

The original stack was created by Charles Warwick, the developer of the tsNet 
externals.
If i remember correctly, i added the FTP part or so and put that modified stack 
as lcMailAndFtp.livecode online.

You could look here for a newer version (1.2) of Charles mail sample stack.
https://www.techstrategies.com.au/tsnet-resources/

Although the version 1.2 of the mail stack is more current then the one from my 
site, it still is a little bit "outdated".
There is a new command in LC available called mimeEncodeAsMIMEEmail which would 
make some of the code in the sample stack obsolete if it would be used. But the 
sample stack from Techstrategies should still work.

If you still have problems you can contact me also directly at   matthias (at) 
m-r-d.de

Regards,

Matthias

> Am 01.03.2021 um 17:49 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi Matthias,
> 
> I ran into your send email stack with TSNet
> yesterday while looking for a solution to
> some of my livecode email problems.  
> After filling in the test fields to send a message
> and hitting the send button, it told me the
> message was sent, but upon checking my
> email it was clear that it never got sent.
> 
> I know you put that stack together in 2017
> so some things have changed since then
> including macOS.  
> 
> Have you tested the stack recently at all 
> and do you know if it still works?  
> 
> If so, the other possibility is that I have 
> somehow not filled in one of the fields properly.  
> Could you supply a better example using 
> gmail smtp settings or something similar,
> or update the documentation?
> 
> Thanks,
> 
> Rick
> 
> 
>> On Feb 26, 2021, at 10:26 AM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> 
>> 
>> I tried here to find an "empty" .url file, but w/o success. My .url files i 
>> have collected over the years on my Windows VM are all textfiles. If you 
>> could provide a link to such an empty one, i would be really interested to 
>> see that.
>> 
>> Regarding the .lnk files, which seem to be in a binary form, did you already 
>> see this discussion here?
>> https://stackoverflow.com/questions/397125/reading-the-target-of-a-lnk-file-in-python
>> 
>> Someone posted a Python script there which is able to read the target of an 
>> .lnk file.
>> May be that is an alternative.
>> 
>> Matthias
>> 
>> 
> 
> 
> ___
> 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



-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: Parsing properties in Link- and Internet Shortcut files

2021-03-01 Thread matthias rebbe via use-livecode
Hi Matthias,

I ran into your send email stack with TSNet
yesterday while looking for a solution to
some of my livecode email problems.  
After filling in the test fields to send a message
and hitting the send button, it told me the
message was sent, but upon checking my
email it was clear that it never got sent.

I know you put that stack together in 2017
so some things have changed since then
including macOS.  

Have you tested the stack recently at all 
and do you know if it still works?  

If so, the other possibility is that I have 
somehow not filled in one of the fields properly.  
Could you supply a better example using 
gmail smtp settings or something similar,
or update the documentation?

Thanks,

Rick


> On Feb 26, 2021, at 10:26 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> 
> 
> I tried here to find an "empty" .url file, but w/o success. My .url files i 
> have collected over the years on my Windows VM are all textfiles. If you 
> could provide a link to such an empty one, i would be really interested to 
> see that.
> 
> Regarding the .lnk files, which seem to be in a binary form, did you already 
> see this discussion here?
> https://stackoverflow.com/questions/397125/reading-the-target-of-a-lnk-file-in-python
> 
> Someone posted a Python script there which is able to read the target of an 
> .lnk file.
> May be that is an alternative.
> 
> Matthias
> 
> 


___
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


-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: Parsing properties in Link- and Internet Shortcut files

2021-02-26 Thread matthias rebbe via use-livecode



I tried here to find an "empty" .url file, but w/o success. My .url files i 
have collected over the years on my Windows VM are all textfiles. If you could 
provide a link to such an empty one, i would be really interested to see that.

Regarding the .lnk files, which seem to be in a binary form, did you already 
see this discussion here?
https://stackoverflow.com/questions/397125/reading-the-target-of-a-lnk-file-in-python

Someone posted a Python script there which is able to read the target of an 
.lnk file.
May be that is an alternative.

Matthias




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 12.02.2021 um 18:53 schrieb R.H. via use-livecode 
> :
> 
> I am on Windows 10 (but answer will apply to MacOS as well).
> 
> I am trying to read the URL property of a file that I create simply
> dragging-dropping the Internet address from my browser to the Desktop and
> then storing this file. There are thousands now!!!
> 
> Some of such files are readable text files with the readable content
> "[internetshortcut], URL: xxx etc." -- but most Internet shortcut files on
> Windows with the invisible .url or .ink extension are empty when trying to
> read with using a text editor or opening them in LiveCode.
> 
> In such Windows file's there is a property url: that contains the web
> address. It is visible when opening using the right mouse button (context
> menu) and then selecting the "properties" item. When double-clicking such
> file, the default browser will open and open the web page directed to.
> 
> But I want to read this URL property as text directly and use it from
> within LiveCode.
> 
> I assume that these Internet shortcuts store the URL information not in the
> file itself, or I just cannot get to this information.
> 
> I found one batch file script that promises such a solution. Such batch
> text file can be called through the SHELL() command and will then execute.
> It has the file extension ".bat".
> 
> #-- START BATCH SCRIPT
> echo off
> setlocal enableextensions enabledelayedexpansion
> pushd %1
> for %%F in (%1\*.url) do (
>   echo %%~dpnxF
>   call :findurl "%%~dpnxF"
> )
> popd
> goto end
> :findurl inputfile
> set url=
> for /f "tokens=2 delims==" %%i in ('findstr URL %1') do set url=%%i
> echo %url%
> echo -
> :end
> #-- END BATCH SCRIPT
> 
> Unfortunately, my knowledge of such batch scripts is very limited.
> 
> I get error messages when calling the batch file through the shell
> function. Maybe there is someone here who can interpret this script? To me
> it would be sufficient to simply call shell("location of the file and file
> name of the url-file .. shell commands") and receive back the URL property
> as text. Or is there any other way to get to this information?
> 
> Since LC is cross-platform, such solution also would be nice to have for
> OSX and Linux?
> 
> Regards, Roland
> ___
> 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: LC, Mac Mail & Rules

2021-02-24 Thread matthias rebbe via use-livecode
Hi Rick,

i mixed the version numbers. I tested with 15.3 which is Catalina. There it 
shows also the behaviour.
In Mojave the subjects is not changed and keeps the original value.

Please excuse the confusion.


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 24.02.2021 um 16:50 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi Matthias,
> 
> That confirms this is bug with macOS Mojave and most
> probably wasn’t fixed in Catalina either!
> 
> Now the question becomes one of does the
> bug still exist in macOS Big Sur?
> 
> In addition, can anyone come up with a
> workaround that produces the correct result?
> 
> Thanks!
> 
> Rick
> 
> 
> 
>> On Feb 24, 2021, at 10:43 AM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Okay, understood. ;)
>> 
>> I've tried here in a VM with macOS 14.3 now.
>> 
>> I created a rule that forwards an email if the subject is DAVID.
>> I can replicate it so far, but in my case the subject changed from DAVID to 
>> Fwd: baa1
>> 
>> I checked also the raw email. There's the same for the subject.
>> 
>> Regards,
>> Matthias
> 
> ___
> 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: LC, Mac Mail & Rules

2021-02-24 Thread matthias rebbe via use-livecode
Okay, understood. ;)

I've tried here in a VM with macOS 14.3 now.

I created a rule that forwards an email if the subject is DAVID.
I can replicate it so far, but in my case the subject changed from DAVID to 
Fwd: baa1

I checked also the raw email. There's the same for the subject.

Regards,
Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 24.02.2021 um 15:15 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi Matthias,
> 
> The problem is not with the script
> because I can reproduce the problem
> without using it at all.
> 
> Just test the Rules part of Mac Mail in Catalina,
> to see if an auto reply generates Hexadecimal
> numbers in the Subject line.
> 
> Thanks,
> 
> Rick
> 
>> On Feb 24, 2021, at 7:21 AM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> How do you compose the email?
>> Are you using the Mime library for it?
>> Are you using shell() function to send the email after composing or the 
>> tsNET external?
>> 
>> 
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 24.02.2021 um 04:19 schrieb Rick Harrison via use-livecode 
>>> :
>>> 
>>> I have a script in my LC server that composes an email
>>> and sends it to my Mac Mail Inbox.
>>> 
>>> I have set up a rule that says if the subject is “Something Cool”
>>> and it was sent to my email at CoolPlace then it replies to
>>> a different email address with another message.
>>> 
>>> It works in Mac OS Catalina, except - the subject line
>>> ends up being a Hexadecimal code like 3b00 or dd71,
>>> instead of being “RE: Something Cool”.
>>> 
>>> I find I can reproduce the problem if I just send an
>>> email to my CoolPlace address with the triggering
>>> subject line.
>>> 
>>> I’m thinking this is a bug in Catalina, but I need someone
>>> to try out the problem for confirmation.  If RULES work
>>> well for everyone else then I know it’s something
>>> wrong with my computer.
>>> 
>>> Please let me know your results.
>>> 
>>> Thanks,
>>> 
>>> Rick
>>> 
>>> 
>>> 
>>> ___
>>> 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: Baffling can't create variable message

2021-02-24 Thread matthias rebbe via use-livecode
David,

the Text is a property of button "search all". You have to use  "set the 
text"

set the text of button "search all" to return & fld "custom" & the text of 
button "search all"



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 24.02.2021 um 12:53 schrieb David V Glasgow via use-livecode 
> :
> 
> put return & field "custom" after the text of button "Search All"

___
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: LC, Mac Mail & Rules

2021-02-24 Thread matthias rebbe via use-livecode
How do you compose the email?
Are you using the Mime library for it?
Are you using shell() function to send the email after composing or the tsNET 
external?




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 24.02.2021 um 04:19 schrieb Rick Harrison via use-livecode 
> :
> 
> I have a script in my LC server that composes an email
> and sends it to my Mac Mail Inbox.
> 
> I have set up a rule that says if the subject is “Something Cool”
> and it was sent to my email at CoolPlace then it replies to
> a different email address with another message.
> 
> It works in Mac OS Catalina, except - the subject line
> ends up being a Hexadecimal code like 3b00 or dd71,
> instead of being “RE: Something Cool”.
> 
> I find I can reproduce the problem if I just send an
> email to my CoolPlace address with the triggering
> subject line.
> 
> I’m thinking this is a bug in Catalina, but I need someone
> to try out the problem for confirmation.  If RULES work
> well for everyone else then I know it’s something
> wrong with my computer.
> 
> Please let me know your results.
> 
> Thanks,
> 
> Rick
> 
> 
> 
> ___
> 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: SSL Error - question from Stack Overflow

2021-02-16 Thread matthias rebbe via use-livecode
Could you try 

tsNetVerifySSLPeer false

instead of
libURLSetSSLVerification false ?

Maybe setting libURLSetSSLVerification does not have any effect on tsNET.




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 16.02.2021 um 19:06 schrieb Devin Asay via use-livecode 
> :
> 
> Hi all,
> 
> I came across this question on stack overflow. I like to try to give good 
> LiveCode answers there when I can, just to do a little to boost the 
> reputation of the LC community there. But I don’t have a clue on this one.
> 
> 
> A Livecode script:
> get URL 
> "https://www.uspto.gov/patent/laws-and-regulations/patent-term-extension/patent-terms-extended-under-35-usc-156;
> Winds up with the following in "the result":
> 
> tsneterr: (56) SSLRead() return error -9806
> 
> 
> I tried setting libURLSetSSLVerification to both true and false, but got the 
> same error each time. Any ideas why this is happening, and is there a 
> solution?
> 
> 
> I verified that this error is returned consistently in the result. Anybody 
> have any ideas? Charles, are you lurking perhaps?
> 
> Devin
> 
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 
> ___
> 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: iOS App just shows Splash Screen the quits

2021-02-16 Thread matthias rebbe via use-livecode
Forgot to mention. I tried with LC 9.6.2 RC 1 & 2 and LC 9.6.1
-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 16.02.2021 um 17:43 schrieb matthias rebbe via use-livecode 
> :
> 
> Hi,
> 
> i am working on an app which ran without problems on iOS14.2 on the iPad of a 
> customer.. Now the customer updated his iPad to iOS 14.4 and now the app 
> crashes after showing up the splash screen.
> Even a simple app only shows the splash screen at start and the quits.
> 
> I tried to build the app for iOS13 and 12. Both did not work.
> 
> Does anyone have an idea what might be wrong?
> 
> I am working with macOS 10.14.6 and xCode 11.3. 
> 
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
> 
> ___
> 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


iOS App just shows Splash Screen the quits

2021-02-16 Thread matthias rebbe via use-livecode
Hi,

i am working on an app which ran without problems on iOS14.2 on the iPad of a 
customer.. Now the customer updated his iPad to iOS 14.4 and now the app 
crashes after showing up the splash screen.
Even a simple app only shows the splash screen at start and the quits.

I tried to build the app for iOS13 and 12. Both did not work.

Does anyone have an idea what might be wrong?

I am working with macOS 10.14.6 and xCode 11.3. 




-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: LC Roadmap

2021-02-14 Thread matthias rebbe via use-livecode
Every Livecoder who is interested in creating lessons or fixing outdated ones  
can ask Livecode Support to get access to the Lessons section. 
Livecode will then create an account and will provide the tools for creating 
the lessons.
At least this was the fact when i asked if i could help.

Regards,

Matthias


> Am 14.02.2021 um 19:57 schrieb prothero--- via use-livecode 
> :
> 
> Folks, a bit more:
> Both documentation and marketing are huge tasks and keeping even basic 
> documentation current is a big job. A few years ago, I tried the lessons that 
> were produced by the livecode team to help folks create basic Apple apps. In 
> my view, they were a failure. First, they seemed either buggy or lacked 
> attention to non-specialist assumptions in the presentation, confusing me. 
> They needed to be reviewed and vetted by beginning programmers. Secondly, 
> they quickly became obsolete. Lots of effort for a mediocre showing.
> 
> This is a task where livecoders could contribute with carefully vetted 
> modules, like those in macmost.com . There would need to 
> be a presentation framework that contributors fit into. Contributions would 
> need to be reviewed (and authored), perhaps by livecoders who have already 
> purchased livecode subscriptions. Coding practices would have to be reviewed 
> and be clean. Purchase fees would be collected by the mothership and 
> distributed to authors. This would benefit the mothership by bringing in new 
> users who would subscribe to the software. There should be user feedback and 
> requests for specific lessons, which a member of the contribution team (all 
> subscribers?) could take on. Lessons would get reviewed by purchasers and 
> authors would also get ratings.
> 
> This project would be best if tightly coupled to the dev team and its 
> control. The justification for giving fees to authors is that it would be 
> enormously to the benefit of the mothership to have this resource, both by 
> supporting existing users and gaining new ones.
> 
> Happy Valentine’s day,
> Every day is “Valentine’s Day” (if your name is Valentine),
> 
> Best,
> Bill Prothero
> 
> 
>> On Feb 14, 2021, at 9:25 AM, ELS Prothero via use-livecode 
>>  wrote:
>> 
>> Curry,
>> Your comments echo some of my experiences with Livecode. In olden times, 
>> when I realized that I could significantly improve my students’ learning by 
>> enlisting computers, I began with HyperCard, went to Supercard, and when it 
>> failed at cross platform, I went to Macromedia Director.  I’ve programmed in 
>> FORTRAN, Pascal. When Adobe bought and killed Director, I switched my coding 
>> to LiveCode.
>> 
>> I still miss Director. It’s animation capabilities and web deployment with a 
>> plug-in were excellent. Of course, plug-ins are obsolete and mobile support 
>> has become mandatory. The big selling point that is front and center is: 
>> English like language. I find that a very weak claim, unless all I want to 
>> do is write “Hello World” when I click a button. To do anything non-trivial, 
>> you need to delve into coder world. Yes, it is enormously helpful at 
>> building user interfaces. Deployment is an enormous pain, with ever changing 
>> security challenges. The help files are great at the most trivial tasks, but 
>> to do beyond can be challenging. That said, I am committed to Livecode and 
>> congratulate the dev team for their accomplishments.
>> 
>> I would like to see:
>> Better help files that go deeper. Have you seen MacMost.com? This is a guy 
>> who produces quicky videos for free, and offers more detailed courses for a 
>> modest subscription fee. I don’t know whether there are enough potential 
>> clients for this, but what if a small team of live coders created something 
>> like this that would create modest size youtube videos that both bring in 
>> new users and take them to the next level with video, sample projects, and 
>> text materials? Perhaps the mothership could support and advise while user 
>> Fees pass to the authors. Just thinking.
>> 
>> That’s all for now. Valentine’s Day and breakfast beckon.
>> 
>> Best,
>> Bill Prothero
>> 
>> 
>> 
>> 
>> 
>> William Prothero
>> https://earthlearningsolutions.org
>> 
>>> On Feb 14, 2021, at 7:30 AM, e.beugelaar--- via use-livecode 
>>>  wrote:
>>> 
>>> https://www.b4x.com if u dont want headaches.
>>> 
>>> Get Outlook for Android
>>> 
>>> 
>>> From: use-livecode  on behalf of 
>>> Curry Kenworthy via use-livecode 
>>> Sent: Sunday, February 14, 2021 11:31:47 AM
>>> To: use-livecode@lists.runrev.com 
>>> Cc: Curry Kenworthy 
>>> Subject: Re: LC Roadmap
>>> 
>>> 
>>> JeeJeeStudio:
>>> 
 I like Livecode a lot, but it has it's limitations,
 lot of bugs are not solved.
>>> 
>>> True. Would be more accurate with "yet" added; solving bugs is ongoing!
>>> We could also say that many bugs HAVE been solved. Moderate progress.
>>> (I know, having been on the 

Re: Codesigning & notarizing

2021-02-05 Thread matthias rebbe via use-livecode
@Marty,

Great to hear that you finally got it working.

What i do not understand is why the code signed (without entitlements) sample 
standalone did run w/o crashing here, but on your Macs it crashed, although we 
are both using the same macOS version.
Anyway, using entitlements for code signing is recommended and easy to manage.

Matthias



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 05.02.2021 um 21:24 schrieb Marty Knapp via use-livecode 
> :
> 
> After much hair pulling and some help from Matthias I seem to have this 
> solved. It appears that starting with LC 9.6.2 “entitlements” are needed even 
> for web deployment (at least in the case of including revzip). The really 
> weird part of this was if I swapped in the revzip bundle from 9.6.1 after 
> building the standalone then entitlements were not needed. 
> 
> So for anyone else who runs into this, you can use the same entitlements that 
> Livecode uses (in an entitlements.plist file):
> 
> 
>   com.apple.security.cs.allow-jit
>   
>   com.apple.security.cs.allow-unsigned-executable-memory
>   
>   com.apple.security.cs.allow-dyld-environment-variables
>   
>   com.apple.security.cs.disable-library-validation
>   
>   com.apple.security.cs.disable-executable-page-protection
>   
>   com.apple.security.device.audio-input
>   
>   com.apple.security.device.camera
>   
>   com.apple.security.personal-information.location
>   
>   com.apple.security.personal-information.addressbook
>   
>   com.apple.security.personal-information.photos-library
>   
>   com.apple.security.automation.apple-events
>   
>  
> 
> In Levure I used the same data above but saved into a “my app 
> name.entitlements” file and then configured the app.yml file appropriately
> 
> In AppWrapper you need to set the the following under Hardened Runtime:
> Allow Execution of JIT-complied code
> Allow Unsigned executable memory
> Allow DYLD environment variables
> Disable library validation
> Disable executable memory protection
> 
> Marty
> 
> 
>> On Feb 4, 2021, at 2:28 PM, Marty Knapp  wrote:
>> 
>> I just updated to Xcode 11.3 and still have the issue. With revzip included, 
>> building with 9.6.2 it works fine *until* I codesign - either with the 
>> Levure app packager or with AppWrapper (tried versions 3 and 4) As soon as 
>> it starts to launch it crashes. If I take out revzip the app will open fine 
>> when code signed.
>> 
>> If rev zip was damaged it would not work in the unsigned app. Anything else 
>> that I should check? This is really frustrating.
>> 
>> Marty
>> 
>>> On Feb 4, 2021, at 1:09 PM, panagiotis merakos via use-livecode 
>>>  wrote:
>>> 
>>> Thanks for testing Matthias :)
>>> 
>>> On Thu, 4 Feb 2021, 23:08 Paul Dupuis via use-livecode, <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 I should have added that we sign with entitlements (the same set LC uses)
 
 On 2/4/2021 3:56 PM, panagiotis merakos via use-livecode wrote:
> @Marty
> 
> If you have not done it already, it might be worth adding entitlements to
> the codesign.
> 
> 
 https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps
> 
> I do not think it is the Xcode version that is the problem. I am on
 Mojave
> as well, so I can do a quick test if you send me the standalone that
> crashes. Also make sure you attach the stack to the bug report :)
> 
> Kind regards,
> Panos
> --
> 
> On Thu, 4 Feb 2021 at 22:47, Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> I should add, we're not using Levure. We are using LC9.6.2rc2, we
>> codesign via Terminal on Mohave using Xcode 10.2.1
>> 
>> On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote:
>>> FYI - Our App includes the revZIP library. We codesign deep via
>>> Terminal command and get no crashes. Codesign, notarize, and staple
>>> without problems.
>>> 
>>> 
>>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote:
 Re: building a standalone in LC 9.6.2 rc2 with the “Revolution Zip”
 library (crashes when codesigned)
 
 Just filed a bug report on this - 23083
 
 Marty
 
> On Feb 4, 2021, at 11:25 AM, Marty Knapp 
> wrote:
> 
> I’ve narrowed this down to the “Revolution Zip” library. If I leave
> that out of Inclusions, I can build in 9.6.2 and codesign and all is
> well.
> 
> marty
> 
>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode
>>  wrote:
>> 
>> Hi Marty,
>> 
>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1.
>> 
>> I have only a cursory understanding of Levure. From what I read,
>> Trevor has methods to codesign and even notarize inside of 

Re: Codesigning & notarizing

2021-02-04 Thread matthias rebbe via use-livecode
Marty, 
do you experience this problem  also with your demo stack and Xcode 11.3? If 
so, could you create a new standalone from that demo stack and upload it 
somewhere, so i could download it and try to code sign it here?

Btw. Are you code signing for web distribution or Apple store?

Regards,

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 04.02.2021 um 23:28 schrieb Marty Knapp via use-livecode 
> :
> 
> I just updated to Xcode 11.3 and still have the issue. With revzip included, 
> building with 9.6.2 it works fine *until* I codesign - either with the Levure 
> app packager or with AppWrapper (tried versions 3 and 4) As soon as it starts 
> to launch it crashes. If I take out revzip the app will open fine when code 
> signed.
> 
> If rev zip was damaged it would not work in the unsigned app. Anything else 
> that I should check? This is really frustrating.
> 
> Marty
> 
>> On Feb 4, 2021, at 1:09 PM, panagiotis merakos via use-livecode 
>>  wrote:
>> 
>> Thanks for testing Matthias :)
>> 
>> On Thu, 4 Feb 2021, 23:08 Paul Dupuis via use-livecode, <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> I should have added that we sign with entitlements (the same set LC uses)
>>> 
>>> On 2/4/2021 3:56 PM, panagiotis merakos via use-livecode wrote:
 @Marty
 
 If you have not done it already, it might be worth adding entitlements to
 the codesign.
 
 
>>> https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps
 
 I do not think it is the Xcode version that is the problem. I am on
>>> Mojave
 as well, so I can do a quick test if you send me the standalone that
 crashes. Also make sure you attach the stack to the bug report :)
 
 Kind regards,
 Panos
 --
 
 On Thu, 4 Feb 2021 at 22:47, Paul Dupuis via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
> I should add, we're not using Levure. We are using LC9.6.2rc2, we
> codesign via Terminal on Mohave using Xcode 10.2.1
> 
> On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote:
>> FYI - Our App includes the revZIP library. We codesign deep via
>> Terminal command and get no crashes. Codesign, notarize, and staple
>> without problems.
>> 
>> 
>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote:
>>> Re: building a standalone in LC 9.6.2 rc2 with the “Revolution Zip”
>>> library (crashes when codesigned)
>>> 
>>> Just filed a bug report on this - 23083
>>> 
>>> Marty
>>> 
 On Feb 4, 2021, at 11:25 AM, Marty Knapp 
 wrote:
 
 I’ve narrowed this down to the “Revolution Zip” library. If I leave
 that out of Inclusions, I can build in 9.6.2 and codesign and all is
 well.
 
 marty
 
> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode
>  wrote:
> 
> Hi Marty,
> 
> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1.
> 
> I have only a cursory understanding of Levure. From what I read,
> Trevor has methods to codesign and even notarize inside of Levure’s
> framework.
> 
> If your testing with a basic stack works as expected, maybe some
> interaction is happening with the Levure Framework project. I am
> certain Trevor knows best what may be happening here.
> 
> When you find out, please post back what you learn.
> 
> Best regards,
> 
> Mark Talluto
> livecloud.io 
> nursenotes.net 
> 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
>> 
>> ___
>> 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 

Re: Codesigning & notarizing

2021-02-04 Thread matthias rebbe via use-livecode
The stack is already attached to the bug report. ;) 

I had some time, so I've used Marty's demo stack and  created a standalone and 
code signed it. I also did not add the entitlements when code signing with App 
Wrapper 4. 
The code signed app does not crash at startup.


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 04.02.2021 um 21:56 schrieb panagiotis merakos via use-livecode 
> :
> 
> @Marty
> 
> If you have not done it already, it might be worth adding entitlements to
> the codesign.
> 
> https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps
> 
> I do not think it is the Xcode version that is the problem. I am on Mojave
> as well, so I can do a quick test if you send me the standalone that
> crashes. Also make sure you attach the stack to the bug report :)
> 
> Kind regards,
> Panos
> --
> 
> On Thu, 4 Feb 2021 at 22:47, Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> I should add, we're not using Levure. We are using LC9.6.2rc2, we
>> codesign via Terminal on Mohave using Xcode 10.2.1
>> 
>> On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote:
>>> FYI - Our App includes the revZIP library. We codesign deep via
>>> Terminal command and get no crashes. Codesign, notarize, and staple
>>> without problems.
>>> 
>>> 
>>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote:
 Re: building a standalone in LC 9.6.2 rc2 with the “Revolution Zip”
 library (crashes when codesigned)
 
 Just filed a bug report on this - 23083
 
 Marty
 
> On Feb 4, 2021, at 11:25 AM, Marty Knapp 
> wrote:
> 
> I’ve narrowed this down to the “Revolution Zip” library. If I leave
> that out of Inclusions, I can build in 9.6.2 and codesign and all is
> well.
> 
> marty
> 
>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode
>>  wrote:
>> 
>> Hi Marty,
>> 
>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1.
>> 
>> I have only a cursory understanding of Levure. From what I read,
>> Trevor has methods to codesign and even notarize inside of Levure’s
>> framework.
>> 
>> If your testing with a basic stack works as expected, maybe some
>> interaction is happening with the Levure Framework project. I am
>> certain Trevor knows best what may be happening here.
>> 
>> When you find out, please post back what you learn.
>> 
>> Best regards,
>> 
>> Mark Talluto
>> livecloud.io 
>> nursenotes.net 
>> 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
>>> 
>>> 
>>> ___
>>> 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: Codesigning & notarizing

2021-02-04 Thread matthias rebbe via use-livecode
Hi Marty,

i added a comment to your bug report already. I used your demo stack and cannot 
replicate the crash.
I use App Wrapper 4 to code sign. I code signe for Web distribution, not for 
App Store or Store installer.

I am also on Mojave (10.14.6), but i am using Xcode 11.3

Regards,
Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 04.02.2021 um 21:51 schrieb Marty Knapp via use-livecode 
> :
> 
> No it is not used on startup, it’s for a backup feature that the user 
> invokes. I am on Mojave and looks like x-code 10.1. Do you think my version 
> of x-code could be the issue?
> 
> All is fine when I build with LC 9.6.1. It’s when I build with 9.6.2. I’ve 
> used the codesigning ability of Trevor’s “Levure” framework as well as 
> AppWrapper - tried both version 3 and 4
> 
> Marty
> 
>> On Feb 4, 2021, at 12:46 PM, panagiotis merakos via use-livecode 
>>  wrote:
>> 
>> Hello Marty,
>> 
>> How is revZip used by your app? Is it used on startup?
>> 
>> Kind regards,
>> Panos
>> --
>> 
>> On Thu, 4 Feb 2021 at 22:38, Paul Dupuis via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> FYI - Our App includes the revZIP library. We codesign deep via Terminal
>>> command and get no crashes. Codesign, notarize, and staple without
>>> problems.
>>> 
>>> 
>>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote:
 Re: building a standalone in LC 9.6.2 rc2 with the “Revolution Zip”
>>> library (crashes when codesigned)
 
 Just filed a bug report on this - 23083
 
 Marty
 
> On Feb 4, 2021, at 11:25 AM, Marty Knapp 
>>> wrote:
> 
> I’ve narrowed this down to the “Revolution Zip” library. If I leave
>>> that out of Inclusions, I can build in 9.6.2 and codesign and all is well.
> 
> marty
> 
>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>> 
>> Hi Marty,
>> 
>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1.
>> 
>> I have only a cursory understanding of Levure. From what I read,
>>> Trevor has methods to codesign and even notarize inside of Levure’s
>>> framework.
>> 
>> If your testing with a basic stack works as expected, maybe some
>>> interaction is happening with the Levure Framework project. I am certain
>>> Trevor knows best what may be happening here.
>> 
>> When you find out, please post back what you learn.
>> 
> 
> 
> ___
> 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: installing and running LC on 'headless' linux server

2021-02-01 Thread matthias rebbe via use-livecode


> Am 01.02.2021 um 10:52 schrieb Ben Rubinstein via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Thanks Mark (and Matthias). That's very useful info which I'll stash for 
> another time.
> 
> In this case I really don't want to use the LC code over HTTP. It is purely a 
> utility to run locally on this machine at scheduled intervals, in support of 
> some other processes.
> 
> For several reasons it would be more convenient to run it as a stack rather 
> than just a script, though it would be possible to go the latter way.
> 
> So two questions:
> 
> - just to be clear, does LiveCode Server only work receiving requests from 
> Apache/nginx/whatever? Or can it be run from the command line?
> 
You can run LiveCode Server from the command line

> - is there a way to install ordinary LiveCode on a headless linux box? Or 
> will the installer demand a GUI to complete?
> 

According to page 7 of the Livecode 9.6.2 Release Notes, it is possible to run 
the installer without a gui.
https://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_2.pdf 


Excerpt...
> 
Command-line installation
It is possible to invoke the installer from the command-line on Linux and 
Windows. When doing command-line installation, no GUI will be displayed. The 
installation process is controlled by arguments passed to the installer.
Run the installer using a command in the form:

  install -ui [OPTION ...]

where  should be replaced with the path of the installer executable 
or app (inside the DMG) that has been downloaded. The result of the 
installation operation will be written to the console.

The installer understands any of the following options:

-allusers
Install the IDE for "All Users". If not specified, LiveCode will be installed 
for the current user only.

- desktopshortcut
Place a shortcut on the Desktop (Windows-only)

-startmenu
 Place shortcuts in the Start Menu (Windows-only)

-location LOCATION
The folder to install into. If not specified, the LOCATION defaults to those 
described in the "Installation" section above.

-log LOGFILE
The file to which to log installation actions. If not specified, no log is 
generated.

Note: the command-line installer does not do any authentication. When 
installing for "All Users", you will need to run the installer command as an 
administrator.
As the installer is actually a GUI application, it needs to be run slightly 
differently from other command-line programs.
On Windows, the command is:
start /wait  install -ui [OPTION ...]
<


Regards,
Matthias



-
Matthias Rebbe
Life Is Too Short For Boring Code

___
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: Which of the current FTP legends should I be using?

2021-01-31 Thread matthias rebbe via use-livecode
Hi PrestoBruce,

just a shot in the dark..., but how did you fill the pData parameter? Did you 
use 

put URL "binfile:..." into pData 

or maybe by mistake 

put URL "file:" into pData

That would explain why the data is corrupted after upload.


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 31.01.2021 um 01:19 schrieb PrestoBruce via use-livecode 
> :
> 
> I need to upload a binary file (jpg,pdf,png,etc) to an FTP account.
> I have spent more hours than I care to admit trying to make
> tsNetUploadSync work for me.
> 
> I used the example found at 
> https://lessons.livecode.com/m/4071/l/851756-how-to-upload-a-file-using-ftp
> Which at first blush, worked the first time (once I put in my server 
> path/login credentials etc).
> 
> However, binary files are corrupted. I see nothing in the tsettings array to 
> force binary xfer.
> 
> I get Transfer complete with server response code 226
> 
> 
> ___
> 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: installing and running LC on 'headless' linux server

2021-01-30 Thread matthias rebbe via use-livecode
Hi Ben,

Livecode Server can only execute Livecode script files, but it can make use of 
stackfiles if you want to use the stack as a library for example.
I am sorry, if i cannot explain it more detailed. Ask me in German and i could 
tell you what i really mean. ;) 

But good example is this page here   https://splash21.com/sQuiRt.php

The sQuiRt library, which is now included in Livecode as a livecodescript 
library , was a stack library at the beginning.
On this demo page a sample livecode server script is shown that uses a 
stackfile library to create QR codes and shows the QR Code then  in the browser.

And here's the script in action
http://splash21.on-rev.com/index.lc <http://splash21.on-rev.com/index.lc>


Regards,
Matthias







-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 30.01.2021 um 17:34 schrieb Ben Rubinstein via use-livecode 
> :
> 
> Hi Matthias,
> 
> Thanks for answering.
> 
> I haven't looked into Livecode Server. When you say I could run livecode 
> scripts directly from shell, does that means scripts, but not stacks?
> 
> Is Livecode Server easier to install on a 'headless' system? Is there 
> somewhere I should look to find explanation of differences/pros/cons of 
> Server versus IDE editions?
> 
> thank you,
> 
> Ben
> 
> On 29/01/2021 20:30, matthias rebbe via use-livecode wrote:
>> Ben,
>> is there a reason why you do not install/use Livecode Server instead of 
>> Livecode IDE on your system?
>> You could run livecode scripts directly from shell.
>> Regards,
>> Matthias
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>>> Am 29.01.2021 um 19:44 schrieb Ben Rubinstein via use-livecode 
>>> :
>>> 
>>> So I want to install LC on a headless - i.e. no GUI, access over SSH - 
>>> Ubuntu 20.
>>> 
>>> (Then I'll be using it to run a particular stack on a cron job.)
>>> 
>>> I've done this a long time ago with a standalone - but in this case I'd 
>>> rather be able to do it with a stack.
>>> 
>>> The only thing that I know about is "-ui" but I'm not even far enough along 
>>> to make use of this.
>>> 
>>> My first question is what's the best way to install it? Do I download the 
>>> installer, e.g. "LiveCodeCommunityInstaller-9_6_1-Linux.x64", move it to 
>>> the server and run it there? Or is that going to be a GUI installer?
>>> 
>>> Are there options I need to know about like where it should go?
>>> 
>>> And then are there tips about where I put my stacks, how to see error or 
>>> debugging output, how the stack reads command line parameters etc?
>>> 
>>> Any and all advice welcome - especially of course "go and read this guide 
>>> over here you idiot".
>>> 
>>> TIA,
>>> 
>>> Ben
>>> 
>>> ___
>>> 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: installing and running LC on 'headless' linux server

2021-01-29 Thread matthias rebbe via use-livecode
Ben,

is there a reason why you do not install/use Livecode Server instead of 
Livecode IDE on your system?

You could run livecode scripts directly from shell. 


Regards,
Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 29.01.2021 um 19:44 schrieb Ben Rubinstein via use-livecode 
> :
> 
> So I want to install LC on a headless - i.e. no GUI, access over SSH - Ubuntu 
> 20.
> 
> (Then I'll be using it to run a particular stack on a cron job.)
> 
> I've done this a long time ago with a standalone - but in this case I'd 
> rather be able to do it with a stack.
> 
> The only thing that I know about is "-ui" but I'm not even far enough along 
> to make use of this.
> 
> My first question is what's the best way to install it? Do I download the 
> installer, e.g. "LiveCodeCommunityInstaller-9_6_1-Linux.x64", move it to the 
> server and run it there? Or is that going to be a GUI installer?
> 
> Are there options I need to know about like where it should go?
> 
> And then are there tips about where I put my stacks, how to see error or 
> debugging output, how the stack reads command line parameters etc?
> 
> Any and all advice welcome - especially of course "go and read this guide 
> over here you idiot".
> 
> TIA,
> 
> Ben
> 
> ___
> 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: OT Friendly customers....

2021-01-28 Thread matthias rebbe via use-livecode
Hi again,

the customer finally replied and for whatever reason the software is working 
now. ??

But no excuses or so from his side.

So in my case it was not scam but just a rude person.

Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 26.01.2021 um 18:16 schrieb matthias rebbe via use-livecode 
> :
> 
> Hi all,
> 
> today i had a really unfriendly email from a customer 
> and i would like to show what independent developers sometimes have to deal 
> with.
> 
> First some information...
> i am selling a Win/Mac/Linux tool through Fastspring for years.
> The software is protected using Zygodact from Jacqueline Landman Gay.
> Btw. a really great tool.
> 
> The purchase process is quite easy. After successful purchase/payment 
> Fastspring contacts post some data to a Livecode Server Script. If the 
> Fastpring call contains all needed information the Livecode Server scripts 
> call the Zygodact stack to generate the registration data for that order  and 
> then returns that information. T he customer then get's an automated email 
> from Fastspring which contains the details to unlock the software from demo 
> mode to full mode. This works for years now and worked before Fastspring for 
> years with KAGI.
> 
> Today this email arrived:
> 
> <
> I plugged in the registration code and received a message that it was not 
> valid for the current version that I had downloaded and that I had to send 
> more money.
> 
> Either send me a valid code or refund my money.
> 
> Unless I hear from you today I will contact my bank and my credit card 
> company and report this as a fraudulent charge.
> 
> Let me know what are your intentions.
>> 
> 
> 
> The funny part is, my software does not return such a message. If the code is 
> not accepted because email address and key code do not match, it just returns 
> the message "Name or Key incorrect."
> 
> So what should i conclude from this? Did the customer try to unlock a wrong 
> program? Or did he just interpret the message "Name or Key incorrect" as "You 
> have to send more money"?
> 
> But what annoys me the most is the way he wrote the support request. 
> 
> As the friendly person i am, i tried his unlock data here w/o problem. I 
> replied to him that the unlock data is definitely working and if that is not 
> the case at his side, then i would assume that he either tried to use the 
> unlock details with an other program not mine or that he did not exactly 
> enter the unlock details.
> I even offered a free one2one remote session to do the unlock process for him.
> 
> Until now i did not receive any answers.
> 
> Btw. according to his LinkeIn profile he is a Digital Journalist and Web 
> Designer and is working for a US University
> 
> Anyway.
> 
> Regards,
> 
> Matthias
> 
> 
> 
> 
> 
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
> 
> ___
> 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: clipboardData on Mobile?

2021-01-28 Thread matthias rebbe via use-livecode
> But i am afraid using a LC to copy/paste to/from Clipboard on mobile is 
> currently not possible.


was meanto be

But i am afraid using a LC script to copy/paste to/from clipboard on mobile is 
currently not possible.




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 28.01.2021 um 09:32 schrieb matthias rebbe via use-livecode 
> :
> 
> Hi Dan,
> 
> The ClipboardData property is only supported on desktop operating systems.
> 
> If using native fields, then you could let the mobile os copy/paste the 
> clipboard data.
> 
> But i am afraid using a LC to copy/paste to/from Clipboard on mobile is 
> currently not possible.
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 28.01.2021 um 00:56 schrieb Dan Friedman via use-livecode 
>> :
>> 
>> Greetings!
>> 
>> Is there a way to set the clipboardData a mobile device?  (iOS and Android).
>> 
>> Client want's a "copy" button so they can paste the text outside of the app 
>> (in Notes, or a external document).
>> 
>> 
>> -Dan
>> 
>> ___
>> 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: clipboardData on Mobile?

2021-01-28 Thread matthias rebbe via use-livecode
Hi Dan,

The ClipboardData property is only supported on desktop operating systems.

If using native fields, then you could let the mobile os copy/paste the 
clipboard data.

But i am afraid using a LC to copy/paste to/from Clipboard on mobile is 
currently not possible.


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 28.01.2021 um 00:56 schrieb Dan Friedman via use-livecode 
> :
> 
> Greetings!
> 
> Is there a way to set the clipboardData a mobile device?  (iOS and Android).
> 
> Client want's a "copy" button so they can paste the text outside of the app 
> (in Notes, or a external document).
> 
> 
> -Dan
> 
> ___
> 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: revCopyFolder in LC Server

2021-01-27 Thread matthias rebbe via use-livecode
Neville,

revCopyFolder is part of the revCommonLibary which is located in the folder 
Tools/Toolset/libraries within the LivecodeIDE app bundle (MacOS) or program 
folder (Windows).

The file revCommonLibrary.livecodescript is not included in the LivecodeServer 
Installation files by default.

You could either copy that library into your LivecodeServer folder on your 
webserver  and make use of the complete library or you just use that part that 
is needed and include that in your LivecodeServer script.

This is the complete revCopyFolder Handler from the common library

on revCopyFolder pSrcFolder, pDestFolder
   if the last char of pSrcFolder is "/" then delete the last char of pSrcFolder
   if the platform is "MacOS" then
  if "applescript" is in the alternateLanguages then
 if there is not a folder pDestFolder then
create folder pDestFolder
 end if
 do revAppleScriptFull("copyFolder",pSrcFolder,pDestFolder) as 
"applescript"
 if word 1 of the result is "folder" then
#Copy successful so don't return anything
return empty
 else
return the result
 end if
  else return "Error: AppleScript not installed"
   else if the platform is "Win32" then
  revSetWindowsShellCommand
  if there is a directory pDestFolder then
 set the itemDel to "/"
 if char -1 of pDestFolder is "/" then delete char -1 of pDestFolder
 
 local tLastItemOfSrcFolder
 put item -1 of pSrcFolder into tLastItemofSrcFolder
 put "/" & tLastItemofSrcFolder after pDestFolder
 create directory pDestFolder
  end if
  
  # TH-2008-03-11 : Fix for 5465, should remedy problem with copy sometimes 
crashing on vista
  # now use robocopy instead of xcopy if operating under vista.
  if the systemVersion is "NT 6.0" then
 get shell ("robocopy" && 
revWindowsFromUnixPath(quote) && 
revWindowsFromUnixPath(quote) && "/E /NFL /NDL /NS /NC /NJH 
/NJS")
  else
 get shell ("xcopy /I /E /Y /R" && 
revWindowsFromUnixPath(quote) && 
revWindowsFromUnixPath(quote))
  end if
  
   else
  get shell ("cp -rf" && quote && quote)
   end if
   return the result
end revCopyFolder



Regards,

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 27.01.2021 um 13:02 schrieb Neville Smythe via use-livecode 
> :
> 
> I get a “Can’t find handler (revCopyFolder)” error in LC Server from a script 
> line
> revCopyFolder tTemplateDir,tDirPath
> 
> The script works up to that line. Is there a problem with using revCopyFolder 
> in LCServer?
> 
> Neville
> 
> ___
> 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: OT Friendly customers....

2021-01-26 Thread matthias rebbe via use-livecode
Hi Bill,

then of course i could be happy to get such emails not so often. ;) 

Regarding your concerns, i don't think that it is scam. The customer really 
purchased the software and if i would refund the purchase no one else as the 
customer himself had an advantage of it.

But i keep that in mind. Thanks.

Regards,

Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 26.01.2021 um 18:29 schrieb ELS Prothero via use-livecode 
> :
> 
> Matthias,
> I regularly get emails that threaten to do financial harm if I don’t do some 
> kind of payment to them. If it’s a scam, the return email may be spoofed 
> also. Once I got an email from a known friend requesting assistance during a 
> travel problem, but the email had been hijacked. From that email address, I 
> got sincere sounding requests for emergency assistance. When I checked a 
> Facebook account, I found postings about her hijacked email.
> 
> If you can find an alternative email address to contact, for the person you 
> found on the internet, you could contact him that way. However, the request 
> sounds very suspicious to me.
> 
> Good luck,
> Bill
> 
> William Prothero
> http://es.earthednet.org
> 
>> On Jan 26, 2021, at 9:17 AM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi all,
>> 
>> today i had a really unfriendly email from a customer 
>> and i would like to show what independent developers sometimes have to deal 
>> with.
>> 
>> First some information...
>> i am selling a Win/Mac/Linux tool through Fastspring for years.
>> The software is protected using Zygodact from Jacqueline Landman Gay.
>> Btw. a really great tool.
>> 
>> The purchase process is quite easy. After successful purchase/payment 
>> Fastspring contacts post some data to a Livecode Server Script. If the 
>> Fastpring call contains all needed information the Livecode Server scripts 
>> call the Zygodact stack to generate the registration data for that order  
>> and then returns that information. T he customer then get's an automated 
>> email from Fastspring which contains the details to unlock the software from 
>> demo mode to full mode. This works for years now and worked before 
>> Fastspring for years with KAGI.
>> 
>> Today this email arrived:
>> 
>> <
>> I plugged in the registration code and received a message that it was not 
>> valid for the current version that I had downloaded and that I had to send 
>> more money.
>> 
>> Either send me a valid code or refund my money.
>> 
>> Unless I hear from you today I will contact my bank and my credit card 
>> company and report this as a fraudulent charge.
>> 
>> Let me know what are your intentions.
>>> 
>> 
>> 
>> The funny part is, my software does not return such a message. If the code 
>> is not accepted because email address and key code do not match, it just 
>> returns the message "Name or Key incorrect."
>> 
>> So what should i conclude from this? Did the customer try to unlock a wrong 
>> program? Or did he just interpret the message "Name or Key incorrect" as 
>> "You have to send more money"?
>> 
>> But what annoys me the most is the way he wrote the support request. 
>> 
>> As the friendly person i am, i tried his unlock data here w/o problem. I 
>> replied to him that the unlock data is definitely working and if that is not 
>> the case at his side, then i would assume that he either tried to use the 
>> unlock details with an other program not mine or that he did not exactly 
>> enter the unlock details.
>> I even offered a free one2one remote session to do the unlock process for 
>> him.
>> 
>> Until now i did not receive any answers.
>> 
>> Btw. according to his LinkeIn profile he is a Digital Journalist and Web 
>> Designer and is working for a US University
>> 
>> Anyway.
>> 
>> Regards,
>> 
>> Matthias
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>> 
>> ___
>> 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


OT Friendly customers....

2021-01-26 Thread matthias rebbe via use-livecode
Hi all,

today i had a really unfriendly email from a customer 
and i would like to show what independent developers sometimes have to deal 
with.

First some information...
i am selling a Win/Mac/Linux tool through Fastspring for years.
The software is protected using Zygodact from Jacqueline Landman Gay.
Btw. a really great tool.

The purchase process is quite easy. After successful purchase/payment 
Fastspring contacts post some data to a Livecode Server Script. If the 
Fastpring call contains all needed information the Livecode Server scripts call 
the Zygodact stack to generate the registration data for that order  and then 
returns that information. T he customer then get's an automated email from 
Fastspring which contains the details to unlock the software from demo mode to 
full mode. This works for years now and worked before Fastspring for years with 
KAGI.

Today this email arrived:

<
I plugged in the registration code and received a message that it was not valid 
for the current version that I had downloaded and that I had to send more money.

Either send me a valid code or refund my money.

Unless I hear from you today I will contact my bank and my credit card company 
and report this as a fraudulent charge.

Let me know what are your intentions.
>


The funny part is, my software does not return such a message. If the code is 
not accepted because email address and key code do not match, it just returns 
the message "Name or Key incorrect."

So what should i conclude from this? Did the customer try to unlock a wrong 
program? Or did he just interpret the message "Name or Key incorrect" as "You 
have to send more money"?

But what annoys me the most is the way he wrote the support request. 

As the friendly person i am, i tried his unlock data here w/o problem. I 
replied to him that the unlock data is definitely working and if that is not 
the case at his side, then i would assume that he either tried to use the 
unlock details with an other program not mine or that he did not exactly enter 
the unlock details.
I even offered a free one2one remote session to do the unlock process for him.

Until now i did not receive any answers.

Btw. according to his LinkeIn profile he is a Digital Journalist and Web 
Designer and is working for a US University

Anyway.

Regards,

Matthias








-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: opened socket in IDE prevents script changes

2021-01-15 Thread matthias rebbe via use-livecode
Thanks Alex.
I will keep your advice in mind.

Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 15.01.2021 um 18:22 schrieb Alex Tweedly via use-livecode 
> :
> 
> 
> On 15/01/2021 14:46, matthias rebbe via use-livecode wrote:
>> Alex,
>> for a new project which should include socket communication  i have to 
>> prototype a short "demo" and i was already wondering if i need to have 
>> running 2 instances of the LC IDE for development.
>> 
>> But now you wrote that you had one server and even multiple client stacks 
>> opened in LC.
>> So do i understand it correctly that both, server and client stack, can 
>> communicate with each other using sockets in one instance of the LC IDE?
> 
> Yes. A couple of cautions ...
> 
>  - make sure your handlers are carefully named
> I had a bad habit of using the same name (_gotpacket) each time I wrote a 
> socket-handling stack,
> so I had 'open socket ... with message "_gotpacket" '
> and then I used the same name when I wrote the server !!
> 
>  - beware "resetall". In the server stack, I do something like
> 
>> -- would usually do
>>   --resetAll
>>   -- but this causes problems with testing when you have both a client
>>   -- and a server within the IDE of Rev
>>   -- so here we will only reset those opensockets which have no 'host' 
>> part
>>   -- intending this to be the ones which we have a current 'accept'
>>   repeat for each line tSock in the openSockets
>>  if ":" is not in tSock then close socket tSock
>>   end repeat
>> 
> and in the client stacks I do the inverse (if ":" is in tSock ...). Note this 
> is still a problem when you have multiple client stacks in the same IDE.
> 
> Finally,
> 
>  - when in doubt during testing - first reset the server, then the client.
> 
> 
> Good luck,
> 
> Alex.
> 
> 
> ___
> 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: opened socket in IDE prevents script changes

2021-01-15 Thread matthias rebbe via use-livecode
Bernard,

thanks for clarifying.

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 15.01.2021 um 15:52 schrieb Bernard Devlin via use-livecode 
> :
> 
> "do i understand it correctly that both, server and client stack, can
> communicate with each other using sockets in one instance of the LC IDE"
> 
> Your understanding is correct. On the other project (where I didn't have
> this current problem) I had half a dozen clients and 1 "server" running in
> the IDE.
> 
> On Fri, Jan 15, 2021 at 2:47 PM matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Alex,
>> for a new project which should include socket communication  i have to
>> prototype a short "demo" and i was already wondering if i need to have
>> running 2 instances of the LC IDE for development.
>> 
>> But now you wrote that you had one server and even multiple client stacks
>> opened in LC.
>> So do i understand it correctly that both, server and client stack, can
>> communicate with each other using sockets in one instance of the LC IDE?
>> 
>> 
> ___
> 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: opened socket in IDE prevents script changes

2021-01-15 Thread matthias rebbe via use-livecode
Alex,
for a new project which should include socket communication  i have to 
prototype a short "demo" and i was already wondering if i need to have running 
2 instances of the LC IDE for development.

But now you wrote that you had one server and even multiple client stacks 
opened in LC.
So do i understand it correctly that both, server and client stack, can 
communicate with each other using sockets in one instance of the LC IDE?

Regards,

Matthias


> Am 15.01.2021 um 13:05 schrieb Alex Tweedly via use-livecode 
> :
> 
> I've not seen any such problems - though with 9.6.1 / Mac.
> 
> I've spent most of the last week in the IDE, with two or more stacks open 
> (one server, one client - occasionally multiple client stacks) so I have 
> multiple open sockets (both 'accept'ing and 'open'ed)  almost all the time, 
> and had no problems with IDE or script editor.
> 
> (I know - that's no consolation, but I thought I'd mention it in case 9.6.1 
> was an option for you and might just help:-)
> 
> Alex.


-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: [ANN] Release 9.6.2 RC-2

2021-01-12 Thread matthias rebbe via use-livecode
I am afraid i am at a crossroads now.
Unfortunately prices for Mac hardware increased over the years. I will 
definitely not buy a M1 Mac.
I will use my iMac as long as i get updates for macOS and will then switch back 
completely to Windows.
Most of the software  i am using is available for macOS and Windows. Okay 
Ulysses is one of the programs i will be definitely missing when going back to 
Windows.
But i am sure i will find an alternative. Maybe Obsidian, currently not as good 
as Ulysses, but i'll see.

-
Matthias Rebbe

> Am 12.01.2021 um 23:29 schrieb Bob Sneidar via use-livecode 
> :
> 
> I’ve no worries with LC. My concern is all the other apps I bought which the 
> devs don’t port. 
> 
> Bob S
> 
> 
>> On Jan 12, 2021, at 10:32 AM, chaplais via use-livecode 
>>  wrote:
>> 
>> I have gone through this too . The most difficult was the change of OS. 
>> Also, Apple had not ported MPW to the PPC, which led to the success of 
>> Metrowerks  CodeWarrior.
>> I stil have a compiler by them for BeOs on PPC.
>> This does not really make me feel younger.
>> Le 12 janv. 2021 à 19:13 +0100, Richard Gaskin via use-livecode 
>> , a écrit :
>>> Bob Sneidar wrote:
>>> 
 Up until the time Apple decides everything has to be M1, at which
 support for Rosetta is withdrawn. The question is, how long do Intel
 apps have to live? Deja Vu all over again. (see what I did there?)
>>> 
>>> We've been here before...
>>> 
>>> 68k -> PPC
>>> Classic -> OS X
>>> PPC -> Intel
>>> 32-bit -> 64-bit
>>> 
>>> Adding:
>>> Intel -> M1
>>> ...is just another day in Appleland.
>>> 
>>> The engine has been carried forward well through all those changes, I'm
>>> not worried about this latest one.
>>> 
>>> --
>>> Richard Gaskin
>>> Fourth World Systems
>>> Software Design and Development for the Desktop, Mobile, and the Web
>>> 
>>> ambassa...@fourthworld.com http://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
> 
> ___
> 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: move cursor to the end of a line in a field

2020-12-23 Thread matthias rebbe via use-livecode


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.12.2020 um 21:50 schrieb Mark Wieder via use-livecode 
> :
> 
> On 12/23/20 12:26 PM, Brian Milby via use-livecode wrote:
>> To improve on my initial suggestion...
>> select after char -1 of field 1
> 
> That's the end of the *field* not the *line*.

But it would work, because Douglas wrote that it is a single line field.

> 
> -- 
> Mark Wieder
> ahsoftw...@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: move cursor to the end of a line in a field

2020-12-23 Thread matthias rebbe via use-livecode



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.12.2020 um 21:26 schrieb Brian Milby via use-livecode 
> :
> 
> To improve on my initial suggestion...
> 
> select after char -1 of field 1
> 
or to improve your 2nd suggestion..

select after fld 1  

would do the same. ;) 

> Sent from my iPhone
> 
>> On Dec 23, 2020, at 3:22 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Douglas,
>> 
>> you can use
>> 
>> select after line x of fld y 
>> 
>> for this. 
>> For example to place the cursor after line 3 of fld "text" you would write
>> 
>> select after line 3 of fld "text"
>> 
>> 
>> Regards,
>> 
>> Matthias
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 23.12.2020 um 20:57 schrieb Douglas A. Ruisaard via use-livecode 
>>> :
>>> 
>>> I need to position the cursor at the end of the contents of a single line
>>> field.  This can be "manually" done by pressing the "END" key while the
>>> cursor is in that field.  I want to do that positioning programmatically...
>>> but ...
>>> 
>>> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown,
>>> controlKeyDown, optionKeyDown) and the other "key" message options (e.g.
>>> functionKey) and cannot find one which will tell me what the "END" key is...
>>> a Windows resource tells me it is "35" 
>>> 
>>> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey
>>> value to the active field?  Or, ideally, can someone tell me how to
>>> "emulate" the "END" key and position the cursor at the end of the contents
>>> of a single line field?
>>> 
>>> Likely simple but I just can't work it out.  Thanks in advance! 
>>> 
>>> Douglas Ruisaard
>>> 
>>>  Trilogy Software
>>>(250) 573-3935
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> 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: move cursor to the end of a line in a field

2020-12-23 Thread matthias rebbe via use-livecode
Douglas,

you can use

select after line x of fld y 

for this. 
For example to place the cursor after line 3 of fld "text" you would write

select after line 3 of fld "text"


Regards,

Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.12.2020 um 20:57 schrieb Douglas A. Ruisaard via use-livecode 
> :
> 
> I need to position the cursor at the end of the contents of a single line
> field.  This can be "manually" done by pressing the "END" key while the
> cursor is in that field.  I want to do that positioning programmatically...
> but ...
> 
> I've searched all of the "...KeyDown" message options (e.g. commandKeyDown,
> controlKeyDown, optionKeyDown) and the other "key" message options (e.g.
> functionKey) and cannot find one which will tell me what the "END" key is...
> a Windows resource tells me it is "35" 
> 
> "rawKeyDown" tells me the raw key is 65367 ... but how do I "send" a rawkey
> value to the active field?  Or, ideally, can someone tell me how to
> "emulate" the "END" key and position the cursor at the end of the contents
> of a single line field?
> 
> Likely simple but I just can't work it out.  Thanks in advance! 
> 
> Douglas Ruisaard
> 
>Trilogy Software
>  (250) 573-3935
> 
> 
> 
> 
> ___
> 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: Backdrop Preference for None

2020-12-16 Thread matthias rebbe via use-livecode
Can't you switch it off using the menu View->Backdrop?

Regards
Matthias



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 16.12.2020 um 23:53 schrieb Roger Guay via use-livecode 
> :
> 
> I can’t figure out how to set backdrop to none as a preference. I had it 
> before I trashed my preferences but now none is not an oprtion.
> 
> Thanks for your help.
> 
> 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


___
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: return "error" code from standalone compile

2020-12-10 Thread matthias rebbe via use-livecode
Every application can have its own exit codes, but 0 should always be used for 
success and 1 for error.
Although there are exceptions. The Dos Find command for example returns 1 when 
the search was successfull but nothing was found.


You could use exit codes for example in batch files. The batch file runs a 
program and according to the exit code of that program the batch file executes 
the next command or application or what ever.

The OS is not interested in the exit codes. ;) But maybe the batch file or 
program that executed the other app. 
I am using this feature for example in some of my LC app where i execute a 3rd 
party command line tool using shell().  'The result' then contains  the exit 
code. Important: If the exit code is 0 then 'the result' is empty. 

Here are some links with some more information

Windows
http://www.chebucto.ns.ca/~ak621/DOS/ExitCode.html

Linux
https://shapeshed.com/unix-exit-codes/

macOS
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/sysexits.3.html



Regards,
Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 10.12.2020 um 05:51 schrieb J. Landman Gay via use-livecode 
> :
> 
> I don't know much about this but it looks interesting. Is there a list of 
> exit codes somewhere? When the OS receives the exit code, what happens? I.e., 
> how would I use it?
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On December 9, 2020 7:48:10 PM Mark Wieder via use-livecode 
>  wrote:
> 
>> On 12/9/20 5:32 PM, Douglas A. Ruisaard via use-livecode wrote:
>>> On the completion of a stack, can the compiled executable return an error
>>> code like the old DOS ErrorLevel value(s)?  If so, how do you specify the
>>> error code?  in the on closeStack call?
>> 
>> See the quit command in the dictionary.
>> 
>> quit 42
>> 
>> --
>> Mark Wieder
>> ahsoftw...@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: MP3 ID3 tag writer

2020-11-24 Thread matthias rebbe via use-livecode
I just noticed, that the files are not available anymore.

I've uploaded a zip archive of those files here

https://dl.qck.nu/?dl=MarkSmith.zip


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 24.11.2020 um 16:59 schrieb matthias rebbe via use-livecode 
> :
> 
> The late Mark Smith (the Bass Player) had written a library.
> 
> http://marksmith.on-rev.com/revstuff/files/libID3.zip
> 
> Here's an overview of his rev stacks:
> 
> http://marksmith.on-rev.com/revstuff/
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 24.11.2020 um 16:36 schrieb Skip Kimpel via use-livecode 
>> :
>> 
>> Has anybody written a library for this?  Looking to write ID3 tags for mp3
>> files including the addition to mp3 artwork.
>> 
>> Thoughts?
>> 
>> SKIP
>> ___
>> 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: Mac standalone install in menu bar

2020-11-24 Thread matthias rebbe via use-livecode
On Mac there is the Mac Status Menu library available in  LC9.6 and lower.


Regards,
Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 24.11.2020 um 15:24 schrieb Ben Rubinstein via use-livecode 
> :
> 
> Is it possible to create an using LC that once launched installs itself in 
> the menu bar?
> 
> TIA,
> 
> Ben
> 
> ___
> 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: MP3 ID3 tag writer

2020-11-24 Thread matthias rebbe via use-livecode
The late Mark Smith (the Bass Player) had written a library.

http://marksmith.on-rev.com/revstuff/files/libID3.zip

Here's an overview of his rev stacks:

http://marksmith.on-rev.com/revstuff/

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 24.11.2020 um 16:36 schrieb Skip Kimpel via use-livecode 
> :
> 
> Has anybody written a library for this?  Looking to write ID3 tags for mp3
> files including the addition to mp3 artwork.
> 
> Thoughts?
> 
> SKIP
> ___
> 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: Downloading LC9

2020-11-16 Thread matthias rebbe via use-livecode
I am currently downloading LC 9.6.1 Business Mac with a download rate 3,7 - 
4,5Mibt/s.

Or did you download an other version?.

Regards,
Matthias


Matthias Rebbe
Software & Support
Externer Datenschutz
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.11.2020 um 22:58 schrieb Pi Digital via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Hi
> 
> I’ve been getting weird errors in MacOS (Catalina 10.15.7) where LC is saying 
> there is a script error in a data grid of the startup window and also the 
> script editor is not opening at all from any stack card or object. So I’ve 
> decided to delete and reload LC. But the download is taking FOREVER. I’ve 
> tried different browsers, restarting macOS, downloading via windows but I’m 
> only getting 100kbps max. I did a speed test and have 300Mbps download 
> capability but LC remains stupid slow. 
> 
> Anyone else get this too?
> 
> Sean Cole
> Pi Digital
> ___
> 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



-
Matthias Rebbe
Life Is Too Short For Boring Code

___
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: Reading key values in info.plist file iOS or Mac using XML library?

2020-11-12 Thread matthias rebbe via use-livecode
Are you using the xml library for that?
Anyway, would you like to share your handler?

Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 13.11.2020 um 02:29 schrieb Paul Dupuis via use-livecode 
> :
> 
> I have an on standaloneSaved handler that reads and writes an updated 
> info.plist for my standalone that adds additional document types since the 
> standalone builder only allows a single document type.
> 
> On 11/12/2020 7:30 PM, matthias rebbe via use-livecode wrote:
>> Hi,
>> 
>> does anyone know if it is possible to use the xml library to read values 
>> from an info.plist file?
>> 
>> 
>> Regards,
>> 
>> Matthias
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>> 
>> ___
>> 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: Reading key values in info.plist file iOS or Mac using XML library?

2020-11-12 Thread matthias rebbe via use-livecode
-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 13.11.2020 um 01:43 schrieb Bob Sneidar via use-livecode 
> :
> 
> It is certainly possible! But depending on the complexity of the xml document 
> it may not be easy. I’ve posted before that I attempted to work with an 
> exported XML document from a Toshiba Copier’s Templates (scan presets), but 
> the document was mindbogglingly complex. One issue I ran into is keys which 
> have the same name, so trying to convert the xml to an array failed just on 
> that score. Without knowing what the structure of the XML is supposed to be, 
> a data dictionary for the XML document as it were, I may as well be reading 
> the output of Data’s positronic interface. 
> 

the .plist file contains several entry with same names (string and key)

e.g.

CFBundleDevelopmentRegion
English
CFBundleDisplayName
mOTP
CFBundleName
mOTP


So it seems that is  then not possible to use the xml library. Anyway i will 
read the values using line offset
put line lineoffset("CFBundleDisplayName",tPlist)+1 into 

which then "returns" the string value of CFBundleDisplayName one line below. 
This will work as long as the line with the  value is 
directly after the line with the .. values. 


Thanks.






> Bob S
> 
> 
>> On Nov 12, 2020, at 4:30 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi,
>> 
>> does anyone know if it is possible to use the xml library to read values 
>> from an info.plist file?
>> 
>> 
>> Regards,
>> 
>> Matthias 
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>> 
>> ___
>> 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


Reading key values in info.plist file iOS or Mac using XML library?

2020-11-12 Thread matthias rebbe via use-livecode
Hi,

does anyone know if it is possible to use the xml library to read values from 
an info.plist file?


Regards,

Matthias 


-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: Is the DateFormat read only?

2020-11-07 Thread matthias rebbe via use-livecode
Alex,

i've posted already some info about how to use the time zone library in 
Livecode server in my comment to David's post "Aw: Basic question: Time Zone 
Library".

Here it is again and a little bit more detailed.

1. copy the folder com.livecode.library.timezone from the LC extensions folder 
to your webserver into a folder extensions. The extensions folder can be found 
in the App Bundle on macOS or in the windows program folder
e.g. C:\Program Files (x86)\RunRev\LiveCode Business 9.6.1

2. place your .lc script in the same folder where the extensions folder exists.

3. configure/set the path where the shared library for your server os is 
located (see line 3 in the sample script below)
4. load the extension module.lcm (see line 4 in the sample script below)

The following script uses the time zone library to output the available time 
zones

" in tTZ
put tTZ
?>



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 07.11.2020 um 13:57 schrieb Alex Tweedly via use-livecode 
> :
> 
> Thanks Graham. That does indeed work - on your local system.
> 
> The issue I am trying to deal with (and maybe it's related to what David is 
> doing) is dealing with time zone issues on a LC web server. If you want to 
> timestamp when some event happens, you can do that as a UTC timestamp using a 
> function like this one of yours; but that leaves you two problems.
> 
>  - presenting those timestamps back to the user - which should be in *their* 
> local time
>  - allowing the user to provide their own timestamp - again should be local 
> for them.
> 
> Most advice I've found via Google, etc. suggests keeping the timestamps in 
> UTC, and asking the user to provide their timezone - usually when they 
> 'register'. You can then use PHP (or ...) functions to convert a date/time 
> between UTC and their local zone.
> 
> You might hope to do that in LC using 'convert .. to internet date' - but 
> that doesn't work because that conversion (seems to) assume a local time, and 
> then simply fill in the time offset for the local system (i.e. the problem 
> David reported).
> 
> You should be able to do it using the TimeZone library - but I haven't 
> figured out how to to do that, or I'm using it wrong, or something. (I didn't 
> know about the Timezone library until David mentioned it yesterday.)
> 
> I'm currently using an ugly (though working :-) workaround using e.g.
> 
> put "America/New_York" into timeZone
> 
> *put*shell("TZ=" & timeZone & " date") into tmp
> 
> and working it all out from there (assumes Unix server - don't know if it 
> works on others).
> 
> Alex.
> 
> 
> 
> On 07/11/2020 10:27, Graham Samuel via use-livecode wrote:
>> I am as confused as anyone else as to what you are trying to do, but just in 
>> case, this little function seems to work for me to get the ’standard’ UTC 
>> date format which I have to use in my app to put time stamps into GPX files. 
>> It apparently produces the correct time zone. Doubtless it could be more 
>> elegantly coded.
>> 
>> Hope it helps - who knows?
>> 
>> Graham
>> 
>> function fUTCTime
>>local t1,t2,t3
>>-- this gets the current time and puts it into UTC format, i.e 
>> -MM-DDThh:mm:ssTZD
>>put word 5 to 6 of the internet date into t3 -- we are interested in the 
>> time and time zone
>>put the long time into t1
>>convert t1 to dateItems -- format is ,m,d,h,m,s,day no.
>>put (item 1 of t1) & "-" & f2digits(item 2 of t1) & "-" & f2digits(item 3 
>> of t1) &"T" & word 1 of t3 into t2
>>put word 2 of t3 into t1 -- the time zone indication
>>get char 1 of t1 — the code for 0 (zero) is Z, apparently
>>if it <> "+" and it <> "-“ then
>>   put "Z" after t2
>>else
>>   put t1 after t2
>>end if
>>return t2
>> end fUTCTime
>> 
>> function f2digits theNum
>> -- add a leading zero. We don't check if there are more than two digits
>>if number of chars of theNum = 1 then
>>   return ("0" & theNum)
>>else
>>   return theNum
>>end if
>> end f2digits
>> 
>> 
>>> On 7 Nov 2020, at 01:34, Alex Tweedly via use-livecode 
>>>  wrote:
>>> 
>>> I don't think it "strips" the TZ info - it simply ignores it. I think the 
>>> key phrase is in the dictionary as :
>>> 
 *Note:* The *convert* command assumes all dates / times are in local time 
 except for 'the seconds', which is taken to be universal time.
 
>>> So it assume syou date is in local time (regardless of the +0300), and 
>>> therefore your example returns + for you (I assume you're in the UK, or 
>>> equivalent,  now). It does the same for me, and returns the date with 
>>> "+".
>>> 
>>> However, the same code run on my LC server (wherever on-rev is these days), 
>>> changes the +0300 to -0500 - i.e. it's taken as local time where the server 
>>> is.
>>> 
>>> 
>>> I assume you should be able to do something with the TimeZone library - but 
>>> I'm struggling to figure that out.
>>> 
local tNow
put the seconds 

Re: Basic question: Time Zone Library

2020-11-06 Thread matthias rebbe via use-livecode
Hi,

i am not sure if this is still the way how to do it with newer LC Server 
versions, but at least it still works with LC 9.6.1

First copy the folder of of the time zone library to your server for example 
into a folder extension

Then, to use the library you'll have to put the following 2 lines before your 
time zone specific code.

set the revLibraryMapping["tz"] to 
"/home/ua829968/public_html/livecode.dermattes.de/tz-test/extensions/com.livecode.library.timezone/code/x86_64-linux/tz.so"
load extension from file "./extensions/com.livecode.library.timezone/module.lcm"
//here comes your timezone script



In the first line you define where the needed shared libraries are located. It 
must contain the complete path to the shared libraries. In the above example 
the shared library for 64bit Linux is used. The second line then loads the 
extension.

Mark Waddingham provided that information here 2 years ago
https://www.mail-archive.com/use-livecode@lists.runrev.com/msg97605.html

Regards,

Matthias





-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 06.11.2020 um 23:29 schrieb David Bovill via use-livecode 
> :
> 
> Just created a handler that I want to use in a Livecode server that uses the 
> Time Zone Library handler TimeZones(). So:
> 
> 1. How do I find where the library is?
> 2. How do I add it so the server code can use it?
> 
> On 6 Nov 2020, 21:28 +, How to use LiveCode 
> , wrote:
>> 
>> ToUniversalTime
> ___
> 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: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-06 Thread matthias rebbe via use-livecode
I doubt that the qoutes were the problem. ;)

Your 
put $_cookie[username]  
will replace the content of the var username.
In your case, if the value of variable username for example is Peter then 
LC would replace $_cookie[username]   with $_cookie["Peter"]

If username wasn't used before then LC uses username as the value of username

In this case LC would replace $_cookie[username] with $_cookie["username"].

So for example
put "hallo" into tArray["mytext"]
put tArray["mytext"]--returns hallo
put tArray[mytext]  -- returns hallo
put "test" into mytext
put tArray[mytext] -- returns nothing

So i am not sure, what the problem was, but definitely not the quotes. ;)

Regards,
Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 06.11.2020 um 03:54 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi Matthias,
> 
> I found the problem.
> 
> You had:  put $_Cookie["username”] 
> 
> It shouldn’t have the quotes.
> 
> put  $_Cookie[username]
> 
> works fine.
> 
> I think I made the same mistake sometime!  LOL
> 
> Cookies reside in the client’s web-browser which is why
> as users were are always clearing them out.
> 
> So, LiveCode can read Javascript cookies!  Yay!
> 
> It’s good enough for now.  I’ll revisit Javascript session variables later.
> 
> Thanks for your help!
> 
> Rick
> 
>> On Nov 4, 2020, at 2:04 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi Rick,
>> 
>> i just did a quick test and created an html file which wrote a cookie with 
>> javascript
>> 
>>  
>> document.cookie = "username=Rick"; 
>> 
>> 
>> Then in LC Server i used the array $_cookie to read the content of the cookie
>> 
>> Doing a
>> put $_Cookie["username"] 
>> 
>> returned  Rick
>> 
>> 
>> Regards
>> Matthias
> 
> ___
> 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: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-05 Thread matthias rebbe via use-livecode
Rick,

you are mixing something.

$_session array is stored on the server while sessionstorage is stored on the 
clients computer.

I am not sure that there is a direct way to let Livecode Server read 
sessionstorage directly from the clients computer, but i might be wrong.
At least PHP is not able.

One way would be to use Javascript to read the storagesession and post it to a 
LC Server script using Ajax. 
You could even do this from one single LC server script.
In the script you would check if the $_POST array contains any data. 
If the $_POST array is empty, then you have to execute  the javascript that 
fetches the sessionstorage data and if there is sessionstorage  then it posts 
that data to the script again.
If the $_POST array is not empty, then you can continue the script using the 
sessionstorage data.

At least this is the way how it is done in .php

I've used this method a lot for processing form data.

HTH

Matthias




> Am 05.11.2020 um 02:12 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi Matthias,
> 
> Session Variables are like cookies except they auto-expire at the end of a 
> browser session
> like when you close a tab or window.
> 
> In Javascript one would set a session variable this way:
> 
> 
> <!--
> // Set the Value of the Session Variable
> sessionStorage.setItem("firstname", "John");
> sessionStorage.setItem("lastname", "Smith");
> //-->
> 
> 
> 
> One would retrieve the session variable in Javascript this way:
> 
> 
> 
> <!--
> // Retrieve
> document.getElementById("JSNewFirstName").innerHTML = 
> sessionStorage.getItem("firstname");  
> document.getElementById("JSNewLastName").innerHTML = 
> sessionStorage.getItem("lastname");
> //-->
> 
> 
> 
> In LiveCode one would set a session variable like this:
> 
>  
> start session
> 
> put “Matthias” into VarFirstName
> 
> put VarFirstName into $_SESSION["NewFirstName”]
> 
> stop session 
> 
> ?>
> 
> To retrieve the session variable in LiveCode:
> 
>  
> start session
> 
> put  $_SESSION["NewFirstName”] into VarFirstName 
> 
> stop session 
> 
> ?>
> 
> So, I’m wondering that since we are able to have LiveCode retrieve Javascript 
> cookies,
> then perhaps it can retrieve Javascript session variables too.
> 
> I just haven’t quite made the connection yet.
> 
> Your thoughts?
> 
> Rick
> 
>> On Nov 4, 2020, at 7:00 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> What do you mean with session variables? 
>> 
>> To be honest i am not very used with Javascript. 
>> I just did a quick test to write a cookie with JS and read it with LC 
>> server. ;)
>> 
>> Regards,
>> Matthias
> 
> ___
> 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



-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-04 Thread matthias rebbe via use-livecode
What do you mean with session variables? 

To be honest i am not very used with Javascript. 
I just did a quick test to write a cookie with JS and read it with LC server. ;)

Regards,
Matthias
-
Matthias Rebbe
Life Is Too Short For Boring Code



> Am 05.11.2020 um 00:31 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi Matthias,
> 
> Well, that works fine!
> 
> I’ll have to study what I did differently to figure why my method didn’t work.
> 
> Will this work with Session variables too?
> 
> Thanks,
> 
> Rick
> 
>> On Nov 4, 2020, at 4:35 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi Rick,
>> 
>> there are two files:
>> 
>> writecookies.html
>> readcookies.lc <http://readcookies.lc/>
>> 
>> See the code of each here
>> https://livecode.dermattes.de/javascript/showcode.lc 
>> <https://livecode.dermattes.de/javascript/showcode.lc>
>> 
>> -
>> Matthias Rebbe
> 
> ___
> 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: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-04 Thread matthias rebbe via use-livecode
Hi Rick,

there are two files:

writecookies.html
readcookies.lc

See the code of each here
https://livecode.dermattes.de/javascript/showcode.lc

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 04.11.2020 um 22:10 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi Matthias,
> 
> I just tried your code and it didn’t go across from one format file to the 
> next.
> 
> I got:   username = “username”
> 
> What’s wrong?
> 
> If you can give me your full code for both mini format files I will try it
> and we can see the results exactly.
> 
> Thanks for helping!
> 
> Rick
> 
>> On Nov 4, 2020, at 2:04 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>>  
>> document.cookie = "username=Rick"; 
>> 
>> 
>> Then in LC Server i used the array $_cookie to read the content of the cookie
>> 
>> Doing a
>> put $_Cookie["username"] 
> 
> ___
> 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: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-04 Thread matthias rebbe via use-livecode
Hi Rick,

i just did a quick test and created an html file which wrote a cookie with 
javascript

 
 document.cookie = "username=Rick"; 


Then in LC Server i used the array $_cookie to read the content of the cookie

Doing a
put $_Cookie["username"] 

returned  Rick


Regards
Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 04.11.2020 um 18:16 schrieb Rick Harrison via use-livecode 
> :
> 
> Greetings LiveCoders,
> 
> I have an LC server format file that uses a Javascript video player.
> The video player has a nice time progress bar that shows how far
> the user has played the video. All of that works just fine.
> 
> What I would like to do is check what that time completion variable
> is when the user clicks on a button to leave the video so I will know
> if they finished watching it all the way to the end of the video or not. 
> I then want to make a note of it in my database which requires that 
> I am able to send that javascript variable value over to a LiveCode
> variable.
> 
> I’ve been looking at Session Cookies to see if LiveCode can read
> a Javascript Session Cookie, but so far have been unsuccessful.
> 
> Ideas, code or suggestions anyone?
> 
> Thanks!
> 
> Rick
> ___
> 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: Query large CSV file as a data source?

2020-11-03 Thread matthias rebbe via use-livecode



> Am 03.11.2020 um 23:02 schrieb Bob Sneidar via use-livecode 
> :
> 
> Just read for 10,000 lines and check for empty each time. 
> 

To be honest, i've never used the read file for ... lines.
I was expecting that there might be an error if one tries to read more lines 
than there are left for read 
Good to know that one can just read in a loop without calculating the loop 
count first.


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Bob S
> 
> 
>> On Nov 3, 2020, at 7:09 AM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Regarding the loop.
>> 
>> you could do a
>> 
>> put the detailed files 
>> 
>> to get the file size of that csv file.
>> 
>> With that size you would now how often you have to run the loop
>> 
>> 
>> 
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 03.11.2020 um 15:14 schrieb Keith Clarke via use-livecode 
>>> :
>>> 
>>> Thank you Matthias, I wasn’t aware of that ability to open the file and 
>>> read its contents straight from the disk. 
>>> 
>>> A quick experiment looks positive - no hanging and fast access - so I just 
>>> need to work on the loop.
>>> 
>>> Much obliged.
>>> 
>>> Best,
>>> Keith   
>>> 
>>>> On 3 Nov 2020, at 13:37, matthias rebbe via use-livecode 
>>>>  wrote:
>>>> 
>>>> Couldn't you read the file partially
>>>> 
>>>> you would open the file for read
>>>> 
>>>>open file tFile for read
>>>> 
>>>> then in a repeat loop you could read e.g. 1 lines and process the data
>>>> 
>>>>read from file tFile for 1 lines
>>>> 
>>>> 
>>>> Just a thought.
>>>> 
>>>> 
>>>> -
>>>> Matthias Rebbe
>>>> Life Is Too Short For Boring Code
>>>> 
>>>>> Am 03.11.2020 um 13:14 schrieb Keith Clarke via use-livecode 
>>>>> :
>>>>> 
>>>>> Hi folks,
>>>>> I’ve a 3GB CSV file with 18M rows from which I need to create a subset 
>>>>> CSV file for the rows containing tString. The following script results in 
>>>>> LiveCode becoming unresponsive, so I’m wondering if I’m missing an 
>>>>> obvious trick or what alternative approach I might take...
>>>>> on mouseUp pButtonNumber
>>>>> 
>>>>> -- Select CSV File
>>>>> 
>>>>> answer file prompt as sheet
>>>>> 
>>>>> put it into tFile
>>>>> 
>>>>> put tFile into field "File"
>>>>> 
>>>>> -- Process CSV extract
>>>>> 
>>>>> put URL ("file:" & tFile) into tText
>>>>> 
>>>>> put line 1 of tText into field "List"
>>>>> 
>>>>> filter lines of tText with "*tString*"
>>>>> 
>>>>> put tText into field tList
>>>>> 
>>>>> end mouseUp
>>>>> 
>>>>> I don’t normally deal with large data sets, so maybe LiveCode isn’t the 
>>>>> best tool for this but Excel 365 seems to only offer CSV file import, not 
>>>>> query.
>>>>> 
>>>>> Any thoughts greatly appreciated.
>>>>> 
>>>>> Thanks & regards,
>>>>> 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
>> 
>> 
>> ___
>> 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: Query large CSV file as a data source?

2020-11-03 Thread matthias rebbe via use-livecode
Regarding the loop.

you could do a

put the detailed files 

to get the file size of that csv file.

With that size you would now how often you have to run the loop





-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 03.11.2020 um 15:14 schrieb Keith Clarke via use-livecode 
> :
> 
> Thank you Matthias, I wasn’t aware of that ability to open the file and read 
> its contents straight from the disk. 
> 
> A quick experiment looks positive - no hanging and fast access - so I just 
> need to work on the loop.
> 
> Much obliged.
> 
> Best,
> Keith   
> 
>> On 3 Nov 2020, at 13:37, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Couldn't you read the file partially
>> 
>> you would open the file for read
>> 
>>  open file tFile for read
>> 
>> then in a repeat loop you could read e.g. 1 lines and process the data
>> 
>>  read from file tFile for 1 lines
>> 
>> 
>> Just a thought.
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 03.11.2020 um 13:14 schrieb Keith Clarke via use-livecode 
>>> :
>>> 
>>> Hi folks,
>>> I’ve a 3GB CSV file with 18M rows from which I need to create a subset CSV 
>>> file for the rows containing tString. The following script results in 
>>> LiveCode becoming unresponsive, so I’m wondering if I’m missing an obvious 
>>> trick or what alternative approach I might take...
>>> on mouseUp pButtonNumber
>>> 
>>> -- Select CSV File
>>> 
>>> answer file prompt as sheet
>>> 
>>> put it into tFile
>>> 
>>> put tFile into field "File"
>>> 
>>> -- Process CSV extract
>>> 
>>> put URL ("file:" & tFile) into tText
>>> 
>>> put line 1 of tText into field "List"
>>> 
>>> filter lines of tText with "*tString*"
>>> 
>>> put tText into field tList
>>> 
>>> end mouseUp
>>> 
>>> I don’t normally deal with large data sets, so maybe LiveCode isn’t the 
>>> best tool for this but Excel 365 seems to only offer CSV file import, not 
>>> query.
>>> 
>>> Any thoughts greatly appreciated.
>>> 
>>> Thanks & regards,
>>> 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


___
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: Query large CSV file as a data source?

2020-11-03 Thread matthias rebbe via use-livecode
Couldn't you read the file partially

you would open the file for read

open file tFile for read

then in a repeat loop you could read e.g. 1 lines and process the data

read from file tFile for 1 lines


Just a thought.


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 03.11.2020 um 13:14 schrieb Keith Clarke via use-livecode 
> :
> 
> Hi folks,
> I’ve a 3GB CSV file with 18M rows from which I need to create a subset CSV 
> file for the rows containing tString. The following script results in 
> LiveCode becoming unresponsive, so I’m wondering if I’m missing an obvious 
> trick or what alternative approach I might take...
> on mouseUp pButtonNumber
> 
> -- Select CSV File
> 
> answer file prompt as sheet
> 
> put it into tFile
> 
> put tFile into field "File"
> 
> -- Process CSV extract
> 
> put URL ("file:" & tFile) into tText
> 
> put line 1 of tText into field "List"
> 
> filter lines of tText with "*tString*"
> 
> put tText into field tList
> 
> end mouseUp
> 
> I don’t normally deal with large data sets, so maybe LiveCode isn’t the best 
> tool for this but Excel 365 seems to only offer CSV file import, not query.
> 
> Any thoughts greatly appreciated.
> 
> Thanks & regards,
> 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


Updated NotarizeHelperStack now with entitlements support

2020-11-02 Thread matthias rebbe via use-livecode
Hi,

just a quick note that i've upgraded the NotarizeHelperStack in the Livecode 
lesson
https://lessons.livecode.com/m/4071/l/1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore

The stack now allows to add entitlements for code signing an app.
And i added Xcode 11 support for fetching the ASC provider.

Hope this is of any help for the one or other.

Regards,

Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: Need to track click on a MacStatusMenu without menu items

2020-11-02 Thread matthias rebbe via use-livecode
Hi Monte,

thanks for responding and assuming that it might be possible with adjustments 
to the source code.

Regarding Livecode Builder, i am afraid i am a hopeless case. ;) 
Tried so many times to follow the widget course and other resources, but it 
seems i will never understand that stuff completely. I was even able to adjust  
the source code of the clock widget to disable the day/night color switch.  But 
as soon as ObjectC is involved i am lost. 

Anyway, one doesn't have to be able to do everything. 
Hey, i am very good in making fresh pasta. Okay that doesn't help me here. ;) 


All the best,
Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 02.11.2020 um 10:07 schrieb Monte Goulding via use-livecode 
> :
> 
> Hi Matthias
> 
> It would be possible to add to the library I think. Should just be a matter 
> of setting an action which posts a callback on the button of the 
> NSStatusItem. If you want to have a play the library is open source ;-)
> 
> Cheers
> 
> Monte
> 
>> On 2 Nov 2020, at 4:09 am, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi
>> 
>> i am currently working on a Mac OS app which makes use of the MacStatusMenu 
>> Library.
>> Now i need a way to track a click on a Mac Status Menu icon which does not 
>> have any menu items.
>> 
>> Is this somehow possible?
>> 
>> Currently i am only able to track the click of a menu item of a Mac Status 
>> Menu.
>> But if no menu item is set and i click directly on the status menu icon, i 
>> do not get anything back.
>> 
>> Any ideas?
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>> 
>> ___
>> 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


Need to track click on a MacStatusMenu without menu items

2020-11-01 Thread matthias rebbe via use-livecode
Hi

i am currently working on a Mac OS app which makes use of the MacStatusMenu 
Library.
Now i need a way to track a click on a Mac Status Menu icon which does not have 
any menu items.

Is this somehow possible?

Currently i am only able to track the click of a menu item of a Mac Status Menu.
But if no menu item is set and i click directly on the status menu icon, i do 
not get anything back.

Any ideas?

Regards,
Matthias



-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: VPN and tsNet

2020-10-27 Thread matthias rebbe via use-livecode
Brian, 
is "Pulse Secure VPN" just a client? If so, i could try test here with our 
existing VPN.

I was on their site and they are offering a free trial, but to be honest, i am 
not sure what to download. ;) 
So if you could provide a download link for the client?

Regards,
Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 27.10.2020 um 19:51 schrieb Brian Milby via use-livecode 
> :
> 
> Additional details:
> Win 10 OS / LC 9.6.1 Business
> Pulse Secure VPN
> 
> If I do a tracert to the host name on the old VPN or no VPN then it reports 2 
> hops.  While on the new VPN, the first 4 hops are internal IPs and then 
> nothing else.  Just using the IP that should be the VPN interface doesn’t 
> seem to work, so I will need to do some more digging.
> 
> Since I still have access to the old VPN for another week I can try on it as 
> well (using the VPN instead of direct).
> 
> Thanks for the hints so far.
> 
> Sent from my iPhone
> 
>> On Oct 27, 2020, at 6:04 AM, Mark Waddingham via use-livecode 
>>  wrote:
>> 
>> On 2020-10-27 01:05, Brian Milby via use-livecode wrote:
>>> I have a fairly simple stack that I use to get FedEx tracking data
>>> using tsNetPostSync.  It has worked fine until a new VPN connection
>>> was added.  The only change that I know is that it no longer allows a
>>> split tunnel so everything must go through the VPN.  Assuming that is
>>> the issue, how do I configure tsNet to use the VPN instead of trying
>>> to connect directly?  (I’m pretty sure that proxy is not enabled yet,
>>> but that is probably coming too).  I did try to set the
>>> defaultNetworkInterface but it did not seem to have any impact.  For
>>> now I am just disconnecting the VPN to pull the data.
>> 
>> I *think* the 'interface' setting is what you want:
>> 
>> “interface”: (Introduced in tsNet version 1.4.0) Specify the interface, IP 
>> address or host name to be used for the outgoing connection.
>> 
>> This should be set to the local ip address of the interface (i.e. VPN) you 
>> want the socket connection to come from on the local machine.
>> 
>> Warmest Regards,
>> 
>> Mark.
>> 
>> P.S. Hopefully Charles can correct this if I'm wrong!
>> 
>> -- 
>> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
>> LiveCode: Everyone can create apps
>> 
>> ___
>> 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: VPN and tsNet

2020-10-27 Thread matthias rebbe via use-livecode
Just want to confirm  that using "interface" in the settings array works here.

First i've called a LC Server script on a web server without using interface. 
The script returns the remote ip.

put 
tsNetGetSync("https://.xx/remoteIP.lc",xHeaders,rOutHeaders,rResult,rBytes)
It returned my public ip of my office.

Then i called the same script, but used interface and set it with my remote VPN 
ip address

put "192.168.1.201" into tSettings["interface"]
put  
tsNetGetSync("https://.xx/remoteIP.lc",xHeaders,rOutHeaders,rResult,rBytes,tSettings)
 

The script now returned the public internet ip of the remote office.


Amazing! tsNET is so powerful.

Regards,
Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 27.10.2020 um 11:03 schrieb Mark Waddingham via use-livecode 
> :
> 
> On 2020-10-27 01:05, Brian Milby via use-livecode wrote:
>> I have a fairly simple stack that I use to get FedEx tracking data
>> using tsNetPostSync.  It has worked fine until a new VPN connection
>> was added.  The only change that I know is that it no longer allows a
>> split tunnel so everything must go through the VPN.  Assuming that is
>> the issue, how do I configure tsNet to use the VPN instead of trying
>> to connect directly?  (I’m pretty sure that proxy is not enabled yet,
>> but that is probably coming too).  I did try to set the
>> defaultNetworkInterface but it did not seem to have any impact.  For
>> now I am just disconnecting the VPN to pull the data.
> 
> I *think* the 'interface' setting is what you want:
> 
> “interface”: (Introduced in tsNet version 1.4.0) Specify the interface, IP 
> address or host name to be used for the outgoing connection.
> 
> This should be set to the local ip address of the interface (i.e. VPN) you 
> want the socket connection to come from on the local machine.
> 
> Warmest Regards,
> 
> Mark.
> 
> P.S. Hopefully Charles can correct this if I'm wrong!
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> ___
> 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: VPN and tsNet

2020-10-27 Thread matthias rebbe via use-livecode
I am not sure if this can be done/set in tsNET. As far as i know this is set  
on the system or router which establish the VPN connection.
One would change the default route to the  VPN tunnel.
That would route all internet traffic through the VPN as long as the VPN 
connection is established.

In Draytek routers for example it is set directly where the Lan2Lan or DialOut 
connection is configured. It is labeled  "Change default route to this VPN 
tunnel"

In the Shimo VPN client for example it is the option "route all traffic through 
VPN". I do not have the exact english expression, because i have here a GERMAN 
MacOS and i am not able to force Shimo to display the English GUI. Cannot find 
the proper de.lproj.

Anyway. 

How do you establish the VPN and on which operating system are you?

On MacOS for example it should be possible to use Applescript to change the 
default route. At least i've read about, that it is possible to disable VPN as 
default route. So i assume it should be also possible to set it as default.
Here's a site which describes the opposite: Disabling VPN as default route. 
Maybe that gives you at least an idea.
https://phaq.phunsites.net/2011/12/29/vpninit-applescript-override-and-restore-default-vpn-routes-on-os-x/


Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 27.10.2020 um 02:05 schrieb Brian Milby via use-livecode 
> :
> 
> I have a fairly simple stack that I use to get FedEx tracking data using 
> tsNetPostSync.  It has worked fine until a new VPN connection was added.  The 
> only change that I know is that it no longer allows a split tunnel so 
> everything must go through the VPN.  Assuming that is the issue, how do I 
> configure tsNet to use the VPN instead of trying to connect directly?  (I’m 
> pretty sure that proxy is not enabled yet, but that is probably coming too).  
> I did try to set the defaultNetworkInterface but it did not seem to have any 
> impact.  For now I am just disconnecting the VPN to pull the data.
> 
> Thanks for any help/pointers,
> Brian
> 
> ___
> 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: Slightly OT: Windows Code Signing

2020-10-26 Thread matthias rebbe via use-livecode
Hi Paul,

first of all buying directly through Sectigo is expensive. If you purchase from 
one of Sectigo's partners you'll get it much cheaper. 
I've  purchased in July a 3year code signing certificate ( not the ELV) for 207 
Euro for all 3 years. The certifcate was also delivered by Sectigo. And i was 
able to download the certificate on my Windows 10 VM with Internet Explorer, if 
i remember right. I even cannot remember that a special version of Mozilla was 
required.
They only mentioned, that you cannot fetch your certificate with MS Edge, 
Chrome and Safari.
I've did the complete purchase process on my Windows 10 VM.

Regards,
Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 26.10.2020 um 18:32 schrieb Paul Dupuis via use-livecode 
> :
> 
> My Windows Code signing cert for signing LiveCode standalones has expired.
> 
> I purchased it from instantsll.com (3 year) which has become sectigo.com and 
> it appears that they never moved over old accounts since my prior username, 
> email, and password do not work nor does the email work for password recovery.
> 
> So I bought a new one from comodosslstore.com (which turns out is also 
> sectigo.com). Verification was quick and automate - no problem.
> 
> Now my cert is ready, but the download/install instructions requires Internet 
> Explorer 11 or Firefox 68 or older (Firefox is at version 82 and Microsoft 
> Edge is what comes with Windows 10 not Internet Explorer 11
> 
> Their support documentation is conflicting and terrible (IMHO).
> 
> It is not too late to cancel the order and buy elsewhere. Does anyone have a 
> recommendation for a supplier of Windows Code Signing certs that have a 
> simple and straight forward process for buying AND getting the .p12 file you 
> ultimately need for code signing?
> 
> This is kind of urgent since we are unable to sign until we get a new cert.
> 
> ___
> 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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread matthias rebbe via use-livecode
Sean,
i just reactivated on an VM an old  "LC 5.0.2 Complete" license which was 
similar to the Enterprise license in earlier versions of LC on a Windows 

I tried to post to a https:// url in 5.0.2 and  i got an SSL error. It seems 
that 5.0.2 does only support the old TLS V1 and newer web servers do not 
support that anymore.
So i am not sure, if LC 5.0.2 is of any use.
Just wanted to let you know.

Regards,
Matthias




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.10.2020 um 11:47 schrieb Pi Digital via use-livecode 
> :
> 
> Hi
> 
> Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I can 
> get this ssl https revdb behind me so our clients don’t all go running before 
> we upgrade the code to v9.x. I’m truly at a loss. 
> 
> Sean Cole
> Pi Digital
> 
> 
>> On 23 Oct 2020, at 05:48, Sean Cole (Pi)  wrote:
>> 
>> 
>> Hi all,
>> 
>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 
>> stack. It worked ok in v9 but v5 throws back an error of 'error socket 
>> closed'.
>> 
>> This is my only workaround for accessing MySQL using SSL via a 'post' 
>> command through PHP, as suggested by Mark Waddingham and others.
>> 
>> Now I am at a total loss! From what I can see in the forums, LC locked out 
>> 'post to https' to only Enterprise users. Arrrghhh! 
>> 
>> I don't know what else I can do. Curl is not an option as this will be 
>> running as an app on clients Windows machines. But even put url("https:// 
>> returns error socket closed so that rules out setting up a server app too. 
>> Nothing works!
>> 
>> I'm Delirious! HELP!
>> 
>> Sean Cole
>> Pi Digital 
> ___
> 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: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread matthias rebbe via use-livecode
Martin,
i am not sure if the freezes are also caused by this, but what Antivirus 
Software are you using. A 3rd party or Microsoft Defender?
If the latter then please try to exclude the Livecode program folder  and its 
support folders (like preferences) from realtime scanning in MS Defender.

There were some reports from users that Microsoft Defender slowed down 
Livecode, especially when using the Script Editor.

Regards,
Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.10.2020 um 02:30 schrieb Martin Koob via use-livecode 
> :
> 
> Another bit of info regarding the length of script where this happens.
> 
> I have been going through the project browser trying to open small scripts 
> then opening those with more and more lines.   I found that a script with 53 
> lines opens, a script with 62 lines freezes.
> 
> anyway.  Down with this for tonight.  Hope someone has some ideas as to what 
> might be going on and how to solve it.
> 
> Martin
> 
> 
>> On Oct 22, 2020, at 8:16 PM, Martin Koob via use-livecode 
>>  wrote:
>> 
>> Hi again,
>> 
>> Sorry just re-read my previous email and realized it is not clear.
>> 
>> I meant to say that  is that I get the same issue where the IDE stops 
>> responding when I try to edit the main stack script too.  So it is not a 
>> strictly DataGrid issue.
>> 
>> Martin
>> 
>>> On Oct 22, 2020, at 8:05 PM, Martin Koob via use-livecode 
>>>  wrote:
>>> 
>>> Hi
>>> 
>>> Just to follow up.  It is not just happening in a DataGrid group script.  I 
>>> just opened a main stack script.  It has almost 600 lines.
>>> 
>>> Something Odd going on.  I am just new to using LiveCode on Windows as I am 
>>> now working on an application  for release on Mac and Windows.  However I 
>>> have edited many of the scripts in this project before and have never seen 
>>> this.  
>>> 
>>> Again if anyone has ideas as to what might be happening or how to trouble 
>>> shoot that would really be appreciated.
>>> 
>>> Martin
>>> 
 On Oct 22, 2020, at 5:19 PM, Martin Koob  wrote:
 
 Hi all
 
 Maybe this is not good practice but I have DataGrids with script in the 
 group that contains the DataGrid in addition to the behaviour script of 
 the DataGrid.   So to edit the script in the DataGrid group I just select 
 the Datagrid group I right click on the DataGrid and select the ‘Edit 
 Script’ menu item.   
 
 This works fine on the mac.I just tried this on Windows 10 with 
 LiveCode 9.6 and when I try to open the same DataGrid following the same 
 process the script editor opens but it does not load the script.  In fact 
 LiveCode becomes unresponsive. The script editor dims as if disabled and 
 the cursor when hovering over the script editor or any other LiveCode 
 windows  is the hour glass cursor.
 
 If I click on the ‘x’ to close the LiveCode project I get the dialog that 
 says.
 
 LiveCode for Windows is not responding
 If you close the program, you might lose information.
 —>Close the Program
 —>Wait for the program to respond.
 
 Eventually I just select ‘Close the program’ since the program never 
 responds.
 
 I created a test stack with just a DataGrid on it and a button and opened 
 the group script and was able to add a handler and then save it and reopen 
 it so it does work in a simple scenario.
 
 In my application I have two dataGrids that have code in the group script. 
  On has 290 lines the other has about 480 lines.   So it seems the longer 
 code is a contributing factor.
 
 Has anyone else experienced this?  
 
 It the problem that you are not supposed to have script in the DataGrid’ 
 Group script and rather put it all in the DataGrid's behaviour?
 
 
 Thanks in advance.
 
 
 Martin Koob
 
 
 
>>> 
>>> 
>>> ___
>>> 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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread matthias rebbe via use-livecode
Do you have a current commercial license? If so, maybe Support is willing to 
give you a license for the old 5.x.

Regards,
Matthias


> Am 23.10.2020 um 11:47 schrieb Pi Digital via use-livecode 
> :
> 
> Hi
> 
> Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I can 
> get this ssl https revdb behind me so our clients don’t all go running before 
> we upgrade the code to v9.x. I’m truly at a loss. 
> 
> Sean Cole
> Pi Digital
> 
> 
>> On 23 Oct 2020, at 05:48, Sean Cole (Pi)  wrote:
>> 
>> 
>> Hi all,
>> 
>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 
>> stack. It worked ok in v9 but v5 throws back an error of 'error socket 
>> closed'.
>> 
>> This is my only workaround for accessing MySQL using SSL via a 'post' 
>> command through PHP, as suggested by Mark Waddingham and others.
>> 
>> Now I am at a total loss! From what I can see in the forums, LC locked out 
>> 'post to https' to only Enterprise users. Arrrghhh! 
>> 
>> I don't know what else I can do. Curl is not an option as this will be 
>> running as an app on clients Windows machines. But even put url("https:// 
>> returns error socket closed so that rules out setting up a server app too. 
>> Nothing works!
>> 
>> I'm Delirious! HELP!
>> 
>> Sean Cole
>> Pi Digital 
> ___
> 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



-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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 Podcast Player

2020-10-23 Thread matthias rebbe via use-livecode

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.10.2020 um 10:28 schrieb David Bovill via use-livecode 
> :
> 
> I can mainly speak for my personal experience, but if I produce this podcast 
> player, and various libraries for it - then historically I haven't really see 
> a good way to share that. When I come across errors or improvements I want to 
> make to the dictionary I don’t really see how, or have quite enough faith 
> that my contributions will valued - so I make a note to “do that later” and 
> well - don’t.

I thought one could also create Widgets and submit them to/publish on the 
Widget store instead of submitting them to be included in the Livecode Release.
The documentation for the dictionary is in the widget itself. So if the widget 
contains a documentation file the LC dictionary lists that information as soon 
as the widget is installed. So if you publish to the widget store, then you 
should be able to publish your corrections and improvements immediately. Or am 
i wrong?

Matthias
___
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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread matthias rebbe via use-livecode
What i forgot. You can include that version from the url i posted in your 
standalone using "copy files" in standalone settings, as it has not to be 
installed.
-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.10.2020 um 10:54 schrieb matthias_livecode_150...@m-r-d.de:
> 
> You are writing that curl is not an option, because the app shall run under 
> Windows,
> 
> but there are also Curl builds for Windows available.
> 
> https://curl.haxx.se/windows/
> 
> Regards
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 23.10.2020 um 06:48 schrieb Sean Cole (Pi) via use-livecode 
>> :
>> 
>> Hi all,
>> 
>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2
>> stack. It worked ok in v9 but v5 throws back an error of 'error socket
>> closed'.
>> 
>> This is my only workaround for accessing MySQL using SSL via a 'post'
>> command through PHP, as suggested by Mark Waddingham and others.
>> 
>> Now I am at a total loss! From what I can see in the forums, LC locked out
>> 'post to https' to only Enterprise users. Arrrghhh!
>> 
>> I don't know what else I can do. Curl is not an option as this will be
>> running as an app on clients Windows machines. But even put url("https://
>> returns error socket closed so that rules out setting up a server app too.
>> Nothing works!
>> 
>> I'm Delirious! HELP!
>> 
>> Sean Cole
>> *Pi Digital *
>> ___
>> 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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread matthias rebbe via use-livecode
You are writing that curl is not an option, because the app shall run under 
Windows,

but there are also Curl builds for Windows available.

https://curl.haxx.se/windows/

Regards

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.10.2020 um 06:48 schrieb Sean Cole (Pi) via use-livecode 
> :
> 
> Hi all,
> 
> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2
> stack. It worked ok in v9 but v5 throws back an error of 'error socket
> closed'.
> 
> This is my only workaround for accessing MySQL using SSL via a 'post'
> command through PHP, as suggested by Mark Waddingham and others.
> 
> Now I am at a total loss! From what I can see in the forums, LC locked out
> 'post to https' to only Enterprise users. Arrrghhh!
> 
> I don't know what else I can do. Curl is not an option as this will be
> running as an app on clients Windows machines. But even put url("https://
> returns error socket closed so that rules out setting up a server app too.
> Nothing works!
> 
> I'm Delirious! HELP!
> 
> Sean Cole
> *Pi Digital *
> ___
> 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: SQL Show Status

2020-10-19 Thread matthias rebbe via use-livecode
You have to use
 
revDataFromQuery()

because that will execute the SQL statement and will return any data that is 
coming from the DB Server.

Regards,
Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 19.10.2020 um 19:41 schrieb Sean Cole (Pi) via use-livecode 
> :
> 
> Hi Ralph,
> 
> What do I do to see the data in the two columns? My brain is hurting too
> much to figure it out.
> 
> Thanks
> Sean
> 
> On Mon, 19 Oct 2020 at 18:26, Ralph DiMola via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Sean,
>> 
>> revQueryDatabase(tConnId, “SHOW STATUS”) only returns an integer
>> 
>> That integer is a record set.
>> In my case it returned 536 rows.
>> Each row has two columns:
>> Variable_name
>> Value
>> 
>> 
>> Let me tell you Mr. Johnson... Some very interesting stuff in there.
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>> 
>> 
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
>> Behalf Of Sean Cole (Pi) via use-livecode
>> Sent: Monday, October 19, 2020 12:50 PM
>> To: How to use LiveCode
>> Cc: Sean Cole (Pi)
>> Subject: SQL Show Status
>> 
>> Hi
>> 
>> As everyone likes to hijack threads here, I’ve started another to make
>> sure it gets seen.
>> 
>> 
>> revQueryDatabase(tConnId, “SHOW STATUS”) only returns an integer
>> 
>> Same for revdb_execute which returns 0
>> 
>> Any clues on how to actually get the status back?
>> 
>> Still trying to work out why these certificates are not working.
>> --
>> Sean Cole
>> *Pi Digital Productions Ltd*
>> www.pidigital.co.uk
>> +44(1634)402193
>> +44(7702)116447
>> 'Don't try to think outside the box. Just remember the truth: There is no
>> box!'
>> 'For then you realise it is not the box you are trying to look outside of,
>> but it is yourself!'
>> 
>> eMail Ts & Cs    Pi Digital
>> Productions Ltd is a UK registered limited company, no. 5255609
>> ___
>> 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: Help needed :)

2020-10-19 Thread matthias rebbe via use-livecode
Hi Panos,

my father in law came back earlier than expected.
You were correct. The phone display was zoomed.
I switched it back to "standard" and tested again.

With "standard" the screenrect returns  0,0,414,736

Regards,
Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 19.10.2020 um 17:34 schrieb matthias rebbe via use-livecode 
> :
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 19.10.2020 um 17:17 schrieb panagiotis merakos via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> Hmm I think I have found something - I had checked for this before - but in
>> the wrong place.
>> 
>> @Matthias could you check if "Display Zoom" is enabled in your device?
>> 
>> This is in Settings -> Display and Brightness  and then scroll down and in
>> the "Display Zoom" section, does it say "Standard" or "Zoomed" ?
>> 
> Believe me or not, that was something i thought also could be the culprit. 
> But forgot to test, because i got an important phone call.
> 
> I will test this later today. I had to give the phone back to the owner, but 
> can get it back in the evening.
> 
> Regards,
> Matthias
> 
> 
>> Kind regards,
>> Panos
>> --
>> 
>> On Mon, 19 Oct 2020 at 17:51, panagiotis merakos  wrote:
>> 
>>> Hello Matthias,
>>> 
>>> Thank you very much for testing. Hmm that's interesting. I forgot to
>>> mention that the affected iPhones 8+ are running iOS 14.
>>> 
>>> The simulator we tested was running iOS 13.3. I am wondering if this is an
>>> iOS 14 issue.
>>> 
>>> We are working on adding support for building with Xcode 12 / iOS 14 SDK,
>>> so once this is ready, I'll test on the iOS 14 simulator.
>>> 
>>> In the meantime, if anyone has an iPhone 6+/7+/8+ running iOS < 14 and
>>> would like to check what "the screenrect" returns, it would be great :)
>>> 
>>> Kind regards,
>>> Panos
>>> --
>>> 
>>> 
>>> On Mon, 19 Oct 2020 at 17:24, matthias rebbe via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>>> Hi Panos,
>>>> 
>>>> i just borrowed me an iphone 8 Plus.  I can confirm that on the real
>>>> device the screenrect returns 0,0,375,667
>>>> Tried with all 3 variations (ipad, ipod, ipod/iphone/ipad) and
>>>> with iOS 10,11,12,13.
>>>> 
>>>> iOS 14.01
>>>> Modell MQ8L2ZD/A
>>>> 
>>>> 
>>>> Regards,
>>>> 
>>>> 
>>>> -
>>>> Matthias Rebbe
>>>> Life Is Too Short For Boring Code
>>>> 
>>>>> Am 19.10.2020 um 14:43 schrieb panagiotis merakos via use-livecode <
>>>> use-livecode@lists.runrev.com>:
>>>>> 
>>>>> Heh I wrote that msg in my phone while I was in a hurry, and I now see
>>>> the
>>>>> auto-correct has changed a couple of things :)
>>>>> 
>>>>> Corrections:
>>>>> 
>>>>> * A LC user ...
>>>>> 
>>>>> * ...and it works as expected for us
>>>>> 
>>>>> Thank you :)
>>>>> 
>>>>> Panos
>>>>> --
>>>>> 
>>>>> On Mon, 19 Oct 2020 at 14:58, panagiotis merakos <
>>>> panos.mera...@livecode.com <mailto:panos.mera...@livecode.com>>
>>>>> wrote:
>>>>> 
>>>>>> Hello folks,
>>>>>> 
>>>>>> I LC user (or in fact a couple of this user's clients) are
>>>> experiencing a
>>>>>> strange issue which we cannot reproduce, as we do not have the specific
>>>>>> hardware.
>>>>>> 
>>>>>> Long story short, "the screenrect" function returns for them incorrect
>>>>>> values on an iPhone 8 Plus physical device. We have tested in the
>>>> iPhone 8
>>>>>> Plus simulator and it world as expected for us.
>>>>>> 
>>>>>> More specifically, the screenrect() returns 0,0,375,667 (which is the
>>>>>> screenrect of iPhone8) instead of 0,0,414,736 (which is the screenrect
>>>> of
>>>>>> iPhone 8 Plus.
>>>>>> 
>>>>>> Do you have such a device and if yes, would it be possible to do a
>>>> quick
>&

Re: Help needed :)

2020-10-19 Thread matthias rebbe via use-livecode


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 19.10.2020 um 17:17 schrieb panagiotis merakos via use-livecode 
> :
> 
> Hmm I think I have found something - I had checked for this before - but in
> the wrong place.
> 
> @Matthias could you check if "Display Zoom" is enabled in your device?
> 
> This is in Settings -> Display and Brightness  and then scroll down and in
> the "Display Zoom" section, does it say "Standard" or "Zoomed" ?
> 
Believe me or not, that was something i thought also could be the culprit. But 
forgot to test, because i got an important phone call.

I will test this later today. I had to give the phone back to the owner, but 
can get it back in the evening.

Regards,
Matthias


> Kind regards,
> Panos
> --
> 
> On Mon, 19 Oct 2020 at 17:51, panagiotis merakos  wrote:
> 
>> Hello Matthias,
>> 
>> Thank you very much for testing. Hmm that's interesting. I forgot to
>> mention that the affected iPhones 8+ are running iOS 14.
>> 
>> The simulator we tested was running iOS 13.3. I am wondering if this is an
>> iOS 14 issue.
>> 
>> We are working on adding support for building with Xcode 12 / iOS 14 SDK,
>> so once this is ready, I'll test on the iOS 14 simulator.
>> 
>> In the meantime, if anyone has an iPhone 6+/7+/8+ running iOS < 14 and
>> would like to check what "the screenrect" returns, it would be great :)
>> 
>> Kind regards,
>> Panos
>> --
>> 
>> 
>> On Mon, 19 Oct 2020 at 17:24, matthias rebbe via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Hi Panos,
>>> 
>>> i just borrowed me an iphone 8 Plus.  I can confirm that on the real
>>> device the screenrect returns 0,0,375,667
>>> Tried with all 3 variations (ipad, ipod, ipod/iphone/ipad) and
>>> with iOS 10,11,12,13.
>>> 
>>> iOS 14.01
>>> Modell MQ8L2ZD/A
>>> 
>>> 
>>> Regards,
>>> 
>>> 
>>> -
>>> Matthias Rebbe
>>> Life Is Too Short For Boring Code
>>> 
>>>> Am 19.10.2020 um 14:43 schrieb panagiotis merakos via use-livecode <
>>> use-livecode@lists.runrev.com>:
>>>> 
>>>> Heh I wrote that msg in my phone while I was in a hurry, and I now see
>>> the
>>>> auto-correct has changed a couple of things :)
>>>> 
>>>> Corrections:
>>>> 
>>>> * A LC user ...
>>>> 
>>>> * ...and it works as expected for us
>>>> 
>>>> Thank you :)
>>>> 
>>>> Panos
>>>> --
>>>> 
>>>> On Mon, 19 Oct 2020 at 14:58, panagiotis merakos <
>>> panos.mera...@livecode.com <mailto:panos.mera...@livecode.com>>
>>>> wrote:
>>>> 
>>>>> Hello folks,
>>>>> 
>>>>> I LC user (or in fact a couple of this user's clients) are
>>> experiencing a
>>>>> strange issue which we cannot reproduce, as we do not have the specific
>>>>> hardware.
>>>>> 
>>>>> Long story short, "the screenrect" function returns for them incorrect
>>>>> values on an iPhone 8 Plus physical device. We have tested in the
>>> iPhone 8
>>>>> Plus simulator and it world as expected for us.
>>>>> 
>>>>> More specifically, the screenrect() returns 0,0,375,667 (which is the
>>>>> screenrect of iPhone8) instead of 0,0,414,736 (which is the screenrect
>>> of
>>>>> iPhone 8 Plus.
>>>>> 
>>>>> Do you have such a device and if yes, would it be possible to do a
>>> quick
>>>>> test and report here what you get?
>>>>> 
>>>>> Thanks a lot :)
>>>>> 
>>>>> Kind regards,
>>>>> Panos
>>>>> 
>>>>> PS: I guess an iPhone 6 Plus or iPhone 7 Plus will do too, as all
>>> these 3
>>>>> devices have the same screen size.
>>>>> --
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> --
>>>> Panagiotis Merakos >> panos.mera...@livecode.com>>
>>>> LiveCode Software Developer
>>>> 
>>>> Everyone Can Create Apps <https://livecode.com <https://livecode.com/>>
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com <mailto: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 <
>>> 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: Help needed :)

2020-10-19 Thread matthias rebbe via use-livecode
Hi Panos,

i just borrowed me an iphone 8 Plus.  I can confirm that on the real device the 
screenrect returns 0,0,375,667
Tried with all 3 variations (ipad, ipod, ipod/iphone/ipad) and with iOS 
10,11,12,13.

iOS 14.01
Modell MQ8L2ZD/A


Regards,


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 19.10.2020 um 14:43 schrieb panagiotis merakos via use-livecode 
> :
> 
> Heh I wrote that msg in my phone while I was in a hurry, and I now see the
> auto-correct has changed a couple of things :)
> 
> Corrections:
> 
> * A LC user ...
> 
> * ...and it works as expected for us
> 
> Thank you :)
> 
> Panos
> --
> 
> On Mon, 19 Oct 2020 at 14:58, panagiotis merakos  >
> wrote:
> 
>> Hello folks,
>> 
>> I LC user (or in fact a couple of this user's clients) are experiencing a
>> strange issue which we cannot reproduce, as we do not have the specific
>> hardware.
>> 
>> Long story short, "the screenrect" function returns for them incorrect
>> values on an iPhone 8 Plus physical device. We have tested in the iPhone 8
>> Plus simulator and it world as expected for us.
>> 
>> More specifically, the screenrect() returns 0,0,375,667 (which is the
>> screenrect of iPhone8) instead of 0,0,414,736 (which is the screenrect of
>> iPhone 8 Plus.
>> 
>> Do you have such a device and if yes, would it be possible to do a quick
>> test and report here what you get?
>> 
>> Thanks a lot :)
>> 
>> Kind regards,
>> Panos
>> 
>> PS: I guess an iPhone 6 Plus or iPhone 7 Plus will do too, as all these 3
>> devices have the same screen size.
>> --
>> 
>> 
>> 
> 
> -- 
> Panagiotis Merakos  >
> LiveCode Software Developer
> 
> Everyone Can Create Apps >
> ___
> 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: SSL cPanel mySql setup

2020-10-17 Thread matthias rebbe via use-livecode
Neville,
Can't you install LC Server on your own on your Dreamhost account. I remember 
there were others on the list or in the forum who were successful with 
installing LC Server on their Dreamhost account.


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 18.10.2020 um 01:32 schrieb Neville Smythe via use-livecode 
> :
> 
> Thanks to this thread for the realisation my remote db connections are not 
> secure. I just checked with Dreamhost and they gave their reasons for not use 
> SSL with their mySQL setup — unacceptable burden on their server and 
> undesirable for web app access; so in their opinion very few shared host 
> environments would enable SSL for mySQL.
> 
> So I need some middleware. LC Server would have been ideal, but Dreamhost no 
> longer install it ;-(. I particularly could have used LC Server to drive 
> mailman distribution list subscription/unsubscription tasks from the database 
> for which I do not have a good solution at the moment.
> 
> Neville
> 
> 
> 
> ___
> 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: SSL cPanel mySql setup

2020-10-16 Thread matthias rebbe via use-livecode
Hi Sean,

there was a discussion a few weeks ago with the topic "Strange behavior between 
Mysql, MariaDB and SSL."
I am not sure if the information in that discussion will solve your problem.

Another approach is the following. For security reasons we do not let 
communicat our LC apps directly with MySQL Databases, if the Database is hosted 
on a public server.

We using a Livecode Server Script on the Webserver for doing the complete DB 
communication.
Our standalones (Mobile and Desktop) send the requests (password encrypted 
string) either as POST or GET to the LC Server script. The script encrypts the  
request string and executes it. The return from the DB is then returned to our 
standalone.

Another way would be to use an LC server api HostM is providing for free.
https://www.hostm.com/tutorials/livecode/api-mariadb-mysql


Regards,
Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 16.10.2020 um 10:34 schrieb Pi Digital via use-livecode 
> :
> 
> Hi
> 
> I’ve found myself out of my depth and in need of advice. 
> We have a cPanel webspace with mySQL running on a phpMyAdmin layer within the 
> cPanel setup. Communicating with it from LC has been a breeze. However, doing 
> a traffic scan we noticed that our queries and responses from the database 
> are completely visible. Obviously a high security risk. 
> 
> Using an ssl certificate set, how do I implement this? How do I get cPanel to 
> allow for it and get LC to make use of them when using revOpenDatabase? I 
> have the useSSL flag set to Boolean ‘true’. I’ve tried using the set 
> certificates pointing it at the three ssl files. But the data still is fully 
> readable as plaintext in both direction when checked by our traffic scanner. 
> 
> Thanks
> 
> Sean
> 
> ___
> 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: Anyone archived the information from http://andregarzia.com/async.irev

2020-10-12 Thread matthias rebbe via use-livecode
Hi Andre,
thanks for the offer, but i am sure i found now the complete information.
There was also an article written by you in the RevUp newsletter on the 12th of 
August 2010.

Here's the link, if anyone else is interested:
http://newsletters.livecode.com/august/issue98/newsletter2.php

Regards,

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 12.10.2020 um 23:18 schrieb Andre Garzia via use-livecode 
> :
> 
> Hi Friends,
> 
> I looked in my archives here but I can't find that post. I probably did
> that just to solve the size limitation for the forum and failed to archive
> it anywhere. I think that content was lost :-(
> 
> If this is a topic that you folks feel is under-explored, I could come up
> with a new post or video.
> 
> Best
> a
> 
> On Mon, 12 Oct 2020 at 00:23, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> On 10/11/20 9:46 AM, William Prothero via use-livecode wrote:
>>> Matthias:
>>> Try:
>> https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows
>> <
>> https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows
>>> 
>> 
>> Bill-
>> 
>> That's an interesting archive. Thanks for the trip down memory lane, I'd
>> completely forgotten that discussion.
>> 
>> Any idea why narkive stopped collecting posts two years ago?
>> 
>> --
>>  Mark Wieder
>>  ahsoftw...@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
>> 
> 
> 
> -- 
> https://www.andregarzia.com 
> Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia
> ___
> 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: Anyone archived the information from http://andregarzia.com/async.irev

2020-10-11 Thread matthias rebbe via use-livecode
Hi Bill,
thanks, but that post mentions the url http://andregarzia.com/async.irev
for further reading


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 11.10.2020 um 18:46 schrieb William Prothero via use-livecode 
> :
> 
> Matthias:
> Try: 
> https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows
>  
> <https://use-livecode.runrev.narkive.com/faoKGyaT/revserver-tips-spreading-the-load-or-why-wise-developers-use-asynchronous-workflows>
> Bill
> 
> William A. Prothero
> https://earthlearningsolutions.org
> 
>> On Oct 11, 2020, at 2:25 AM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi,
>> 
>> a very long time ago Andre Garzia posted some useful information about how 
>> to use (Livecode) server processes effectively. 
>> Unfortunately the link to that information 
>> 
>> "Spreading the load or why wise developers use asynchronous workflows"
>> http://andregarzia.com/async.irev
>> 
>> is not working anymore.
>> 
>> Did someone archive that information and is willing to share it? I really 
>> would appreciate that.
>> 
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>> 
>> ___
>> 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


Anyone archived the information from http://andregarzia.com/async.irev

2020-10-11 Thread matthias rebbe via use-livecode
Hi,

a very long time ago Andre Garzia posted some useful information about how to 
use (Livecode) server processes effectively. 
Unfortunately the link to that information 

"Spreading the load or why wise developers use asynchronous workflows"
http://andregarzia.com/async.irev

is not working anymore.

Did someone archive that information and is willing to share it? I really would 
appreciate that.


Regards,
Matthias




-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: Compress/Decompress Inclustion?

2020-10-07 Thread matthias rebbe via use-livecode
The last sentence in the dictionary for decompress/compress says
'The (de)compress function <> uses the zlib compression library.'

So i would say adding 'Revolution   Zip" under inclusions should solve your 
problem.

Regards,
Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 07.10.2020 um 04:59 schrieb Bill Vlahos via use-livecode 
> :
> 
> In InfoWallet I store attachments as encrypted and compressed files on disk.
> 
> When I build InfoWallet in LiveCode 9.6.1 and attempt to decompress and 
> decrypt the file, I get an error that the data is not compressed. The file is 
> definitely compressed.
> 
> I’m manually selecting inclusions. Do I need to add compress and decompress 
> as an Inclusion? If so, which Inclusion would it be?
> 
> Here is the error:
> Executing at 2:45:53 PM on Saturday, October 3, 2020
> Type: decompress: string is not compressed data
> Object: button 'ViewA' of card 'Records' of stack 'Bill Vlahos.ifw'
> Line: put decompress(vFile) into vFile
> Line Num: 16
> Hint: mouseUp
> 
> 
> Thanks,
> Bill Vlahos
> ___
> 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: Slightly OT: downloading Xcode

2020-10-03 Thread matthias rebbe via use-livecode
This would be a saver alternative
https://blog.kulman.sk/faster-way-to-download-and-install-xcode/ 


It uses Aria2 
https://formulae.brew.sh/formula/aria2 
and a ruby script
https://gist.github.com/iandundas/fabe07455e5216442a421922361f698c 



Regards,

Matthias

Matthias Rebbe
Software & Support
Externer Datenschutz
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 03.10.2020 um 17:39 schrieb Mark Wieder via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> On 10/3/20 8:09 AM, Richmond via use-livecode wrote:
>> I wonder:
>> https://developerinsider.co/download-xcode-and-other-developer-tools-up-to-16-times-faster/
>>  
>> 
>>  
> 
> Looks interesting, but I'd be wary of anything that does
> install.sh | bash
> without checking the source first
> 
> -- 
> Mark Wieder
> ahsoftw...@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



-
Matthias Rebbe
Life Is Too Short For Boring Code

___
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: ICS Generation

2020-10-01 Thread matthias rebbe via use-livecode
And heres a link to Andre Garzias post about an iCalendar library he created 
and shared through GitHub
http://forums.livecode.com/viewtopic.php?t=32187

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 01.10.2020 um 23:22 schrieb matthias rebbe via use-livecode 
> :
> 
> I am not sure if this is what you are looking for, but in this forum post 
> Bill Vlahos wrote about a stack he wrote
> http://forums.livecode.com/viewtopic.php?f=108=25046
> 
> Here's the direct link to his GitHub repo
> https://github.com/bvlahos/Scripting-Calendars 
> <https://github.com/bvlahos/Scripting-Calendars>
> 
> Regards,
> Matthias
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 01.10.2020 um 19:08 schrieb Peter Reid via use-livecode 
>> :
>> 
>> Has anyone got a calendar library for LiveCode? I'm developing an app, part 
>> of which exports a handful of events to do with ordering regular medication. 
>> I'd like to export an ICS format file containing 3 all-day events titled 
>> something like the following:
>> 
>> 1. MEDS RUN-OUT TODAY
>> 2. COLLECT MEDS
>> 3. ORDER NEXT MEDS
>> 
>> What I'm looking for is either a full calendar library that I can use to 
>> generate such a ICS file, or the minimalist version, ie just enough calendar 
>> support to generate this minimal ICS file - nothing more complex.
>> 
>> Anyone know of anything suitable?
>> 
>> Thanks
>> 
>> Peter
>> --
>> Peter Reid
>> Loughborough, UK
>> 
>> 
>> ___
>> 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: ICS Generation

2020-10-01 Thread matthias rebbe via use-livecode
I am not sure if this is what you are looking for, but in this forum post Bill 
Vlahos wrote about a stack he wrote
http://forums.livecode.com/viewtopic.php?f=108=25046

Here's the direct link to his GitHub repo
https://github.com/bvlahos/Scripting-Calendars 


Regards,
Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 01.10.2020 um 19:08 schrieb Peter Reid via use-livecode 
> :
> 
> Has anyone got a calendar library for LiveCode? I'm developing an app, part 
> of which exports a handful of events to do with ordering regular medication. 
> I'd like to export an ICS format file containing 3 all-day events titled 
> something like the following:
> 
> 1. MEDS RUN-OUT TODAY
> 2. COLLECT MEDS
> 3. ORDER NEXT MEDS
> 
> What I'm looking for is either a full calendar library that I can use to 
> generate such a ICS file, or the minimalist version, ie just enough calendar 
> support to generate this minimal ICS file - nothing more complex.
> 
> Anyone know of anything suitable?
> 
> Thanks
> 
> Peter
> --
> Peter Reid
> Loughborough, UK
> 
> 
> ___
> 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: What DNS to use with QUARTZ

2020-10-01 Thread matthias rebbe via use-livecode


ns1.on-rev.com
ns2.on-rev.com
ns3.on-rev.com

There is also ns1.livecodehosting.com, but its ip is identical to ns3.on-rev.com

Regards,
Matthias




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 01.10.2020 um 15:39 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi all,
> 
> see subject, looks like I lost that info somehow.
> 
> And no, currently I use 9.9.9.9. (Google) must have 
> changed that some time ago, no idea why... 8-)
> 
> Thanks for any hints!
> 
> 
> Best
> 
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Some problems with an old stack that gets regular updates

2020-09-24 Thread matthias rebbe via use-livecode


> Am 24.09.2020 um 23:20 schrieb J. Landman Gay via use-livecode 
> :
> 
> The ability to preserve the original stack file version is a setting in 
> Preferences. I have that turned on too. You can either turn it off, or 
> override it in the Save dialog by choosing a version from the pop up button 
> at the bottom of the dialog.
> 
Here it was not turned on. I turned it on now.

> I also looked at system prefs when trying to resolve the problem to make sure 
> LC was permitted to use internet or sockets or whatever Apple calls it, I 
> can't remember exactly. That didn't fix it though.
> 
It works with newer stacks and their standalones, only the old stack shows this 
behaviour.

> Like you, I also asked on the list here but no one knew the answer. I know 
> that's not much help.
> 
I will bother the Pro Support tomorrow. Let's see, if they can help.

Thanks again

> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On September 24, 2020 2:28:21 PM matthias rebbe via use-livecode 
>  wrote:
> 
>> Jacque,
>> 
>> thanks for your answer.
>> 
>> I tried 'Save As' already, but interestingly the value of the 
>> stackfileversion property  remains unchanged.
>> 
>> I've tried all variations. Including tsNet and Internet, only tsNet   and 
>> also just Internet after disabling  tsNet using
>> dispatch "revunloadlibrary" to stack tsnetliburl
>> 
>> Regarding the remote debugger... First i thought a protected substack 
>> (Zygodact register stack) would cause this. But even without the sub tack i 
>> do not get Remote Debugger working.
>> 
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 24.09.2020 um 18:12 schrieb J. Landman Gay via use-livecode 
>>> :
>>> 
>>> I haven't had the internet problem but I went a whole year once where I 
>>> couldn't get remote debugging to work. I never did figure out why. Then it 
>>> started to work again by itself. I never thought to check the stack file 
>>> version. You could Save As with the latest LC version and see if that helps.
>>> 
>>> I always include both the internet library and TSNet when I need internet 
>>> connections. Did you try using both?
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software | http://www.hyperactivesw.com
>>> On September 23, 2020 6:40:58 PM matthias rebbe via use-livecode 
>>>  wrote:
>>> 
>>>> Hello,
>>>> 
>>>> i have some problems with a stack which i update very often. The stack was 
>>>> created 4 or 5 years ago, maybe even some more years ago. The gets regular 
>>>> updates as my time allows.
>>>> 
>>>> In Standalone Settings i have set the option to manually select 
>>>> inclusions. I am working with LC 9.6.1, but tried also with 9.6.0 and 
>>>> 9.5.1 on Mac OS 10.14.6
>>>> 
>>>> 1. I've added some code to call a url using
>>>> put URL "https:.." into tInfo
>>>> 
>>>> This works in the IDE, but not in the standalone, although i have selected 
>>>> INTERNET and SSL to be included in the standalone
>>>> In the standalone the URL is not fetched and tInfo always is empty. I 
>>>> tried also with http:// instead of https:// but also without success.
>>>> Tried with tsNet and without.
>>>> 
>>>> Trying this with a new stack works w/o problems.
>>>> 
>>>> 
>>>> 2. Trying to use the remote debugger, regardless if  in a "real" 
>>>> standalone" or using the test button, does not work. The debugger is not 
>>>> initiated, although i have set red breakpoints and even used the 
>>>> Breakpoint keyword in the script and selected RemoteDebugger to be 
>>>> included in Standalone Settings.
>>>> 
>>>> Trying to use the Remote Debugger with a newer stack works w/o a problem.
>>>> 
>>>> 
>>>> Did anyone else ever ran into any of these problems with an older stack. 
>>>> Or does anyone have an idea what might cause this?
>>>> 
>>>> What i noticed is, that in the cRevGeneral Property Set of the stack there 
>>>> is a property stackfileversion with a value of 5.5.
>>>> But changing this or removing that property completely does not help 
>>>> either.
>>>> 
>>>> 
>>>> Regar

Re: Some problems with an old stack that gets regular updates

2020-09-24 Thread matthias rebbe via use-livecode
Jacque,

thanks for your answer.

I tried 'Save As' already, but interestingly the value of the stackfileversion 
property  remains unchanged.

I've tried all variations. Including tsNet and Internet, only tsNet   and also 
just Internet after disabling  tsNet using
dispatch "revunloadlibrary" to stack tsnetliburl

Regarding the remote debugger... First i thought a protected substack (Zygodact 
register stack) would cause this. But even without the sub tack i do not get 
Remote Debugger working.



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 24.09.2020 um 18:12 schrieb J. Landman Gay via use-livecode 
> :
> 
> I haven't had the internet problem but I went a whole year once where I 
> couldn't get remote debugging to work. I never did figure out why. Then it 
> started to work again by itself. I never thought to check the stack file 
> version. You could Save As with the latest LC version and see if that helps.
> 
> I always include both the internet library and TSNet when I need internet 
> connections. Did you try using both?
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On September 23, 2020 6:40:58 PM matthias rebbe via use-livecode 
>  wrote:
> 
>> Hello,
>> 
>> i have some problems with a stack which i update very often. The stack was 
>> created 4 or 5 years ago, maybe even some more years ago. The gets regular 
>> updates as my time allows.
>> 
>> In Standalone Settings i have set the option to manually select inclusions. 
>> I am working with LC 9.6.1, but tried also with 9.6.0 and 9.5.1 on Mac OS 
>> 10.14.6
>> 
>> 1. I've added some code to call a url using
>> put URL "https:.." into tInfo
>> 
>> This works in the IDE, but not in the standalone, although i have selected 
>> INTERNET and SSL to be included in the standalone
>> In the standalone the URL is not fetched and tInfo always is empty. I tried 
>> also with http:// instead of https:// but also without success.
>> Tried with tsNet and without.
>> 
>> Trying this with a new stack works w/o problems.
>> 
>> 
>> 2. Trying to use the remote debugger, regardless if  in a "real" standalone" 
>> or using the test button, does not work. The debugger is not initiated, 
>> although i have set red breakpoints and even used the Breakpoint keyword in 
>> the script and selected RemoteDebugger to be included in Standalone Settings.
>> 
>> Trying to use the Remote Debugger with a newer stack works w/o a problem.
>> 
>> 
>> Did anyone else ever ran into any of these problems with an older stack. Or 
>> does anyone have an idea what might cause this?
>> 
>> What i noticed is, that in the cRevGeneral Property Set of the stack there 
>> is a property stackfileversion with a value of 5.5.
>> But changing this or removing that property completely does not help either.
>> 
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>> 
>> ___
>> 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


Some problems with an old stack that gets regular updates

2020-09-23 Thread matthias rebbe via use-livecode
Hello,

i have some problems with a stack which i update very often. The stack was 
created 4 or 5 years ago, maybe even some more years ago. The gets regular 
updates as my time allows.

In Standalone Settings i have set the option to manually select inclusions. I 
am working with LC 9.6.1, but tried also with 9.6.0 and 9.5.1 on Mac OS 10.14.6

1. I've added some code to call a url using  
put URL "https:.." into tInfo

This works in the IDE, but not in the standalone, although i have selected 
INTERNET and SSL to be included in the standalone
In the standalone the URL is not fetched and tInfo always is empty. I tried 
also with http:// instead of https:// but also without success.
Tried with tsNet and without.

Trying this with a new stack works w/o problems.


2. Trying to use the remote debugger, regardless if  in a "real" standalone" or 
using the test button, does not work. The debugger is not initiated, although i 
have set red breakpoints and even used the Breakpoint keyword in the script and 
selected RemoteDebugger to be included in Standalone Settings.

Trying to use the Remote Debugger with a newer stack works w/o a problem.


Did anyone else ever ran into any of these problems with an older stack. Or 
does anyone have an idea what might cause this?

What i noticed is, that in the cRevGeneral Property Set of the stack there is a 
property stackfileversion with a value of 5.5.
But changing this or removing that property completely does not help either.


Regards,
Matthias



-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: OT: change email address

2020-09-16 Thread matthias rebbe via use-livecode
Go here
http://lists.runrev.com/mailman/listinfo/use-livecode

At the bottom there is a field, where you can enter your current email address. 
After that press the button 'unsubscribe or edit options'

On the nextpage you can login with your email address and your password.
On the next page you can change your email address.

If you do not know your password anymore the press the button 'remind me' to 
get your password emailed to you.

Regards,
Matthias




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 16.09.2020 um 07:37 schrieb JB via use-livecode 
> :
> 
> Will someone please tell  me how to change the email  address I am using to 
> receive messages from the LiveCode lists?
> 
> I tried the run rev.com web link and the message I sent there failed and was 
> returned.
> 
> thanks,
> JB
> 
> ___
> 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: THIS group

2020-09-14 Thread matthias rebbe via use-livecode
But which group shall be "this group" if there are nested groups and a script 
in a button, which is in a "sub" group,  uses "this group"?




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 14.09.2020 um 11:00 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi friends,
> 
> I just field an enhancement request to make THIS also work for groups.
> ... of THIS GROUP
> 
> Would be a helpful addition.
> 
> Currently THIS only works for cards and stacks.
> 
> 
> Best
> 
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Possible : stack with transparent backgound?

2020-09-11 Thread matthias rebbe via use-livecode
Thanks for the hint to import the snapshot from the group. I followed Jim's 
instructions w/o success and was a little disappointed.


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 12.09.2020 um 00:32 schrieb Marty Knapp via use-livecode 
> :
> 
> I was just tinkering with this and it wouldn’t work until I changed the 
> “import snapshot" from card to “import snapshot” from the group. But that’s a 
> very cool trick! Thanks Jim.
> 
> Marty
> 
>> On Sep 11, 2020, at 11:04 AM, Jim Lambert via use-livecode 
>>  wrote:
>> 
>>> DavidB wrote:
>>> 
>>> the text and some other elements to be visible but the stack background to 
>>> be transparent 
>> 
>> 
>> Start with a card having a field and a button.
>> 1. Create a GRC retangle the same rect as the card.
>> 
>> 2. Set its opaque to false.
>> 
>> 3. Set its linesize to 0.
>> 
>> 4. Send it to back.
>> 
>> 5. Group it with the field and a button.
>> 
>> 6. Set the threeD of the Group to false.
>> 
>> 7. Set both the borderwidth and margins of the group to 0.
>> 
>> 8. Import snapshot from this card.
>> 
>> 9. Hide last image.
>> 
>> 10. Set the windowshape of this stack to the id of the last image.
>> 
>> 
>> This results in the field and button 'floating independently' over whatever 
>> else is on your screen. That is, the rest of the card is invisible.
>> ___
> 
> 
> ___
> 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: Strange behavior between Mysql, MariaDB and SSL.

2020-08-27 Thread matthias rebbe via use-livecode
Heriberto,

i just tried the ODBC drivers from Oracle here with MacOS X and MariaDB.

If you would like i can list the needed steps:

1. download and install the drivers for your operating system

2. Open ODBC Manager on Mac, i am not sure how this is called in English for 
the Windows app, but if you search for ODBC in the search field of Windows 
you'll get the configuration tool listed.

3. Add a new User or System DSN. You can select between Ansi and Unicode driver

4.1 In the following configuration dialog enter a name for the DNS, e.g. 
HeribertoDSN
4.2 Add the Keyword 'SERVER' and add the name or the ip address of the DB 
Server as value, e.g. HeribertoDB
If the DB is not using the standard port, then please add the port also. e.g. 
192.168.1.1:3308
4.3 Add the Keyword DATABASE and enter the name of the DB as value
There are several other keywords you can use. But the above are the basic ones 
you need.

now use 
revOpenDatabase("odbc", "HeribertoDSN","HeribertoDB",dbUsername,dbPassword,)

replace dbUsername and dbPassword with the user credentials for the DB.

You could also add the keywords USERNAME and PASSWORD in the DSN configuration 
from step 4, but i would do that only for testing.

Btw. the documentation for the ODBC driver can be found here.

Regards,

Matthias Rebbe
Life Is Too Short For Boring Code

> Am 27.08.2020 um 01:03 schrieb Heriberto Torrado :
> 
> Hi Matthias,
> 
> Do you mean connecting to MySQL using ODBC instead of the built-in LiveCode 
> MySQL client?
> 
> Best,
> Hery
> 
> -----Original Message-----
> From: use-livecode  On Behalf Of 
> matthias rebbe via use-livecode
> Sent: Wednesday, August 26, 2020 10:42 AM
> To: How to use LiveCode 
> Cc: matthias_livecode_150...@m-r-d.de
> Subject: Re: Strange behavior between Mysql, MariaDB and SSL.
> 
> There are also free MySQL Connectors/ODBC available for different operating 
> systems. The current ones are for Server 8.0,5.7 and 5.6.
> 
> https://dev.mysql.com/downloads/connector/odbc/
> 
> They connectors can be downloaded without the need to be logged in. So no 
> need for an account registration at dev.mysql.com
> 
> Maybe this is an option instead of lowering the encryption level?
> 
> Matthias
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 26.08.2020 um 16:08 schrieb panagiotis merakos via use-livecode 
>> :
>> 
>> Hello all,
>> 
>> This is because MySQL 8 supports a stronger authentication method 
>> based on SHA256, and this method is used by default.
>> 
>> LiveCode (as well as some other MySQL connectors/clients) do not 
>> support this authentication method yet. In this case, you could 
>> configure your MySQL installation to use the legacy authentication 
>> (password encryption) method.
>> 
>> See the suggested answers in this link:
>> https://stackoverflow.com/questions/50093144/mysql-8-0-client-does-not
>> -support-authentication-protocol-requested-by-server/50961428
>> 
>> Hope this helps.
>> 
>> Kind regards,
>> Panos
>> --
>> 
>> On Tue, 25 Aug 2020 at 18:41, Bob Sneidar via use-livecode < 
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> mySQL for which platform? Last I checked, the build for Windows did 
>>> NOT support encryption. There is a special branch that does, but I 
>>> could never get it to work.
>>> 
>>> What I came up with is an agent that resides on the SQL server, built 
>>> in Livecode that listens for connections. It then handles the queries 
>>> locally and returns the data.
>>> 
>>> The client and Server encrypt the data before sending it using a 
>>> method only I know, so it’s very secure. The communications are done 
>>> but I haven’t done the actual query side yet. That will be a half day’s 
>>> work at most.
>>> 
>>> I think this client server approach is far better than native 
>>> encryption, because I control the method and use a technique where 
>>> even if someone tried brute force, or somehow discovered the key, 
>>> they still could not decrypt the data, and wouldn’t know why.
>>> 
>>> Bob S
>>> 
>>> 
>>> On Aug 24, 2020, at 3:25 PM, Heriberto Torrado via use-livecode < 
>>> use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>>
>>> wrote:
>>> 
>>> Dear livecode programmers,
>>> 
>>> For a few years we ran an internal app that accessed a MariaDB 
>>> database (no PHP or LiveCode Server middleware, just a raw connection) 
>>> using SSL.
>>> The server running the dat

Re: Strange behavior between Mysql, MariaDB and SSL.

2020-08-27 Thread matthias rebbe via use-livecode
Of course it was meant to be

"But as Heriberto wrote,.."

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 27.08.2020 um 17:55 schrieb matthias_livecode_150...@m-r-d.de:
> 
> You are correct.
> But as Heriberto wort, it is an inhouse app, i thought using ODBC connector 
> from Oracle might be better than lowering the security level of the database.
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 27.08.2020 um 17:40 schrieb Bob Sneidar via use-livecode 
>> :
>> 
>> Just a heads up, ODBC is a local service, not a network protocol. You have 
>> to create a DSN on the client OS which handles the network communications 
>> for you. So every client that connects will need to have this DSN set up 
>> first. For the experienced, this is no big deal, but for the first time 
>> initiate it can be confusing.
>> 
>> Bob S
>> 
>> 
>> On Aug 26, 2020, at 4:03 PM, Heriberto Torrado via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Hi Matthias,
>> 
>> Do you mean connecting to MySQL using ODBC instead of the built-in LiveCode 
>> MySQL client?
>> 
>> Best,
>> Hery
>> 
>> ___
>> 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: Strange behavior between Mysql, MariaDB and SSL.

2020-08-27 Thread matthias rebbe via use-livecode
You are correct.
But as Heriberto wort, it is an inhouse app, i thought using ODBC connector 
from Oracle might be better than lowering the security level of the database.



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 27.08.2020 um 17:40 schrieb Bob Sneidar via use-livecode 
> :
> 
> Just a heads up, ODBC is a local service, not a network protocol. You have to 
> create a DSN on the client OS which handles the network communications for 
> you. So every client that connects will need to have this DSN set up first. 
> For the experienced, this is no big deal, but for the first time initiate it 
> can be confusing.
> 
> Bob S
> 
> 
> On Aug 26, 2020, at 4:03 PM, Heriberto Torrado via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> Hi Matthias,
> 
> Do you mean connecting to MySQL using ODBC instead of the built-in LiveCode 
> MySQL client?
> 
> Best,
> Hery
> 
> ___
> 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: [Bug 22881] commandKey does not do what it should do on Macintosh

2020-08-27 Thread matthias rebbe via use-livecode
Seems you are really overwhelmed. 
3 times posted in the bugbase and once here. Respect!

;)

Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 27.08.2020 um 10:34 schrieb Richmond via use-livecode 
> :
> 
> The blasted bug-thing will not let me post my reply: so here it is, for ALL 
> to see
> (and a certain person should know full well what I mean in that respect):
> 
> Wonderful in several ways:
> 
> 1. The nearest thing I have ever seen to instant feedback.
> 
> [What sort of coffee are you "on"?]
> 
> 2. Hits the nail right on the head.
> 
> Thank you very much indeed.
> 
> On 27.08.20 11:22, bugzilla-dae...@molly.livecode.com wrote:
>> https://quality.livecode.com/show_bug.cgi?id=22881
>> 
>> Mark Waddingham  changed:
>> 
>>What|Removed |Added
>> 
>>  Status|UNCONFIRMED |RESOLVED
>>  CC||m...@livecode.com
>>  Resolution|--- |NOT_A_BUG
>> 
>> --- Comment #1 from Mark Waddingham  ---
>> Hi Richmond,
>> 
>> You don't get a keyDown message if the command key is down - you get
>> commandKeyDown instead - and a handler the focused (user) stack when browse
>> mode is on will receive that message first.
>> 
>> Warmest Regards,
>> 
>> Mark.
>> 
>> 
>> Mark Waddingham  changed bug 22881 
>> 
>> What Removed Added
>> Status   UNCONFIRMED RESOLVED
>> CC   m...@livecode.com
>> Resolution   --- NOT_A_BUG
>> 
>> *Comment # 1  on bug 
>> 22881  from Mark 
>> Waddingham  *
>> Hi Richmond,
>> 
>> You don't get a keyDown message if the command key is down - you get
>> commandKeyDown instead - and a handler the focused (user) stack when browse
>> mode is on will receive that message first.
>> 
>> Warmest Regards,
>> 
>> Mark.
>> 
>> You are receiving this mail because:
>> 
>>  * You are on the CC list for the bug.
>>  * You reported the bug.
>> 
> 
> ___
> 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: Strange behavior between Mysql, MariaDB and SSL.

2020-08-26 Thread matthias rebbe via use-livecode
There are also free MySQL Connectors/ODBC available for different operating 
systems. The current ones are for Server 8.0,5.7 and 5.6.

https://dev.mysql.com/downloads/connector/odbc/

They connectors can be downloaded without the need to be logged in. So no need 
for an account registration at dev.mysql.com

Maybe this is an option instead of lowering the encryption level?

Matthias
-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 26.08.2020 um 16:08 schrieb panagiotis merakos via use-livecode 
> :
> 
> Hello all,
> 
> This is because MySQL 8 supports a stronger authentication method based on
> SHA256, and this method is used by default.
> 
> LiveCode (as well as some other MySQL connectors/clients) do not support
> this authentication method yet. In this case, you could configure your
> MySQL installation to use the legacy authentication (password encryption)
> method.
> 
> See the suggested answers in this link:
> https://stackoverflow.com/questions/50093144/mysql-8-0-client-does-not-support-authentication-protocol-requested-by-server/50961428
> 
> Hope this helps.
> 
> Kind regards,
> Panos
> --
> 
> On Tue, 25 Aug 2020 at 18:41, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> mySQL for which platform? Last I checked, the build for Windows did NOT
>> support encryption. There is a special branch that does, but I could never
>> get it to work.
>> 
>> What I came up with is an agent that resides on the SQL server, built in
>> Livecode that listens for connections. It then handles the queries locally
>> and returns the data.
>> 
>> The client and Server encrypt the data before sending it using a method
>> only I know, so it’s very secure. The communications are done but I haven’t
>> done the actual query side yet. That will be a half day’s work at most.
>> 
>> I think this client server approach is far better than native encryption,
>> because I control the method and use a technique where even if someone
>> tried brute force, or somehow discovered the key, they still could not
>> decrypt the data, and wouldn’t know why.
>> 
>> Bob S
>> 
>> 
>> On Aug 24, 2020, at 3:25 PM, Heriberto Torrado via use-livecode <
>> use-livecode@lists.runrev.com>
>> wrote:
>> 
>> Dear livecode programmers,
>> 
>> For a few years we ran an internal app that accessed a MariaDB database
>> (no PHP or LiveCode Server middleware, just a raw connection) using SSL.
>> The server running the database is old, so we moved to a new one.
>> 
>> The new one comes with a Mysql 8 Database instead of MariaDB and the SSL
>> encryption suddenly stopped working.
>> 
>> The new MYSQL database has a working SSL encryption cert (Let's encrypt).
>> 
>> There are the tests:
>> 
>> *From the server:*
>> 
>> ___
>> 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: Cross Platform Font Layout - current workarounds

2020-08-25 Thread matthias rebbe via use-livecode
Sean,

As much i understand the pressure you feel to finalize your project, the less i 
 understand why every post of you sounds rude.
What do you want to accomplish with such posts and what do you want to hear 
from us? 
You can't expect that everyone on this list shares your opinion. 
I do not think that your behavior is very helpful. But anyway that's your 
decision.

I really wish you can complete the project successfully.

Take care of yourself.

Matthias



> Am 26.08.2020 um 01:36 schrieb Sean Cole (Pi) via use-livecode 
> :
> 
> Se my notes on the other thread about OTF fonts. THEY ARE DESIGNED to be
> the SAME in ANY platform (except browsers coz they don't accept them. They
> have their own variance.
> 
> Stop making excuses. Accept I am right, for FS. I didn't create the fault.
> I'm not even the first to report it. It's there! It's real. Stop arguing
> and help me get LC to pull their fingers out their posteriors and fix these
> damned mistakes that have been around for years!! Why does no one pull
> behind me, but just point the finger at me assuming I'm in the wrong for
> highlighting a bug that is clearly already accepted? It astounds me, it
> really does! You tell me off for getting angry about it but it is purely
> because everyone has made out the OTF fonts aren't designed to appear the
> same. They should. They don't. They should. But they don't! It needs
> fixing. Simple as that. Of course I'm going to respond badly to this kind
> of bullying. What did you all expect!
> 
> Sean Cole
> *Pi Digital *
> 
> 
> On Tue, 25 Aug 2020 at 23:04, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> I’ll toss this in. I was using a Mac font that had a Windows corollary (I
>> thought) but when I dug deeper I found that the Mac had individual type
>> faces whereas the Windows equivalent did not. This font was a BUILT-IN font
>> on both platforms!
>> 
>> The result is if I chose the bold version of the font for something like a
>> Header or a Label, it wouldn’t be either the font chosen OR bold in
>> Windows, although it looks absolutely fine on the Mac.
>> 
>> The Livecode devs CANNOT take liberties with this sort of thing! What can
>> they do?? Write code that guesses what it was the developer was trying to
>> do? It’s absurd to think this is even a problem that CAN be solved at the
>> application level.
>> 
>> THAT BEING SAID…
>> What I DID do successfully was find an app that was able to CONVERT the
>> Mac font type faces into WINDOWS font files, and then I was able to install
>> them in Windows and I got pretty much what I expected to get.
>> 
>> Bob S
>> 
>> 
>>> On Aug 25, 2020, at 10:51 AM, Andrew at MidWest Coast Media via
>> use-livecode  wrote:
>>> 
>>> Sean-
>>> 
>>> My degree is in TV/stage production and digital design. I’ve built web
>> sites (HTML, WordPress, LiveCode), produced/directed broadcast and
>> streaming programs, and delivered custom software on Mac/PC/Web (using
>> Director and Flash), and now Mac/PC/iOS/Android using LiveCode (because
>> you’re right, the HTML5 port isn’t ready for primetime).
>>> 
>>> Anyone who thinks pixel perfection across mediums is possible has never
>> worked on a web platform; this usually ends up being UI designers who only
>> work in theoreticals. That InDesign file they mocked up might look great
>> saved as a PDF or printed on a specific coated paper using Pantone inks,
>> but those CMYK colors and Post Script fonts are rendered using RGB and WOFF
>> in a web browser or desktop computer so they won’t look the same: and
>> there’s not a damn thing you can do about it (short of making everything an
>> image, but you still can’t make-up for the color gamut differences). The
>> WYSWIG hacks that sufficed in the 90s/00s to make things visually similar
>> were always shoddy at-best creating hundreds of additional lines of code
>> and won’t pass muster with current accessibility standards even if they did
>> "work".
>>> 
>>> Fonts have ALWAYS been one of the most difficult parts of app
>> development. Whether it’s getting legal fonts (the good ones aren’t cheap,
>> and the cheap ones aren’t good), or cross-platform fonts (not every OS
>> reads the same format, and not every font is available in multiple
>> formats). The closest I’ve come has been to run some scripts when
>> populating text fields to make sure they fit the dimensions allotted in the
>> design. Text doesn’t fit in box? Reduce the fontSize by 1 until it does.
>> Text doesn’t fill the space? Increase the fontSize by 1 until it does. It’s
>> a PITA, so I usually add this in at the end since the art department seems
>> to have another “small change” along the way.
>>> 
>>> Programming isn't a science as much as an art. With your broadcasting
>> background you understand that a projects aren’t “done” until the deadline:
>> there is ALWAYS something else you would have tweaked if you had more time
>> (2 weeks?!?). But I get it: producers are generally unreasonable 

Re: Cross Platform Font Layout

2020-08-25 Thread matthias rebbe via use-livecode


-
Matthias Rebbe
Life Is Too Short For Boring Code
> Am 26.08.2020 um 00:43 schrieb J. Landman Gay via use-livecode 
> :
> 
> Kudos also to Mark Waddingham who calmly delivered supportive info in an even 
> response, even after reading for days how he and the team are liars, 
> incompetents, and cheats.
> 
> On 8/25/20 2:59 PM, Richmond via use-livecode wrote:
>> This sort of stuff will NOT help you at all; it appears intemperate and is 
>> aimed (if it has to be
>> aimed at all) at the wrong people.
>> You have just managed to lose my sympathy completely, for what it's worth.
>> "redundant and without merit": judgemental, arrogant, and so on: obviously 
>> you need to go
>> away and either calm down or boil your head.
>> On 25.08.20 20:48, Sean Cole (Pi) via use-livecode wrote:
>>> Your argument also is redundant and without merit. This is not my first
>>> rodeo. I AM BRINGING TO LIGHT AND to THE SURFACE THE OBVIOUS FLAWS IN OUR
>>> MIDST!!
> 
> 
> 
> -- 
> 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 
> 
___
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


  1   2   3   4   5   6   7   8   >