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
3
votes
3 answers

Is it possible to take a screenshot of your screen from within LiveCode?

I am looking to have the ability of importing a capture of my screen into my LiveCode application. I generally use the following key combination on my mac: cmd + shift + 4 then imported the image as a control or referenced the image within an image…
3
votes
2 answers

How do I resize my LiveCode stack so that it auto-fits any target devices screen?

I am interested in LiveCodes Resolution Independence feature as, in the past, I have programatically had to resized my stack via the resizeStack handler. I believe that you have to set the fullScreenMode with a given parameter e.g. set the…
3
votes
3 answers

Passing PHP variables to Livecode

Problem: I have a number of variables stored in $_SESSION in PHP and I am wondering if it is possible at all to transfer these to Livecode scripts (.lc)? Current solution: I use $_GET to move information but I would like to know a way where you can…
kexxcream
  • 5,873
  • 8
  • 43
  • 62
3
votes
1 answer

Updating LiveCode desktop app from the web

How would I build a LiveCode application that can update its component stacks with newer versions from a web server? I have seen this mentioned as "easy to do" but have been unable to locate specifics on how it can be down.
JayC
  • 49
  • 2
3
votes
3 answers

How do I include the Livecode Message Box in my stack?

I have a stack which was originally built in Hypercard then migrated to Metacard. Obviously, it has expanded greatly over that time. Some core features broke when I tried to migrate to Runrev which is why I've waited till now to finally do that. …
3
votes
1 answer

LiveCode find list items within a table field

I'm trying to use LiveCode to clean up some contact data. I have two lists: SourceList: a list of tab-delimited contact records in a LiveCode table field; FlagList: a list of strings, such as 'test' that I want to check for within the…
3
votes
2 answers

Livecode back button

I am just new in livecode. I created a back button and added below code on on mouseup event. I put the back button inside the Card 5. On Card 1, I have code that will go to Card 5. The problem is, when I press the back button in Card 5, it always…
JunM
  • 7,040
  • 7
  • 37
  • 58
3
votes
4 answers

How do I create a UUID (GUID) in Livecode (or HyperTalk)?

How do I create a UUID (= Universally unique identifier, or GUID = Globally Unique Identifier, Microsoft speak) in Livecode or Hypercard? The aim of UUIDs is to give practically unique keys to pieces of information without a central…
z--
  • 2,186
  • 17
  • 33
3
votes
3 answers

Which folder needs to be specified when selecting the location of the Android development SDK?

When setting up your Mobile Support Preferences in LiveCode for developing to an Android , which folder within the Android folder archive needs to be selected? Whenever I select a folder it seems to come up with an error saying: The chosen folder…
user2521394
3
votes
3 answers

Can Groups be used to emulate the "class" or "struct" data structures from other languages

Is there a data structure within LiveCode that can be used as a "holder" for associated data, letting me handle it collectively? I come from a Java / Javascript / C background so I am looking for a Class or Struct sort of data structure. I've found…
DaveH
  • 7,187
  • 5
  • 32
  • 53
3
votes
2 answers

livecode how to use svg images on cards

I'm new to livecode and I need to use some svg images in my project I haven't find info on manual and apparently the image area object can't render an svg image Can you help me? Thanks
LordMax
  • 166
  • 1
  • 1
  • 9
3
votes
3 answers

Livecode mobileAddContact

Has anyone used mobileAddContact on ios and managed to add an address? So far I can add the name, contact details (phone, email etc) but I can't add the address details (Street, City, Zip, etc.). This is the code I've written; mobileAddContact \ …
3
votes
3 answers

Using LiveCode to retrieve unicode data from SQL Server via ODBC

I'm having this problem using LiveCode, but I don't know whether that's where the issue resides or whether it's to do with the ODBC drivers. An app built in LiveCode regularly connects to a SQL Server database, over ODBC, to retrieve various…
3
votes
1 answer

Pulling Unicode Data from a DataGrid in LiveCode

We're translating our app into Japanese and have been struggling to get UTF-16 text from a DataGrid. We've tried all sorts of combinations of uniEncode, uniDecode on the data and it all comes out garbled. We first overrode the DataGrid, so we can…
3
votes
1 answer

mergExt - localizing app with mergSettings on iOS

I'm localizing my iOS app and having difficulty translating strings in the mergSettings extension for LiveCode. I setup a new folder - ja.lproj. Then, I made a new file called "Localizable.strings" inside of that folder. I then created "key" =…
1
2
3
42 43