This is a public Forum  publicRSS

Forum post

    Sten Kaspersen
    Dial Phone script step on FMGo
    Forum post posted July 24, 2010 by Sten Kaspersen, last edited February 9, 2012
    2152 Views, 24 Comments
    Title:
    Dial Phone script step on FMGo
    Post:

    When executing the dial phone script step on FMGo nothing happens. You would asume that the iPhone would dial the selected number. Is this a non background job issue, or am I missing something?

    Answer

    • TSGal
      posted July 26, 2010 by TSGal  Permalink

      Sten Kaspersen:

      Thank you for your post.

      After working with this, the Dial Phone script step will work properly when referencing a field.  However, if I type in a number directly, it will dial a random number.

      Another option would be to use the "Open URL" script step using the "tel:" option..  For example, "tel:5551212" or "tel:" & Fieldname

      TSGal
      FileMaker, Inc.

    • Ali Diba
      posted October 17, 2010 by Ali Diba  Permalink

      Dial Phone script does not work on my iPhone. If I select the dialog option then it shows the number but does not dial. Is there a setting somewhere that I am missing?

      thanks,

      -ali

    • TSGal
      posted October 18, 2010 by TSGal  Permalink

      Ali Diba:

      Thank you for your post.

      Are you referencing a field or a string?  Does the script continue after the Dial Phone script step?  If you post your script, it may be easier to understand what is occurring.

      TSGal
      FileMaker, Inc.

    • Ali Diba
      posted October 18, 2010 by Ali Diba  Permalink

      I am referencing a field. I was able to solve the problem using the URL suggestion. Dial Phone script did not dial the phone on my iPhone. Thanks for your help.

      -ali

    • Christina Labuzetta
      posted December 29, 2010 by Christina Labuzetta  Permalink

      Hi

      We want to try out the script to use in filemaker go.

      Is there anyway that you can post step by step instructions in how to do it?

      We have the phone field as a text field and we have 15K records.

      Thanks a lot!!!

    • TSGal
      posted December 29, 2010 by TSGal  Permalink

      Christina Labuzetta:

      Thank you for your post.

      In FileMaker Pro, create a script "Dial" with the script step:

      Dial Phone [ No dialog ; <Phone field> ]

      On your layout, create a rectangle, select the rectangle, pull down the Format menu and select "Button Setup..."

      On the left side, select "Perform Script", click "Specify..." on the right side, select the "Dial" script and click OK.

      If you plan to use the FileMaker file only on your iPhone, then close the file in FileMaker Pro, connect your iPhone to your Mac, launch iTunes, and move over the database file.  If you are accessing the file via network connection, then access the file as a guest.  Once the file is open on the iPhone, tap the rectangle to execute the script "Dial" and it will dial the number in the <Phone field>.

      For some reason, forum user "Ali Diba" was unable to make this work with the "Dial Phone" script step.  If this is also your case, then change the Dial Phone script step to:

      Open URL [ No dialog ; "tel:" & <Phone field> ]

      Let me know if you need clarification for any of the above steps.

      TSGal
      FileMaker, Inc.

    • Christina Labuzetta
      posted December 29, 2010 by Christina Labuzetta  Permalink

      wow thanks a lot for the fast reply!

      I'll give it a try right now!!

      Thanks and Merry Christmas!

    • Christina Labuzetta
      posted December 29, 2010 by Christina Labuzetta  Permalink

      works out great!!!!!!!!!!!!!!

      I can't thank you enough!

    • Christina Labuzetta
      posted December 29, 2010 by Christina Labuzetta  Permalink

      Quick question:

      I have a field that contains some notes and phone numbers along with those notes. Is there any way for filemaker go to recognize the phone number along those notes?

      Thanks again in advance!

    • TSGal
      posted December 29, 2010 by TSGal  Permalink

      Christina Labuzetta:

      If the phone number is contained in a Notes field, it may be possible to extract the phone number and dial it.  One option is to create a Calculation field, PhoneCalc, that filters only numbers.  That formula would be:

      Filter ( <Note field> ; "0123456789" )

      This extracts all numbers from the field.  The caveat is if you have other numbers in the field separate from the phone number.

      If the telephone number is always in a specific format, like (xxx) xxx-xxxx, then you can search for the first "(" and extract 14 characters.  For example, that formula would be:

      If ( PatternCount ( <Note field> ; "(" ) > 0 ; Middle ( <Note field> ; Position ( <Note field> ; "(" ; 1 ; 1 ) ; 14 ) ;  ""  )

      See if one of these options work for you.

      TSGal
      FileMaker, Inc.