Re: tsNet mail message too slow!

2021-03-05 Thread Rick Harrison via use-livecode
Hi Charles,

Did you get this reply from me?

Rick

> Hi Charles,
> 
> I’m running LC Server on macOS Catalina Apache.
> 
> What you are describing is exactly what I am experiencing here.
> 
> Thanks,
> 
> Rick


> On Mar 4, 2021, at 9:02 PM, Charles Warwick via use-livecode 
>  wrote:
> 
> Hi Rick,
> 
> What platform are you running LC server on?
> 
> There is an outstanding issue with tsNet running correctly in LC server on 
> certain platforms.  The command executes quickly, but it doesn’t return 
> control to the LC script for quite some time.
> 
> If this is what you are coming up against, I can have another look to see if 
> there is something we can do about it.
> 
> Regards,
> 
> Charles 
> 


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


Re: USA OSHA ITA Reporting

2021-03-05 Thread Rick Harrison via use-livecode
Hi Mike,

Thank you for the clarification.

Hopefully someone has experience with this
situation and can help you out.

Good luck!

Rick

> On Mar 5, 2021, at 1:36 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> Well, I see that what I meant to ask and what I actually asked were not the
> same thing.  What I meant to ask was whether anyone has implemented the ITA
> API.  Sorry that was not clear.
> No, we do not have a solution.  Since you don't use ITA, I'm not going to
> go into details, besides saying that ITA is broken, and the only suggestion
> that the help desk has supplied is "keep trying", even though the site has
> been broken for a week, and may no be fixed in the foreseeable future.  As
> I'm assuming that, like you, most people have not heard of ITA, we're
> slogging through the API, now.

___
use-livecode mailing list
use-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: USA OSHA ITA Reporting

2021-03-05 Thread Rick Harrison via use-livecode
Hi Mike,

You could have led with that information.

You aren’t new to the process, and you
have one solution, and a possible second.  
What do you need?

Are you trying to find an app that already
uses the API?

Rick

> On Mar 5, 2021, at 9:33 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> rick,
> ITA reporting is not new.  it has been a requirement for years.  we
> generally just upload a csv.  i didn't realize there was an API for using
> it, so I immediately became interested.
> 


___
use-livecode mailing list
use-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 too slow!

2021-03-04 Thread Rick Harrison via use-livecode
Hi Charles,

I’m running LC Server on macOS Catalina Apache.

What you are describing is exactly what I am experiencing here.

Thanks,

Rick

> On Mar 4, 2021, at 9:02 PM, Charles Warwick via use-livecode 
>  wrote:
> 
> Hi Rick,
> 
> What platform are you running LC server on?
> 
> There is an outstanding issue with tsNet running correctly in LC server on 
> certain platforms.  The command executes quickly, but it doesn’t return 
> control to the LC script for quite some time.
> 
> If this is what you are coming up against, I can have another look to see if 
> there is something we can do about it.
> 
> Regards,
> 
> Charles 
> 
>> On 5 Mar 2021, at 11:49 am, Rick Harrison via use-livecode 
>>  wrote:
>> 
>> Hi again,
>> 
>> From the time I click on the web-browser to
>> activate the script to email the message
>> until the web-browser arrives at the next
>> webpage is one minute and 6 seconds.
>> That is totally unacceptable.
>> 
>> I’m wondering if I can attempt to spin
>> this off as if it were a thread or background
>> task.
>> 
>> What comes to mind is having the
>> email script be a stand-alone app
>> that is called with a do as AppleScript
>> from the web-browser.
>> 
>> Has anyone hadsuccess with
>> this approach before?
>> 
>> Do you think this is worth a try or
>> can you think of a better way?
>> 
>> 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


tsNet mail message too slow!

2021-03-04 Thread Rick Harrison via use-livecode
Hi again,

From the time I click on the web-browser to
activate the script to email the message
until the web-browser arrives at the next
webpage is one minute and 6 seconds.
That is totally unacceptable.

I’m wondering if I can attempt to spin
this off as if it were a thread or background
task.

What comes to mind is having the
email script be a stand-alone app
that is called with a do as AppleScript
from the web-browser.

Has anyone hadsuccess with
this approach before?

Do you think this is worth a try or
can you think of a better way?

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


Re: USA OSHA ITA Reporting

2021-03-04 Thread Rick Harrison via use-livecode
How many employees do you have?

Their website is a bit confusing just
as other government websites.

Some of it refers to having more than 250
employees, and I also saw something
about 19 or more.

If you are a small shop you may not
have to submit anything.

Rick

> On Mar 4, 2021, at 9:27 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> For anyone in the USA who is subject to OSHA's ITA reporting, have you
> implemented a solution that you would be willing to share?
> ___
> use-livecode mailing list
> use-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 Rick Harrison via use-livecode
Hi Charles,

I had almost everything right.
I was missing a cr between tCc and tBcc.  Oops.

Everything is working great now!

Thanks!!!

Rick

> On Mar 3, 2021, at 6:48 PM, Charles Warwick via use-livecode 
>  wrote:
> 
> Hi Rick,
> 
> What code did you try to add the Bcc e-mail recipients?
> 
> The tRecipient variable to the tsNetSmtpSync command needs to be one e-mail 
> address per line of all the recipients for the e-mail (To, Cc and Bcc) and 
> that is what is used to determine who the e-mail is sent to.
> 
> The rest of that script (in the lesson) is about how to format the e-mail 
> message, Bcc addresses don't get added to the header of the e-mail message.
> 
> So assuming your Bcc's addresses are stored in a variable called tBcc (one 
> per line), then you need to simply adjust the script (from the lesson) as 
> follows:
> 
> -- Make tRecipient a list of all recipients (To, Cc and Bcc)
> put tTo & cr & tCc & cr & tBcc into tRecipient 
> 
> put tsNetSmtpSync(tUrl, tFrom, tRecipient, tEmailMessage, tResponseHeaders, 
> tBytes, tSettings) into tResult
> 
> Regards,
> 
> Charles


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


Re: tsNet mail message not formatting

2021-03-03 Thread 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


tsNet mail message not formatting

2021-03-03 Thread 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


Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthias,

I got it to work!

I just needed the statement:

tsNetInit

Now it works great!

Is there anyway I can put in a  BCC email address instead of CC?

Thanks!

Rick

> On Mar 2, 2021, at 6:19 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> no, only the file which is suitable for the 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


___
use-livecode mailing list
use-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 Rick Harrison via use-livecode
Hi Matthias,

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

I think we are close, but I must be missing some key
ingredient somewhere.

I’m thinking the tsNet.bundle file is just for building iOS Apps,
because I can’t find .bundle files in the server anywhere.

Thanks,

Rick

> On Mar 2, 2021, at 6:19 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> no, only the file which is suitable for the 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


___
use-livecode mailing list
use-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 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


Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthias,

I put mime.livecodescript into the folder with the script that call it.

I put in the start using “mime.livecodescript” statement.

When I run the script, I now get:

Function: error in function handler (tsNetSmtpSync)

which is pointing to:

