Sending emails with attachments using Applescript

2024-04-30 Thread Bob Sneidar via use-livecode
Hi all. I began working on a method to send emails with attachments a while back. I finally got back around to it. It simply opens an email in the Mail app. You have to actually send it (which I rather prefer actually.) I put the actual Applescript code in a property of my mainstack (which

Re: LC compilation

2024-04-30 Thread Mike Kerner via use-livecode
if it wasn't the other kind, i wouldn't have anything to do On Tue, Apr 30, 2024 at 11:10 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Sometimes, I am very good at coding. It’s all the other times that > presents problems. ;-) > > Bob S > > > On Apr 29, 2024, at 6:30

Re: LC compilation

2024-04-30 Thread Bob Sneidar via use-livecode
Perhaps they should take a page from Amazon’s AI book and hire a bunch of people in India to watch other people program and respond with the correct code. Bob S On Apr 29, 2024, at 6:30 PM, Mike Kerner via use-livecode wrote: i also saw, today, that zdnet tested microsoft's copilot against

Re: LC compilation

2024-04-30 Thread Bob Sneidar via use-livecode
Sometimes, I am very good at coding. It’s all the other times that presents problems. ;-) Bob S On Apr 29, 2024, at 6:30 PM, Mike Kerner via use-livecode wrote: sometimes, it is very good at coding ___ use-livecode mailing list

Game of Life as LiveCode web deployment

2024-04-30 Thread Andreas Bergendal via use-livecode
So, in my series of ”LiveCode projects that can be deployed straight to web with almost no modification”, here is the LC implementation of Game of Life that I created during the pandemic, with great help from Thierry D. https://wheninspace.com/gameoflife/ The only adaptation I have made is

Re: LC compilation

2024-04-30 Thread Richard Gaskin via use-livecode
Kinda perfect, really. ;) Richard Gaskin FourthWorld.com Bob Sneidar wrote: > That LC compilation should read GROKING stupid spell correct. > Seemed like a good idea at the time… > > Bob S > > >> On Apr 29, 2024, at 4:28 PM, Bob Sneidar wrote: >> >> I have a hard enough time growing >>

Re: LC compilation

2024-04-29 Thread Mike Kerner via use-livecode
well, bob, since 10 was supposed to have an ai assistant as part of it... gpt 4 is pretty good, with fairly simple stuff, with some languages. it has not done well with anything LC that i've thrown at it. it keeps hallucinating all sorts of things, like commands that don't exist, whole

Re: LC compilation

2024-04-29 Thread Bob Sneidar via use-livecode
That should read GROKING stupid spell correct. Seemed like a good idea at the time… Bob S On Apr 29, 2024, at 4:28 PM, Bob Sneidar via use-livecode wrote: I have a hard enough time growing ___ use-livecode mailing list

Re: LC compilation

2024-04-29 Thread Bob Sneidar via use-livecode
I will NEVER use AI to code. I have a hard enough time growing what I have already done, without having to decipher what some AI bot did. Bob S > On Apr 29, 2024, at 4:23 PM, Mark Smith via use-livecode > wrote: > > On 29 Apr 2024, at 3:18 PM, Mike Kerner via use-livecode > wrote: >> >>

Re: LC compilation

2024-04-29 Thread Mark Smith via use-livecode
On 29 Apr 2024, at 3:18 PM, Mike Kerner via use-livecode wrote: > > any compiler chatter? > asking for an interested party I wish! Now that AI has completely revamped the art of coding, it might be more important than ever. Mark ___

RE: Can you almost hear me now? (AAC app underway)

2024-04-29 Thread Ralph DiMola via use-livecode
Curry, Great! Looking forward to it. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Curry Kenworthy via use-livecode Sent: Monday, April 29, 2024 11:13

Can you almost hear me now? (AAC app underway)

2024-04-29 Thread Curry Kenworthy via use-livecode
Good news: I’m working on a custom AAC app in LC, set up for everything – speech, plus all types of writing, including LC coding. (Yes, for writing its own code too.) Eventually this should get me back to doing LC phone calls and video tutoring again, maybe even some YouTube or an LC

Re: LC compilation

2024-04-29 Thread Mike Kerner via use-livecode
any compiler chatter? asking for an interested party On Mon, May 29, 2023 at 7:26 PM Mark Smith via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Mike, sorry I thought it would have been copied with the reply. The > original post from Skip Kimpel was more or less asking if LC is

