Search found 52 matches

by bbalmerTotalFluency
Wed Apr 10, 2024 5:12 am
Forum: Off-Topic
Topic: A quick compliment for the livecode team
Replies: 8
Views: 387

A quick compliment for the livecode team

I know you receive compliments quite often especially about the language itself - but hey! It's never bad to be reminded of something good. I just want to say what a delight this language is. It's a very mature environment and that shows up every day. I was just trying to scroll to a specific line i...
by bbalmerTotalFluency
Mon Mar 11, 2024 4:53 am
Forum: Talking LiveCode
Topic: Reading and writing text to / from a file
Replies: 26
Views: 1739

Re: Reading and writing text to / from a file

OP here: A lively and useful discussion. Thanks. I don't disagree with anyone saying use a db - not an option right now in this particular case. Otherwise, yes, that is the simple solution. Bernd's test address the heart of my issue. put URL =. 190ms is fine. And in my case, the files are smaller an...
by bbalmerTotalFluency
Sat Mar 09, 2024 9:35 am
Forum: Talking LiveCode
Topic: Reading and writing text to / from a file
Replies: 26
Views: 1739

Re: Reading and writing text to / from a file

Hi OP here: The heart of the matter is being discussed. It isn't a memory constraint (fortunately). But let's be extreme for clarity. Let's say I have temperature records like this 2024-03-08,Calgary,30C 2024-03-08,London,12C etc. And I have such records for each of 1,000 cities. So I have 1,000 rec...
by bbalmerTotalFluency
Fri Mar 08, 2024 10:42 am
Forum: Talking LiveCode
Topic: Reading and writing text to / from a file
Replies: 26
Views: 1739

Re: Reading and writing text to / from a file

Thanks. I found your answer after a bit of confusion.
by bbalmerTotalFluency
Fri Mar 08, 2024 9:24 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Weird can't redraw chart problem - solved
Replies: 6
Views: 903

Re: Weird can't redraw chart problem - solved

The redraw is automatic on osx but not on the iPhone, at least not for me. I had expected the auto-redraw behaviour and was surprised when i didn't get it. In the end changing the dataBackgroundColors provoked a redraw.
by bbalmerTotalFluency
Fri Mar 08, 2024 9:15 am
Forum: Talking LiveCode
Topic: Reading and writing text to / from a file
Replies: 26
Views: 1739

Reading and writing text to / from a file

Hi: I have a file with 50,000 rows of about 25 chars per row. I only need to read roughly the most recent 200 rows until something is true and it saves time not to load the entire file using put ULR "file:filename" into tWhatever I can append data to the file easily (a line at a time) but then I'd h...
by bbalmerTotalFluency
Wed Feb 21, 2024 8:03 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Force a redraw or refresh of the screen...[Solved]
Replies: 26
Views: 14189

Re: Force a redraw or refresh of the screen...

This didn't work for me UNLESS I put that command in a named command in my stack. Even then it doesn't work if I call that named command directly. It DOES work if I send "namedCommand" to this stack in 10 milliseconds.

I don't know if the delay is necessary or not. It's working for me as it stands.
by bbalmerTotalFluency
Wed Feb 21, 2024 7:56 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Weird can't redraw chart problem - solved
Replies: 6
Views: 903

Weird can't redraw chart problem - solved

Hi: I want to alter the data on a chart and then redraw the chart to reflect new colours and new data. 1. There is no "redraw" command in the chart widget to trigger a redraw 2. People have said that "set the backgroundColor of me to the backgroundColor of me" sent from the card will cause a redraw ...
by bbalmerTotalFluency
Mon Feb 12, 2024 8:30 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: on playStopped
Replies: 4
Views: 557

on playStopped

Hi: on playStopped just stopped working for me out of the blue. Was working previously. I am on sonoma 14.2.1 livecode 10.0.0-dp-7 | Build 20006 It was working yesterday and I haven't changed my code since it was last working (not that I recall). I have rebooted since the problem started. No luck An...
by bbalmerTotalFluency
Sun Jan 21, 2024 1:20 pm
Forum: Multimedia
Topic: currentTime of player never equals duration of player
Replies: 9
Views: 1686

Re: currentTime of player never equals duration of player

Thanks ALL. In the end I see the elegance and simplicity of the original reply using the callbacks and now everything works properly, so I'm going to stick with that as the thing that feels like the most correct way to handle my problem. The reason for the short duration is that it is just an audio ...
by bbalmerTotalFluency
Thu Jan 18, 2024 3:03 pm
Forum: Multimedia
Topic: currentTime of player never equals duration of player
Replies: 9
Views: 1686

Re: currentTime of player never equals duration of player

You have not misunderstood my question. I was just taking advice on a way to solve this problem using currentTime and Duration (which makes logical sense to me). I guess I will have to use the solution you propose (not reluctantly, gratefully), but I'd like to understand first why my currentTime nev...
by bbalmerTotalFluency
Thu Jan 18, 2024 2:43 pm
Forum: Multimedia
Topic: currentTime of player never equals duration of player
Replies: 9
Views: 1686

currentTime of player never equals duration of player

Hello: I'm using a player object on macOS to play some audio. I want to do something once the file has stopped playing. I have been advised that some code like this will do the trick - if the currentTime of player "audio" >= the duration of player "audio" then .... do whatever. Makes sense However, ...
by bbalmerTotalFluency
Thu Jan 11, 2024 11:40 am
Forum: iOS Deployment
Topic: How do I get the glorious Chart Widget to repaint on iOS
Replies: 0
Views: 261205

How do I get the glorious Chart Widget to repaint on iOS

Updated - PROBLEM RE SOLVED. Answer here to save times for others. Situation: The wonderful chart widget (which is awesome) has no repaint command. On macOSX if you change the data, the chart redraws itself. Very logical. On iOS it does not repaint itself. I tried lots of stuff. In the end here is t...
by bbalmerTotalFluency
Thu Nov 16, 2023 4:23 pm
Forum: iOS Deployment
Topic: Copy & Paste Madness
Replies: 6
Views: 10314

Re: Copy & Paste Madness

What's the word for a guess born of desperation? It was one of those. I've looked in the dictionary, of course, but having found no reference to such a command did not know that that necessarily meant such a command didn't exist and that the listing was a full list of commands. Knowing that now (I'm...
by bbalmerTotalFluency
Wed Nov 15, 2023 2:37 am
Forum: iOS Deployment
Topic: Copy & Paste Madness
Replies: 6
Views: 10314

Copy & Paste Madness

Hi: I wouldn't ask, but I've spent hours and I can't find what I'm looking for. I have an iOS app with an iOS native text field with some text in it. I want to make a button that first selects all the text in the field and then copies it to the iPhone clipboard. I cannot find any reference to how to...

Go to advanced search