put tsNetSmtpSync(tURL, tFrom, 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


Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthias,

I managed to find mime.livecodescript.

What folder do I need to put it into on my macOS Catalina LC Server?

Thanks,

Rick

> On Mar 2, 2021, at 12:55 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> I would copy the complete file mime.livecodescript to the server.
> The file can 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


Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthias,

Ok, I only see mimeEncodeFieldAsMIMEMultipartDocument in
com.livecode.library.mime and not in the TsNetLibUrl, so I
guess that answers that question.

If I’m incorrect somehow, please let me know.

Thanks,

Rick

> On Mar 1, 2021, at 7:09 PM, matthias rebbe via use-livecode 
>  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


Re: Version 1.2 of the mail stack

2021-03-02 Thread Rick Harrison via use-livecode
Hi Matthais,

It’s been so long since I have used the project browser
I forgot that one has to click on the number of lines
of code to see the actual code. LOL

Ok, so which one do I want? 

Rick
___
use-livecode mailing list
use-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 Rick Harrison via use-livecode
Hi Matthias,

Sorry, but I have never needed to mess with libraries before this.

Where do I get the complete Mime library script?

I tried looking in the Project Browser for version
1.2 of the mail stack but all I could see was
com.livecode.library.mime and tsNetLibUrl
for choices.  When I open either I get a blank
window and when I try to look for script in
the stack or card it shows me nothing.
 
Is there a LiveCode lesson on this anywhere?

Thanks,

Rick


> On Mar 1, 2021, at 7:09 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> 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
> 


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


Version 1.2 of the mail stack

2021-03-01 Thread 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


Re: Parsing properties in Link- and Internet Shortcut files

2021-03-01 Thread Rick Harrison via use-livecode
Hi Matthias,

Yes, I meant lcMailAndFtp.livecode.

I’m looking at https://www.techstrategies.com.au/tsnet-resources/ 
<https://www.techstrategies.com.au/tsnet-resources/> now.

I’ll get back to you later after absorbing what I can understand.

Thanks!

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

___
use-livecode mailing list
use-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 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


Re: LC, Mac Mail & Rules

2021-02-24 Thread Rick Harrison via use-livecode
Thanks for the discussion link.  More confirmation it is a bug in Catalina 
macOS Mail.
Unfortunately, their work around for forwarding isn’t a fix.  One would have 
hoped
that Apple would have fixed it in the last 8 months, but they haven’t.  :-(

Thanks,

Rick

> On Feb 24, 2021, at 2:08 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> You're not alone:
>  >
> 
> There are a couple of work-around suggestions there, and a bug report has 
> been filed. But they're talking about forwarding mail, not auto-responding.

___
use-livecode mailing list
use-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 Rick Harrison via use-livecode
Hi Paul,

Thanks for the script.  I’m not an AppleScript Expert either.
I’ve dabbled with it from time to time and usually end up
hating the experience.

Sometimes using the “Record” feature of AppleScript
can give one a good idea of what to do.  

I would probably eliminate a repeat or two. I don’t want
the script looping through all of my inboxes or emails,
I just want it to look at the last one that was just received.

I’m also looking into what Key Maestro might be able to do too.

Thanks for the suggestion!

Rick

> On Feb 24, 2021, at 1:38 PM, Paul Hibbert via use-livecode 
>  wrote:
> 
> I know this is moving away from LC, but you can use a simple AppleScript to 
> to do this, then trigger the AppleScript from Mail rules, or run as a 
> standalone app, or you could trigger the AppleScript from LC if that’s what 
> you need.
> 
> I’m no AppleScript expert, I just did a bit of searching and found a script 
> that could be easily modified, anyway, this is the script I tested and it 
> seems to do what you asked. It could probably be improved, if anyone 
> understands AS better please step in.
> 
> 
> 
> set toAddress to "myemailaddr...@mail.com"
> set toName to "My Name"
> set toSubject to "Something Cool"
> 
> tell application "Mail"
>   repeat with _acct in imap accounts
>   --Look For Messages in the INBOX with the subject set in 
> toSubject 
>   set _acct_name to name of _acct
>   set _inbox to _acct's mailbox "INBOX"
>   set _msgs_to_capture to (a reference to ¬
>   (every message of _inbox ¬
>   whose subject is toSubject))
>   
>   repeat with _msg in _msgs_to_capture
>   set _fwdmsg to forward _msg with opening window
>   
>   tell _fwdmsg
>   make new to recipient at end of ¬
>   to recipients with properties 
> {name:toName, address:toAddress}
>   end tell
>   
>   activate
>   
>   send _fwdmsg
>   end repeat
>   end repeat
> end tell
> 
> 
> 
> To compile this code, open Utilities > Script Editor, create a new script and 
> paste the code in, make the changes you need to lines 1, 2 and 3 and save the 
> script as an application in the User > Library > Application Scripts > 
> com.apple.mail folder, then it will be available in the Apple Mail Rules.
> 
> Paul
> 
>> On 24Feb, 2021, at 8:29 AM, Rick Harrison via use-livecode 
>>  wrote:
>> 
>> Hi Matthias,
>> 
>> Ok, so Mojave is good and macOS Mail in Catalina is the problem.
>> 
>> I don’t know if we can come up with an LC solution work around
>> for this problem, or if I need to be looking at some other email
>> client software.  Is anyone using Thunderbird or another
>> program that has Rules or Filter auto-respond capability
>> that might work?
>> 
>> Your thoughts and suggestions?
>> 
>> Thanks,
>> 
>> Rick
>> 
>>> On Feb 24, 2021, at 11:23 AM, matthias rebbe via use-livecode 
>>>  wrote:
>>> 
>>> 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.
>>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: LC, Mac Mail & Rules

2021-02-24 Thread Rick Harrison via use-livecode
Hi again,

I had one more idea as a work around.

My account is a gmail account.  Is there
anyway I could use one of their filters at
that level to do the auto-respond but
somehow change the subject line back
to what it should be?

Any gmail experts here that might know
the answer?

Thanks,

Rick

> On Feb 24, 2021, at 11:23 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> 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


___
use-livecode mailing list
use-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 Rick Harrison via use-livecode
Hi Matthias,

Ok, so Mojave is good and macOS Mail in Catalina is the problem.

I don’t know if we can come up with an LC solution work around
for this problem, or if I need to be looking at some other email
client software.  Is anyone using Thunderbird or another
program that has Rules or Filter auto-respond capability
that might work?

Your thoughts and suggestions?

Thanks,

Rick

> On Feb 24, 2021, at 11:23 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> 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.
> 


___
use-livecode mailing list
use-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 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


Re: LC, Mac Mail & Rules

2021-02-24 Thread 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


Re: LC, Mac Mail & Rules

2021-02-24 Thread Rick Harrison via use-livecode
Hi Richmond,

I’m sorry if I wasn’t clear enough about what I was asking.

My script is fine!

I can reproduce the problem just by sending a normal
email in the usual physical way that we send emails
everyday.  (No script required.)

I am using the Apple Mac Mail Rules option to filter.

Can you please try your Rules in macOS Catalina to confirm
if you are getting Hexadecimal numbers for a subject in
your auto reply message.

Thanks,

Rick

> On Feb 24, 2021, at 3:07 AM, Richmond via use-livecode 
>  wrote:
> 
> Tough to let you know my results if none of us have your script . . .
> 
> Best, Richmond.
> 
> On 24.02.21 5:19, Rick Harrison via use-livecode wrote:
>> 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


LC, Mac Mail & Rules

2021-02-23 Thread 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


Testing 3.4.5.6

2021-02-03 Thread Rick Harrison via use-livecode
Hi Rick,

Get this?

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


Re: lock screen

2021-01-22 Thread Rick Harrison via use-livecode
To ensure that our screen doesn’t accidentally get overlocked,
even though the system may unlock it at idle time, the best
practice is to always unlock it at the proper time within you code.
That way you can’t confuse things and find yourself scratching
your head as to why it looks like your code isn’t working.

On a side note, just a point about proper computer grammar here:

That should read: "Lock increments the counter, and unlock decrements the 
counter.”

Excrement is a Doctor’s term.

We don’t want our code to “excrement” anything!  Yuk!  LOL

Thanks for the laugh!

Rick



> On Jan 22, 2021, at 10:59 AM, doc hawk via use-livecode 
>  wrote:
> 
> Not so much either/or as it’s a counter, with 0 being unlocked.
> 
> Lock increments the counter, and unlock excrements.
> 
> The counter gets set to 0 when the engine idles, as well
> 
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Call lc from php?

2021-01-21 Thread Rick Harrison via use-livecode
Hi Neville,

Why are you still using PHP when LC is better?
Why are you still using PHP when the hackers are all trying 
to hack it, and are apparently quite successful at it too!

If you check your system logs you will discover that
hackers try to install PHP on your system if it isn’t
running there yet, so they can hack it!

The only reason I can see for still running PHP
is if you have years worth of old PHP code that
you can’t afford to give up because the cost is
too great to replace it with LC code.

Oh well, at least you found what you needed
in the meantime.

Just my 2 cents for the day.  ;-)

Good luck!

Rick

> On Jan 21, 2021, at 6:13 AM, Neville Smythe via use-livecode 
>  wrote:
> 
> A slightly less cursory investigation informs me that
> 
> 
> 
> works, as I should;d have known.
> 
> 
> 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: Considering work with livecode server

2021-01-18 Thread Rick Harrison via use-livecode
Hi Bill,

If you just want to put together good-looking quick and dirty webpages
that don’t need database interaction, you might want to use Apple’s
Keynote software.  You can put together a presentation with links
from one page to another, and just export the whole thing as HTML.
It works really great for what it is.  Try it out!

Good luck!

Rick

> On Jan 18, 2021, at 5:20 PM, William Prothero via use-livecode 
>  wrote:
> 
> Richard,
> I did understand that the server was pretty much like php, but I didn’t know 
> how much beyond that it could go in terms of dynamic interaction with screen 
> objects.
> 
> The reason I wanted to look into it’s use in a browser is that for education, 
> lower level grades use a lot of browser based materials because they don’t 
> require kids to download apps and the most disadvantaged of kids can mostly 
> use a browser. Also, teachers are pretty much max’d out and want to keep 
> things the way students are accustomed. Building a single web-based app that 
> avoids the world of all the mobile apps and desktop idiosyncrasies is 
> attractive. My experience is that building the app in Livecode is the 
> easy/fun part and getting it on the wide variety of platforms (Apple, 
> windows, Chromebooks, iPads, the Android variations, etc, etc) is the 
> time-consuming/mind-numbing challenge. I have build iOS apps and hate to 
> spend my time fighting the deployment issues.
> 
> My comments are from the perspective of a guy who is retired, enjoys building 
> useful education tools, and gives away my creations for free to pay back the 
> National Science Foundation for all the support I got while working. So, I’m 
> trying to maximize my satisfaction from this hobby.
> 
> I came to Livecode from Director and Shockwave. I love Livecode, but wish it 
> could do the same in a browser that it does so well with desktop and apps.
> 
> Everybody: Be Well, Be Safe, it’s been a crazy year in the US, and in the 
> world too.
> 
> Bill
> 
> William Prothero
> https://earthlearningsolutions.org


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


Re: Is there a way to manually trigger GC?

2021-01-17 Thread Rick Harrison via use-livecode
Hi Tom,

Garbage Collection and releasing memory is not an
easy problem to solve.  It would be better to try to
figure out why your application is chewing up so
much memory on load.

Load times can be improved by only loading in
stuff that you absolutely need to access at the
moment to display to your user.  If you can stall
loading things until idle you may be able to smooth
out performance.  This is usually things like trying
to load tons of images all at once for a game etc.

On the plus side, the fact that memory use drops
down after load to under 100 mb is good.

If you are using a lot of images, are they part of
the stack or are you trying to load them after the
program is running?

Lots of things affect performance.  Try to think
of what might be hampering that.

Good luck!

Rick



> On Jan 16, 2021, at 2:31 PM, Tom Glod via use-livecode 
>  wrote:
> 
> Hi Folks,
> 
> I'm finding my application does a nice job to unload data from memory, but
> it takes a while for that to happen.  When the initial load of the
> application occurs, the memory consumption is quite high if there is lots
> of data to be loaded (1 GB+).
> 
> But after a while, the used ram drops down to under 100 mb as the
> application run in the background, after which the application swaps is
> only the data I am accessing.
> 
> Can I trigger that memory release manually? (Maybe its another mechanism
> and not GC?!)
> 
> TIA
> 
> 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Mobile:647.562.9411
> ___
> use-livecode mailing list
> use-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 M1 Chip

2021-01-09 Thread Rick Harrison via use-livecode
Otherwise code uses fuzzy logic!  LOL

Rick

> On Jan 9, 2021, at 5:34 PM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> Otherwise code would be unpredictable.

___
use-livecode mailing list
use-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: Audioclips overlapping

2021-01-09 Thread Rick Harrison via use-livecode
Hi Richmond,

Do you know how many seconds in length each clip is?

If so, you could tell it to start a second or two sooner
to help eliminate that pause you are experiencing.

Rick

> On Jan 9, 2021, at 10:06 AM, Richmond via use-livecode 
>  wrote:
> 
> Well, Yes, sort of, but I still get an annoying gap between the clips: they 
> should play sequentially without any pauses . . .
> 
> Best, and, while I'm here, wishing you a Happy New Year.
> 
> Richmond.

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


Re: Threads in LC

2021-01-02 Thread Rick Harrison via use-livecode
Hi Jerry,

1 millisecond is probably asking too much of LC.
It doesn’t give an LC processor enough time to do 
much of anything else and I can see why just
moving the mouse would affect the speed of the
motor.  I’m assuming that what you really want
is a steady rate for the motor rather than a
variable one.

Try some experiments with increasing the amount
of time in-between motor steps if you can.  You may
find a balance somewhere that is acceptable.

I also found this comparison of Banana Pi Vs. Raspberry Pi 3
which you may also find useful.

Good luck!

Rick

Banana Pi M3 Vs Raspberry Pi 3 Benchmark

Aspects Banana Pi M3Raspberry Pi 3
Processor   ARM V7 Cortex A7ARM V8 Cortex A53
Frequency   1.8GHz  1.2GHz
CPU Cores   8   4
RAM 2GB DDR31GB DDR2
SoC A83TBCM2837
Storage Micro SD/USB SATA 2.0   Micro SD 

Onboard Storage 8GB eMMCNo
GPU PowerVR SGX544MPBroadcom VideoCore IV
GPU Speed   700MHz  400MHz
GPIO Pins   40  40
USB 2.0 2 + 1 OTG   4
Power 

  5V 2A   5V 2.5A


> On Jan 1, 2021, at 11:20 AM, JeeJeeStudio via use-livecode 
>  wrote:
> 
> Hi Rick,
> 
> thanks fo responding.
> 
> It's a Pi 3 model B+, should be fast enough for this simple task.
> 
> on clockWise
> -steps between pos and wait
>   repeat for sStp times --clockwise
>  Pi_gpio_output 20, 0 --dir
>   Pi_gpio_output 21, 1 --step
>   wait sSpd milliseconds with messages
>   Pi_gpio_output 21, 0
>   wait sSpd milliseconds with messages
> if the mouse is down
>   then
>  Pi_gpio_output 21, 0 --step
>  set the label of me to "Start"
>   exit repeat
>end if
> end repeat
> end clockWise
> 
> The time between a 1 and a 0 on the output is 1ms. I can lower the speed and 
> thus increase time, but that does not matter.
> 
> I think I tried it once with send in time, not a succes. So maybe i have to 
> rewrite that with a different mindsetting. I don't have all stack with me at 
> the moment.
> 
> The above piece is from an older stack, but the last is similar.
> 
> Also the wait shall not be the most convenient wait to handle this.
> 
> It also has of course an counterClockwise handler which is similar, but then 
> output 20 is a 1.
> 
> it should run for so many steps, then wait a few seconds and then return. If 
> there is one position. If there are more positions, it should go to those 
> positions too with eqaul steps, then wait on each position, then return those 
> same positions to the start.
> 
> It all works, but due to the single thread, moving the mouse, it interferes. 
> So in fact LC is to heavy for a single thread. Guess we would win speed if we 
> got multi-thread. Not just for Raspberry.
> 
> Then there is still max LC7.0 for Rasp, so a port to that should also be made.
> 
> Thanks.
> 
> Jerry
> 
> 

___
use-livecode mailing list
use-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: Threads in LC

2020-12-31 Thread Rick Harrison via use-livecode
Hi Jerry,

What version of Raspberry PI are you using?

If you are using an older version of Raspberry PI just replacing it
with a newer version might be your best work around.  The older
PI’s are pretty slow.  Have you looked into Banana PI for instance?

While LC isn’t multi-threaded there may be a work around which
could make it behave as though it was.  Have you tried Send in Time?

How often are you telling your stepper motor to run?  Once in every
10 milliseconds or once in every 20 milliseconds etc?

Good luck!

Rick

> On Dec 31, 2020, at 7:20 AM, JeeJeeStudio via use-livecode 
>  wrote:
> 
> Hi,
> 
> 
> is it possible to assign threads in LC and why not?
> 
> In python you can assign threads, not that i needed that with python, but it 
> is possible.
> 
> I'm playing with a stepper motor (for a while now) on a raspberry and with 
> python it runs so smooth, with lc it's a different story.
> 
> It runs, but when moving the mouse, the motor is responding to that. This 
> should not happen, but probably because LC is a bit more heavy in use and use 
> only one thread for graphics and other things.
> 
> If more threads could be use then most probably it would run smooth too.
> 
> 
> Now working with simplGui to have a GUI, which is quite easy, and now trying 
> to solve that gui actions also do what needs to be done. More work, less easy 
> than lc, but slowly we are getting there.
> 
> I'm not a fan of python.
> 
> Long story short, are multiple threads possible in LC and/or when will that 
> be implemented?
> 
> 
> Thanks and Happy 2021!
> 
> Jerry
> 
> 
> 
> ___
> use-livecode mailing list
> use-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 using Lottie animations?

2020-12-09 Thread Rick Harrison via use-livecode
Hi Graham,

There is a company that will allow you to easily make
such animations - anyone can do it - no artists needed.

https://www.videoscribe.co/en 

The idea here is that you can make a video animation
with their software and then display/use the video
inside of LC.

They have a free 7 day trial too.

I hope that helps.

Rick

> On Dec 9, 2020, at 7:56 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> I came across these recently, apparently JSON-based and cross-platform 
> including mobiles. Could be useful, but I wonder how hard it would be to use 
> them for an LC iOS app - the examples I’ve seen to things with Xcode and 
> Swift which are out of my star.
> 
> Does anyone know?
> 
> https://lottiefiles.com/what-is-lottie 
> 
> 
> Graham
> ___
> use-livecode mailing list
> use-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 sad news

2020-12-04 Thread Rick Harrison via use-livecode
Just yesterday I was reading some of Hermann’s posts in the LC archive
that were very helpful to me.

We’ll miss you Hermann!

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


Re: Chromebook apps?

2020-11-27 Thread Rick Harrison via use-livecode
Hi Bill,

I took a look at your demo video of your app.
I would agree that it is pretty complex and
it would require a lot of javascript to provide
the interactivity that you want.  It would not
be an easy web creation process for you.

I can see you have put a lot of work into
your app!

This is the kind of thing we were hoping
that LC HTML5 would be able to easily
deliver to users, but as you know it hasn’t
panned out that way.

Good luck with your development work!

Rick

> On Nov 27, 2020, at 12:46 AM, prothero--- via use-livecode 
>  wrote:
> 
> Rick:
> Thanks. I’ve considered that. But my app is pretty complex. There is 
> interactive maps plotting earthquakes, elevations, ages, etc, graphics 
> capture and editing, writing, lots of complex actions that I think would 
> require a major time investment to do on the web. It is actually something 
> I've thought about, but I’m not ready to take that on yet.
> 
> In case you’re curious, my demo video of the old 32bit version that I’m 
> building my update on is at: https://earthlearningsolutions.org 
> 
> 
> Best,
> Bill
> 
> William A. Prothero
> Santa Barbara, CA. 93105
> http://earthlearningsolutions.org/
> 


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


Re: Chromebook apps?

2020-11-26 Thread Rick Harrison via use-livecode
Hi Bill,

If you make your app a webpage instead by using
a LiveCode Server, then everyone can just visit your 
website.  It will run on all computers with web
access, not just ChromeBooks.

Good luck with whatever you decide to do!

Rick

> On Nov 26, 2020, at 12:52 AM, prothero--- via use-livecode 
>  wrote:
> 
> Folks:
> My son is a 5’th grade teacher. He tells me that apps for elementary school 
> learning must run on ChromeBooks to be used in elementary school. I just want 
> to verify that this means I would be developing an Android app for a 
> Chromebook.
> 
> I also wonder if there are minimal requirements for a Chromebook that will 
> run Android apps. I’m in the “thinking about it” stage right now, but would 
> like to hear about any experience or gotchas I need to be aware of for 
> Chromebook apps. 
> 
> Thanks,
> Bill
> 
> William A. Prothero
> Santa Barbara, CA. 93105
> http://earthlearningsolutions.org/
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


LC PayPal Server Integration

2020-11-23 Thread Rick Harrison via use-livecode
Hi, I have noticed that PayPal has changed things rather dramatically since the
last time I used them for accepting payments for my website.

It used to be long ago that you could send your amount, and sales tax
information to PayPal with one button.  Now the easiest way I can
figure how to do this kind of thing involves my having to make
several PayPal buttons in advance, and then use my sales tax
table to determine which button to show to the user to get
PayPal to charge the correct amounts.

How are you integrating LiveCode Server with PayPal these days?
Do you have any good examples?  I find the PayPal website
to be a bit of a morass with all of their different ways of doing things.

Thanks in advance!

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


Re: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-06 Thread Rick Harrison via use-livecode
Hi Matthias,

Hmm, I should never do things when I’m tired.

I do the following all the time with LC session variables
and they do use the quotes.

put $_SESSION["userid"] into Varuserid

Yet the following works nicely and no array is needed:



var amount1 = 23;
var amount2  = 56;
var total = amount1 + amount2; 

document.cookie = "AdditionResult=" + total + ";"




"
put "VarAdditionResult = " & VarAdditionResult
put ""

?>

So $_cookie[AdditionResult] and $_cookie[“AdditionResult”]
are different variables?  

I will have to play around some more.  I’m happy that at least
something is working now.  I just need to know why.

Cheers,

Rick




> On Nov 6, 2020, at 6:04 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> 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
> 
> 


___
use-livecode mailing list
use-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 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


Re: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-04 Thread 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:






One would retrieve the session variable in Javascript this way:







In LiveCode one would set a session variable like this:



To retrieve the session variable in LiveCode:



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


Re: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-04 Thread 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 
> 
> See the code of each here
> 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


Re: Pass Javascript Session Cookie to LiveCode Variable?

2020-11-04 Thread 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


Pass Javascript Session Cookie to LiveCode Variable?

2020-11-04 Thread 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


Detect if video was completed?

2020-10-18 Thread Rick Harrison via use-livecode
I have an HTML5/Javascript video player that
plays a video and displays the video duration 
and current play time, using LiveCode Server.  

I want to know when the current time 
equals the duration time so I can then invoke a
LiveCode process that makes a note that
the video was fully played so I can unlock
another webpage to be viewed.

I think I need a way to get the current time
and video duration values of the javascript
into LiveCode variables.

Any ideas how I could do this?

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


Re: The iOS "Files" folder

2020-10-12 Thread Rick Harrison via use-livecode
Hi Graham,

You can write to your own app’s preference’s folder.
Due to sandboxing Apple doesn’t want you writing
stuff elsewhere.  You can sometimes write to special
folders, I don’t know the list off of the top of my head
however.

Keep us informed of your progress.

Rick

> On Oct 12, 2020, at 1:19 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> I am getting a bit nearer answering my own question, or at least having it 
> answered by the mother ship. Elanor Buchanan has introduced me to 
> ‘MergPopActivity’ but so far I am just too ignorant to use it. Hopefully I’ll 
> have more information soon. Meanwhile it would be interesting to know if 
> anyone on this list has ever used it.
> 
> Graham

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


Pass Javascript Variable to LiveCode?

2020-09-10 Thread Rick Harrison via use-livecode
I have a Javascript variable that I need to
get from one web format file into another,
over an LC server. I was looking at Javascript 
Sessions variables, but then I wondered if I
could somehow put the Javascript variable 
into a LiveCode variable and work with it 
that way?

I’m still learning Javascript so I thought
perhaps others on this list might know
better than I what is possible and what
isn’t possible.

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


Re: Has anyone created a specialised mobile keyboard?

2020-08-04 Thread Rick Harrison via use-livecode
Hi Graham,

I suspect that you will have to roll your own keyboard.
You could take little screenshots of the native keys
that you want, and then move them to where you want
them to appear in your keyboard.  Then just detect
when someone has hit each of the keys and record
the order.  Easy?

Good luck and let us know how it goes!

Rick

> On Aug 4, 2020, at 4:57 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> What I want to do is to design my own keyboard with numerals and a few 
> additional special symbols, but I don’t know if it’s possible to do in native 
> mode, as it were.
> 
> Graham
> 


___
use-livecode mailing list
use-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: Web help needed

2020-07-12 Thread Rick Harrison via use-livecode
Hi Mike,

I think we are lacking some key information in order to solve your problem.

Is your LC Server on a Mac?  If so, what is preventing you from just
dragging and dropping a folder of your files across the network from your
desktop Mac to your LC (Mac?) Server computer?

Once your files are on the Server where you want them, then you
can play around with having LC Server access them through forms
if you want to do that.  You can also put the data into a database
if you need to do that too and then access them with your LC Server.

Are you hosting your LC Server on a computer you own, or
are you using a hosting service instead?

Let us know.

Rick



> On Jul 11, 2020, at 8:24 PM, Mike Doub via use-livecode 
>  wrote:
> 
> I am a rookie at web stuff.  I have a couple of end point api’s set up to use 
> with simple forms.  Got that working with .lc file that starts using a 
> LiveCode stack that does the work.
> 
> I need to move hundreds of files from my desktop Mac to my server.   I’m 
> looking for advise as to how best to do this.  I was thinking about creating 
> an endpoint on my server that my desktop app would use.  But, I don’t 
> understand how that might work.
> 
> I need some help for some experience web folks.  How do I go about moving 
> files?   Most of them are text, but I would like to understand how to deal 
> with binary files too (thinking images).  All of the examples I see are for a 
> user interface form and that does not make sense for the number of files I 
> need to move.
> 
> Thanks in advance.
>   -= Mike

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


Downloading LiveCode Slow...

2020-07-07 Thread Rick Harrison via use-livecode
I was wondering if anyone has tried to
download any version of LiveCode from
the website recently.  I just tried today
and it is glacially slow.

I’m also running into a problem where
version 9.5.1 which used to work fine
is now complaining that the license
isn’t any good anymore.  I tried the
manual fix and even that didn’t work.
My licenses are all up to date too.

Anyone else having similar problems?

Let me know.

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


Re: WebSites made using Livecode.

2020-07-05 Thread Rick Harrison via use-livecode
Hi Hery,

You can set up your Livecode Server to work
with your database directly on the same computer.
You do not need PHP at all for anything.  In fact
if you look at your server log files you will see that
China hacker bots are heavily searching for PHP
and when they can’t find it they even try to install
it so they can continue hacking away.

Livecode Server is fun!

Good luck!

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


Re: HTML Colour Groups

2020-05-31 Thread Rick Harrison via use-livecode
Hi Terry,

Does it work if you use the Hex Code instead of the name?

Are you using the LC Server for this?
If so, what version of LC server are you running?

Is the code embedded as LC code or is it HTML or CSS?

Have you tested it in more than one Web-browser?
Sometimes things don’t work in one but do in another.
I have had instances of something working correctly
in Firefox but not in Chrome etc.

If you can show us the offending line/lines of code
that would be helpful too.

Rick




> On May 31, 2020, at 5:39 AM, Terence Heaford via use-livecode 
>  wrote:
> 
> I thought LC supported HTML Colour Names?
> 
> I have been using the Colour Name Groups found here
> 
> https://www.w3schools.com/colors/colors_groups.asp 
> 
> 
> and found that some of the colours do not work in LC.
> 
> For example “Crimson” reports an error in LC.
> 
> Can someone explain this anomaly please.
> 
> 
> 
> Thanks
> 
> Terry
> ___
> use-livecode mailing list
> use-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: ADA Compliency

2020-05-29 Thread Rick Harrison via use-livecode
Hi Curry,

Sorry I tried to answer, or to be helpful, or to ask any questions.
I had no intentions of getting your blood pressure up.  

I once made a talking calculator to help other people, and all
I got was pushback from others with bad attitudes.
Then people wonder why no one wants to help.

I have a friend who makes prosthetic hands for children.
He 3D prints them all and each is custom made.  He
doesn’t charge for his service at all.

I’ve met people who can do extraordinary art, and work
with a computer and their mobile wheelchairs with nothing
but their mouths.  

Most developers are struggling just to survive in our present
environment where no one wants to pay for software anymore,
and that is with trying to reach huge markets. People with
physical disabilities is a much smaller market so there isn’t
enough development going on in that area.

I’m glad your mouse works for you. I hope you can continue
to use it into your 80’s.

Sorry to bother you.

Rick

> On May 29, 2020, at 1:09 PM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> Rick:
> 
> > I have a couple of questions for you.
> 
> Thanks Rick! I do appreciate the concern. But in my post, your questions were 
> already either answered or otherwise addressed before you asked. I 
> anticipated them; I know what makes people tick! So I'll "re-answer" partly 
> by quoting myself.
> 
> But when certain memes are burned so deep into community psyche that answers 
> bounce right off, I feel like we're heading back toward the old failed group 
> think. The same old patronizing ideas and faulty assumptions, while actually 
> ignoring both the main point and the details of what I posted about UI.
> 
> Somehow we have to SHOUT louder than those old memes to get through!
> 
> > Is a trackpad or a trackball any better of an experience for you?
> 
> Heck no! Emphatically no. Much, much worse. Much more difficult. That's why I 
> emphasized my mouse use already, to avoid precisely this type of inevitable 
> question. Just be aware that the old oh handicap people should use blah blah 
> mindset - the memes are sometimes true, but more often not.
> 
> Mouse = good. For handicap man too!
> Trashing a UI to replace scientific arrangement with lickable = bad.
> 
> I said: "I'm very comfortable using the mouse if set up correctly. I switched 
> to Windows for my main work, and that helped save energy and improve 
> accuracy."
> 
> Thus, problem mostly solved on my end, at least when using apps and web sites 
> with non-crappy UI. Pretty easy solution. Handicap man happy.
> 
> But problem not solved on Apple's end. Handicap man sad for Apple!
> It really was a lousy move, destroying a once superior interface.
> 
> > Have you tried using the mac OS voice commands or controls?
> 
> Strike two! Think carefully about the implications of what I said: "I can 
> only say a few words without getting out of breath."
> 
> For people with good breathing, this is a very good thing for typing or for 
> no-hands computer use. But imagining it would be more efficient than mouse 
> for the ability levels I described - and imagining I'm suffering here because 
> I just haven't tried trackpad or voice recognition (I've built Mac apps with 
> voice recognition) - no way. Totally unrealistic!
> 
> Now, a mental interface might be good, that's another story. Some interest 
> there, for the future. But I'm not anywhere near ready for that yet. Privacy 
> concerns etc, plus very importantly - use it or lose it. Without that 
> exercise, the fingers are toast, and I need those guys. Maybe when I'm 80. 
> Maybe I'll design it myself now and use it then.
> 
> > Apple has the money and resources to do it.
> 
> No, probably they don't. They can't. They don't have the brains (or the 
> paradigm) to allow them to do it, not anymore. Not for any amount of money; 
> mental assets are the most crucial. It's sad. I was a huge fan.
> 
> But enough about Apple - as I said, this is a pretty-much universal problem. 
> Only using them as a small example of the problems:
> 
> - Binary thinking about physical abilities
> - Trotting out the same faulty memes and assumptions
> - Placing form above function, subjective over objective
> - Ignoring handicapped voices that don't fit the mold
> - Why being "compliant" will still fail many users
> 
> Ignoring the reality that abilities vary - and not even just a range along 
> one continuum, but a real mixture of strengths and weaknesses in many mental 
> and physical areas. I actually feel like a superman in some areas. I bring 
> heavy strengths to the table, as my clients know.
> 
> Here's one more attempt to break through the group think. Really THINK HARD 
> about this, and don't let it automatically bounce off, try to allow it into 
> your mind. You may have to adjust some old assumptions, and if so that's good:
> 
> In certain ways, I might use a mouse more skillfully than you. It's possible; 
> I'm pretty good, and I'm one heck of an adept user. At 