Re: web

2024-04-29 Thread Mike Kerner via use-livecode
any word on web? just curious On Tue, Feb 13, 2024 at 5:09 AM Mark Smith via use-livecode < use-livecode@lists.runrev.com> wrote: > > > On 13 Feb 2024, at 5:02 am, Curry Kenworthy via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > What doesn’t kill us ... makes us awesome and

Re: Websockets ... again.

2024-04-28 Thread Bob Sneidar via use-livecode
If you are going to roll your own security with raw sockets, what I had to do was encrypt the data then base64encode it, then reverse the process on the other side. Sent from my iPhone > On Apr 27, 2024, at 17:56, Richard Gaskin via use-livecode > wrote: > > Bernard Devlin wrote: > >>

Re: LiveCode 10 and Xcode 15

2024-04-28 Thread panagiotis merakos via use-livecode
You are very welcome, Mark :) Take care, Panos On Sun, 28 Apr 2024, 10:28 Mark Smith, wrote: > Just a quick shoutout to Panos and his exemplary customer support. When at > first I had problems getting the upgrade to work I resigned myself to > patiently working through what I thought might be

Re: LiveCode 10 and Xcode 15

2024-04-28 Thread Mark Smith via use-livecode
Just a quick shoutout to Panos and his exemplary customer support. When at first I had problems getting the upgrade to work I resigned myself to patiently working through what I thought might be a multi-day process. Instead it was resolved in an hour. Thank you Panos. Mark > On 27 Apr 2024,

Re: Websockets ... again.

2024-04-27 Thread Richard Gaskin via use-livecode
Bernard Devlin wrote: > One thing to bear in mind is that Livecode does not support secure sockets > (despite what the Dictionary might say). This is based on the Dictionary example for the "open socket" command. It runs without error, and the callback works. on mouseup open secure

Re: Websockets ... again.

2024-04-27 Thread Mark Clark via use-livecode
LC just provides raw sockets. You can implement a TLS equivalent with a bit of elbow grease. Writing your own protocol gives a lot of control. TLS is something you may have to use to check boxes. Out of curiosity is there a market for something like this within the community? Sent from my

Re: Websockets ... again.

2024-04-27 Thread Mike Kerner via use-livecode
really? discuss. On Sat, Apr 27, 2024 at 5:06 PM Bernard Devlin via use-livecode < use-livecode@lists.runrev.com> wrote: > One thing to bear in mind is that Livecode does not support secure sockets > (despite what the Dictionary might say). > > On Sat, Apr 27, 2024 at 12:31 AM Richard Gaskin via

Re: Websockets ... again.

2024-04-27 Thread Bernard Devlin via use-livecode
One thing to bear in mind is that Livecode does not support secure sockets (despite what the Dictionary might say). On Sat, Apr 27, 2024 at 12:31 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > > - How hard would it be to script it using LC's good socket support? > >

Re: LiveCode 10 and Xcode 15

2024-04-27 Thread Mark Smith via use-livecode
Panos, your depth of knowledge is astounding. All working now. Thanks!! Mark > On 27 Apr 2024, at 8:02 PM, panagiotis merakos wrote: > > Hello Mark, > > Nice, one step closer! > > RE this error, you need to install the iOS 17 runtime. As of xcode 15 the iOS > platform runtime is no longer

Re: LiveCode 10 and Xcode 15

2024-04-27 Thread panagiotis merakos via use-livecode
Hello Mark, Nice, one step closer! RE this error, you need to install the iOS 17 runtime. As of xcode 15 the iOS platform runtime is no longer included in the xcode app bundle and it is a separate download. There must be something in the release notes on how to download it, you have to go

Re: LiveCode 10 and Xcode 15

2024-04-27 Thread Mark Smith via use-livecode
Hi Panos, Thanks for the quick reply. So I still had both 15.3 and 15.0.1 on my storage device, so I switched LC to select the SDK from 15.0.1 and that worked. However, when I build for iOS 17 I get this error… There was an error while saving the standalone application failed to create launch

Re: LiveCode 10 and Xcode 15

2024-04-27 Thread panagiotis merakos via use-livecode
Hello Mark, Xcode 15.3 has probably the iOS SDK 17.3, but livecode 10 dp7 expects 17.0. so you have to install xcode 15.0 or 15.0.1. Note you do not have to uninstall xcode 15.3, unless you want to. Just make sure in the livecode preferences you choose xcode 15.0 (or 15.0.1) and also set the

