Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Applescript calling using Skype

Featured Replies

Hi there - we are a small company big into skype and we use FP7 for our contacts database. I am fairly new at all of this but have found that I can do some amazing scipting within the FP7 application.

I now want to take it a step further and use the data held in the contacts database (namely the telephone number) and get it to automatically call the number using skype (www.skype.com)

My issue is that I cannot define a parameter to pass to the applescript

I have been using a select field and copy statement but then where do I paste it or set it as the passable parameter?

This skpe code below works well but I just need the last bit to get it to work

tell application "Skype"

set call_string to "callto:" & PASTE

get URL call_string

end tell

All help greatfully recieved

Cheers

Jonathan

  • Author

I have some more info -

I reckon now I should be using a Calculated Applescript BUT there is no where in the known universe any reference naterial on how to perform a calulated apple script so If anyone can help me understand the Quote marks syntax etc then I would be very greatful

"tell application "Skype"

set call_string to " & "callto:" & Employees::Telephone &

" get URL call_string

end tell"

Cheers

Jonathan

First, you have to get the data for within the FP7 database B)

tell application "FileMaker Pro" to set phonenumber to cell "Telephone" of current record of layout "Employees"

then, use your "Skype" script.

tell application "Skype" to get URL "callto:" & phonenumber

do not use the word "PASTE' : it is the name of a AppleScript command.

In a ScriptMaker "perform AppleScript" statement you can put :

set phonenumber to cell "Telephone" of current record of layout "Employees"

tell application "Skype" to get URL "callto:" & phonenumber

  • Author

That works very well indeed thankyou

I also have a main contact number in the layout Companies and have the following script which will not work for some reason. I presume this is because I am calling it from the Employees layout instead

set phonenumber to cell "Main Telephone" of current record of layout "Companies"

tell application "Skype"

set call_string to "callto:" & phonenumber

get url call_string

end tell

Cheers

Jonathan

  • 1 month later...

I am trying to do a real simple script which is just to open Skype using a button but the script above is doing far more than I want to at this stage.

Could someone please give me a little script that will just open Skype, I would really appreaciate it.

Thanks.

tell application "Skype"

activate

end tell

After a few hours looking around I found what I needed at the Apple Forum for Applescripts

This may be of particular interest to many which I found on a Skype Forum:

"Please take a look at Jon's Phone Tool which handles all of the transformations for you from Address Book as well as from Entourage, Palm Desktop, Now Contact, FileMaker Pro, or just about any application and also provides many other useful features such as pausing iTunes, a call log, a call timer, and much more." (Shareware) http://homepage.mac.com/jonn8/jpt/

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.