Re: ADA Compliency

2020-05-29 Thread Rick Harrison via use-livecode
Hi Curry,

I have a couple of questions for you.

Is a trackpad or a trackball any better of an experience for you?

Have you tried using the mac OS voice commands or controls?

Dragon Dictate used to have voice commands and I seem to
recall you could make your own too.  I don’t recall if that was
by using Apple Script or hooking it into Automator.

The compliance thing really has to be built into the operating system.
I think Apple used to be better about it, and I think every few years
they try again to see if it can be made better.  Apple has the money
and resources to do it. Small developers don’t have the money or
resources and they fail a lot just trying to make user interfaces that 
people without disabilities use.

Sorry to hear about your difficulties. I hope you are able to find
solutions that work for you. 

Cheers,

Rick



> On May 29, 2020, at 7:38 AM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> Assistive tech is a wonderful thing, and yet even when that "compliancy" is 
> achieved, the effort is doomed to fall short of real-world needs for many 
> people.
> 
> That's because the "compliancy" designers tend to think in all-or-nothing 
> ideals - and the subset of opinions and studies popular in their 
> social/professional cliques - not addressing the reality of actual ability 
> ranges in the population. Meanwhile standard UI designers tend to throw out 
> some really good ideas. Sometimes people are involved in great works, yet 
> still CLUELESS about things that would help a lot of real people.
> 
> For example I have a neurological/muscular disease that impairs fine movement 
> and deforms the hand shape and ability a bit. My hands now look like ghost of 
> Christmas past or grim reaper hands. In the past they looked almost normal 
> but the movement was already impaired. You don't want these hands. I drop 
> things a lot.
> 
> Both the nerves and muscles are damaged. That affects using the mouse - not a 
> huge effect, but I click a few pixels off-target sometimes. Especially since 
> I also have to keep the mouse on a fairly responsive movement setting to 
> avoid tiring my arm throughout the day. I'm very comfortable using the mouse 
> if set up correctly.
> 
> So the old Mac OS had the window Close box on the OPPOSITE side as the resize 
> and minimize. That reduced by a large percentage the number of misclicks that 
> I had with any important consequences. That was a good feature based on 
> actual research and/or logical thinking. It helped me achieve more and mess 
> up less.
> 
> But Mac OS X threw that and other good things right out the window, in favor 
> of "lickable" colored circles side by side. Just like Windows, but crammed 
> together into a smaller area that was even more prone to misclicks. So Mac 
> was no longer a better interface for me. I switched to Windows for my main 
> work, and that helped save energy and improve accuracy. That's just one 
> example of many.
> 
> And when it came to mobile, Apple made a giant list of HIGs to enforce on all 
> software - except for their own software, of course. They broke their own 
> rules when they felt like it, and their mobile UI is harder for me to use as 
> a result.
> 
> Their rules are arbitrary with selective enforcement. And their rules (both 
> mobile and desktop) actually sometimes IMPEDE rather than promote making UI 
> designs to help people with handicaps and the elderly. Plus the rules change 
> based on touchy-feely trends, like the hat fashions of yore.
> 
> I'm talking about Apple because they are the movers and shakers that directed 
> where we are now. Others (MS, Google) largely followed or went in a similar 
> direction.
> 
> The herd (including the elite producer herd) mostly thinks binary about 
> abilities - either you can use a mouse or you can't. But it's not true. I can 
> use a mouse pretty darn well, but I have to be careful about misclicks. (And 
> sometimes accidental double-clicks that were intended as single.)
> 
> Thank goodness we do have some comfort adjustments such as mouse sensitivity 
> and double-click time, etc. That's smart. But when it comes to 
> "accessibility" the old binary thinking kicks in and the options and design 
> are often pretty retarded, and only realistic for a smaller subset of the 
> portion of our population that has some type of impairment.
> 
> Thankfully they may be focusing on the most heavily impaired, so that's good 
> to at least help some people, but even then, I've had some experience with 
> those and when I see "compliancy" I tend to shake my head. (And worry about 
> the future as my own impairments grow.) Ideals and cliques/trends vs 
> reality
> 
> What we often need is some SMART, to use that word as a noun the way Andy 
> Griffith did. UI needs to be smart. Standards can be good, but when a group 
> starts making standards or guidelines, they often design it partly dumb/bad, 
> and inflict as much harm as good. It could be so much 