Re: LiveCode 10 and Xcode 15

2024-04-27 Thread Mark Smith via use-livecode
I always encounter these challenges when update season arrives. It started with my phone which mysteriously upgraded itself to iOS 17.4.1 (I don’t remember authorising that but it’s a confusing landscape so perhaps I did). Instantly my app Organize which I virtually depend on to live stopped

Re: Websockets ... again.

2024-04-26 Thread Bob Sneidar via use-livecode
I was thinking the same thing. Sent from my iPhone > On Apr 26, 2024, at 16:54, Tom Glod via use-livecode > wrote: > > Richard, thanks for chiming in. > > 1. dunno, it can't be that hard, i would take an existing implementation in > another language and rewrite it in livecode. > 2. dunno >

Re: Websockets ... again.

2024-04-26 Thread Tom Glod via use-livecode
Richard, thanks for chiming in. 1. dunno, it can't be that hard, i would take an existing implementation in another language and rewrite it in livecode. 2. dunno 3. interesting thought, I will look into testing this. 4. many blockchains are websockets only, and most API with data "streams".

Re: Websockets ... again.

2024-04-26 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > Can we get a measure again as to the interest in web sockets implementation > in livecode? Requested 2015, last activity 2020: https://quality.livecode.com/show_bug.cgi?id=16091 Given the elapsed time so far, maybe we can find another way to do this. - How hard would it be to

Re: Websockets ... again.

2024-04-26 Thread Mike Kerner via use-livecode
i'm interested in client side, especially on mobile. we have an app that is in the wild that would be much better if we could stop pinging the server every five seconds. On Fri, Apr 26, 2024 at 4:10 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Folks, > > Can we get a

Websockets ... again.

2024-04-26 Thread Tom Glod via use-livecode
Hi Folks, Can we get a measure again as to the interest in web sockets implementation in livecode? As far as I know we still do not have one that is available or able to be contributed to, I'd be willing to put in some engineering time if there was help from others available. Here are the full

Help converting python one-liner...

2024-04-25 Thread Niggemann, Bernd via use-livecode
Hi David, Are you sure that sImage contains the data you want? What happens if instead of: put url imageUrl into sImage you do: put url("binfile:" & imageURL) into sImage Kind regards Bernd ___ use-livecode mailing list

Re: Help converting python one-liner...

2024-04-25 Thread Bob Sneidar via use-livecode
Well the good news (I suppose) is that base64Decode seems to ignore the carriage returns in the encoded string. The bad news (for me) is that it means my intermittence issue had nothing to do with the carriage returns. Bob S > On Apr 25, 2024, at 8:09 AM, Bob Sneidar via use-livecode >

Re: Help converting python one-liner...

2024-04-25 Thread Bob Sneidar via use-livecode
Wha THAT may be why I was getting intermittent success with a socket based file transfer utility I developed! I wonder what base64Decode does with a base64Encoded string if you remove the carriage returns first? I’m going to have to research that. Bob S > On Apr 25, 2024, at 7:57

Re: Help converting python one-liner...

2024-04-25 Thread Andreas Bergendal via use-livecode
The problem may be that base64 encoding inserts line breaks after every 76 chars (a remnant from terminal monitor width restrictions, apparently). I ran into this a while ago, and cleaning the encoded string with “replace cr with empty in tString” solved it for me. I don’t think any

Re: Help converting python one-liner...

2024-04-24 Thread Paul Dupuis via use-livecode
If json need utf8, then the last line needs to be: put textEncode(base64Image,"UTF-8") into encodedImageData textEncode will convert the bas64 data (stored in livecode as 16bit characters) to UTF8 On 4/24/2024 2:45 PM, David Bovill via use-livecode wrote: I need to put encodeImageData into

Re: Help converting python one-liner...

2024-04-24 Thread David Bovill via use-livecode
I need to put encodeImageData into json (which is utf-8) and then post it to the api. I'm not sure what aspects of base64 encoding would not be utf8 compatible... seem to remember there are some quirks there to be aware of. The python code does the decode("utf-8") step at the end - so I guess

Re: Help converting python one-liner...

