Re: FMP Container Field crashes & oddities...
Re: FMP Container Field crashes & oddities...
- Subject: Re: FMP Container Field crashes & oddities...
- From: Xandra Lee <email@hidden>
- Date: Sun, 15 May 2005 09:54:26 -0400
On 05-13-2005 11:54 PM, "Gary (Lists)" <email@hidden> wrote:
> tell app "FileMaker Pro"
> set theDataPath to cell "Pretty Picture" of current record
> --> file specification
> end tell -- could be one line, split for list post
-- there's no problem when you're accessing a file refenence.
To see what I mean: store a non-image or QT file - NOT a reference to the
file)
(for example a Text Edit RTF doc) in your container field "Pretty Picture"
(do this manually to ensure the file itself is stored)
NOW
Run your script,
---------------------------
As for using the word "file" -- it's only used in my comments not in script
commands
By the by: -- = commented out line (unfortunately email then breaks this up
--> comments out I use it as a shortcut cut for returns
In brief was using standard conventions ( but email line breaks messed up,
sorry if that confused..
-----------------------
As to what I want to do:
I simply want to
A) determine if a container cell contains embedded (stored) or is referenced
B) If it is a reference - insert path, file info etc.
(this part is a no-brainer) - othewise just mark as embedded.
THE PROBLEM Is that any attempt at accessing the contents of an EMBEDDED
file that doesn't meet very specific criteria CRASHES FMP.
I was able to reliably crash FMP when the container was an EMBEDDED:
1. Text Edit.rtf file
2. Tex-Edit Plus.txt file (shoould note this text format DOES include style
formating.
3. .jpg file (without fileType or creator code)
I stopped testing after all these crashes.
(There is no problem if the embedded file is an image WITH file type data.
(don't know yet if extension or creator code is necessary) Have not tested
Quicktime movies, or Audio files-- for the moment I'll assume these are ok.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden