Jump to content
Server Maintenance This Week. ×

Simple Script not working


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

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

Link to comment
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 !

Link to comment
Share on other sites

This topic is 7126 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.