2024-04-24 Thread Paul Dupuis via use-livecode
On 4/24/2024 1:43 PM, David Bovill via use-livecode wrote: I'm trying to base64 encode an image and include it into a json file to post to an api. The python code that accomplishes this is: image1_data = base64.b64encode(httpx.get(image1_url).content).decode("utf-8") When I try to follow the

Help converting python one-liner...

2024-04-24 Thread David Bovill via use-livecode
I'm trying to base64 encode an image and include it into a json file to post to an api. The python code that accomplishes this is: image1_data = base64.b64encode(httpx.get(image1_url).content).decode("utf-8") When I try to follow the logic in Livecode I get: put url imageUrl into sImage put

Re: LiveCode 10 and Xcode 15

2024-04-22 Thread panagiotis merakos via use-livecode
Hello Dan, The released (public) version of LiveCode 10 DP-7 does support building with Xcode 15.0 and 15.0.1, (thus with the iOS 17 SDK). If you got this message - a rough guess is that you used a "custom" (and now outdated) internal build of DP-7 we had done for you back then, which did not

LiveCode 10 and Xcode 15

2024-04-19 Thread Dan Friedman via use-livecode
Just posted an app update to the iOS app store and I got this message: ITMS-90725: SDK version issue - This app was built with the iOS 16.2 SDK. Starting April 29, 2024, all iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to

Re: Android 13 and higher and share files problems

2024-04-18 Thread Ludovic THEBAULT via use-livecode
> Le 17 avr. 2024 à 10:18, panagiotis merakos via use-livecode > a écrit : > > RE the other issue with gmail - I suggest you file a bug report and attach > a sample stack and we will investigate. I found that you need to modify the email (just add one char for example), in the app Gmail,

Re: Android 13 and higher and share files problems

2024-04-18 Thread J. Landman Gay via use-livecode
There is a similar bug report in the QCC, you could add your comments to it. https://quality.livecode.com/show_bug.cgi?id=23526 -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 18, 2024 10:29:26 AM Ludovic THEBAULT via

Re: Android 13 and higher and share files problems

2024-04-18 Thread Ludovic THEBAULT via use-livecode
> Le 17 avr. 2024 à 10:18, panagiotis merakos via use-livecode > a écrit : > > Hello Ludovic, > > Which file explorer app do you use? Hello Panos, I use the phone's file manager. And even when connected to Windows, Explorer doesn't show the folder. I've created another application

RE: Licensing 6.7.11

2024-04-17 Thread Ralph DiMola via use-livecode
Thanks Curry, been in touch with Heather. Having some weird licensing issues. It now affecting other older versions. Heather is all over it. Will update to list when solved. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From:

Re: Licensing 6.7.11

2024-04-17 Thread Curry Kenworthy via use-livecode
Ralph: > Suddenly LC 6.7.11 says my license file has expired > can't download a license file for 6.7.11. > The only versions are 9 and 10? Any ideas? LC 6.7.11 works here, but similar happened once before - Probably LC Licensing backend issue; contact Support! Best wishes, Curry

Re: Android 13 and higher and share files problems

2024-04-17 Thread panagiotis merakos via use-livecode
Hello Ludovic, Which file explorer app do you use? As of Android 13, apps that need to access media files that other apps have created, must request one or more of the following granular media permissions instead of the READ_EXTERNAL_STORAGE permission: READ_MEDIA_IMAGES READ_MEDIA_VIDEO

Android 13 and higher and share files problems

2024-04-17 Thread Ludovic THEBAULT via use-livecode
Hello, I have an Android application that stores files in the "Documents" folder. The path to the files is something like : « /data/user/0/com.xxx.files/ ». With phones running Android 13 or higher, the application folder "com.xxx" is no longer visible in the file explorer, whereas on an

Licensing 6.7.11

2024-04-15 Thread Ralph DiMola via use-livecode
Suddenly LC 6.7.11 says my license file has expired. I tried online activation and it does not work. Logged onto the LC website and under my account I can't download a license file for 6.7.11. The only versions are 9 and 10? Any ideas? I'm on a short time line and need to get this job out.

Re: Windows on ARM...

2024-04-10 Thread matthias rebbe via use-livecode
I am running here a Windows 11 VM in Parallels 19 on my Mac Studio with M1 Max, mainly to test the Windows standalones (32 and 64bit) i've created on macOS. I can also confirm that so far i did not experience any problems with running those Intel builds on Win11 ARM. > Am 10.04.2024 um 15:20