Re: LiveCode Server Under MAMP

2020-05-27 Thread Rick Harrison via use-livecode
Did you get MAMP to work with SSL?

If you do, let me know as then you might catch my interest.

Thanks,

Rick

> On May 27, 2020, at 11:44 AM, Håkan Liljegren via use-livecode 
>  wrote:
> 
> Ouch,
> 
> Hit send to early, new try:
> 
> Hi,
> 
> I was trying to get LiveCode server up and running under MAMP in macOS 
> Catalina and if anyone is interested. This is what I did to get it running.
> 
> 1. Download and unpack LiveCode Server
> 2. Move livecode-server, drivers folder and externals folder into the cgi-bin 
> folder in MAMP. ( /Applications/MAMP/cgi-bin if you have a standard 
> installation )
> 3. Open up /Applications/MAMP/conf/apache/httpd.conf
> 4. Find the  section and just before 
> the  you add:
> AddHandler livecode-script .lc
> Action livecode-script /livecode-cgi/livecode-server
> NOTE: IF your have the community server you should replace livecode-server 
> with livecode-community-server
> 5. Just after  add a new line with:
> ScriptAlias /livecode-cgi/livecode-server 
> /Applications/MAMP/cgi-bin/livecode-server
> Again replace livecode-server with livecode-community-server if you use the 
> community version.
> 6. Now if you restart MAMP and add a .lc file into your web folder and tries 
> to access it, you will se a prompt that says that livecode-server can’t be 
> trusted with no options to allow.
> 7. To allow unnotarized applications under MacOS you need to right-click the 
> application and select open. You will then get a prompt where you have an 
> “Open” button. If you click that you will get another prompt asking for an 
> admin user and password. Fill in and continue.
> 8. Now you finally have to repeat the procedure for every lib (i.e. every 
> file in the drivers and the externals folder. But if you do them in 
> succession you will probably not get the admin prompt more than once.
> 9. Now you should have a local web development under MAMP with livecode 
> server up and running!
> 
> There is also a command line option for point 7 (and 8) above and that is to 
> use:
> spctl --add /Applications/MAMP/cgi-bin/livecode-server
> You will get the same prompt for admin user unless you do
> sudo spctl …
> 
> So, no there is no excuse for not starting to use LiveCode for your next web 
> project ;)
> 
> Happy Coding!
> 
> :-Håkan
> ___
> use-livecode mailing list
> use-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: Sad truth about iOS apps

