Search found 73 matches

by matgarage
Thu May 15, 2025 8:28 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Combine several criteria in a search field
Replies: 19
Views: 6153

Re: Combine several criteria in a search field

Stam, I'm convinced that REGEX is a powerful tool that I need to add to my skill set.
Thanks for these links.
I'm putting ‘Exploring the power of REGEX’ on my to-do list.
by matgarage
Wed May 14, 2025 1:56 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Combine several criteria in a search field
Replies: 19
Views: 6153

Re: Combine several criteria in a search field

I was really looking forward to putting your advice into practice. Nice, all three solutions work. I've adapted the jaque script a little to work directly in my search field. In the end, REGEX the Jaque way isn't so complicated. The pipe symbol is not beyond my skills. It's the simplest and most eff...
by matgarage
Tue May 13, 2025 4:50 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Combine several criteria in a search field
Replies: 19
Views: 6153

Re: Combine several criteria in a search field

Whouaou

I've been away for a few days, so I'm delighted that my question didn't find Livecode's limits.
Too busy today to get back to coding, I'm saving myself a slot tomorrow to try out these solutions.

However, I hope that ‘REGEX’ won't give me nightmares tonight...
by matgarage
Thu May 08, 2025 4:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Combine several criteria in a search field
Replies: 19
Views: 6153

Re: Combine several criteria in a search field

You're right, Craig. I'll have to rethink my strategy. My script systematically retrieves the original content in the custom Properties to apply the filter with each character entered. But that's not possible for a multi-criteria search. I'm going to think about a simple integration for the user, fo...
by matgarage
Thu May 08, 2025 1:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Combine several criteria in a search field
Replies: 19
Views: 6153

Re: Combine several criteria in a search field

Hello Richmond62 ‘Rval’ is the value of what I want to search for in the datagrid rows. In your script, if my search value is ‘white’ I would get: PULPwhiteStrawberry Right ? In the dictionary, the ‘filter’ function offers the following options: * and ?, and others focused on individual characters. ...
by matgarage
Thu May 08, 2025 8:11 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Combine several criteria in a search field
Replies: 19
Views: 6153

Combine several criteria in a search field

Hi I'm trying to filter the lines in a data grid with a search field. The data of the data grid is stored in a custom property of the stack, and I put it in a variable "tBaseValue" for the filter. The variable "rval" is the content of the search field. My command is : filter lines of tBaseValue matc...
by matgarage
Thu Feb 27, 2025 9:53 am
Forum: iOS Deployment
Topic: Problem with Mobile Support
Replies: 8
Views: 25297

Re: Problem with Mobile Support

Thank you for these answers.
My goal is to use the test function on the device (iPhone 12 in my case) in Livecode.
I'm going to test it with the RC-3 version.
It's good news that iOS 18 integration is in the road map.
by matgarage
Wed Feb 26, 2025 4:03 pm
Forum: iOS Deployment
Topic: Problem with Mobile Support
Replies: 8
Views: 25297

Re: Problem with Mobile Support

I continued my research on my own: 1 - It doesn't seem possible to install an older SDK on Xcode ( only the Device Simulator is available) 2 - The iOS SDK 17 version is available in Xcode 15, which is not compatible with Mac OS Sequoia. 3 - I find some hacks to install an unsupported version of the ...
by matgarage
Tue Feb 25, 2025 3:19 pm
Forum: iOS Deployment
Topic: Problem with Mobile Support
Replies: 8
Views: 25297

Problem with Mobile Support

Hello everyone I have a problem with the iOS SDK integration. I'm using Livecode 10 on Mac OS Sequoia 15.3.1 and Xcode 16.2. When I try to set the iOS SDK by pointing to Xcode, I get an error message: The chosen folder is not a valid iOs SDK. Selected Xcode must have an iOS SDK among: 14.4 15.2 16.2...
by matgarage
Thu Mar 21, 2024 8:36 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: CSV UTF-8
Replies: 7
Views: 3940

Re: CSV UTF-8

stam wrote:
Thu Mar 21, 2024 1:04 am

Code: Select all

put numToCodepoint(0xFEFF) before tVariable 
put textEncode (tVariable, "UTF-8") into URL ("binfile:" & tFilePath)
It works !!! Nice.
Thanks to all for your help
by matgarage
Thu Mar 21, 2024 8:31 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: CSV UTF-8
Replies: 7
Views: 3940

Re: CSV UTF-8

I don't know anything about how using a Mac would affect this, but have in the past used text files with BOM generated from LC on Windows to be read by TV station tricaster in RTL languages. I wonder whether the order of the steps of your file creation might be part of the issue? Just maybe put num...
by matgarage
Wed Mar 20, 2024 4:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: CSV UTF-8
Replies: 7
Views: 3940

Re: CSV UTF-8

Hi Klaus The BOM is the a solution for my issue. My IT colleague had to set the "BOM" option when he export for me CSV file from PHP engine. I have tried this on my code : put textencode(tVariable,"UTF-8") into tVariable put numtoByte(238) & numtoByte(187) & numtoByte(191) before tVariable put tVari...
by matgarage
Wed Mar 20, 2024 2:08 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: CSV UTF-8
Replies: 7
Views: 3940

CSV UTF-8

Hello, I'm trying to generate a CSV UTF-8 with Livecode. I use CSV with an Adobe Illustrator plugin to generate variable data printing. Using Excel's "CSV UTF-8" saving option, everything works correctly for French characters accents. However, I can't generate a CSV with accents that is recognized b...
by matgarage
Fri May 17, 2019 2:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Shell command
Replies: 2
Views: 3221

Re: Shell command

Nice !
You're right, with the full path it's working perfectly now.

Thanks :)
by matgarage
Fri May 17, 2019 9:12 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Shell command
Replies: 2
Views: 3221

Shell command

Hi I'm using a command line tool to generate link for file on our ftp server. The command line tool is part of commercial FTP server software and I'm using it to automate our workflow. The command is in this form : DropShip server_adress login password path_to_the_file_to_send When I test it on Term...