Mats Posted October 20, 2008 Posted October 20, 2008 I use Mac making my database. For auto dialing a telephone number I use a AppleScript going through the program Dialectic which dials X-Lite for me. Working fast and good. But now I have to make it work for Windows too. So I hope I am in the right thread and can get some good advice Thanks!
aholtzapfel Posted October 21, 2008 Posted October 21, 2008 Depending on what you need it to do. It may be as easy as (in the filemaker script) checking the system platform and either running your apple script or preforming the "Dial Phone" script step. ("dial Phone" will use the windows default dialer to place a call to the number you specify. In your case this should be your X-Lite Dialer. This is NOT compatible with Mac OS X.) The dial phone script step does not do anything but dial. So, if you need to have your solution Hang Up, Check the Status of a call that was placed, or anything else, you my need to look into using VBS or some other scripting to do this.
Mats Posted October 23, 2008 Author Posted October 23, 2008 Aha great and thanks for the reply. You would not happen to have the platform checking script? It also looks like I can not make the "Windows Dial script" on a Mac, but have to be done on a PC / Windows :
aholtzapfel Posted October 24, 2008 Posted October 24, 2008 If ( Abs(Get(SystemPlatform))= 2) # Windows Else if ( Abs(Get(SystemPlatform))= 1) # Mac End IF Check out the "Get(SystemPlatform)" function in FM's Help. All the best. Allen
Mats Posted October 24, 2008 Author Posted October 24, 2008 Super thanks! Do I put this script before each scripts for dialing or only before the applescript?
Fenton Posted October 24, 2008 Posted October 24, 2008 If ( Abs(Get(SystemPlatform))= 2) Dial Phone [ phone # ] Else if ( Abs(Get(SystemPlatform))= 1) Perform AppleScript [ your AppleScript ] End IF
Mats Posted October 24, 2008 Author Posted October 24, 2008 Great, two scripts : But where shall I implement it?
Fenton Posted October 24, 2008 Posted October 24, 2008 (edited) It's not 2 scripts. I just filled in what the actual Window and Mac script steps would be. It's 1 script. You'd likely attach it to a button that looked like a telephone ;-] [P.S. AppleScript can be fussy about seeing the data in fields. The easiest way to be sure is to have the phone# field on the current layout.] Edited October 24, 2008 by Guest
Mats Posted October 24, 2008 Author Posted October 24, 2008 (edited) Ok I got it. But where would I insert this script? In "Perform Script" or "Dial Phone"? Thats my problem as the same "Phone button" is suposed to work both on Mac and PC. Edited October 24, 2008 by Guest
Fenton Posted October 25, 2008 Posted October 25, 2008 So have it run the script. Attach it to the button; it will fork accordingly.
Mats Posted October 27, 2008 Author Posted October 27, 2008 Gah! I have never worked with Windows and when I used the "Dial up" from Filemaker, Windows has it's own dialer. So I have to find out how to specify to Dial with X-Lite from FM. Any body know this in windows I would truly appreciate the help!
aholtzapfel Posted October 28, 2008 Posted October 28, 2008 "dial Phone" will use the windows default dialer to place a call to the number you specify The windows dialer will work (as long as it is set-up to use your phone system). Otherwise, set the dialer you want to use as the windows default.
Mats Posted October 28, 2008 Author Posted October 28, 2008 I have got that information now, but I have not found out how to configure Windows to use X-Lite? Done a lot of googling, but no luck.
Mats Posted November 3, 2008 Author Posted November 3, 2008 I got it to work in Windows environment now using open URL and code: "sip:" & Filter(mediahelp::WorkPhone;"0123456789") I would think that the same code would work in Mac OS X 10.5 too, but it seems like it do not handle sip the same way. So I am half way now, and just need help with the Mac OS X script.
Mats Posted October 27, 2009 Author Posted October 27, 2009 I did still not find a solution. If some body did please share.
Recommended Posts
This topic is 5549 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now