Questions tagged [livecode]

The LiveCode programming language (formerly the "Revolution" programming language) is a cross-platform rapid application development language.

LiveCode allows developers to create applications that run in any of the supported environments, using a compile-free workflow. The scripting language is based on the Hypertalk language originally developed by Apple for Hypercard. Since version 6 an open source version (GPL) is available.

644 questions
1
vote
3 answers

How to add line break within text field on LiveCode?

Within my text field on LiveCode I would like two separate lines of text. It would be set out like this: First line of sentence Second line of sentence How do I do this?
CoopDaddio
  • 577
  • 1
  • 5
  • 20
1
vote
1 answer

LiveCode Repeat

I am trying to use repeat to display the "Species" node of each of the "XmlNode"s. However, I keep getting an error. I am a new to LiveCode and have tried everything I can think of. XML CODE:
CElwell
  • 11
  • 3
1
vote
2 answers

How can I specify LiveCode's exit code?

I'm developing a wrapper around some LiveCode server-side scripts. Is there a way to exit a LiveCode script and specify an exit code? Right now, even unparseable code is given an exit code of 0. I'm looking for something like the exit to top control…
Ian Hunter
  • 9,466
  • 12
  • 61
  • 77
1
vote
1 answer

How is it possible to record revSpeak in LiveCode using version 7 on Windows 10?

Below, I pasted the code I am trying to use in order to get LiveCode to record while the revSpeak command is speaking the words aloud from a text field, but I cannot get any recordings to appear on the desktop or anywhere. I know that there have…
1
vote
1 answer

MergEx MergeDataGrid Scroller

I've got you MergeDataGrid Scroller for a stack that should work on OS X,Win and mobile. I have 2 problems: 1st problem: since I decided to put 2 different option buttons on the data grid (hiding one or the other according to mobile or OS X/Win),…
1
vote
4 answers

How to disable maximize button in livecode

I am beginner in livecode, How to disable maximize button, This is my code get shell("gsettings set org.gnome.desktop.wm.preferences button-layout ':close'")
Anu Mohan
  • 83
  • 5
1
vote
1 answer

Deploying android app with sqlite database

I have created an app in livecode that uses an sqlite database. The app connects to the database base using the following code: on preopenstack --Used to connect to the database when application --first open and open the menu stack set the…
Sheils
  • 323
  • 2
  • 22
1
vote
2 answers

livecode fullscreenmode exactfit do not work on all devices

I used the following code like it said in livecode tutorial on preOpenStack set the fullscreenmode of me to "exactFit" end preOpenStack But when I tested my app it's not work on all devices. For example it works on Galaxy Note 3 but on Galaxy Tab…
alighasem
  • 11
  • 3
1
vote
2 answers

Use "Create" command in LiveCode

I use the create command in livecode to dynamically create several objects (graphic, field, button) depending of some conditions. I use "lock screen" and set up all properties: width, height, textSize and many many more... Then "unlock screen". Here…
1
vote
1 answer

Creating a file with name given in code in LiveCode

I'm trying to build a program that gets users name at first. This user names are kept in a text file. After user logins, according to the user's name, I want user to be lead his/her specific informations. I figured out that I can only do it with a…
1
vote
1 answer

Program crashes when trying to open HyperCard stack

I get a crash when I try to open a HyperCard stack to convert it to LiveCode format. Using LiveCode Community 7.0.1. Are there any reasons for this that anyone knows? Here's a bit from the problem details: Process: LiveCode-Community…
David R
  • 21
  • 3
1
vote
1 answer

Livecode Block Tab Key

How do we block the tab key? //this handler is not executed on simulator, maybe because it is supported only in Desktop and Web? on tabKey end tabKey What I want is, when a user pressed tab key, it should not add any space. Pressing tab in…
JunM
  • 7,040
  • 7
  • 37
  • 58
1
vote
3 answers

How to count the sum of numbers in a field in Livecode

I have an Scrolling Field and it's congaing number and word separated by space. I want to find the sum of number (eg: 5 USA &CR 5 Uk)
RAHUL.S. KRISHNA
  • 221
  • 1
  • 3
  • 8
1
vote
1 answer

Is it possible to have a user draw a graphic in livecode?

For a game I am working on the user must draw a line and an object will follow the line. To me it would be logical for the user's line to be a graphic and then do something like this (the user's line is called "userLine") move the image "xyz" to the…
Jeff Morse
  • 69
  • 3
1
vote
2 answers

How to count occurance in livecode?

I need to count the number of occurance of word in the array from the field "MytextField". The array consist of more than 9000 lines and the text in field "MytextField" consist of more than 10000 lines. I am using the following code and it works…
Zam
  • 367
  • 2
  • 17