Re: Windows on ARM...

2024-04-10 Thread Paul Dupuis via use-livecode
Thank you Mark! I'm sure like most folks that sell software, we have a small camp of customers that always want to be on the leading-edge and, whether its a new macOS or a new Windows OS (or OS feature), we get contacted early and often about whether our software will be compatible. There

Re: Windows on ARM...

2024-04-10 Thread Mark Waddingham via use-livecode
On 2024-04-09 20:03, Paul Dupuis via use-livecode wrote: Mothership people (or anyone in the community that may know this): Microsoft is expected to port and release Windows running on ARM chips (Surface laptops will use the Snapdragon X Elite processors from Qualcomm) this year. Announcement

Re: Windows on ARM...

2024-04-09 Thread Paul Dupuis via use-livecode
Thank you Mike. I did not know that. On 4/9/2024 3:15 PM, Mike Kerner via use-livecode wrote: paul, lc apps that i built on win years ago are still running on win on arm (and have been, for three years), so i'm guessing there is at least an emulation mode. On Tue, Apr 9, 2024 at 3:04 PM Paul

Re: Windows on ARM...

2024-04-09 Thread Mike Kerner via use-livecode
paul, lc apps that i built on win years ago are still running on win on arm (and have been, for three years), so i'm guessing there is at least an emulation mode. On Tue, Apr 9, 2024 at 3:04 PM Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > Mothership people (or anyone in

Re: Xcode 15.01 working with LC?

2024-04-09 Thread Mike Kerner via use-livecode
i just did several builds with a similar setup, but my builds are achieving, and installing (using apple configurator). my test ipads are running 17.4.1 and 17.5 beta i have had a problem with one of our test ipads, but i don't know if it's related: mergAV isn't operating properly, but so far,

Windows on ARM...

2024-04-09 Thread Paul Dupuis via use-livecode
Mothership people (or anyone in the community that may know this): Microsoft is expected to port and release Windows running on ARM chips (Surface laptops will use the Snapdragon X Elite processors from Qualcomm) this year. Announcement expected May 20, shipping - who knows when, but likely

RE: Xcode 15.01 working with LC?

2024-04-09 Thread Ralph DiMola via use-livecode
I'm using LC 9.6.11 on an M1 Ventura with Xcode 15.0.1 (command line tools point there) I have built 2 of my apps and the both show splash screen then immediately crashes before first card is shown. I'm testing on an iPad mini iOS 12.5.7. When testing in the simulator it starts but the app

Re: Xcode 15.01 working with LC?

2024-04-09 Thread Mike Kerner via use-livecode
just tried it, again, and then started digging. on the first attempt, i got the linking error then i fired up xc 15.0.1, and looked at the xcode command-line tools - sure enough, it was set to 14.2. i changed that to 15.0.1, and now the builds link with 9.6.11 and xc 15.0.1 On Mon, Apr 8, 2024

Re: Xcode 15.01 working with LC?

2024-04-08 Thread Andreas Bergendal via use-livecode
Just to complicate matters, though: In the Forum, two people have confirmed successful iOS deployment with Xcode 15.0.1: https://forums.livecode.com/viewtopic.php?f=49=38849 /Andreas > 6 apr. 2024 kl. 22:35 skrev Mike Kerner via use-livecode > : > > i should further note that in lc settings,

Re: Xcode 15.01 working with LC?

2024-04-06 Thread Klaus major-k via use-livecode
Hi Mike, thank you very much! Currently downloading 15.0. > Am 06.04.2024 um 22:35 schrieb Mike Kerner via use-livecode > : > > i should further note that in lc settings, if you select 15.0.1, you will > get the green box like all's well, but during the build you will get an > error, late. >

Re: Xcode 15.01 working with LC?

2024-04-06 Thread Mike Kerner via use-livecode
i should further note that in lc settings, if you select 15.0.1, you will get the green box like all's well, but during the build you will get an error, late. On Sat, Apr 6, 2024 at 4:34 PM Mike Kerner wrote: > it does not work, at least with 9.6.11 > here's where you can find all the

Re: Xcode 15.01 working with LC?

2024-04-06 Thread Mike Kerner via use-livecode
it does not work, at least with 9.6.11 here's where you can find all the downloads, including xcode 15 https://developer.apple.com/download/all/?q=xcode On Sat, Apr 6, 2024 at 4:22 PM Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi friends, > > I am just setting up a

