Search found 1572 matches
- Thu Jul 17, 2025 4:29 pm
- Forum: Databases
- Topic: Livecodescript and MySQL
- Replies: 2
- Views: 5160
Livecodescript and MySQL
I'm trying to use a pure livecode script (file.livecodescript) to access to a MySQL database, but it doesn't work outside the Livecode IDE. I launch the the script this way: /opt/livecode/livecode.x86_64 -ui /home/max/file.livecodescript and I get error the line with revOpenDatabase function. Probab...
- Thu Aug 12, 2021 9:54 am
- Forum: Talking LiveCode
- Topic: Processing name, address, phone & URLs - text (pattern) manipulation libraries for Livecode?
- Replies: 5
- Views: 5344
Re: Processing name, address, phone & URLs - text (pattern) manipulation libraries for Livecode?
Hello, this code extract all email adresses from a field: on MouseUp put field 1 into testo repeat forever if matchText(testo, "((\w|\.)+@(\w|\.)+)" , trovato) then put trovato & return after listaEmail put matchChunk(testo, "((\w|\.)+@(\w|\.)+)" , inizio, fine) put char fine to -1 of testo into tes...
- Mon May 24, 2021 7:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how to check program already running?
- Replies: 3
- Views: 4535
how to check program already running?
Hello, I created an access control time and attendance for my company using livecode. It automatically starts when the user login successfully. I want to add to the program a check that verify if it is already launched. So he use can't run more than an instance of the program. just to give yo the wh...
- Wed Sep 30, 2020 6:44 am
- Forum: Off-Topic
- Topic: Please add highlight.js to this forum syle
- Replies: 3
- Views: 7146
Please add highlight.js to this forum syle
Hello,
please can you add https://highlightjs.org/ to the forum style? It's a syntax highlighting that support livecode.
It would make this forum code more readable.
please can you add https://highlightjs.org/ to the forum style? It's a syntax highlighting that support livecode.
It would make this forum code more readable.
- Fri May 22, 2020 9:25 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Strange error (fork?)
- Replies: 0
- Views: 4969
Strange error (fork?)
Hello,
I got this strange error:
this is is the guilty line:
Any idea?
I got this strange error:
Code: Select all
button "Button": execution error at line n/a (System error: function) near "fork"
Code: Select all
put shell("cp temp.pdf '" & myPath &"/"& tLine &"'")
- Tue Feb 18, 2020 6:12 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Telnet
- Replies: 1
- Views: 4110
Re: Telnet
Probably this is the code you need: ########CODE to copy and paste with your mouse####### open socket to "192.168.1.5:23" with message "clientConnected" on clientConnected pSocket 20 write "hello world! I'm talking to the server" & return to socket pSocket 20 read from socket pSocket until return 20...
- Mon Apr 22, 2019 11:18 pm
- Forum: Linux
- Topic: 64 bit browser not working
- Replies: 3
- Views: 21164
Re: 64 bit browser not working
Well, it isn't totally true.
Just create the standalone with livecode 8 and this:
Just create the standalone with livecode 8 and this:
Code: Select all
#! /bin/bash
export LC_ALL= LC_NUMERIC=C
export LIBGL_DRI3_DISABLE=1
/opt/livecode/livecodecommunity-8.1.10.x86_64/livecodecommunity.x86_64
- Mon Apr 22, 2019 11:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Saving Files to SQL Database
- Replies: 5
- Views: 6972
Re: Saving Files to SQL Database
There a PRO and cons.
The PRO are:
The PRO are:
- it's more easy manage files, it's all on the DB
- backup, you just need to backup the DB
- it's very easy to delete files
- Mon Apr 22, 2019 10:57 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Passing a variable between events
- Replies: 6
- Views: 6932
Re: Passing a variable between events
I suggest you to study the custom properties: https://livecode.fandom.com/wiki/Custom_properties
- Mon Apr 22, 2019 10:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Script only Stacks
- Replies: 24
- Views: 28677
- Mon Apr 22, 2019 10:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: BMI Calculator
- Replies: 8
- Views: 8473
Re: BMI Calculator
I agree with Craig , Here is the BMI formula. Have fun..... BMI_Formula.png Yes, so the code would be: ########CODE to copy and paste with your mouse####### function getBMI pHeight, pWeight 20 #if pHeight is in cm, then 20 put pHeight / 100 into pHeight 20 put pWeight / ((pHeight)^ 2 ) into temp 20...
- Mon Apr 22, 2019 10:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Creating a installer
- Replies: 38
- Views: 27653
Re: Creating a installer
Did you try this? https://www.software.trevix.it/piccolo_installer/
- Mon Apr 22, 2019 10:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how can I load a website url into an image control
- Replies: 11
- Views: 10612
Re: how can I load a website url into an image control
Code: Select all
put URL "http://www.runrev.com/images/logo.jpg" into image "web"
- Thu Apr 11, 2019 1:00 am
- Forum: Talking LiveCode
- Topic: Using the ComboBox
- Replies: 8
- Views: 11455
Re: Using the ComboBox
It's a hack, but try this in the combobox button script: on keydown pkey -- set up the filtered content before the list is displayed put the cText of me into tText -- grab the original list put the label of me & pkey into tLabel filter tText with (tLabel & "*") lock screen put tText into me click a...
- Mon Apr 01, 2019 5:55 am
- Forum: LiveCode Builder
- Topic: Browser Widget usage examples
- Replies: 49
- Views: 85978
Re: Browser Widget usage examples
Widget usage example #9: hhTextEditBasic (Close to a basic TextEdit widget) Uses a browser widget as "text field" extending by that LC's htmltext of fields to a larger set of text styling (e.g. justified textAlign), transforms/3D-rotations and filters (blur, sepia etc.). Of course you can edit the ...