Search found 453 matches

by Jellicle
Fri Jan 21, 2022 7:57 am
Forum: Talking LiveCode
Topic: Filtering question
Replies: 19
Views: 9118

Re: Filtering question

Hi, Jellicle. Here's a technique that runs over twenty times as fast as the nested-repeat technique (as coded by SWEdeAndy): function filterWordsWithChars pWords, pChars repeat for each char tChar in pChars filter pWords with "*" & tChar & "*" end repeat return pWords end filterWordsWithChars This ...
by Jellicle
Wed Jan 19, 2022 9:35 pm
Forum: Talking LiveCode
Topic: Filtering question
Replies: 19
Views: 9118

Re: Filtering question

ClipArtGuy wrote:
Wed Jan 19, 2022 7:18 pm

The community installers are still up here:

https://community.livecode.com

And once those are gone, you can find them on archive.org by searching "livecode,inc"
Wow, thanks!

g
by Jellicle
Wed Jan 19, 2022 12:47 am
Forum: Talking LiveCode
Topic: Filtering question
Replies: 19
Views: 9118

Re: Filtering question

SWEdeAndy wrote:
Tue Jan 18, 2022 2:14 pm
Here's a slightly modified version of my first function, which should work in any version of LC:
Yes, that's roughly the method I came up with myself, but on a list with 20,000 or more lines...slow...

I can't find an installable version of 9.5 or higher :(

No, not a Wordle solver!
by Jellicle
Tue Jan 18, 2022 11:50 am
Forum: Talking LiveCode
Topic: Filtering question
Replies: 19
Views: 9118

Re: Filtering question

Thanks! I'm getting an error - I'm on the community version of LiveCode (9.0.2) so the form of the filter command you are using may not be available for me. The error is in this line: filter lines of tData where checkLine(each) into tDest The error messages says the compiler was expecting "with"...
by Jellicle
Tue Jan 18, 2022 5:06 am
Forum: Talking LiveCode
Topic: Filtering question
Replies: 19
Views: 9118

Filtering question

I have a list of words, one to a line. I want to filter that list to include only those that contain every letter in a string. So if my string = "aefg" I want to find only those words in my list that contain those characters (in any order). How do I that? Is the filter command my best option? Thanks...
by Jellicle
Sat Jan 20, 2018 11:59 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Downloading pdfs
Replies: 8
Views: 6326

Re: Downloading pdfs

AndyP wrote:
Fri Jan 19, 2018 12:27 pm
A variation on the previous method
Your script worked perfectly! This forum saved my bacon years ago, and again today :)

Thanks Andy, Klaus!

Gerry
by Jellicle
Fri Jan 19, 2018 5:06 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Downloading pdfs
Replies: 8
Views: 6326

Re: Downloading pdfs

Hi again I tried again with a known, valid .pdf. The following returns "can't open file": put specialfolderpath("desktop") & "/" into tTargetFolder put "http://www.africau.edu/images/default/sample.pdf" into tSourceFolder put url(tSourceFolder) into url("binfile:" & tTargetfolder) answer the result ...
by Jellicle
Fri Jan 19, 2018 1:23 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Downloading pdfs
Replies: 8
Views: 6326

Re: Downloading pdfs

Ok, seems the server is funky in the way it's handling the pdfs. When you go to https://websever.com/1 or https://websever.com/1.pdf in a browser, a pdf loads. But when I run your code, it creates an empty pdf. The error I get when I try to open it in Preview is "The file “2.pdf” could not be opened...
by Jellicle
Thu Jan 18, 2018 10:46 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Downloading pdfs
Replies: 8
Views: 6326

Re: Downloading pdfs

Klaus wrote:
Thu Jan 18, 2018 1:20 pm
HI Gerry,

welcome back! :D
Thanks, but it's not for long :)

And thanks for your help. It's amazing what you forget in such a short time :)

Gerry
by Jellicle
Thu Jan 18, 2018 11:32 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Downloading pdfs
Replies: 8
Views: 6326

Downloading pdfs

I used to be a LiveCode developer but I've been away from the platform for a few years. I have 524 pdf files on a web server, at http://webserver.com/1 to http://webserver.com/524. I want a script that will download them all to a folder on my desktop (one at a time is fine, and it doesn't have to be...
by Jellicle
Fri Apr 03, 2015 1:28 am
Forum: MergEXT
Topic: mergTestApp broken in 6.7.4
Replies: 5
Views: 5427

Re: mergTestApp broken in 6.7.4

Thanks mate :)

g
by Jellicle
Wed Apr 01, 2015 7:48 am
Forum: MergEXT
Topic: mergTestApp broken in 6.7.4
Replies: 5
Views: 5427

Re: mergTestApp broken in 6.7.4

monte wrote:Hmm... which button are you clicking? Test Flight no longer works obviously... I might look at test fairy to replace that function.
FruitStrap button.

g
by Jellicle
Fri Mar 27, 2015 1:22 am
Forum: MergEXT
Topic: mergTestApp broken in 6.7.4
Replies: 5
Views: 5427

mergTestApp broken in 6.7.4

Monte, for me mergtestApp fails silently on LC 6.7.4 and xCode 6.2.

g
by Jellicle
Wed Feb 25, 2015 11:16 am
Forum: iOS Deployment
Topic: Issues with 64-bit iOS (LC 6.7.2 RC 2 and LC 7.0.2 rc 2)
Replies: 17
Views: 11061

Re: Issues with 64-bit iOS (LC 6.7.2 RC 2 and LC 7.0.2 rc 2)

LCNeil wrote:as we will have a new release available soon
Neil, can you give us an update on this?

Gerry

Go to advanced search