ChangeAgent Posted May 11, 2016 Posted May 11, 2016 I hope this is the right forum to post this. Using FMP exclusively on Mac OS. I want to be able to have a document on the HD and drop it on the DB somewhere (container field or?) to create a direct link to it so it can be opened (clicking it to open) from within the DB. I like to do the same thing for folders. Is this possible? And if so how? If it is please remember, in your answer, that I am a FMP beginner.
Wim Decorte Posted May 12, 2016 Posted May 12, 2016 Container fields are the ones that can store files. Note that you store something in a container, it does not remove it from your HD, it takes another physical copy to be stored in the db. Unless you use "store only a reference" when you insert the file into the container. But storing as reference does not work well if you the need to share your db with someone else. To open the stored file you can us "export field contents" which has a option to automatically open the file. Things like PDFs, movies and audio can show their content / play without having to export, for that look into the interactivity settings of the container fields. For folders: all you'd need to do is store the textual path to folder. You would however then do a little bit of OSX scripting magic to open up the folder in Finder...
comment Posted May 13, 2016 Posted May 13, 2016 On 05/12/2016 at 2:06 PM, Wim Decorte said: For folders: all you'd need to do is store the textual path to folder. You would however then do a little bit of OSX scripting magic to open up the folder in Finder... Actually, you can use the OpenURL[] script step to open a folder - no OS scripting "magic" is required.
ChangeAgent Posted May 15, 2016 Author Posted May 15, 2016 (edited) On 12 May 2016 at 1:06 PM, Wim Decorte said: Container fields are the ones that can store files. Note that you store something in a container, it does not remove it from your HD, it takes another physical copy to be stored in the db. Unless you use "store only a reference" when you insert the file into the container. But storing as reference does not work well if you the need to share your db with someone else. To open the stored file you can us "export field contents" which has a option to automatically open the file. Things like PDFs, movies and audio can show their content / play without having to export, for that look into the interactivity settings of the container fields. For folders: all you'd need to do is store the textual path to folder. You would however then do a little bit of OSX scripting magic to open up the folder in Finder... Hi Wim, Sorry for the delay, somehow I did not get an email that you posted. I managed the 'open folder option' Thanks. Where do I find this "export field contents" option? +-+ On 13 May 2016 at 0:57 AM, comment said: Actually, you can use the OpenURL[] script step to open a folder - no OS scripting "magic" is required. Hi Comment, I did that and it works, thanks. Edited May 15, 2016 by ChangeAgent
Recommended Posts
This topic is 3475 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