Search found 1546 matches

by MaxV
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: 2990

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...
by MaxV
Mon May 24, 2021 7:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to check program already running?
Replies: 3
Views: 2530

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...
by MaxV
Wed Sep 30, 2020 6:44 am
Forum: Off-Topic
Topic: Please add highlight.js to this forum syle
Replies: 3
Views: 5014

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.
by MaxV
Fri May 22, 2020 9:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Strange error (fork?)
Replies: 0
Views: 3098

Strange error (fork?)

Hello,
I got this strange error:

Code: Select all

button "Button": execution error at line n/a (System error: function) near "fork"
this is is the guilty line:

Code: Select all

put shell("cp temp.pdf '" & myPath &"/"& tLine &"'")
Any idea?
by MaxV
Tue Feb 18, 2020 6:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Telnet
Replies: 1
Views: 2605

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...
by MaxV
Mon Apr 22, 2019 11:18 pm
Forum: Linux
Topic: 64 bit browser not working
Replies: 3
Views: 7355

Re: 64 bit browser not working

Well, it isn't totally true.
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
by MaxV
Mon Apr 22, 2019 11:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Saving Files to SQL Database
Replies: 5
Views: 4507

Re: Saving Files to SQL Database

There a PRO and cons.
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
Yes, the DB size will increase soon, but after a rapid increase, the size tends to stabilize.
by MaxV
Mon Apr 22, 2019 10:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: BMI Calculator
Replies: 8
Views: 5652

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...
by MaxV
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: 7272

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"
by MaxV
Thu Apr 11, 2019 1:00 am
Forum: Talking LiveCode
Topic: Using the ComboBox
Replies: 8
Views: 8233

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...
by MaxV
Mon Apr 01, 2019 5:55 am
Forum: LiveCode Builder
Topic: Browser Widget usage examples
Replies: 49
Views: 66438

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 ...
by MaxV
Fri Mar 15, 2019 7:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: ANN: New player
Replies: 2
Views: 3402

Re: ANN: New player

Here a video: https://youtu.be/jiRh2AS916Q

It's like the Livecode player, but it works. At the present the Livecode player don't change file, can't be paused and so on.
This on the other side works.

Go to advanced search