Hi Guys,
I am looking for a way to have a process (video cut) to happen when the "a" key is pressed but a different process (video fade) to happen if the "a" key is held down for a period of time (say 50ms.)
I have been looking at the keysdown function and making a repeat loop but I can't get ...
Search found 38 matches
- Sun May 27, 2018 9:50 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Function on Keypress hold
- Replies: 1
- Views: 2939
- Thu Nov 12, 2015 5:47 am
- Forum: Internet
- Topic: URGENT HELP with accessing URL from livecode app
- Replies: 4
- Views: 6565
Re: URGENT HELP with accessing URL from livecode app
Hi Guys,
that fixed the problem... thanks FourthWorld... your a champ...
Any reason that this works with LiveCode when developing and testing but not when it is stand alone?
that fixed the problem... thanks FourthWorld... your a champ...
Code: Select all
open secure socket to "443" with message "clientConnected"- Wed Nov 11, 2015 3:36 pm
- Forum: Internet
- Topic: URGENT HELP with accessing URL from livecode app
- Replies: 4
- Views: 6565
Re: URGENT HELP with accessing URL from livecode app
I tried to use code to open port 443 (https port)
Still did not work. Is this a bug in LiveCode?
Code: Select all
open socket to "443" with message "clientConnected"- Wed Nov 11, 2015 11:04 am
- Forum: Internet
- Topic: URGENT HELP with accessing URL from livecode app
- Replies: 4
- Views: 6565
Re: URGENT HELP with accessing URL from livecode app
OK it looks like I am getting an error
Any ideas how to fix?error socket is not open.
- Wed Nov 11, 2015 9:54 am
- Forum: Internet
- Topic: URGENT HELP with accessing URL from livecode app
- Replies: 4
- Views: 6565
URGENT HELP with accessing URL from livecode app
Hi Guys,
I have built a scoreboard controller that pulls statistics from a Google Docs Stats Sheet url. The game it is intended for starts in 10 minutes.
My code works fine in my livecode installation that I programmed it in:
test code:
field T2StatURL
on mouseUp
put 2 into myVar
answer ...
I have built a scoreboard controller that pulls statistics from a Google Docs Stats Sheet url. The game it is intended for starts in 10 minutes.
My code works fine in my livecode installation that I programmed it in:
test code:
field T2StatURL
on mouseUp
put 2 into myVar
answer ...
- Fri Sep 12, 2014 2:50 pm
- Forum: Talking LiveCode
- Topic: Text Problems over Socket Connection
- Replies: 30
- Views: 27235
Re: Text Problems over Socket Connection
Yeah... go it working.. More info on CasparCG forum here: http://casparcg.com/forum/viewtopic.php?f=9&t=1467
- Thu Apr 03, 2014 3:50 pm
- Forum: Talking LiveCode
- Topic: Help extracting information from Serial Port data
- Replies: 13
- Views: 14170
Re: Help extracting information from Serial Port data
Hi Guys,
Still looking for a solution for this... any wiser heads than me can see if this is a bug or something I am doing?
If I can't fix this I will have to look for other Program language to use and potentially leave the livecode family
Mike
Still looking for a solution for this... any wiser heads than me can see if this is a bug or something I am doing?
If I can't fix this I will have to look for other Program language to use and potentially leave the livecode family
Mike
- Wed Mar 26, 2014 4:46 pm
- Forum: Talking LiveCode
- Topic: Help extracting information from Serial Port data
- Replies: 13
- Views: 14170
Re: Help extracting information from Serial Port data
I am back trying to slay this dragon of a serial problem...
I am starting to think it is a LiveCode bug / fault...
Using RS232 DataLogger http://www.eltima.com/products/rs232-data-logger/
I get really clean serial data:
Ú22 00A12200
Þ Ú23 00A12300
Þ Û 41 00B 4100
Þ Û 42 00B 4200
Þ Ü2049T20.9 ...
I am starting to think it is a LiveCode bug / fault...
Using RS232 DataLogger http://www.eltima.com/products/rs232-data-logger/
I get really clean serial data:
Ú22 00A12200
Þ Ú23 00A12300
Þ Û 41 00B 4100
Þ Û 42 00B 4200
Þ Ü2049T20.9 ...
- Fri Feb 07, 2014 3:47 pm
- Forum: Talking LiveCode
- Topic: Help extracting information from Serial Port data
- Replies: 13
- Views: 14170
Re: Help extracting information from Serial Port data
I agree... well said Craig!Anyone? We cannot have this. Carriage returns rampaging....
- Fri Feb 07, 2014 5:09 am
- Forum: Talking LiveCode
- Topic: Help extracting information from Serial Port data
- Replies: 13
- Views: 14170
Re: Help extracting information from Serial Port data
Hi Craig,
Thanks again for your help... I understand what you mean... I guess I am having trouble breaking up the lines of the data coming in correctly...
I have been using "read from file thePort until CR" as far as I can see this is the problem as LiveCode (or my serial data) is occasionally ...
Thanks again for your help... I understand what you mean... I guess I am having trouble breaking up the lines of the data coming in correctly...
I have been using "read from file thePort until CR" as far as I can see this is the problem as LiveCode (or my serial data) is occasionally ...
- Thu Feb 06, 2014 4:36 pm
- Forum: Talking LiveCode
- Topic: Help extracting information from Serial Port data
- Replies: 13
- Views: 14170
Re: Help extracting information from Serial Port data
Hi Craig,
Thank you for your input! The number of characters will always be the same... the time is always TXX:XX or T56.3 The score is always AXXX or B101...
Unfortunately the serial data is not always in the same line structure... I get a time update every 1/2 a second with the lines:
Ì»Ü19 ...
Thank you for your input! The number of characters will always be the same... the time is always TXX:XX or T56.3 The score is always AXXX or B101...
Unfortunately the serial data is not always in the same line structure... I get a time update every 1/2 a second with the lines:
Ì»Ü19 ...
- Wed Feb 05, 2014 4:42 pm
- Forum: Talking LiveCode
- Topic: Help extracting information from Serial Port data
- Replies: 13
- Views: 14170
Re: Help extracting information from Serial Port data
OK... I seem to have something working:
on readPort
if the hilite of btn "Port open" = true then
put the label of btn "Port" into thePort
read from file thePort until CRLF
if it contains "A" then
put offset ("A", it) into myVar
put char myVAR + 1 to myVar + 3 it into field "_ScoreA ...
on readPort
if the hilite of btn "Port open" = true then
put the label of btn "Port" into thePort
read from file thePort until CRLF
if it contains "A" then
put offset ("A", it) into myVar
put char myVAR + 1 to myVar + 3 it into field "_ScoreA ...
- Wed Feb 05, 2014 3:48 pm
- Forum: Talking LiveCode
- Topic: Help extracting information from Serial Port data
- Replies: 13
- Views: 14170
Re: Help extracting information from Serial Port data
I have tried putting three different functions looking for the different key characters I need to locate... Unfortunately the blocks change depending on when a score is recorded and during the last minute of the game when time goes every 0.1 of a second.
I need to find the 3 characters after "A ...
I need to find the 3 characters after "A ...
- Wed Feb 05, 2014 4:21 am
- Forum: Talking LiveCode
- Topic: Help extracting information from Serial Port data
- Replies: 13
- Views: 14170
Help extracting information from Serial Port data
Hi Guys,
I have been able to get the serial data into my LiveCode app. Now I need to extract the actual data that I need from the Serial information.
I imagine the way to do this is by manipulating the text and specifying the "char" that I want to take from the string...
The info is from a ...
I have been able to get the serial data into my LiveCode app. Now I need to extract the actual data that I need from the Serial information.
I imagine the way to do this is by manipulating the text and specifying the "char" that I want to take from the string...
The info is from a ...
- Fri Jan 31, 2014 10:44 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Capturing data from a Serial Port
- Replies: 3
- Views: 5042
Re: Capturing data from a Serial Port
Hi Guys...
Adding the ":" got me the data... I now need some kind of read loop as the application crashes if I try to bring in the whole feed at once...
Thank you!
Mike
Adding the ":" got me the data... I now need some kind of read loop as the application crashes if I try to bring in the whole feed at once...
Thank you!
Mike