Jump to content
Sign in to follow this  
soulrider

simple picture import

Recommended Posts

i am using fmp as a picture database. on the database i saved the filename of the pictures . how can i autimat an import getting all the pics without doin it manually. something like get file 001.jpg (fieldname=001)

thx

s.

Share this post


Link to post
Share on other sites

Since you posted this to the AppleScript forum, I'm assuming that you know AppleScript.

FileMaker unfortunately can't import dynamically named files. I've solved this problem before by taking the file whose name I know from a field, and using AppleScript to duplicate the file to a known location with the name Dummy, overwriting any Dummy file it happens to find there. FileMaker's import script step is then set to import this Dummy file. Have FileMaker import that actual graphic instead of a reference to the graphic, however.

Chuck

Share this post


Link to post
Share on other sites

Well, it might be an issue of the trade off. I don't know much about importing pictures via a browser, but the solution might involve more than FileMaker can do alone. Perhaps one of the plug-ins out there can handle the work. I think a new plug-in came out recently that allows you to get the file path for a picture imported as a reference. Perhaps it does more. I don't know the name of it, though. Take a look around www.fmplugins.com and see if you find what you need.

The answer might also be using more than one application to connect what it does to FileMaker.

I would try to think about the limitations FileMaker has and then think about what you need to accomplish. Think about what steps the computer would have to do to get to your goal, and see if there are other applications that can be automated with AppleScript to get the job done.

Chuck

Share this post


Link to post
Share on other sites

without thinkin i went to fmplugins.com an my problem got solved. the solution is called "dialog magic 5.0" its a plug in which does excactly the job i want fm to do.

Import a picture by reference automatically

Cheers!

s.

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.