Xcode 15.01 working with LC?

2024-04-06 Thread Klaus major-k via use-livecode
Hi friends, I am just setting up a new Mac Mini M2 and could not find Xcode 15.0 as recommended by LCs release notes, only 15.01 on the Apple Dev download pages. Will that work with LC? Or does someone have a link to version 15.0? Thanks in advance! Best Klaus -- Klaus Major

Re: WebDeployHelper tool - the LC10 web app toolbox

2024-04-05 Thread Alex Tweedly via use-livecode
That's cool !   I really like those 'slide-out' left buttons. Thank you very much for this. Alex. On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote: And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1:

Re: Re: WebDeployHelper tool - the LC10 web app toolbox

2024-04-05 Thread Andreas Bergendal via use-livecode
And as a follow-up on this, here is also a demo web app created with the help of WebDeployHelper 1.0.1: https://wheninspace.com/WebDeployHelperTest/ To back my words! :D /Andreas > 5 apr. 2024 kl. 03:06 skrev Tom Glod via use-livecode > : > > thank you for making this available to the

Re: WebDeployHelper tool - the LC10 web app toolbox

2024-04-05 Thread Andreas Bergendal via use-livecode
Thanks guys! But don’t just take my word for it - try it at see if it works! I did, in a fresh new stack, and… it bugged out on several of the features… Turns out I had missed to replace some hardcoded pointers to my initial test stack with stackname placeholder markers in some of the code

Re: WebDeployHelper tool - the LC10 web app toolbox

2024-04-04 Thread Tom Glod via use-livecode
thank you for making this available to the community. On Thu, Apr 4, 2024 at 5:02 PM Ralph DiMola via use-livecode < use-livecode@lists.runrev.com> wrote: > +1 > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > > -Original Message- > From:

RE: WebDeployHelper tool - the LC10 web app toolbox

2024-04-04 Thread Ralph DiMola via use-livecode
+1 Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of William Prothero via use-livecode Sent: Thursday, April 04, 2024 4:48 PM To: How to use LiveCode Cc:

Re: WebDeployHelper tool - the LC10 web app toolbox

2024-04-04 Thread William Prothero via use-livecode
Andreas, This sounds really great! It encourages me to start working with web apps.Thanks for your contribution. Best, Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On Apr 4, 2024, at 12:45 PM, Andreas Bergendal via use-livecode >

WebDeployHelper tool - the LC10 web app toolbox

2024-04-04 Thread Andreas Bergendal via use-livecode
So, LiveCode 10 has web deployment, but there are still too many things it cannot do out-of-the-box. Well, some of them are fixable, and as promised I now release the tool I’ve built to get so much more out of LC web apps. Download here:

LiveCode Connection to PostgreSQL 16?

2024-04-04 Thread harrison--- via use-livecode
This used to be relatively easy to do. They have changed how users can connect to PostgreSQL, and now it’s not easy to hook up LiveCode Server 9.6.11 to it. I’m dead in the water until this is solved. Does anyone have any updated LiveCode instructions for this? Thanks in advance, Rick

Browser Widget and Google Maps Api on Win 10

2024-03-28 Thread Ralph DiMola via use-livecode
When in the IDE and testing using the browser widget the line below does not ever complete. The call back to "startMapInit" is never called. This works on Win 10 desktop in Chrome and LC deployed Android app using the same browser widget as in the IDE. I will test on iOS. The real question

Re: Revisiting Lock Screen

2024-03-28 Thread Paul Dupuis via use-livecode
In our app, we have a lot of handlers (internal APIs) that get called by other handlers and, as multiple developers are involved, knowing what is calling what takes some effort. To address the issue of screen locks, we adopted a coding standard as follows: If a handler should lock the screen,

Re: Revisiting Lock Screen

2024-03-28 Thread Bob Sneidar via use-livecode
I do a lot with DG that is not supported with PG. Also I just discovered that on a MacOS device, the snapshot of the card shows the custom menu, even though the menu is not inside the rect of the card. . I will have to calculate the rect as well. No big deal, just more things to have to

Re: Revisiting Lock Screen

2024-03-28 Thread Mike Kerner via use-livecode
what about switching to pg? On Thu, Mar 28, 2024 at 1:24 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks Mike. > > I think I am going to have to come up with an alternative. Something like > taking a snapshot of the window then overlaying it on the window while >