2020-05-16 Thread Rick Harrison via use-livecode
For those who upgrade to Catalina, remember you will lose any 32 bit apps
as Apple has forced everyone to move to 64 bit apps.

Good luck!

Rick

> On May 16, 2020, at 5:42 AM, Erik Beugelaar via use-livecode 
>  wrote:
> 
> Update: You can direclty upgrade from High Sierra to Catalina using the macOS 
> Catalina Patcher.
> Be sure that High Sierra is up-to-date and using APFS (new Apple File System) 
> instead of HFS+.

___
use-livecode mailing list
use-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: Small and strange problem

2020-05-11 Thread Rick Harrison via use-livecode
Hi Andy,

Yes, tMins has to have a value or the statement makes no sense because LC has no
context for what you are trying to do.  LC doesn’t know if tMins is a string or 
something else.

Rick


> On May 11, 2020, at 4:24 AM, AndyP via use-livecode 
>  wrote:
> 
> I seem to have my posts dropped at the moment hence this,
> 
> I'm seeing the same error
> 
> with 
> 
> on mouseUp pMouseButton
>  put (tMins/60) into tMins
>  answer tMins
> end mouseUp
> 
> button "Button": execution error at line 2 (Operators /: error in left 
> operand), char 1
> 
> Interestingly this
> 
> on mouseUp pMouseButton
>  try
>put (tMins/60) into tMins
>  catch tError
>if tError then answer "An Error Occurred;"  && tError & return & "tMins =" 
> && tMins
>  end try
> end mouseUp
> 
> does NOT through an error or a catch error message
> 
> 
> If however tMins is initialized then all works as expected
> 
> on mouseUp pMouseButton
>  put 20 into tMins
>  put (tMins/60) into tMins
>  answer tMins
> end mouseUp
> 
> ???
> 
> 
> _
> Sent from http://runtime-revolution.278305.n4.nabble.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Need some offlist help with PHP-SQL

2020-05-05 Thread Rick Harrison via use-livecode
Hi Tiemo,

If I were you, I would not use PHP just for security reasons alone.

My servers are just pounded all the time with hackers trying to
find PHP exploits.  They even try to install PHP on my server so
they can start hacking away. If you check your server’s log files 
I am sure you will find similar hackers trying to hack your PHP. 
They may have already been successful too!  

If you can do it, I would recommend turning those PHP scripts into 
LC scripts as soon as possible.

Good luck,

Rick

> On May 5, 2020, at 9:16 AM, Tiemo via use-livecode 
>  wrote:
> 
> Hello,
> 
> 
> 
> I have some LC front end software, calling PHP scripts going on a SQL db.
> 
> The PHP scripts are not made by me and they are about 10 years old. I have
> to upgrade the PHP version on the webserver of my hosting provider from 7.1
> to 7.4 and within my test environment I am getting some PHP errors when
> testing with 7.4. Probably the issue is only a very small syntax thing with
> missing parentheses or something like that, but I am not good enough in PHP
> to find the issue.
> 
> If you are willing to help me updating my PHP scripts to 7.4, please give me
> a note offlist. I would also like to pay for your work!
> 
> Thank you!
> 
> 
> 
> Tiemo

___
use-livecode mailing list
use-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: Best relational database for IOS / Android

2020-04-29 Thread Rick Harrison via use-livecode
Nice!

> On Apr 29, 2020, at 12:15 PM, doc hawk via use-livecode 
>  wrote:
> 
> I recoded for Postgres from mysql a few years ago simply because, at the time 
> at least, livecode can send a compound transaction to Postgres, and only 
> single transactions to mysql.

___
use-livecode mailing list
use-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: Best relational database for IOS / Android

2020-04-29 Thread Rick Harrison via use-livecode
Hi Skip,

I have a preference for PostgreSQL.

https://www.postgresql.org 

Free - MIT-License, Open-source, and
it works really well with LC.

Good luck!

Rick





> On Apr 29, 2020, at 9:54 AM, Skip Kimpel via use-livecode 
>  wrote:
> 
> Good morning,
> 
> In your opinion, what is the best relational database to use for an IOS /
> Android application?
> 
> Being a PC guy and always living in the Microsoft world, I always default
> to SQL, however, with my latest discoveries of the complexities involved
> and lack of support in LC I don't think that would be the best move at this
> point.
> 
> Suggestions?
> 
> 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: Wildcard? replaceText, offset?

2020-04-26 Thread Rick Harrison via use-livecode
Thanks for the suggestions!

I was hoping that perhaps there was a very simple one liner or character that 
would do it for me.

I think I have a solution now.

Rick

> On Apr 26, 2020, at 3:15 PM, dunbarx--- via use-livecode 
>  wrote:
> 
> on mouseUpput offset("(",yourString) into startCharput offset(")", 
> yourString) into endCharput random(999) into char (startChar + 1) to (endChar 
> -1) of yourStringend mouseUp

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


Wildcard? replaceText, offset?

2020-04-26 Thread Rick Harrison via use-livecode
I have a very long string.

In the middle-end part of the string I have “(x)” where x represents some 
integer.
it could be (4) or (10) or (5) etc.

I just want to replace the number inside the () with whatever other number I 
need to.

I have been trying to find an easy way to do this.  Ideally a wildcard 
character like ? or *
would probably do it, but after going through the dictionary and getting lost 
with
filter, matchText, …  I finally decided perhaps one of you could make a better
suggestion.  It seems like this one should be very easy, but it’s not so easy 
if you
don’t do this kind of thing all the time.

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


Re: Issues with Mobile Native controls

2020-04-20 Thread Rick Harrison via use-livecode
Are you referring to the switch button?
If so, yes it is in Indy.

Rick

> On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I've used LC's built-in switch widget without any problems. I don't know if 
> that's included in Indy though.

___
use-livecode mailing list
use-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: Simple 3D animation question

2020-04-18 Thread Rick Harrison via use-livecode
Hi David,

How many wires in your wire animation?

How fast and smooth does your rotation
need to be?

Is there going to be an image or writing
on the side that shows up?

