Search found 21 matches
- Sun Nov 15, 2015 8:10 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to run code on start up
- Replies: 3
- Views: 3463
Re: How to run code on start up
Thanks for your reply! I now have this code and it keeps flashing between internet date and item 5 of internet date (the time) on preOpenStack set the flag of me to not the flag of me if the flag of me then startTimer end preOpenStack on startTimer set itemDelimiter to " " put item 5 of internet dat...
- Sun Nov 15, 2015 7:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to run code on start up
- Replies: 3
- Views: 3463
How to run code on start up
I want to run some code (a clock) as soon as the program starts (ie not have to have a button pressed for the code to start). Is there a way to do this?
Thanks
Thanks
- Wed Jun 10, 2015 6:03 pm
- Forum: Talking LiveCode
- Topic: Getting a line from a text file with a variable
- Replies: 4
- Views: 3558
Re: Getting a line from a text file with a variable
I think I've spotted the problem. I was trying to put the thumbPosition of a scrollbar as the value of sVariable but I think it hasn't worked. How would I do this. I've just tried setting sVariable to thumbPosition in code under the scrollbar and then using sVariable as you've shown me but it's not ...
- Wed Jun 10, 2015 5:30 pm
- Forum: Talking LiveCode
- Topic: Getting a line from a text file with a variable
- Replies: 4
- Views: 3558
Getting a line from a text file with a variable
Hi, Is there a way of getting a certain line set by a variable and putting it into a field. I've got the code below but it returns a compiling error: put line sVariable of URL "file:/list.txt" into field "result" And also...is there a way to store the amount of lines that are in a file as a variable...
- Sat Jun 07, 2014 1:47 pm
- Forum: Talking LiveCode
- Topic: JSON
- Replies: 14
- Views: 9446
Re: JSON
yet another double post. I'm not sure how that's happening...... On another note, if you take alook at the 2nd example that only deals with GBP, i think you'll see why your script wasn't working. put "https://bitpay.com/api/rates/GBP" into tMarketURL get url tMarketURL put it into tMarketJSON put a...
- Fri Jun 06, 2014 7:09 pm
- Forum: Talking LiveCode
- Topic: JSON
- Replies: 14
- Views: 9446
Re: JSON
Hi, It's working slightly better now but I still can't get the rate into a label object. The code for the button to get the rate is: on mouseUp //get your data put "https://bitpay.com/api/rates/GBP" into field tMarketURL get url tMarketURL put "rate" into Field "JSON" //put it into field "JSON" //pu...
- Fri Jun 06, 2014 4:48 pm
- Forum: Talking LiveCode
- Topic: JSON
- Replies: 14
- Views: 9446
Re: JSON
Hi, I want to use a JSON link in a program. It's basically a currency converter and the rate comes from a JSON link. How can I get it so that when the figures change in the JSON a variable in live code updates? I've seen some other posts from other users about the JSON topic but I don't understand ...
- Thu Jun 05, 2014 7:33 pm
- Forum: Talking LiveCode
- Topic: JSON
- Replies: 14
- Views: 9446
JSON
Hi, I want to use a JSON link in a program. It's basically a currency converter and the rate comes from a JSON link. How can I get it so that when the figures change in the JSON a variable in live code updates? I've seen some other posts from other users about the JSON topic but I don't understand t...
- Fri Feb 21, 2014 6:44 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to prevent a live break with Text field
- Replies: 4
- Views: 3107
Re: How to prevent a live break with Text field
Thanks for your replies!
The "ENTER" key on the keyboard is what I meant
The "ENTER" key on the keyboard is what I meant

- Fri Feb 21, 2014 6:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to prevent a live break with Text field
- Replies: 4
- Views: 3107
How to prevent a live break with Text field
How can I stop the text going on a new line with the Text Entry Field? I've managed to disable the "ENTER" button but still when the text goes over the size of the text bar, it starts a new line. How can I have it so that the text carries on, on the same line?? (I'm not sure if I've made it that cle...
- Fri Dec 20, 2013 5:07 pm
- Forum: Talking LiveCode
- Topic: Populate an option menu with video sources
- Replies: 7
- Views: 5434
Re: Populate an option menu with video sources
I see what you mean........It's pants :| I'm trying to make an app which one can use to switch between a video and a camera, and is a software output which can be used in CamTwist or any other program that uses a live video input. Is there a way to get a camera feed in it? I've got the videos by usi...
- Fri Dec 20, 2013 4:19 pm
- Forum: Talking LiveCode
- Topic: Populate an option menu with video sources
- Replies: 7
- Views: 5434
Re: Populate an option menu with video sources
Thanks for replying again! I've got this, which I assume is what you meant: revInitializeVideoGrabber parentStack,videoMethod,grabberRect And I've filled it in with what I thought it wanted: revInitializeVideoGrabber Main Input,videoMethod,player "Input" It returns no errors but it doesn't work eith...
- Fri Dec 20, 2013 1:07 pm
- Forum: Talking LiveCode
- Topic: Populate an option menu with video sources
- Replies: 7
- Views: 5434
Re: Populate an option menu with video sources
Hi, I mean select a video source from a list of external inputs (like USB webcams).
So what I want the app to do is to have a Quicktime Display that shows which ever webcam is selected in the option menu.
Sorry for the confusion and thanks for the reply
So what I want the app to do is to have a Quicktime Display that shows which ever webcam is selected in the option menu.
Sorry for the confusion and thanks for the reply

- Fri Dec 20, 2013 12:30 pm
- Forum: Talking LiveCode
- Topic: Populate an option menu with video sources
- Replies: 7
- Views: 5434
Populate an option menu with video sources
Hi,
How can I populate an option menu with external video sources. Also, if this is possible, how can I make a Quicktime Player display show the selected source?
Thanks for any help!
How can I populate an option menu with external video sources. Also, if this is possible, how can I make a Quicktime Player display show the selected source?
Thanks for any help!
- Fri Dec 20, 2013 9:57 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to work out remaining time on a video
- Replies: 2
- Views: 2265
How to work out remaining time on a video
I'm trying to make a countdown next to a video that will start when the video starts and countdown until the video ends. So far I've got: subtract duration of player "My Video" from currenttime of player "My Video" If this is right then all I need to know is how to get it onto a label text field Tha...