Jump to content
Sign in to follow this  
Anthony Talo

Simple Script not working

Recommended Posts

I would think this would work:

tell application "Finder"

set source_file to (choose file with prompt "Choose File...")

end tell

tell application "FileMaker Developer"

tell database "LexiconProduct"

tell layout "Control Panel"

set cell 247 to source_file

end tell

end tell

end tell

It always stops at the cell reference and puts up a Dialog "blah, blah, blah. Object not found"

TIA

Share this post


Link to post
Share on other sites

Have you tried using the name of the cell in quotes?

And, by the by, Filemaker Developer can be referred to as "Filemaker" in OSX

So why not use:

tell application "FileMaker"

set cell "NameHere" of layout "Control Panel" of database "LexiconProduct" to source_file

end tell

Good luck !

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.