Hmm, an icosahedron has 20 sides, so
it’s like 20 sided dice!

I just saw a web version that didn’t bother
to rotate the image since only one side
is up.  The guy did a fade to white to
simulate the roll and then just showed
a new number on facing side.

It’s a lot simpler! It would save you a
lot of coding time.  Especially since you
clearly have a looming deadline.

Anytime I have tried to do an animation
with LiveCode I have found it to be too
slow and jerky.  Your mileage may vary.

Good luck!

Rick



> On Apr 18, 2020, at 9:32 AM, David Bovill via use-livecode 
>  wrote:
> 
> For Earth Day this Wendesday a few of us are working on an art piece that I 
> want to use Livecode for.
> 
> As part of this event I need to create an interactive presentation and wish 
> to create an icosahedrons - so a 3 dimensional hexagon - that I need to 
> rotate in different dimensions.
> 
> I have seen and experimented with a few examples in the past in Livecode. It 
> only needs to be a wireframe animation using the built in graphics object fir 
> now.
> 
>  Doors anyone have any tips / suggestions?
> ___
> use-livecode mailing list
> use-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: Problem simulating a location

2020-04-14 Thread Rick Harrison via use-livecode
Hi Graham,

You should really try it on the phone before knocking yourself out
about why it doesn’t work on the simulator.  I have found that
some things involving sensors simply don’t work on the simulator.

Try that, if it doesn’t work on the phone let us know.

Good luck!

Rick

> On Apr 14, 2020, at 11:18 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> Folks, I am still struggling with this. Alan Stenhouse has been kind enough 
> to help me, but so far I have not got the simulator to simulate any kind of 
> location information.
> 
> There is a function, mobileCurrentLocation, that is supposed to return an 
> array provided tracking is enabled and mobileSensorAvailable(“location”) has 
> been invoked (see the LC Dictionary). I have made sure that both these things 
> have  been done, but In my tests on the simulator the array appears to be 
> empty.
> 
> I suppose I can try the test on a real phone, but I would rather stick to the 
> simulator for now. And I haven’t found out how LC knows I’ve got a 
> provisioning profile (separate problem I admit).
> 
> Has anyone got any idea what’s going wrong?
> 
> Puzzled.
> 
> Graham

___
use-livecode mailing list
use-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 useless seems to be Junk

2020-04-13 Thread Rick Harrison via use-livecode
Hi Richmond,

If enough of your useful stuff ends up in your junk email mailbox folder
well then.. welcome to your new inbox!  LOL

Seriously I hope you find a fix, and when you do let us all know.
I don’t use Thunderbird so I can’t really speak more to the matter.

Good luck!

Rick

> On Apr 12, 2020, at 2:11 PM, Richmond via use-livecode 
>  wrote:
> 
> Thunderbird has recently started marking posts from
> the Use-list as junk.

___
use-livecode mailing list
use-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: Ordering text

2020-03-29 Thread Rick Harrison via use-livecode
Hi Terry,

Try having your database retrieval perform the sort and not LiveCode.

Use the SQLite: ORDER BY clause.

See if that gives you a faster result.

Rick

> On Mar 29, 2020, at 7:06 AM, Terence Heaford via use-livecode 
>  wrote:
> 
> I have approx. 7000 lines of tab delimited data.
> 
> When I execute the code snippet below if the sort order is descending it 
> takes approx 120 milliseconds otherwise it takes 20 milliseconds to process.
> 
> Can someone explain why and perhaps come up with a faster solution.
> 
> Thanks
> 
> Terry
> ——

___
use-livecode mailing list
use-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 & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread Rick Harrison via use-livecode
LC = Less Cheese  ;-)

Rick

> On Mar 12, 2020, at 2:16 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> It went on for so many days Heather eventually stepped in and kindly asked us 
> to please stop the cheese conversation so those interested in LiveCode could 
> have more LC and less cheese filling their In Boxes.

___
use-livecode mailing list
use-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: New Apple Developer iOS requirements beginning April 30

2020-03-06 Thread Rick Harrison via use-livecode
Sorry you were unable to convince them to give up iPhone compatibility.

I was lucky that I developed a couple of my apps to look great with a black
background before there was dark mode!

Good luck,

Rick

> On Mar 5, 2020, at 1:57 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I tried that and managed to avoid iOS for several years. Unfortunately 
> clients demanded iPhone compatibility and I couldn't convince them otherwise. 
> So here I am, realizing all over again what a pain it is to develop on that 
> platform.
> 
> The only good thing was that iPhone screen sizes were consistent, but they 
> took that away too.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On March 4, 2020 6:17:17 PM Rick Harrison via use-livecode 
>  wrote:
> 
>> The easiest solution is for everyone to immediately stop developing apps for 
>> iOS.
>> That will definitely get Apple’s attention.  Developers are sick of all the 
>> stupid
>> requirements Apple constantly throws at us for our apps.  Any apps we
>> develop that we put into their store always gets buried in the piles and 
>> piles
>> of apps there.  If you just develop for macOS well at least you can avoid
>> most of the screen size requirements.
>> 
>> Thanks for the update anyway Henry.
>> 
>> 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


Re: New Apple Developer iOS requirements beginning April 30

2020-03-04 Thread Rick Harrison via use-livecode
The easiest solution is for everyone to immediately stop developing apps for 
iOS.
That will definitely get Apple’s attention.  Developers are sick of all the 
stupid
requirements Apple constantly throws at us for our apps.  Any apps we
develop that we put into their store always gets buried in the piles and piles
of apps there.  If you just develop for macOS well at least you can avoid
most of the screen size requirements.

Thanks for the update anyway Henry.

Rick

> On Mar 4, 2020, at 4:50 PM, HENRY LOWE via use-livecode 
>  wrote:
> 
> See: https://developer.apple.com/news/?id=03042020b 
> 
> 
> "Starting April 30, 2020, all iPhone apps submitted to the App Store must be 
> built with the iOS 13 SDK or later."
> 
> "Starting April 30, 2020, apps submitted to the App Store must use an Xcode 
> storyboard to provide the app’s launch screen. In addition, all apps that run 
> on iPhone must support all iPhone screens and all apps that run on iPad must 
> support all iPad screens.”
> 
> And a reference to Dark Mode: "If you need more time to make your apps look 
> fantastic in Dark Mode or if Dark Mode is not suited for your app, you’ll 
> need to opt out.”
> 
> “…you can temporarily opt out by including the UIUserInterfaceStyle key (with 
> a value of Light ) in your app's Info. plist file. Setting this key to Light 
> causes the system to ignore the user's preference and always apply a light 
> appearance to your app."
> 
> See also: https://developer.apple.com/ios/submit/ 
> 
> 
> 
> Henry
> ___
> use-livecode mailing list
> use-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: Powerpoint to LiveCode

2020-03-02 Thread Rick Harrison via use-livecode
Hi Paul,

If you had access to a Mac you could import
your Powerpoint presentation to Keynote, make 
whatever changes you want and then Export it 
as HTML. It’s really cool how it works.  

Keynote can also Export to Powerpoint too, as 
well as PDFs.

Then import into LiveCode?

Just my 2 cents.

Rick

> On Mar 2, 2020, at 4:04 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> Out of curiosity, has anyone created a library that will import  - the parts 
> of a Powerpoint presentation that can be recreated in Livecode -  into a 
> LiveCode stack?
> 
> Of course .pptx files are actuall just ZIP archives with assorted XML files 
> inside, while there is a path to importing .pptx files, it is not simple. Use 
> revZIP to open the .pptx file, use revXML (or your howm grown xml parser) to 
> extract the XML for each slide (each a separate file in the archive) and 
> rectreate those slide elements support in LiveCode.
> 
> So, I know HOW to do it.
> 
> I am asking if any one has already built such a library (or even started it)?
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-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: Raspberry Pi 4

2020-01-22 Thread Rick Harrison via use-livecode
I have an older Raspberry Pi 2.
I had installed LC 6.x on it but
found the processor and internet
to be way too slow.

I was considering getting a Pi 4,
but noticed that no one has yet
made a good LC installer for Pi
so I haven’t pursued it.

It’s good to hear that the Pi 4 is
better.

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


Re: WEBP Image Format

2020-01-15 Thread Rick Harrison via use-livecode
Ralph,

Sounds like you are stuck with it.

I think you will have to play around with the browser widget
or figure out how to take a screen shot of just the image
so you can use it.  

It’s a headache and a PITA!

Good luck!

Rick

> On Jan 15, 2020, at 1:49 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Hey Rick,
> 
> Yes, I have no choice. This in one of many weather icon URLs that our
> weather provider delivers via their API. I don't know what the image is
> until it's downloaded and displayed. All of the images to date were/are
> PNGs. This one seems to be an outlier but I'm worried that more of these may
> come my way. I Can't open it up in any app(Windows) except for Chrome. I
> display these icons in the app using 24 of these images(one per hour) in a
> scrolling group.
> The browser widget opens the URL and displays the image. If I knew the size
> I guess I could do some convoluted procedure to resize/export the image from
> the browser widget to an image to display in a resizable image control.
> If the browser widget can open it then the open source library for webp must
> be available (conversion widget?).
> 
> Headache

___
use-livecode mailing list
use-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: WEBP Image Format

2020-01-15 Thread Rick Harrison via use-livecode
Hi Ralph,

Webp format is a google image format.

Can you convert the image to standard .png before using it or
is this something google is forcing you to use?

Rick

> On Jan 15, 2020, at 11:44 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I have this link although its url is a .png apparently it's in webp format.
> This has broken my app.
> 
> https://assets.weatherstack.com/images/wsymbols01_png_64/wsymbol_0007_fog.pn
> g
> 
> How do I display this in LC? No shells please as this is a mobile app.
> 
> Thanks
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> 
> ___
> use-livecode mailing list
> use-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: Java update?

2019-12-10 Thread Rick Harrison via use-livecode
Well, that’s a bummer.

There is your answer though. 

Happy updating!

Rick

