Search found 11 matches

by micro04
Fri Dec 18, 2020 11:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Regex not working
Replies: 18
Views: 1455

Re: Regex not working

Thanks,
Got it working, must have the word regex in the program line.

Code: Select all

 filter lines of field "fld_text" matching regex "[X]\d{5}[Y]\d{5}" into field "fld_results"
by micro04
Fri Dec 18, 2020 12:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Regex not working
Replies: 18
Views: 1455

Re: Regex not working

That should help.
Still want to find out why the regex was not working. Livecode regex must be different from other programming languages.
by micro04
Thu Dec 17, 2020 11:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Regex not working
Replies: 18
Views: 1455

Re: Regex not working

Thanks for replying. I do not thinks this would work for what I am trying to do. I need to find lines of data that match this general pattern. I am not trying to find specifically X12345Y12345. I need to find any line that only contains X{5 digit number]Y{5 digit number}. examples: X89888Y45678 X458...
by micro04
Thu Dec 17, 2020 5:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Regex not working
Replies: 18
Views: 1455

Regex not working

I can not get the Rexex expression to work correctly. I am tying to find lines matching the pattern X12345Y12345 from a very long list. The pattern [X] will works, but I want to make sure I match X followed by a 5 digit mumber then Y followed by a 5 digit number. Found a regex test web site, but Liv...
by micro04
Tue Dec 15, 2020 12:10 am
Forum: Linux
Topic: Linux permissions
Replies: 1
Views: 917

Re: Linux permissions

Figured out what the problem was. I was trying to change the permission of the file on a USB Drive. Works ok when I copy the application file to the hard drive.
by micro04
Mon Dec 14, 2020 12:45 am
Forum: Linux
Topic: Linux permissions
Replies: 1
Views: 917

Linux permissions

I saved a Livecode 9_6_1 standalone application for Windows and Linux. I created the application on a Windows 10 desktop and am trying to test on Linux. Under Linux I can not change the execute permission setting for the application. The setting keeps changing back to unchecked as soon as I try to c...
by micro04
Sun Mar 31, 2019 1:56 am
Forum: Windows
Topic: Save to text file
Replies: 6
Views: 3229

Re: Save to text file

added the line

Code: Select all

close file tFileName
after

Code: Select all

put field "Field1" into url("file:" & tFileName)
by micro04
Sat Mar 30, 2019 9:24 pm
Forum: Windows
Topic: Save to text file
Replies: 6
Views: 3229

Save to text file

Why is this not saving text from Field1 to the selected file. ask file "Save to" with type "text files|TXT" put ".txt" after it if it is empty then break end if put field "Field1" into myText open file it for write write myText to file it Close file it
by micro04
Sat Mar 30, 2019 4:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: highlight text
Replies: 4
Views: 1251

Re: highlight text

So how do I highlight the word "test" if I do not know what the location is?
by micro04
Sat Mar 30, 2019 3:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: highlight text
Replies: 4
Views: 1251

highlight text

I need to highlight individual words in a field where the word placement is not always the same. The field is populated with a text file that can be changed so the word placement is not always the same. I have tried : set the textColor of fld "Field1" to "green" which sets all the text to green, I j...
by micro04
Sat Mar 30, 2019 1:04 am
Forum: Linux
Topic: 64 bit browser not working
Replies: 3
Views: 3234

64 bit browser not working

I created a application using a window7 64 bit machine which has a browser widget in one of the stacks. The program work fine on the windows machine. I then saved the program as a standalone application for windows and Linux 64 bit. I then installed that Linux application on a Linux mint 64 bit mach...

Go to advanced search