• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I catch href tel web link to dial a phone number?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I catch href tel web link to dial a phone number?


  • Subject: Re: How do I catch href tel web link to dial a phone number?
  • From: Bill Vlahos <email@hidden>
  • Date: Thu, 30 Nov 2017 16:29:50 -0800

Takaaki,

I didn’t mean to mention Automator. I originally tried to write an Automator
service for this thinking that Automator would pass the referenced telephone
number to a variable but it didn’t seem to capture anything. An applet is what
I want.

What would the plist syntax look like so that it passes the details to a
variable in the applet?

Yes MXIE and ZAC are VOIP applications.

Thank you,
Bill Vlahos

> On Nov 30, 2017, at 7:07 AM, Takaaki Naganoya <email@hidden> wrote:
>
>> 2017/11/30 6:40、Bill Vlahos <email@hidden>のメール:
>>
>> I would like to catch the href tel link from a phone number on a web page to
>> enable click to dial from a web page with our Zultys unified communications
>> applications MXIE and ZAC.
>>
>> https://developers.google.com/web/fundamentals/native-hardware/click-to-call/
>>  has a great discussion and link on this which should work for Firefox and
>> Chrome on Macintosh OS. For example Firefox prompts the user to choose which
>> application to send it to.
>>
>> I wrote the following Automator Application expecting input to include
>> “tel:+1-303-449-7111” as the input for Automator application but nothings
>> seems to be passed to it. There probably is a way to catch it just with an
>> AppleScript application but I don’t know how to do that.
>>
>> The Automator AppleScript portion is below.
>>
>> on run {input, parameters}
>>      display dialog input
>>      set output to ""
>>      set vTemp to input as string
>>      repeat with i from 1 to count of characters of vTemp
>>              if "1234567890" contains item i of vTemp then set output to
>> output & item i of vTemp
>>      end repeat
>>      display dialog output
>>      return output
>> end run
>>
>> How do I capture and pass the phone number to my script?
>
> To receive the URL scheme “tel:”, the script have to run as an applet and
> have a Info.plist entry to describe to receive URL scheme “tel:”.
>
> I don’t have the experience with MXIE and ZAC (VoIP apps?). So, I don’t
> understand why you want to write the script with Automator not with Script
> Editor.
>
>
> --
> Takaaki Naganoya
> email@hidden <mailto:email@hidden>
> http://piyocast.com/as/ <http://piyocast.com/as/>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: How do I catch href tel web link to dial a phone number?
      • From: Takaaki Naganoya <email@hidden>
References: 
 >How do I catch href tel web link to dial a phone number? (From: Bill Vlahos <email@hidden>)
 >Re: How do I catch href tel web link to dial a phone number? (From: Takaaki Naganoya <email@hidden>)

  • Prev by Date: Re: How do I catch href tel web link to dial a phone number?
  • Next by Date: Re: How do I catch href tel web link to dial a phone number?
  • Previous by thread: Re: How do I catch href tel web link to dial a phone number?
  • Next by thread: Re: How do I catch href tel web link to dial a phone number?
  • Index(es):
    • Date
    • Thread