Newbies andybak Posted April 18, 2005 Newbies Posted April 18, 2005 Hi there, I'm new to Applescript and FileMaker although I've done a bit of database development on Windows and Linux. I've having trouble working out in advance what is possible with Applescript and FMPro. In particular I want to read a folder of filenames and if they match a rule create a record that has container field with a reference to an image filename. I am not clear whether I need the improvements to the container field brought in for Filemaker 7 or not. Can I construct a string that points to a filepath and insert it into a container field in FileMaker 6? I am not going to have access to a Mac until I have agreed to do the work or else I would be working this out by trial and error! thanks, AndyB
CoZiMan Posted April 18, 2005 Posted April 18, 2005 Best to use Productive Computings fileManipulator or TroiFile plugins. Indispensible before v7. My 2c
Newbies andybak Posted April 18, 2005 Author Newbies Posted April 18, 2005 From first glance these don't seem to add any functionality to container fields. Am I missing something? The specific functionality I was unsure of is: Can Applescript set the source path for a container field (reference not embedded) to an arbitry string?
Fenton Posted April 18, 2005 Posted April 18, 2005 Yes, AppleScript can reset the field to another file or alias reference.
bruceR Posted April 20, 2005 Posted April 20, 2005 You don't need anything extra at all. You're talking about a straight Filemaker import action using import folder.
Newbies andybak Posted April 20, 2005 Author Newbies Posted April 20, 2005 I think the processing I have to do might be too complicated for 'import folder' i.e. I have to scan a directory, get the filename, change it into a related filename and link to that image also. But as long as I can set the file reference of a container field from a string variable without needing FileMaker 7 I should be OK...
Newbies andybak Posted April 23, 2005 Author Newbies Posted April 23, 2005 Sorry to raise this again. I'm still unclear on a one point. In *Filemaker 6* can I set the reference to a container field via a calculation? There are many posts about this but they don't clearly state whether this functionality requires Filemaker 7.
Recommended Posts
This topic is 7153 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 accountSign in
Already have an account? Sign in here.
Sign In Now