Re: Which git service suits a LiveCoder best?

2020-04-27 Thread Andreas Bergendal via use-livecode
As to the ’how’, I planned to move into script-only stacks more anyway, and will also test the Levure framework, and/or Script Tracker. I’m not sure if those two are compatible though? I mean, if I use Levure framework I can’t (needn’t?) use Script Tracker as well, right? Anyway, with the help

Which git service suits a LiveCoder best?

2020-04-22 Thread Andreas Bergendal via use-livecode
Hi everybody, first time posting to this list, so I hope I get it right… :) I need your wisdom on a slightly off-topic issue, though seen in the LiveCode perspective: I’ve never used git, but I want to start now. I’m working on several LC projects, some with co-developers, several with

Re: Which git service suits a LiveCoder best?

2020-04-23 Thread Andreas Bergendal via use-livecode
Thanks everyone for your feedback and insights. Nothing speaks against GitHub, it seems, so I’ll give that a try then. Andreas ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Modal stacks cpu usage

2020-10-05 Thread Andreas Bergendal via use-livecode
Indeed, when I open the Message box and click the Pending messages tab, two messages always keep running there: _EnsureAccept (seems to have to do with the remote debugger library?) _revInternal_SavePreferences Just LC 9.6.1 running, no stacks. I’m also on Mojave. J. Landman Gay via

Re: LC iOS Command 'mergPopActivity'

2020-10-19 Thread Andreas Bergendal via use-livecode
Graham wrote: ”[…] iOS Deployment, for me a nightmare compared with simply coding and debugging.” Indeed - I know the feeling, as do many of us, I believe. I wise man (Richard Gaskin actually) once said: ”Mobile development is like building a ship in a bottle.” I find that a very apt and

iOS app erratically freezing up when loading audio files

2020-09-29 Thread Andreas Bergendal via use-livecode
Hi folks, I really need your help now. I’m developing a simple app for a client, to be run on iPads in an exhibition starting 8th Oct. It consists of two cards: a gallery card, with 16 photos a profile card which you go to by clicking a photo on the gallery card On the profile card this is

Re: iOS app erratically freezing up when loading audio files

2020-09-30 Thread Andreas Bergendal via use-livecode
Unfortunately, it didn’t work. It actually crashes the app in Simulator after doing it twice(!). On the first go, it's loading the audio file, by first setting the path to empty, then to the actual path. All is fine. Going back to gallery card, the player is stopped and deleted (as intended,

Re: iOS app erratically freezing up when loading audio files

2020-09-30 Thread Andreas Bergendal via use-livecode
Thanks Jacqueline, I’ll try that! I use LC business 9.6.1 stable, Xcode 11.3.1 J. Landman Gay via use-livecode Tue, 29 Sep 2020 22:17:57 -0700

Re: numberformat question

2021-03-23 Thread Andreas Bergendal via use-livecode
A few years back I needed calculation to a precision of 300 decimals. I found a js solution by -hh in the forum, which solved my need: https://forums.livecode.com/viewtopic.php?f=93=29018=30 It runs in a browser widget, with easy input

Testers wanted for score tracking app

2021-09-30 Thread Andreas Bergendal via use-livecode
Hi all, I’ll soon release an app made with LiveCode to the App Store, but I’d like to have a few more external testers first to catch whatever I’ve missed. The app is called MölkkyMaster and is used for tracking the score when playing the outdoor throwing game Mölkky. The game is popular in

Re: Testers wanted for score tracking app

2021-09-30 Thread Andreas Bergendal via use-livecode
Thanks Mark! Here is a decent video on how to play (less than 2 minutes) https://www.youtube.com/watch?v=3fwtBomGp7Q And here are the basics in text: --- 12 wooden pins, numbered 1-12, are set up close together. Players stand 3-4 meters away and

iphoneDeviceModel lookup library

2021-10-03 Thread Andreas Bergendal via use-livecode
Hi guys, This is for those of you who develop for iOS. We all know the challenge of getting the layout right for various iOS screens. ”The notch” (camera area at the top) is especially annoying, since there’s no easy way of knowing if the user’s device has one or not, and how many pixels it is

