February 16, 200520 yr 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
February 16, 200520 yr 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
February 16, 200520 yr First, you have to get the data for within the FP7 database 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
February 16, 200520 yr 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
April 9, 200520 yr 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.
April 9, 200520 yr tell application "Skype" activate end tell After a few hours looking around I found what I needed at the Apple Forum for Applescripts
April 10, 200520 yr 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