Search found 10 matches

by Krynn
Mon Nov 08, 2021 10:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get date to file
Replies: 11
Views: 3532

Re: get date to file

I suspect the slowest part of that is rendering the long file list in a field. If you don't need to display the list use a variable instead. If it's still too slow we can investigate further. I have about 1000 files. I already store in a variable. The problem was the console that displays 1000x is ...
by Krynn
Mon Nov 08, 2021 10:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get date to file
Replies: 11
Views: 3532

Re: get date to file

"Convert" will not work directly on the ticks. We are changing those to the "seconds" You can convert also to "dateItems" which might give you even more information. Craig thank you very much, it works great It seems so simple. Time for 119 files: - with shell: 34 secondes - with convert date: 0.2 ...
by Krynn
Mon Nov 08, 2021 7:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get date to file
Replies: 11
Views: 3532

get date to file

Hello, I would like to recover the creation date of a file. I can get the date, but it is in the form of ticks. And I don't know how to convert it. put files((fld "Chemin"), detailed) into field "listing" set the itemdelimiter to "," put item 4 of line 1 of field "listing" into TempsCreate I can get...
by Krynn
Mon Mar 18, 2019 8:51 am
Forum: Talking LiveCode
Topic: Encrypt error
Replies: 4
Views: 3468

Re: Encrypt error

Hello AxWald, Your appoche seems very relevant in order to get rid of all the special characters. So I followed your advice and adapt my code. And strength is found that it works great. I adopted it. I have a question, I am not a specialist in the code, and I did not really understand the interest. ...
by Krynn
Fri Mar 15, 2019 10:37 am
Forum: Talking LiveCode
Topic: Encrypt error
Replies: 4
Views: 3468

Re: Encrypt error

no, I do not use binfile
I'm doing the test tonight

Thank you
by Krynn
Wed Mar 13, 2019 11:57 pm
Forum: Talking LiveCode
Topic: Encrypt error
Replies: 4
Views: 3468

Encrypt error

Hello, I have a problem I am using the Encrypt and Decrypt command. But instead of perfectly deciphering the text. I have random characters randomly. At first glance it comes from the fact that I write in a file. When I put the text encrypt in a field. I do not have this problem. I opened the text f...
by Krynn
Fri Dec 29, 2017 2:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: CRLF vs CR&LF
Replies: 3
Views: 3011

Re: CRLF vs CR&LF

Looks line your trying to open a binary file. Look up "binfile" in the dictionary and see if that helps. I had also tried 2 or 3 things with binfile but I didn't succeed. I insisted and in 3 lines of code, it works. thank you :D Krynn for tips get URL "binfile:C:/path/namefile.xxx" put it into lVar...
by Krynn
Thu Dec 28, 2017 11:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: CRLF vs CR&LF
Replies: 3
Views: 3011

CRLF vs CR&LF

Good morning. Hello, I'm looking to get the preview of Windows files. To do this inside the file, I found the text to recover. It's start by "PNG" and ended by "IEND". So I open the file with "open" I read it with "read" and close it with "close". I put "it" in a variable. I search for PNG and IEND ...
by Krynn
Thu Jul 05, 2012 11:22 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: imbricate & repeat
Replies: 4
Views: 2745

Re: imbricate & repeat

Hello

No, I will not go as far as ca. This is the principle.
I should stop to 5 digits.

This is how to proceed me to update.

Bests regards
Krynn
by Krynn
Thu Jul 05, 2012 1:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: imbricate & repeat
Replies: 4
Views: 2745

imbricate & repeat

Hello, I want to nest loops (repeat). But I do not know how to avoid repeat of 10x I have to search a list "a, b​​, c, d, e, f, g, ..." but the devices may be called: "a.log" "b.log" "c.log" "d.log" "aa.log" "ab.log" "ac.log" "bba.log" .... put "a,b,c,d,e,,,,,," into ListeItem repeat with x = 1 to t...

Go to advanced search