How can I initiate a phone call with livecode?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
How can I initiate a phone call with livecode?
How can I initiate a phone call with livecode?
Tom
Tom
Re: How can I initiate a phone call with livecode?
Hi Tom,
...
launch url "tel:123456789"
...
Mobile only!
Best
Klaus
...
launch url "tel:123456789"
...
Mobile only!
Best
Klaus
Re: How can I initiate a phone call with livecode?
Hi Klaus,Klaus wrote:Hi Tom,
...
launch url "tel:123456789"
...
Mobile only!
Best
Klaus
Thanks, I knew it must be something simple.
Tom
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: How can I initiate a phone call with livecode?
I wonder if the OP was wishing for a LC "Dial" command, a la HC.
This generated DTMF tones which a phone could either directly "listen" to, by holding the handset near the computer's speaker, or the phone could be connected to the speaker output jack via an external device. I still use such gadgets today ("TurboDialers")
I see no such command exists, even as a legacy so that old HC stacks would not break, though they would certainly lose that function. I thought that ALL HC words were so treated.
Craig Newman
This generated DTMF tones which a phone could either directly "listen" to, by holding the handset near the computer's speaker, or the phone could be connected to the speaker output jack via an external device. I still use such gadgets today ("TurboDialers")
I see no such command exists, even as a legacy so that old HC stacks would not break, though they would certainly lose that function. I thought that ALL HC words were so treated.
Craig Newman
-
- VIP Livecode Opensource Backer
- Posts: 7266
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: How can I initiate a phone call with livecode?
HC just played sound files to simulate the tones. You could export those and write a script that does the same thing.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 9785
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: How can I initiate a phone call with livecode?
Jacque.
Righto.
Craig
Righto.
Craig
Re: How can I initiate a phone call with livecode?
Thanks Klaus, Just had another thought is there also a way to send a text message in the same way using a URL?Klaus wrote:Hi Tom,
...
launch url "tel:123456789"
...
Mobile only!
Best
Klaus
Tom
Re: How can I initiate a phone call with livecode?
Hi Tom,
This script prepares an SMS:
It doesn't send automatically. It just opens the SMS app, which should then be ready for sending. I think that sending an SMS directly would require an external.
Unfortunately, on my Windows 8 PC, it starts Skype RTE, which doesn't work for me and I have no option to link the SMS protocol to the desktop version of Skype, which would work for me (maybe I get it to work if I write a script to adjust the registry )
Kind regards,
Mark
This script prepares an SMS:
Code: Select all
on mouseUp
set the text of the templatefield to "This is a text message."
put the htmlText of the templateField into myText
put "+01234567890" into myNumber
put "sms:" & myNumber & "?body=" & myText into myUrl
reset the templateField
launch url myUrl
end mouseUp
Unfortunately, on my Windows 8 PC, it starts Skype RTE, which doesn't work for me and I have no option to link the SMS protocol to the desktop version of Skype, which would work for me (maybe I get it to work if I write a script to adjust the registry )
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: How can I initiate a phone call with livecode?
Hello Trags3!
For call a number on skype from your app you can use:
For call a id skype from your app you can use:
All the best!
Razvan
For call a number on skype from your app you can use:
Code: Select all
on mouseUp
put "callto://004**********" into tNumber
launch url tNumber
end mouseUp
Code: Select all
on mouseUp
launch url "skype:echo123?call"
end mouseUp
Razvan