Search found 34 matches

by scott_morrow
Wed Mar 12, 2025 3:55 am
Forum: iOS Deployment
Topic: Problem with Mobile Support
Replies: 8
Views: 25297

Re: Problem with Mobile Support

Are you saying that Transporter refused to upload your app? My experience with those warnings has been that the app can still be submitted (up until the April 24 deadline). In most cases it doesn't mean that your app will stop working after the deadline, only that you will need to comply with the sp...
by scott_morrow
Wed Mar 12, 2025 3:42 am
Forum: Talking LiveCode
Topic: keyDown doesn't work on mobile
Replies: 5
Views: 3247

Re: keyDown doesn't work on mobile

I encountered this a while back when testing on an iPad Pro 13inch 2024 (M4) and Magic Keyboard. While the app works on desktop (with a keyboard) and on mobile (with a custom screen number pad) the fancy Magic Keyboard (which appears to work flawlessly otherwise) in LiveCode, doesn't produce keyDown...
by scott_morrow
Tue Mar 11, 2025 9:33 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Printing to PDF stops after some pages
Replies: 12
Views: 8138

Re: Printing to PDF stops after some pages

If you are experiencing this on mobile then one explanation could be that an emoji is encountered in the text being printed. (Bug 22982 was reported and confirmed in 2020 but has not been addressed.) When this happens using print card and close printing the result is "printing failed" and the field ...
by scott_morrow
Wed Jan 15, 2025 5:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: REplace issue in livecode
Replies: 7
Views: 9197

Re: REplace issue in livecode

When you say that "it will not work" do you mean that the leading white space in " sss" is not included in the replace... or something else? Also, I am uncertain why there is an empty "" concatenated to the front and back of " sss". I wouldn't think that this would be functionally different from jus...
by scott_morrow
Fri Jul 26, 2024 8:27 am
Forum: Off-Topic
Topic: Add Quote marks around commas in a text file with code
Replies: 11
Views: 14413

Re: Add Quote marks around commas in a text file with code

Code: Select all

put (QUOTE & COMMA & QUOTE) into tEscapedComma
replace COMMA with tEscapedComma in tUserData
by scott_morrow
Sat Feb 17, 2024 10:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Where did the Quick Search button in the Script Editor Go?
Replies: 10
Views: 4647

Re: Where did the Quick Search button in the Script Editor Go?

When the Search feature disappears from the bottom of my script editor window it invariably requires a new preferences file. I keep some already customized backups handy to save time since this happens with more regularity than seems reasonable... but with no recipe that I can see (yet.) The path to...
by scott_morrow
Tue Sep 26, 2023 12:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Simultaneously scrolling text vertically in two fields
Replies: 23
Views: 26118

Re: Simultaneously scrolling text vertically in two fields

Hello Dan,
I'm glad that you got the problem solved. I have found that one of the great things about LiveCode is the community. Getting help with a problems is invariably met with cheerful optimism and great ideas. If also occasional reminiscing about the "good old days" :)
by scott_morrow
Mon Sep 25, 2023 4:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Simultaneously scrolling text vertically in two fields
Replies: 23
Views: 26118

Re: Simultaneously scrolling text vertically in two fields

Hello Dan, There are several approaches to doing this but the underlying mechanism you probably want will be to catch the "scrollbarDrag" message. The script of field "f1" might look like: on scrollbarDrag set the scroll of field "f2" to the scroll of me end scrollbarDrag Then you could do something...
by scott_morrow
Sat Dec 31, 2022 4:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Watch window disappeared from bottom of script editor - Solved
Replies: 5
Views: 3294

Re: Watch window disappeared from bottom of script editor

When I lose the lower section of the script editor (if that is what you are referencing), in most cases I have been unsuccessful in getting it back unless I trash LiveCode's preferences file. (This issue happens often enough that I keep an updated copy of the preference file handy... so that replaci...
by scott_morrow
Sun Dec 18, 2022 7:01 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [REQ] Control selection during browse mode
Replies: 68
Views: 34537

Re: [REQ] Control selection during browse mode

Ken Ray's Stykz application was one of the most popular apps in my third grade classroom. And by the end of the school year there were usually some hilariously creative products (at least if you were 9.) An amazing piece of work!
by scott_morrow
Mon Sep 12, 2022 7:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need for Speed
Replies: 22
Views: 10866

Re: Need for Speed

I didn't see Dick's function, which left out the "combine" step, until after I posted Richmond's updated test stack. However, I went back and compared these two functions and the one with "combine" ran significantly faster. (sorting had no effect) I assume it is the "as set" form but am not familiar...
by scott_morrow
Mon Sep 12, 2022 6:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need for Speed
Replies: 22
Views: 10866

Re: Need for Speed

I've made some changes to Richmond's stack so that it can compare the three methods for removing duplicates suggested here:
1) Array Keys -- fastest
2) Split / Combine -- next fastest
3) repeat for each -- just a bit slower than split/combine
by scott_morrow
Thu May 12, 2022 9:15 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to recognize a voice?
Replies: 7
Views: 4780

Re: How to recognize a voice?

"How to do it" is a particularly reasonable question in this case since looking up "field" in the dictionary doesn't point to mobileControlCreate, mobileControlSet or mobileControlGet(). While it does show the native field Widget objects, and the Android one does seems pretty comprehensive, neither ...
by scott_morrow
Wed May 11, 2022 10:07 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to recognize a voice?
Replies: 7
Views: 4780

Re: How to recognize a voice?

I don't know your exact use case and this could be quite ugly from a UI standpoint but, might one possible "work around" be to create a native UITextField and use the built-in speech to text feature provided to the field by the OS. Then the app could query the field.
by scott_morrow
Sat Apr 30, 2022 7:59 am
Forum: Talking LiveCode
Topic: Playing with Unicode: A question...
Replies: 24
Views: 10556

Re: Playing with Unicode: A question...

Perhaps Klaus answered this question early on but one use-case that I have had was for converting native LiveCode Unicode glyphs into UTF8 htmlEntities. I had an app that allowed the user to enter text and then submit it as data to be displayed on a web page. In the app, LiveCode works with its nati...