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
0
votes
1 answer

How do I join multiple words in LiveCode

As an example, I have 3 fields within my LiveCode application. Field "firstName", field "lastName" and field "both". I have previously used the following put field "firstName" into field "both" put field "lastName" after field "both" and this…
0
votes
1 answer

How to upload file to a server with php - Livecode

I have problem with upload file to a server with php. This is my code testForm.php $uploaddir = 'uploads/'; $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); if (move_uploaded_file($_FILES['userfile']['tmp_name'],…
KemChat
  • 151
  • 3
  • 11
0
votes
2 answers

How to create button to another stack - Livecode

I want to create button to another stack with code I have two stack.And Stacks name is "AA" and "BB" I want to create button in stack "BB" from stack "AA" with my code on createDigits create button "test" of stack "BB" end createDigits Results:…
KemChat
  • 151
  • 3
  • 11
0
votes
2 answers

How do I play video via a player within a LiveCode mobile application?

I am able to play a video on iOS/Android with the following command- play videoClip (specialFolderPath("engine") & "/samplevidep.mov") Playback works fine, but this results in the video playing back fullscreen. Is there any way to have play a…
0
votes
0 answers

Livecode Blob vs Text in sqlite

I am currently storing five text fields in a table along with a number of numeric fields. I've now find that that these five text fields need to be encrypted. If I encrypt each text field and then use base64encode, do I need to store the result in…
0
votes
0 answers

Mongo basic Validation

now that I am able to insert documents to my local Mongo, make some queries and display the resulting documents into a LiveCode Data Grid, I considered continue with some validation, begining with the simple verification of duplicate _ids. I saw…
Javier
  • 75
  • 5
0
votes
1 answer

how to get correct numbers of lines and categories

I have a stack on which there are 3 fields that toggle their colors and their corresponding checkboxes. At the same time the toggling should change the variable (gMyCategories) in order to calculate the correct number of lines and type of…
mark
  • 222
  • 1
  • 9
0
votes
2 answers

How do you save data from a text field to file on iOS and Android from a LiveCode?

I have various text fields within my LiveCode stack that I am trying to save to my mobile device. I have tried various methods but none seem to be working so far. The main script I am using trying to use from a button is- on mouseUp put field…
0
votes
1 answer

mergPopActivity from mergExt use in android with livecode

Anyone have use the mergPopActivity in the Android to share text for Facebook or something else? Is there any example how we use it? This is from mergExt on mouseUp try mergPopActivity "Hello" catch e answer e end try end…
johnnyB
  • 165
  • 1
  • 12
0
votes
1 answer

LiveCode to ColdFusion Encryption/Decryption

I am currently posting an encrypted string to a ColdFusion web server where I am trying to decrypt the value using the same password used in encrypting it in LiveCode. It isn't working at all, where ColdFusion keeps on telling me that the data to be…
user2429578
  • 111
  • 1
  • 10
0
votes
1 answer

Using launcher app and stack - loss of datagrid data

I followed the lessons on how to use a launcher stack with the main stack being seperate in order to be able to save data when you save the stack. However, I now have the situation where my launcher does a quick check on a text file on the web…
Danny
  • 127
  • 6
0
votes
1 answer

Android on Mac: Cocoa AWT: Running on AppKit thread 0 when not expected

I get the following error in terminal when trying to start an AVD: I can't start the AVD, I get this Cocoa/Java error Last login: Sun Mar 16 11:47:41 on ttys000 MuadDib:~ yeldarb$ /Users/yeldarb/Desktop/LiveCode/android-sdk-macosx/tools/android ;…
Brad Borch
  • 309
  • 1
  • 14
0
votes
1 answer

Is it possible to record audio to variable/RAM in LiveCode?

Is it possible to record audio to a variable/RAM in LiveCode? Normal recording requires to use a file, but I'm trying to figure out a way to not have to use the extra step of writing to disk, only to then read it from disk and send through sockets.
0
votes
3 answers

How do I mask a users input (e.g. password) within a LiveCode field?

I am looking to create a field in LiveCode that hides a users input (e.g. with bullets or asterisk symbols) I know that you can ask a user via pop up dialog with - ask password "enter your password" Is there a way to do it directly to a LiveCode…
0
votes
2 answers

How do you implement a timer a LiveCode?

I'm making a pairs game. The users can click and match pairs which is working great. However, I'd like to add a timer. I'm not sure how to do this. I already have a button "start" which is used to start and reset the game. I've added a field…