Jump to content
Sign in to follow this  

Applescript my Timbuktu...

Recommended Posts

I am using the Perform Applescript script in FMP 5. I want the script to open my Timbuktu and navigate to a particular FMP Server. That part works fine. However, after I run the script in FileMaker and Timbuktu comes up, I press "cancel" instead of "OK" then I get an error -27. I know I need an additional line at the end of my applescript that says "If user presses the cancel button then tell application Timbuktu to quit". I just have no idea how to write that in applescript.

My script is pasted below. TIA

tell application "Timbuktu Pro"


open window "New Connection"

end tell

tell application "Finder"


open selection

end tell

tell application "Timbuktu Pro"


make new control session connecting to AppleTalk address {zone:"ADMIN", NBP type:"Timbuktu Host", machine:"MyServerName", network:11111, node:111, socket:111} when rejected let user reenter

end tell

Townsend frown.gif" border="0

Share this post

Link to post
Share on other sites

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
Sign in to follow this  


Important Information

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