Search found 6829 matches

by jacque
Tue Apr 05, 2016 7:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I just can't do it
Replies: 15
Views: 5429

Re: I just can't do it

This works fine for me: on mouseUp put the clickChunk into tChunk put the clickText into tText ask "Change?" with tText put "x" after it end mouseUp I put "This is a test" into the locked field. I clicked on the word "test". When the dialog appeared, I changed the text to "testy" and hit OK. The han...
by jacque
Tue Apr 05, 2016 7:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: old script needs updating
Replies: 10
Views: 5056

Re: old script needs updating

I have checked in LC8 and the error seems to be in writing the file. I can 'put' the content all the way through the script, but it is not being written to file. No file is opened and there is no file of the required name anywhere. Okay, that's progress. Add this to your handler: open file audio wr...
by jacque
Mon Apr 04, 2016 5:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: old script needs updating
Replies: 10
Views: 5056

Re: old script needs updating

To see if the problem is a bug that needs to be reported, it would be good to know where the error occurs. In the debugger, does the audio variable contain the correct text? If so, then the problem is in writing the file. Do you get an empty file, or no file at all? What is the file path you're writ...
by jacque
Sun Apr 03, 2016 3:08 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Hiding and un-hiding a Card & skipping when hidden
Replies: 11
Views: 5880

Re: Hiding and un-hiding a Card & skipping when hidden

If you store text in fields, access time is much slower since accessing fields is one of the slowest things LC does. Custom properties are almost as fast as variables. Images are best stored in a substack or another card though, you're right about that, though disk access has been greatly optimized ...
by jacque
Sat Apr 02, 2016 8:45 pm
Forum: iOS Deployment
Topic: Problem with StartSSL Certificates and Url
Replies: 4
Views: 3257

Re: Problem with StartSSL Certificates and Url

I looked up the error and apparently it isn't just startssl -- other web sites can be affected too. It depends on the server configuration. There's some info here: http://stackoverflow.com/questions/30739473/nsurlsession-nsurlconnection-http-load-failed-on-ios-9 and a lot of other hits if you google...
by jacque
Sat Apr 02, 2016 8:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Remove Carriage Returns
Replies: 51
Views: 25399

Re: Remove Carriage Returns

Sure, you should do whatever is easiest for you. Our suggested method only requires changing two characters in your existing code, and then you never have to fiddle with database exports ever again. I'd change those two characters, but if you understand your way better, go with what works.
by jacque
Sat Apr 02, 2016 7:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Remove Carriage Returns
Replies: 51
Views: 25399

Re: Remove Carriage Returns

Okay, I'll give it a try. I used to be an interpreter in another life. @bbhank: Using "revDataFromQuery(tab, cr, gConnectionID, tSQL)" tells LC to fetch the database data and when it receives that data, LC should put a carriage return after every row and tabs between each column. The characters you'...
by jacque
Sat Apr 02, 2016 6:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Web Browser Widget Problems
Replies: 2
Views: 2694

Re: Web Browser Widget Problems

The widget is working here for me, I did the same thing as you -- drag it to the card, resize it, set the URL. I'm on Mac though. I do know there's a bug report about loading certain web sites that contain certain javascript commands, they don't always display right. Do you get the same results if y...
by jacque
Sat Apr 02, 2016 4:46 pm
Forum: Talking LiveCode
Topic: The script editor always opens at max scroll.
Replies: 2
Views: 1443

Re: The script editor always opens at max scroll.

Typically the editor will open to the same place where the insertion point was when it was last saved.
by jacque
Sat Apr 02, 2016 4:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Hiding and un-hiding a Card & skipping when hidden
Replies: 11
Views: 5880

Re: Hiding and un-hiding a Card & skipping when hidden

There's no need to store data in controls, it's typically done with custom properties. These are powerful and can store virtually any kind of data. The primary reason to store objects themselves in substacks is when you need a copy of the actual control for some reason, or when you need to reference...
by jacque
Sat Apr 02, 2016 4:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: resizable rectangle
Replies: 4
Views: 2607

Re: resizable rectangle

You can change the active point of the cursor with the "hotspot" function.
by jacque
Fri Apr 01, 2016 8:56 pm
Forum: Talking LiveCode
Topic: Mac App Store Rejection and Sandboxing Requirements
Replies: 4
Views: 3105

Re: Mac App Store Rejection and Sandboxing Requirements

You can avoid shell and the revCopy command both by using the simple URL syntax:

put url ("binfile:" & tSourceFilePath) into url ("binfile:" & tDestinationFilePath)
by jacque
Fri Apr 01, 2016 8:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Still looking for an image-slider
Replies: 3
Views: 3136

Re: Still looking for an image-slider

Yes, native scrollers are cross-platform on mobile. There is a lesson here: http://lessons.livecode.com/m/4069/l/94 ... ll-a-field

It uses a text field as the example to scroll, but it works the same way with a group of any objects.
by jacque
Fri Apr 01, 2016 8:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Load Image From MySQL Database
Replies: 6
Views: 3327

Re: Load Image From MySQL Database

It is easier to give the image object a name and refer to it that way. Then you don't need to mess around with IDs: set the filename of image "userPhoto" of me to tFullPath Or you can refer to it by number: set the filename of image 1 of me to tFullPath But if you really want to use your ID function...
by jacque
Fri Apr 01, 2016 8:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Put the long date into field
Replies: 10
Views: 4705

Re: Put the long date into field

@bbhank, I think a lot of things will be much clearer if you can get an overview of how LC works and its basic functionalities. If you read through at least the first few stacks in the Scripting Conference series it could help those ephiphanies happen a lot quicker: http://www.hyperactivesw.com/revs...

Go to advanced search