Re: Revisiting Lock Screen

2024-03-28 Thread Bob Sneidar via use-livecode
Thanks Mike. I think I am going to have to come up with an alternative. Something like taking a snapshot of the window then overlaying it on the window while processing, then deleting it when done. The trouble is I have other windows open that will update because they are synching with the

Facebook in Browser Widget

2024-03-28 Thread Ralph DiMola via use-livecode
LC 9.6.11 pro Win 10 When I open Facebook url "https://www.facebook.com/someAccount; in the browser widget in an Android app I briefly see the Facebook page and then get the error net:ERR_UNKNOWN_URL_SCHEME. The Error url displayed is "fc://profile..." this used to work. This happens if the

Re: Revisiting Lock Screen

2024-03-28 Thread Mike Kerner via use-livecode
didn't you say your code was modifying a dg? i see a couple of possible failure points: * the widget could be doing something unexpected * the dg could be unlocking the screen. you could also try two or more lock screens. i believe lock screen is additive. until idle. On Thu, Mar 28, 2024 at

Re: Revisiting Lock Screen

2024-03-28 Thread Bob Sneidar via use-livecode
Wow thanks for that! I think I remember now this came up before, and datagrids were the culprit. But that does seem odd, doesn’t it? Why would a screen lock interfere with the datagrid behavior? (That is rhetorical. Only the devs would know that.) Bob S On Mar 28, 2024, at 8:48 AM, Mike

Re: Revisiting Lock Screen

2024-03-28 Thread Mike Kerner via use-livecode
there are many (many) datagrid functions and commands that unlock the screen, the behavior script for dg's is 11,597 lines long. i started copying/pasting the signature of them, but finally decided there were many too many. instead of deleting the rest of this post, i left them in place. i

Re: Revisiting Lock Screen

2024-03-28 Thread Bob Sneidar via use-livecode
The issue may be with the datagrids. It appears that Lock Screen is not preventing changes to the datagrids from refreshing the screen. Bob S > On Mar 28, 2024, at 8:28 AM, Bob Sneidar wrote: > > Hi Craig thanks for responding. I am not updating fields per se as the only > thing changing

Re: Revisiting Lock Screen

2024-03-28 Thread Bob Sneidar via use-livecode
Hi Craig thanks for responding. I am not updating fields per se as the only thing changing is the datagrid selection(s) and the status of the checkbox. Curiously I am not seeing the tab widget selection change but I am seeing the hiding and showing of the datagrids as each tab is selected.

Re: Revisiting Lock Screen

2024-03-28 Thread Bob Sneidar via use-livecode
Hi Alex. Thanks for responding. I have a module in my app called Software. I have 5 datagrids, one for software and 4 others for the entities the software license is linked to. Each datagrid has associated fields as well. Customers, Sites, Devices and Files. Each of these entities can be

Re: Revisiting Lock Screen

2024-03-28 Thread Bob Sneidar via use-livecode
No I am using 9.6.11. Bob S > On Mar 27, 2024, at 8:43 PM, Tom Glod via use-livecode > wrote: > > Bob, > Sorry I can't double check at the moment, but I was reading the release > notes for 10 dp7 and there was some stuff about that in there > (Its possible I am . mis-remembering.) > Is

Re: Revisiting Lock Screen

2024-03-28 Thread Craig Newman via use-livecode
Bob. I have no idea what you are facing with such a basic issue. To be sure, please, somewhere in the stack you are having the issue, make a button and a field and run this: on mouseup lock screen —comment out for the first run repeat 3 put random(999) into fld 1 wait 20 end repeat end

Re: Revisiting Lock Screen

2024-03-28 Thread Alex Tweedly via use-livecode
Hi Bob, I'm not sure from your description how / when you are seeing the (unexpected) changes happening. Remember that lockscreen is automatically set to false when there is no handler running, so unlerss you have an intensive handler running, you will see these changes. If it's not that

Re: iOS Privacy Manifest Requirements begin May 1

2024-03-28 Thread Heather Laine via use-livecode
Hello Henry, We're aware of this upcoming requirement and it will be addressed in 9.6.12, we expect an RC of this in April. You will probably also be able to retrospectively do it with a custom plist for 9.6.11. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd

Re: Revisiting Lock Screen

