Search found 19 matches

by proloy
Sun Oct 22, 2017 6:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Lower third Text scrolling
Replies: 28
Views: 22876

Re: Lower third Text scrolling

on mouseup
put the button "Check 1" into tClickedButton
## Extract line number from clicked button name!
put word 2 of tClickedButton into tTargetLineNumber
## put CR & line tLineNumber of fld "News" after fld ""Lower"
put CR & line tTargetLineNumber of fld "News" after fld "Lower"
end mouseup ...
by proloy
Wed Oct 18, 2017 4:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Lower third Text scrolling
Replies: 28
Views: 22876

Re: Lower third Text scrolling



on mouseup
put the short name of the target into tClickedButton
## Extract line number from clicked button name!
put word 2 of tClickedButton into tTargetLineNumber
end mouseup

Klaus


really i am not clear,
which will be my target: "fld_News", "checkbox_Check", "fld_Lower" or button ...
by proloy
Tue Oct 17, 2017 4:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Lower third Text scrolling
Replies: 28
Views: 22876

Re: Lower third Text scrolling

HI Klaus,
Thanks for reply, i think we are very close to the point.
1. I was forgot to add "mouseUP"
2. Rename all check button.
b. Removed all script from check button.
c. confused
on mouseup
put the short name of the target into tClickedButton ---which will be my target?
## Extract line number ...
by proloy
Tue Oct 17, 2017 3:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Lower third Text scrolling
Replies: 28
Views: 22876

Re: Lower third Text scrolling

Da_Elf wrote: Mon Oct 16, 2017 12:42 pm how are you exporting your text to the tv? ive worked with a software for that. i used livecode as only the GUI that talks to the other software via tcp/ip
Hello Da_Elf,
Same here, are you talking about CasparCG?
by proloy
Mon Oct 16, 2017 5:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Lower third Text scrolling
Replies: 28
Views: 22876

Re: Lower third Text scrolling

Dear klaus,
I can't attach file without jpg format. plz download form below.
https://www.dropbox.com/s/l9p6ogboaw6bn ... ecode?dl=0

I am using LC v 8.1.6

Thanks
by proloy
Sat Oct 14, 2017 4:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Lower third Text scrolling
Replies: 28
Views: 22876

Re: Lower third Text scrolling

Dear Klaus,

1. i did it :D
2. datagrid is complicated for me, cuz i can't edit in row/columns. That's why i tried with fld. check attachment.
CheckBox Name:
Check1
Check2
Check3

My checkbox code:
on mouseUp
if the hilite of me =true
then
select line 8 of field "News"
else
select empty
end ...
by proloy
Thu Oct 12, 2017 3:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Lower third Text scrolling
Replies: 28
Views: 22876

Re: Lower third Text scrolling

Thanks kalus & dunbarx for your reply.

Plz check the attachment.
Some one write this program in VB. i like to make it in LC.
In pic:
1) Text Field:Where write a News.
2) Check box: only selected News will be shown in "7"
3) Img: before starting of each News line.
4) Speed: it's control scroll ...
by proloy
Wed Oct 11, 2017 7:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Lower third Text scrolling
Replies: 28
Views: 22876

Lower third Text scrolling

Dear,
i like to make Lower third Text scrolling with speed control and only selected lines (with a check box) will be add in fld "scroll" but don't know how and where to start. if there any example project out there, then it'll be helpful for me.

I read move command in dictionary, but no luck.

on ...
by proloy
Wed Sep 20, 2017 8:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Google Map API getting error [SOLVED]
Replies: 14
Views: 17098

Re: Google Map API getting error

Life is simple, if you know :D
Like:
replace space with "+" in tURL
I am totally fresh in coding, i have no idea about it (That's why i don't understand your technical langues). But i start a project for sports broadcasting application :)
Every day i learn and apply on my project. After 4 days ...
by proloy
Tue Sep 19, 2017 7:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Google Map API getting error [SOLVED]
Replies: 14
Views: 17098

Re: Google Map API getting error

kalus, i have tried this:
on mouseUp
##put the text of fld "vanue" into tVanue
## put urlEncode("tVanue") into tURL


put "[https:]//maps.googleapis.[com]/maps/api/geocode/json?address=&tVanue&key=AIzaSyBmOIfVwbXdFd0_zFjz8kmHi5KqyJvjIKw" into tURL
put URL tURL into tRawJSON
put textDecode ...
by proloy
Mon Sep 18, 2017 5:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Google Map API getting error [SOLVED]
Replies: 14
Views: 17098

Re: Google Map API getting error

I have tried urlEncode:
put urlEncode("tVanue") into tURL
maps/api/geocode/json?address=tVanue&key=
results:
{
"results" : [],
"status" : "ZERO_RESULTS"
}

or
replace "<tAdd>" with urlEncode(tVanue) in tURL
or
replace "<tAdd>" with urlEncode("tVanue") in tURL
maps/api/geocode/json?address ...
by proloy
Sun Sep 17, 2017 8:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Google Map API getting error [SOLVED]
Replies: 14
Views: 17098

Re: Google Map API getting error

So you need to replace space with "+" in tAddress
Do you think you can figure out the syntax for that? :wink:

Better though is to urlEncode tAddress which will take care of any chars not valid for a url without having to make multiple replace statements.

BUT remember to concatenate the url ...
by proloy
Sun Sep 17, 2017 6:12 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Google Map API getting error [SOLVED]
Replies: 14
Views: 17098

Re: Google Map API getting error

I figure out my problem,
My text fld is not working in tURL

my text fld is like:
1600 Amphitheatre Parkway, Mountain View, CA

and google need like:
1600+Amphitheatre+Parkway,+Mountain+View,+CA

if i write like this:
[https]://maps.googleapis.[com]/maps/api/geocode/json?address=&tVanue&key ...
by proloy
Sun Sep 17, 2017 2:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Google Map API getting error [SOLVED]
Replies: 14
Views: 17098

Re: Google Map API getting error

I have tried it out, but no luck :(
on mouseUp
put the text of fld "city" into tCityName
put the text of fld "country" into tCountry
put the text of fld "vanue" into tVanue
//put "address=(&" & tVanue & ",&" & tCityName & ",&" & tCountry & ")" into tAddress
## tAddress = address=(& tVanue ...
by proloy
Sat Sep 16, 2017 6:12 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Google Map API getting error [SOLVED]
Replies: 14
Views: 17098

Google Map API getting error [SOLVED]

My button code is below:
on mouseUp
put the text of fld "city" into tCityName
put the text of fld "country" into tCountry
put the text of fld "vanue" into tVanue
//put "address=(& tVanue,& tCityName,& tCountry)" into tAddress
//put "&key=AIzaSyBmOIfVwbXdFd0_zFjz8kmHi5KqyJvjIKw" into appID ...