> On Dec 10, 2019, at 3:29 PM, JJS via use-livecode 
>  wrote:
> 
> You can't build for Android if you don't have Java on your machine
> 
> Op 10-12-2019 om 18:04 schreef Rick Harrison via use-livecode:
>> If you go into the terminal type; java -version
>> 
>> That will tell you if you are running java, and what version of it you are 
>> running.
>> 
>> Compare that to what the current version is. Version 8 perhaps?
>> 
>> I’m running Mojave, and my result tells me I am not running it and then
>> gives me a dialog to visit Oracle if I want to install it, - which I don’t.
>> 
>> If you are indeed running it, why are you running it?
>> Can you live without it?
>> 
>> Sorry, I can’t speak to the Android issue here right now.
>> 
>> Rick
>> 
>> 
>>> On Dec 10, 2019, at 11:24 AM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> I'm running Mac OS 10.14.6 (Mojave) and the dialog popped up on my desktop 
>>> while I was working in LC. I clicked the "Learn more" link in the dialog 
>>> and was taken to Oracle's web site which displayed a list of changes and 
>>> new features.
>>> 
>>> It appeared to be a normal auto-check for updates. My main concern was 
>>> whether updating would impact standalone builds for Android. Since the 
>>> version I have now is working it doesn't seem crucial.
>> ___
>> use-livecode mailing list
>> use-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: Java update?

2019-12-10 Thread Rick Harrison via use-livecode
If you go into the terminal type; java -version

That will tell you if you are running java, and what version of it you are 
running.

Compare that to what the current version is. Version 8 perhaps? 

I’m running Mojave, and my result tells me I am not running it and then
gives me a dialog to visit Oracle if I want to install it, - which I don’t.

If you are indeed running it, why are you running it?
Can you live without it?

Sorry, I can’t speak to the Android issue here right now.

Rick


> On Dec 10, 2019, at 11:24 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I'm running Mac OS 10.14.6 (Mojave) and the dialog popped up on my desktop 
> while I was working in LC. I clicked the "Learn more" link in the dialog and 
> was taken to Oracle's web site which displayed a list of changes and new 
> features.
> 
> It appeared to be a normal auto-check for updates. My main concern was 
> whether updating would impact standalone builds for Android. Since the 
> version I have now is working it doesn't seem crucial.

___
use-livecode mailing list
use-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: Java update?

2019-12-10 Thread Rick Harrison via use-livecode
What version of the operating system are you running?

What is the source of the notification?  (Is it a reliable source?)

Many people turn off Java in their web-browsers to prevent
trojans and malware from executing when they visit websites.

We need more information before we can make a determination for you.

Rick

> On Dec 9, 2019, at 11:49 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I just received notification that Java version 8 update 231 is available. I 
> have an older version of Java 8. Should I update?
> 
> -- 
> 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


Re: Achilles Heel of Livecode

2019-12-05 Thread Rick Harrison via use-livecode
Hi Tom,

Your comment enticed me to take a look at that PDF.
Someone put a lot of work into it for sure!

Apparently they wanted a magazine format for it.
Perhaps that’s what they are used to doing for their
old day job?

My eyes still hurt from trying to look at all of the
information there.  Information overload for me. 

Rick

> On Dec 5, 2019, at 7:54 AM, Tom Glod via use-livecode 
>  wrote:
> 
> Wow...I have never ever seen a website like that.  The PDF is the most
> incredible piece of typesetting the world has ever seen.

___
use-livecode mailing list
use-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: Achilles Heel of Livecode

2019-12-03 Thread Rick Harrison via use-livecode
Try writing a serious arcade game with LiveCode.
Sorry but it just isn’t up to the task as it isn’t fast
enough.

Remember Compile-It for Hypercard?  Perhaps
we need something similar for LiveCode that
would run at standalone creation time, or
whenever we request it for that extra-speed.

I know the system took a big hit with Unicode,
so how about the option to turn it off for programs
requiring super speed?

Just my 2 cents.  :-)

Enjoy your day!

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


Re: Time Saver's Toolbox v0.99 Release

2019-11-08 Thread Rick Harrison via use-livecode
Hi Tom,

That’s much better. I was able to fully enjoy your video.
I think your clip-board manager and the key-short cut
macro are the best tools.   I’m not one for emojis.
I still do mine the old fashioned way.  :-)

Good luck with your launch!

Rick

> On Nov 7, 2019, at 4:42 PM, Tom Glod via use-livecode 
>  wrote:
> 
> Hey Rick, thanks for the feedback.
> 
> I am not great at understanding sound so I assumed that it would be a
> similar experience for all viewers as far as the levels are concerned.  i
> put it at -32 db, which was the lowest level possible while being audible.
> -33 db you could not hear it.
> 
> Here is a link to the video with no music, https://youtu.be/YF7F3MujcBM 
> 
> 
> :)

___
use-livecode mailing list
use-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: Time Saver's Toolbox v0.99 Release

2019-11-07 Thread Rick Harrison via use-livecode
Hi Tom,

I just took a quick look at your website.

I started to try to watch your demo video
and gave up almost immediately.  You have
too much music going on in the background
(almost foreground) and it is way too distracting 
for me to be able to concentrate on the features 
you are trying to show off.  Other users may
have a similar experience, and you don’t
want to lose your audience.

Suggestion; have only a little bit of music
at the beginning and then fade it out. Then
your visitors will be able to concentrate on 
what you are trying to show them. If you really 
want it back again, you can fade it back in 
at the very end of the video.

Nice work from what little I saw.
Let me know if you re-edit the
music out of most of your video
and I will visit your website again.

Good luck!

Rick

> On Nov 7, 2019, at 8:27 AM, Tom Glod via use-livecode 
>  wrote:
> 
> Dear Livecode Users,
> 
> Today I am proud to announce the public release of the Time Saver's Toolbox.
> 
> The Toolbox is a productivity tool/utility window containing several
> time-saving tools for those who use their computer for multiple hours a day.
> 
> Clipboard Manager
> Content Library
> Text To Speech Reader
> Color Palette
> Hotkey Scripts
> Emoji Picker
> Browser Array
> Quick Composer
> 
> The toolbox is also a platform on which many other tools can be built.
> There are 4 or 5 other tools in production that didn't make it into this
> 1st release.
> 
> To learn more about it, please visit www.timesaverstoolbox.com
> 
> There is a 30 day trial available, I have a special 20% off coupon code for
> all Livecode Users: 'ThankYouLivecode' (Expires December 1, 2019)
> 
> ---
> About the Codebase
> ---
> 
> It took me 489 days to build it.
> Its about 15k - 20k lines of code
> 
> I am contemplating releasing the codebase (minus some of the tools) as open
> source.  But if I do, it will be with a future release after I am able to
> document the code a little more, and split some of the code into script
> only stacks.
> 
> Thank you to Livecode Inc. for the great engine that made this possible for
> me.
> Thank you to this community that has helped me solve some of the problems
> along the way.
> 
> If anyone would like to use this codebase to build a custom project, please
> contact me personally.
> 
> Sincerely,
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Office:226-706-9339
> Mobile:226-706-9793
> ___
> use-livecode mailing list
> use-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 Server UT08 Encode Error

2019-09-13 Thread Rick Harrison via use-livecode
Hi Bob and Dar,

Thanks for getting back to me on this.

After going through the LC list archives,
I came across a helpful tool called
"Unicode Checker” that was originally
suggested by Richmond Mathewson.
(Thanks for that by the way.)

There is a nice little utility inside of it that
allowed me to compare the string from
Pages that I pasted to the the string that
I had cleaned with BBEdit.  The only
differences found was a 000A 
and a few 00A0 (NO-BREAK SPACEs).

I suspect it is the control character really
screwing things up. (I don’t know how
it got into the string.)

I am not using the accept-charset attribute
in the  statement.  If not specified
it is supposed to use the default which I’m
guessing is UTF-8.  I supposed I could try
a test with the attribute specified to see if 
it makes any difference.

Thanks,

Rick


> On Sep 13, 2019, at 5:36 PM, Dar Scott Consulting via use-livecode 
>  wrote:
> 
> When you Zap Gremlins, are you removing non-ASCII or converting to ASCII? 
> Maybe you can do the same thing before saving to the db. 
> 
> Codes 0xca 0x59 do form an invalid UTF-8 sequence. They are good letters in 
> both Latin-1 and CP1252, so I'm not getting a hint.
> 
> Wild, wild guess... Are you using an accept-charset attribute in ? 
> Maybe fiddling with that will help.
> 


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


LC Server UT08 Encode Error

2019-09-12 Thread Rick Harrison via use-livecode
I am having a problem with LC Server
posting data to my Postgresql database.
(LC Server version 9.0.4)

If I type into a form field such as for
a field named “description”, and submit
the field, it goes into the database without
any problems whatsoever.

If I compose a description in an application
such as Apple’s Pages or in Text Edit, and
then copy and paste the text into the
description field.  It throws an error.

ERROR: invalid byte sequence for
encoding "UTF8": 0xca 0x59 (0)

Of course due to this error the
record never gets written out to
the database.

I know this error is due to gremlins
in the text because if I zap gremlins 
with BBEdit and then copy and
paste into the field, everything
works fine!

I’m sure that other users will
probably use a copy and paste
method at some point, so I need
to scrub the data somehow to
prevent the error from occurring.

Or is this an encoding/decoding
problem requiring some other
solution?

Suggestions?

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


Re: OT: Catalina - the end of ad hoc & in-house development?

2019-09-11 Thread Rick Harrison via use-livecode
That behavior does not sound any different from
what we have experienced in older versions of
macOS such as High Sierra.  Perhaps it won’t
get worse until later versions of Catalina?

Thanks for the test Marty!

Rick

> On Sep 11, 2019, at 8:43 PM, Marty Knapp via use-livecode 
>  wrote:
> 
> Just tried my previous tests with non-signed, non-notarized apps with the 
> Catalina beta 8 (just released today) with the same result as beta 7. I also  
> zipped an app, transferred it to the Catalina machine via thumb drive, then 
> unzipped and ran without complaint or warning. So it would appear that  
> downloaded apps are what triggers the warning.
> 
> Marty

___
use-livecode mailing list
use-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: Using LiveCode & AppleScript to make mouse selection in another Mac application

2019-09-10 Thread Rick Harrison via use-livecode
Hi Bob,

Thanks for telling us about Keyboard Maestro!

I used to use Quikeys for Mac for a long time, but
they haven’t updated it for quite some time and
I was hoping to find a substitute.  It looks like
Keyboard Maestro is like Quikeys on Steroids!

Thanks again,

Rick

> On Sep 10, 2019, at 5:52 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> You need a Macro program. I like Keyboard Maestro. 
> 
> Bob S

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


Re: OT: Catalina - the end of ad hoc & in-house development?

2019-09-08 Thread Rick Harrison via use-livecode
That may be exactly what happens next if the big guys continue with their 
nonsense.
More developers will rebel and leave their platforms altogether in favor of 
Linux.

Just my 2 cents.  :-)

Rick

> On Sep 8, 2019, at 2:55 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> If you want a developer platform use Linux

___
use-livecode mailing list
use-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: Catalina - the end of ad hoc & in-house development?