2024-03-27 Thread Tom Glod via use-livecode
Bob, Sorry I can't double check at the moment, but I was reading the release notes for 10 dp7 and there was some stuff about that in there (Its possible I am . mis-remembering.) Is that the version you are using? On Wed, Mar 27, 2024 at 7:02 PM Bob Sneidar via use-livecode <

Re: Tutorial for Livecode Server log in system

2024-03-27 Thread Bob Sneidar via use-livecode
As an aside, I do store passwords, but I encrypt them first using a method only I know about. However I am not using a web portal, so there’s that. Bob S On Mar 27, 2024, at 3:44 PM, Tim Selander via use-livecode wrote: Dear Alex and Pere Thank you both for your code and and the time you

Re: Revisiting Lock Screen

2024-03-27 Thread Bob Sneidar via use-livecode
Oh, but it gets better. I put at the entry point of the script: lock screen put the lockscreen into tScreenIsLocked — I checked and this is true Then at the exit point: put the lockscreen STILL TRUE in spite of the fact that I see everything that the app is doing to the screen the

Revisiting Lock Screen

2024-03-27 Thread Bob Sneidar via use-livecode
Hi all. I read in the dictionary that Lock Screen does not work in Script Debug mode. Okay so I turn it off, put the command “Lock Screen” at the entry point to a selectionChanged handler which goes on to do a number of things that change the appearance of the screen. The screen is decidedly

Re: Tutorial for Livecode Server log in system

2024-03-27 Thread Tim Selander via use-livecode
Dear Alex and Pere Thank you both for your code and and the time you took to help! I'm am working through the code you sent, studying out how it works. Great learning experience. Also, Alex, your point of not using password log ins is a philosophical re-frame in my thinking! Thank you!

iOS Privacy Manifest Requirements begin May 1

2024-03-26 Thread HENRY LOWE via use-livecode
Received the following today while submitting an LC App update to the iOS store: ITMS-91053: Missing API declaration - Your app’s code references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp While no action is required

Re: Tutorial for Livecode Server log in system

2024-03-26 Thread Alex Tweedly via use-livecode
Hi Tim, I guess my first response would be - don't. Specifically, don't store or use passwords. Users have a bad habit of re-using the same passwords, so even if your site has no personal or valuable info about your users, the fact that passwords get re-used means you are storing valuable

Re: FindIndex question

2024-03-26 Thread Mike Kerner via use-livecode
other way, alex. use the pg, not the dg, for now. BUT, here's a good reason to use the dg - you can fix issues with it. the source of the pg is closed, and you can't get at it, AFAIK. check the issue tracker for issues with it. you can't address them. please, no comments from the peanut gallery on

Re: Tutorial for Livecode Server log in system

2024-03-26 Thread pere xavier Rossello via use-livecode
cont ( make mistakes pushing tab on keyboard) full scrip " put "window.location='index.html?_e=Error_sin_login';" put "" end if retrive pass from database put revOpenDatabase ("mysql", "localhost:3363","reparacion","gsmmax","11*Endimion_grd") into gDbId put "select

Re: Tutorial for Livecode Server log in system

2024-03-26 Thread pere xavier Rossello via use-livecode
Hi. To make online log in is quit easy in livecode. first you need a webpage with a form asking username, email and password ) and submit to a livecode script Log in --- method can be to types get or post - normally I use Get this will send username

Tutorial for Livecode Server log in system

2024-03-25 Thread Tim Selander via use-livecode
Hi all. As a hobbiest/amateur I continue to plunk away with Livecode, mostly the server product in my on-rev account. Can anyone point me to a tutorial or sample of an online log in system (username, email and password) for a website using Livecode? I've found some php tutorials, and

Re: FindIndex question

2024-03-25 Thread Bob Sneidar via use-livecode
This is the code with a couple of dependencies. I think that’s all the fiddlybits. If I missed something let me know. Bob S function filterArray pArrayDataA, pConditions put the defaultFolder & "/" & "tempdatabase.db" into tDBName put arrayToSQLite(pArrayDataA, tDBName, "arraydata")

Re: FindIndex question

2024-03-25 Thread Alex Tweedly via use-livecode
Bob - I think you've mentioned these functions (and posted code, or a pointer to code, for them) before (but I couldn't find it). Any chance you could re-post (or just send to me, or ...) Mike - I couldn't see in the thread *why* you want to use a dg ather than a pg ? Is there a missing

  1   2   3   4   5   6   7   8   9   10   >