Jump to content
Server Maintenance This Week. ×

Script working, but not working if I duplicate it. FMP 8 Advanced


This topic is 5429 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Script working, but not working if I duplicate it.

FMP 8 Advanced

I have the following script that allows me to dial phone numbers in FMP.

tell application "FileMaker Pro"

  set theNumber to the cellValue of cell "Phone 3" of current record

end tell



tell application "ABDialer"

			dial theNumber

end tell




I imported this DB form FMP 6 and it is working fine.  However if I duplicate the Dial-button and wanting to change the script to 




tell application "FileMaker Pro"

  set theNumber to the cellValue of cell "Phone 4" of current record

end tell



tell application "ABDialer"

			dial theNumber

end tell

I get “Expected end of line but found Identifier” highlighting theNumber

I do not understand as this script runs fine on button 1, 2 , 3, but not on the duplicate.

I also found that if I open the script 1, 2, 3, and hit the OK button it gives me the same fault, and still when in B mode it executes fine.

Any suggestions as I need to edit the script for button 4

Thanks.

Edited by Guest
Link to comment
Share on other sites

This topic is 5429 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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