2019-09-07 Thread Rick Harrison via use-livecode
Hi Peter,

We are all pretty miffed about the overly restrictive nature of
developing native apps. These is a lot of time wasted on the
ever changing hoops one must jump through just to develop
in-house or small audience apps.

Not only is it pushing away developers from developing for
specific device platforms, it is pushing us all to only write
for the web.  At least that always works, although it not as
fast as we would like it to be.

Send your frustrations to Apple.  We can only hope they
will listen and change.  They did a survey of their
developers a couple of months ago, and they allowed
us to add comments.  I found myself writing quite the
rant to them about everything they need to change!

We share your pain. Please know you are in good 
company.

Cheers,

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


Re: Saving In Script Only Format Message - Really Needed

2019-09-03 Thread Rick Harrison via use-livecode
Hi Sannyasin,

It sounds like this is just a warning message to
remind you that you are only saving the script
and not saving the entire stack that may contain data.
Hence the risk of data loss.

It’s just a warning I think you can feel free to ignore it,
as long as you understand what it is trying to tell you.

I hope this information helps to clarify things for you.

Rick


> On Sep 3, 2019, at 11:12 AM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> When we open a script only stack in the SE. And save it, we are getting the 
> annoying message now.
> 
> "Saving in script only format will result in
> loss of data as only the script will be save.
> Are you sure you wish to continue?
>  No | Yes
> "
> Given that the
> 
> 
>  1.  the dev *wants* to save  the script only file and
>  2.  the binary file will tell you if needs saving when decide to close it.
> 
> We do we need this dialog to appear? I am missing something -- what "data 
> loss" is likely to occur?
> 
> BR
> ___
> use-livecode mailing list
> use-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: Is HTML5 really practical?

2019-08-31 Thread Rick Harrison via use-livecode
Hi hh,

I’m glad you are happy, and have found LC HTML5 useful
for what you are doing.

For my needs it was not up to the task, or simply just not
the correct tool for the job.

I can see how it can be good for small quick programs
for learning examples, and I’m glad it works for you.

Sorry, I do not have the luxury of spending my time
trying to recreate any of your more advanced examples.
I’m just glad that you have shared those examples with
the community so we can all learn from them.

I think Richard Gaskin did a good job of explaining the
strengths of both approaches.

Cheers,

Rick



> On Aug 31, 2019, at 11:29 AM, hh via use-livecode 
>  wrote:
> 
> I have made with nearly every progress in the standalone engine in
> sum 69 examples. Most of them are simple. Some of them show things
> that are not available by other web tools.
> 
> So take one of the more advanced examples and show me how to make that
> with the tools you cited. I'm looking forward. I didn't need more than
> a few hours for most of these examples.
> 
> TMHO, the HTML5 standalone builder is an appropriate tool for creating
> learning software. Of course you can, if you like headache, use a lot
> of huge and inscrutable javascript packages (increases also the loading
> time).
> 
> But if you are clever and use the best of both sides (LiveCode in the
> standalone and HTML5 in the page) then you can create apps that you
> can't have in LC or HTML alone: 'synergetic effects' are possible.

___
use-livecode mailing list
use-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 HTML5 really practical?

2019-08-31 Thread Rick Harrison via use-livecode
Hi Bill,

You probably should have led with the fact that you are a Wordpress person.
LC supposedly plays nicely with Wordpress.  Maybe someone can point him
to the Wordpress videos/resources from a couple years ago?  (Is it a
Wordpress plug-in or what?  I don’t remember.)

LC Server is much nicer to work with than PHP as your middleware choice
between HTML and any database work.  You can mix your code however
you need to along with Javascript too.

I get that you are retired and basically want to slap together a useful
website as soon as possible so Wordpress does pretty much most
of what you commonly want to accomplish.

I like Valentina Studio (FREE) for putting a database together.

https://www.valentina-db.com/en/get-free-valentina-studio 


It works well on macOS, Linux, or Windows computers.

Good luck,

Rick



> On Aug 31, 2019, at 10:14 AM, William Prothero via use-livecode 
>  wrote:
> 
> Folks,
> Thanks for your thoughts on LC HTML5 for web pages. I use LC increasingly 
> only for my own projects, even though I own a commercial license. I’m retired 
> and give away any education applications that I create. For simple web page 
> projects, though, I start with WordPress. There is a lot of really nice 
> instructional material for making WordPress plugins (php). With Wordpress 
> doing a lot of the basic heavy lifting, doing a special plugin for a custom 
> need in php is pretty straightforward.
> 
> BTW, Herman’s work with LC Html5 and javascript is really a nice 
> contribution. 
> 
> Best,
> Bill
> 
> William A. Prothero
> http://earthlearningsolutions.org
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Is HTML5 really practical?

2019-08-31 Thread Rick Harrison via use-livecode
Hi Bill,

LC HTML5 engine in my opinion isn’t practical for many of the
reasons other’s have stated.  It wasn’t created with the idea
that it was going to help you to create webpages. (That was
what I originally thought it would be used for, so you are not
alone in making that assumption.)  

It was created to help you to run a stack within a web-browser,
and so it has to download the engine to the web-browser
before it can perform any function. It’s functioning was
incomplete in some ways so it was “Experimental” for a
long time, and not a finely polished finished product.
It may still have some issues.

I felt that if one has to take the time to download
something, then one should probably just download
the appropriate app for the correct operating system
whether that is macOS, Windows, or Linux.  It’s not
like users don’t know how to do that by clicking on
a weblink. There isn’t any question about how much
functionality one is getting with an LC app then either.

What does work for making websites/webpages is:
Apache 2.x, LC Server, databases such as PostgreSQL, 
non-LC HTML5, and CSS.  I recommend PostgreSQL
as it’s license is an MIT license that is “Free as in water”,
and my be used for any purpose, commercial or
non-commercial.  One also does not have to post
one’s source code for PostgreSQL anywhere either.
(Other databases use some other form of GPL that
isn’t so nice or may require a subscription payment
of $500 per year.)

I hope this helps you with your decision making.

Good luck!

Rick






> On Aug 30, 2019, at 4:42 PM, William Prothero via use-livecode 
>  wrote:
> 
> Folks:
> I’m considering making a web site that will use livecode’s html5 engine. Is 
> this practical? 
> 
> What I want to create is a signup system for a kayaking club. Paddles are 
> scheduled for each week and members enter their names for various paddle 
> times. The member list would be in a database and there would also be a 
> membership page with entries for various aspects of their skill levels.
> 
> HH’s demos see to show reasonable engine load times, but I’m wondering 
> whether it might be easier and better to just use the engine as a cgi and do 
> everything in css and html.
> 
> Frankly, I haven’t seen any compelling use case for livecode's html5. Is 
> there one, at this time?
> 
> Any thoughts?
> 
> Best,
> Bill
> 
> William A. Prothero
> http://earthlearningsolutions.org
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Maintenance forever?

2019-08-29 Thread Rick Harrison via use-livecode
They said they had a RAID that failed that caused a mess.
One still has to do backups for any RAID for that reason.
Even if they were just using Time Machine to perform a
backup of their RAID they only would lose a maximum
of one hour’s worth of data.  If they were doing transaction
logging they wouldn’t lose more than 1 transaction.
They could have been up and running again pronto.

Just my 2 cents for the day.

Let’s hope things improve soon.

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


Re: Apple Encouraging Progressive Web Apps [PWA] By Rejecting iOS Apps

2019-08-21 Thread Rick Harrison via use-livecode
Hi Ralph,

The URL you posted wasn’t quite complete and throws a 404 error.

Here is the complete URL that works.

Thanks,

Rick

https://love2dev.com/blog/apple-encouraging-progressive-web-apps-by-rejecting-apps/

> On Aug 21, 2019, at 11:43 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> https://love2dev.com/blog/apple-encouraging-progressive-web-apps-by-rejectin 
> 
___
use-livecode mailing list
use-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: QR Code Reader with Livecode

2019-08-11 Thread Rick Harrison via use-livecode
Nice!

> On Aug 11, 2019, at 10:10 AM, hh via use-livecode 
>  wrote:
> 
> I have a QRcode Reader nearly finished.
> Will publish it on Wednesday in "Sample Stacks".
> 
> There will be also a QRcode Writer that outputs to a
> SVG icon widget (or to a polygon graphic or to an image).

___
use-livecode mailing list
use-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: Updated Lesson and new Notarization Helper Stack

2019-08-04 Thread Rick Harrison via use-livecode
Cool!  

Nice job Matthias!

I can see you put a lot of work into everything.

Thank you, thank you, THANK YOU!!!

Rick


> On Aug 3, 2019, at 3:30 PM, Matthias Rebbe via use-livecode 
>  wrote:
> 
> For those who are interested.
> 
> Today i´ve updated the Lesson on How to code sign and Notarize an app for 
> distribution outside of the Mac Appstore. I´ve also included an updated 
> version of my stack. The new version is now able to to the complete stuff 
> from code signing up to notarizing and stapling your app or dmg.
> 
> You just drap your app to the stack, enter some data and the stack does all 
> the rest for you.
> 
> The new lesson can be found here 
> .
> 
> Hope this is of some use for the one or the other.
> 
> 
> 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: Time-outs in LC Server?

2019-07-25 Thread Rick Harrison via use-livecode
Hi Alex,

The solution turned out to be easier with no time checks involved.

I noticed that one of my variables ends up being blank when the
server times out.  So when the user attempts to do something,
the destination webpage performs a check at the beginning of 
the code to see if the variable is blank.  If it’s blank, I have
alternate code appear that tells the user they have been logged
out due to inactivity, and offers a dismiss message button that
links back to the login page.  It works quite nicely, and
I don’t have to check for every transaction in every format file.

Enjoy your day!

Rick



> On Jul 19, 2019, at 9:47 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> 
> On 19/07/2019 14:28, Rick Harrison via use-livecode wrote:
>> The following is a link to the javascript stuff I had referred
>> to before.  I just want a clean LC way to do the same thing.
>> 
>> https://stackoverflow.com/questions/9564602/how-to-know-browser-idle-time?noredirect=1=1
>> 
> Sorry to be the bearer of bad news, but there is no such thing, and indeed, 
> there cannot be!
> 
> That javascript code runs *in the user's browser", and so can easily keep 
> track of idle time. or remaining time
> 
> Your LC code can only run on the server. And on the server, all you can do is 
> - at the start of responding to a request - check how long it has been since 
> the previous request from same user.
> 
> So that requires some storage between requests - whether in a database, or 
> via cookie / session variable.
> 
> 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

  1   2   3   4   >