iphoneDeviceModel lookup library

2021-10-04 Thread Andreas Bergendal via use-livecode
Status update: I've updated the library with a minor correction (two iPhone 11 versions with notch that weren't included in the script constants). I've also improved the demo stack a lot, so that it now works in the Simulator, if you indicate which device you will simulate, before deploying.

Invalid mac/ios standalone engine file

2021-12-31 Thread Andreas Bergendal via use-livecode
Hi all, So, following the release of LC 9.6.6 rc1, I took the plunge and upgraded my Mac to Monterey (12.1) and Xcode to 13.2.1. I now want to build an iOS15 version of my app and upload to AppStore, to prevent the crashing that has occurred for users with the iOS14 version. Everything works

Re: Invalid mac/ios standalone engine file

2021-12-31 Thread Andreas Bergendal via use-livecode
Hi Panos, I had set the minimum deployment target to 15.0 or later. Changing it to 9.0 or later solved the problem! The new standalone was successfully deployed to device, as well as submitted for review on AppStore. I got this warning feedback (on top of the traditional "ITMS-90078: Missing

Rounding in LiveCode vs Excel

2022-01-09 Thread Andreas Bergendal via use-livecode
Hi all, TLDR; In LC: round(0.5,0) = 1 (Excel agrees) round(5,-1) = 0 (Excel disagrees and makes that 10!) I agree with Excel, I want the latter rounded to 10, not 0. Is LC doing it ’wrong’ and if so, why? Long version: I’m building software for a client that will do some calculations that

Re: Rounding in LiveCode vs Excel

2022-01-09 Thread Andreas Bergendal via use-livecode
> Will using "statround()" instead of "round()" give you an Excel-comparable > outcome? Unfortunately not, I tried that too. /Andreas ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Excel_Lib on Mac

2022-03-16 Thread Andreas Bergendal via use-livecode
I’m confused - we’re talking Excel Lib by Zryip TheSlug, right? I’m using v.1.5.3, and it works very well for opening/editing Excel files on my Mac (12.2 Monterery, Excel 16.59, LC9.6.7 rc1). I can’t remember if at first use I had to grant some permissions of some kind, but now it works without

Re: Excel_Lib on Mac

2022-03-16 Thread Andreas Bergendal via use-livecode
Matthias wrote: > where did you get 1.5.3 from? I have still 1.5.0 and in the download section > for the commercial version of the library there is still 1.5.0 and not 1.5.3. Heh, yes, I reported some problems to Zryip in January and he promptly fixed them each time and sent updated versions

Print to pdf fails on Windows with multiple pages

2022-03-24 Thread Andreas Bergendal via use-livecode
Hi all, TL;DR: App/IDE crashes/fails when printing 30+ pages to single pdf, using Windows 10. Works fine on Mac. Windows memory issues? Long version: I have a stack/app where a crucial feature is printing to pdf. Om Mac (LC 9.6.6 or 9.6.7 rc1) this works flawlessly with 156 posts, resulting

Re: Print to pdf fails on Windows with multiple pages

2022-03-24 Thread Andreas Bergendal via use-livecode
Hi Panos, Interesting, I had not seen that bug report. Yes, it’s the same issue, and unfortunately it seems not fully solved in 9.6.x. I tried using 9.6.7 rc 2 Win 32bit and built both a 32bit and 64bit standalone, but neither did any better really. They can sometimes succeed on first run to

Re: Rounding in LiveCode vs Excel

2022-01-18 Thread Andreas Bergendal via use-livecode
Just to follow up on the rounding issue: Panos has now confirmed that round(5,-1) = 0 is indeed a bug, since at least LC 6(!!!): https://quality.livecode.com/show_bug.cgi?id=23522 /Andreas ___

Your scripts as a flowchart

2023-09-15 Thread Andreas Bergendal via use-livecode
Hi all! Those frequenting the forums may have seen this already, but I thought I'd share it here too now: If you want to see a graphic map of the inter-relations of all the handlers in the scripts of your LiveCode projects, my tool ScriptDependencies now features an extremely cool flowchart

Re: Your scripts as a flowchart

2023-09-15 Thread Andreas Bergendal via use-livecode
Thanks, that’s great to hear, Mark! (And terribly sorry for the credit misnaming - it’s Mark! I’ll remember that now!) > 15 sep. 2023 kl. 17:47 skrev Mark Wieder via use-livecode > : > > Just want to add that Andreas has been super-responsive to suggestions re > adding features and improving

Re: Your scripts as a flowchart

2023-09-16 Thread Andreas Bergendal via use-livecode
As long as you include all the script-only stacks in the analysis, they will be handled. The tool will not look for behaviors and auto-include them. Every stack that has relevant code must be included manually in the project pane. If you have many SoSs, you can quickly add them all by adding

Re: Your scripts as a flowchart

2023-09-18 Thread Andreas Bergendal via use-livecode
igator reports: >> >> 302986 characters in >> 8092 lines in >> 112 scripts in >> 885 objects. >> >> ScriptDependencies reports: >> >> 341 unique handler names - 407 commands, 124 functions, 1 setProps >> >> regards, >&

Re: Re: Regex negative lookahead not working in LC?

2023-08-19 Thread Andreas Bergendal via use-livecode
> Nope. > https://quality.livecode.com/show_bug.cgi?id=21534 Oh no! Well, cumbersome workaround it is then… Thanks Jacque! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Regex negative lookahead not working in LC?

2023-08-19 Thread Andreas Bergendal via use-livecode
Hi all, I’m trying to run a matchChunk regex on an LC script text, with the aim of scoring a hit only if a word is NOT commented out by one of the comment methods. This regex works beautifully when tested in regex101.com (PCRE flavor): (?i)^(?:(?!--|#|\/\/).)*\b(myHandler)\b When applied on

Re: A few issues with web apps

2022-08-19 Thread Andreas Bergendal via use-livecode
Thanks for the hint, Panos - that is useful to mention for those who want to try it. However, that is not my problem - I’ve already done that! Kangaroo’s stack works as advertised, as is (with dp-4 mod): https://wheninspace.com/test/WebScrollField.html

Re: A few issues with web apps

2022-08-19 Thread Andreas Bergendal via use-livecode
Bah, I can only get Kangaroo’s scroller trigger to work if deployed in a separate standalone. No matter how I try to integrate the code in my portal, it just doesn’t trigger. In any case, the code that works in desktop web browsers doesn't work in mobile browsers, so there is still a problem

Re: A web app launcher with responsive design

2022-08-18 Thread Andreas Bergendal via use-livecode
I have now redesigned the portal page and made it much more responsive and also with clearer sections for the example stacks: https://wheninspace.com/portal/ (You may need to clear the browser cache, or open the link in a private browser window if it looks the

A few issues with web apps

2022-08-19 Thread Andreas Bergendal via use-livecode
Hi Jacque, 1. I can’t test on Android, but I doubt an Android native field would solve the problem here, as the platform is Web, thus not really natively Android. The LC web engine doesn’t seem to know where it is running, apart from "in a browser”… But do try putting an Android native field

Re: How to use addEventListener for browser window resizing in web deployment?

2022-08-06 Thread Andreas Bergendal via use-livecode
Wow, thanks Alex! That’s brilliant and exactly what I need! I must have missed (or forgotten) that session at the conference - I’ll try to find it among the recordings to see if it helps explaining the various bits a little. In any case I’ll experiment with the code and see what I can get to

Re: How to use addEventListener for browser window resizing in web deployment?

2022-08-06 Thread Andreas Bergendal via use-livecode
Thanks guys, those are indeed great resources for many cases. What I’m after here however, are specific solutions to the javascript/livecode ’pairing’ of code to manage browser window/stack resizing. To avoid reinventing the wheel, if possible. I imagine this would be of great interest to a

How to use addEventListener for browser window resizing in web deployment?

2022-08-06 Thread Andreas Bergendal via use-livecode
Hi all, So I’ve been experimenting with web deployment with LC 10 dp 4. Now I would like my stack to be able to react to resizeStack events when the browser window is resized by the user. Or to adapt to e.g. a mobile browser screen size. For this, if I understand correctly, some javascript

Re: A web app launcher with responsive design

2022-08-14 Thread Andreas Bergendal via use-livecode
in very quick (a second or two) on subsequent loads. It looks > like you’ve got a lot of the tech working with objects and screens and the > adaptive resizing. When I do get around to getting into this (and it looks > very enticing) I’ll know where to go for help :) > > Mark > > >&

A web app launcher with responsive design

2022-08-13 Thread Andreas Bergendal via use-livecode
Friends, I have done wonderful things with LC10 web deployment! I’m excited to share with you the fruits of this week's extensive research and testing! TL;DR: Try this: https://wheninspace.com/portal/ Long version: I wanted to do two things: 1) Like we often

Re: Training the AI to write better LiveCode

2023-01-22 Thread Andreas Bergendal via use-livecode
In all this, let’s not forget the aspect of simply enjoying coding. Many of us would never stop coding just because a pattern-matching language model can produce ”better” code - just like people haven’t stopped playing chess or go, just because a computer can do it better. Coding is an art.

Re: LC Date Conversions post 2035

2022-11-06 Thread Andreas Bergendal via use-livecode
Had to test this out of curiosity. Indeed, when using 2-digit year, that is the result, as expected and explained in the dictionary entry for centuryCutoff. But how far does the 4-digit conversion work? Here’s what I’ve found: - On Windows 10, it works until year 3000, and stops working on year

Tool for mapping and analysing handler dependencies

2023-03-16 Thread Andreas Bergendal via use-livecode
Hi guys, I’ve made a stack/tool that goes through any stacks you throw at it and maps their script handlers, then checks which handlers are calling which, displaying handler chains and interdependencies etc. https://github.com/wheninspace/WIS_ScriptDepedencies The purpose is to find out which

A spinner that keeps spinning

2023-05-02 Thread Andreas Bergendal via use-livecode
Hi all, It has long annoyed me that the spinner widget doesn’t actually spin when you need it to - during lockScreen or when a database fetch blocks everything. Animated gifs are no better. Inspired by some comment over at the forum, I embarked on building myself a tool for crafting spinners

Re: Re: A spinner that keeps spinning

2023-06-06 Thread Andreas Bergendal via use-livecode
Just an update on the browser animation tool, which has had a major upgrade: Version 2.0 has a new set of 12 modern spinners. They also include a script that enables you to easily change the color of the spinner, and the background of the widget, on the fly, even after copying it to your own

Re: Re: A spinner that keeps spinning

2023-05-13 Thread Andreas Bergendal via use-livecode
Actually, my phrasing it that the web deployment of the browser animation tool is ”just for show” was being a bit unfair to it (I’ll blame not being a native English speaker :). It works very well as a web application, except for the - until now - inability to actually let you copy and use the

Re: A spinner that keeps spinning

2023-05-12 Thread Andreas Bergendal via use-livecode
Just a note that an improved version of WIS_BrowserAnimation has been released: Version 1.0.4 - More efficient CSS code handling - only CSS code needed for the chosen animations is now included - Added the possibility to animate text, with various fonts and styles - The html/css code is now

Re: A spinner that keeps spinning

2023-05-12 Thread Andreas Bergendal via use-livecode
Peter, Well no, the web deployment is just for show, really. It’s the LC stack that is the actual tool, that you should download from GitHub to use. From the stack you can copy the widget or the code as you prefer. I don’t think it’s currently possible to get the content of a field in web

Re: A spinner that keeps spinning

2023-05-03 Thread Andreas Bergendal via use-livecode
Thanks everyone for testing it and for your kind comments. :D I have now updated the tool with the possibility to set the duration of the animations. This is quite good, as many of the animation effects are rather frantic, but with this new ability to slow them down they become more useful in

Re: web

2024-02-12 Thread Andreas Bergendal via use-livecode
I agree that the standalone builder pane for web deployment is strangely under-functional (it would be so easy to just add a few options for title, background colour of the page, custom logo link etc), and it could also so easily include a resize listener per default in the html file.

Re: Livecode Demo of two way javascript communication?

2024-02-07 Thread Andreas Bergendal via use-livecode
> 5 feb. 2024 kl. 20:40 skrev David Bovill via use-livecode > : > > Perfect - just what I was looking for. Can you share the stack, and the > steps to saving / exporting the standalone? > > On Sat, 27 Jan 2024 at 17:50, Andreas Bergendal via use-livecode < > use-livec

Re: Should I upgrade to Xcode 15.0 or 15.1?

2023-12-18 Thread Andreas Bergendal via use-livecode
; >>> For the purposes of notarization of macOS apps, I have seen no >>> difference between Xcode 15 and 15.1 under Sonoma on a macBook Air (M1 >>> processor) >>> >>> I don't developer iOS apps though, nor do I use Xcode for anything other >>>

Should I upgrade to Xcode 15.0 or 15.1?

2023-12-16 Thread Andreas Bergendal via use-livecode
Hi all, I’ve just taken the step to MacOS Sonoma (14.2), and now intend to upgrade Xcode from 14.x to 15. But I'm unsure of which version to go for, as the latest LC release notes say Xcode 15.0 and LC is usually quite picky about it. I don’t want to download and install all the gigabytes of

Re: Should I upgrade to Xcode 15.0 or 15.1?

2023-12-21 Thread Andreas Bergendal via use-livecode
MacOS and Xcode versions. No thank you please. >> >> Of course I am not selling my apps so it doesn’t matter very much to me. For >> those of us that produce commercial apps, it matters very much. >> >> Bob S >> >> >>> On Dec 21, 2023, at 5:41

Re: Your scripts as a flowchart

2023-12-13 Thread Andreas Bergendal via use-livecode
Latest WIS_ScriptDependencies update: 1.1.6 (12 Dec 2023) - Enhancement: If the Kroki service is down, so no png/svg can be produced, a dialog is presented giving the choice to render the flowchart as html instead - Enhancement: Improved design of the help section and the flowchart settings

Re: Should I upgrade to Xcode 15.0 or 15.1?

2023-12-21 Thread Andreas Bergendal via use-livecode
Just for fun, and because Mermaid is my new toy, I threw together a small web stack that shows the various LC-Xcode-macOS-iOS combinations in a sankey diagram, where you can also change the order of how they are displayed. I added some Xcode versions that are NOT compatible with LiveCode too,

Re: Your scripts as a flowchart

2023-12-03 Thread Andreas Bergendal via use-livecode
gt; > I hope this is helpful, > > Derek Bump > > > On 11/30/23 14:45, Andreas Bergendal via use-livecode wrote: >> Hi all, >> >> Finally I can answer Yes to the question on exporting script flowcharts! >> New version of WIS_ScriptDependencies available: >

Re: Does the browser widget work?

2023-12-08 Thread Andreas Bergendal via use-livecode
It works for me (LC 9.6.11, Mac). Impractically, the browser widget only shows its content with browse tool selected, not pointer tool. But I suppose your problem isn’t that simple, right…? :) > 8 dec. 2023 kl. 22:42 skrev Geoff Canyon via use-livecode > : > > set the url of widget 1 to

Re: Your scripts as a flowchart

2023-11-30 Thread Andreas Bergendal via use-livecode
Hi all, Finally I can answer Yes to the question on exporting script flowcharts! New version of WIS_ScriptDependencies available: v1.1.5 (30 Nov 2023) - Enhancement: Flowcharts can now be produced and exported as PNG or SVG. On Windows and Linux the flowchart is now always displayed in-stack,

Re: Livecode Demo of two way javascript communication?

2024-01-27 Thread Andreas Bergendal via use-livecode
AC-sIE > > Apart from triggering handlers in both directions passing (json) data in > both directions is needed. > > On Thu, 25 Jan 2024, 20:35 Andreas Bergendal via use-livecode, < > use-livecode@lists.runrev.com> wrote: > >> I’ve created some web deployment

Re: Livecode Demo of two way javascript communication?

2024-01-25 Thread Andreas Bergendal via use-livecode
I’ve created some web deployments where the web page interacts with the stack e.g. in the sense that a change of the browser window rect triggers a resizeStack message in the stack. But I’m not sure if by bidirectional you mean that actions in the stack should also affect the web page in some

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

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:

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