FMP Container Field crashes & oddities...
FMP Container Field crashes & oddities...
- Subject: FMP Container Field crashes & oddities...
- From: Xandra Lee <email@hidden>
- Date: Fri, 13 May 2005 20:16:44 -0400
I'm crashing reliably on trying to get cell data, in all but ideal
conditions when accessing.
CRASH EXAMPLE:
tell application "FileMaker Developer"
set curRec to a reference to current record of window 1
set theData to cell contField of curRec
--NON CRASHING SCENARIOS: that function as expected:
-->file "syd:Text&Data etc etc.jpg ( if just a file reference)
--> yeilds picture/imagedata itself if stored (AND if its an image with
a file type (& creator? & file extension?)
--RELIABLY CRASHES FMP:
--> Crashed when trying get data of Tex-Edit Plus file (which didn't
have an extension, and actually had a pasted picture embedded)
--> Crashed when trying get data of Text-Edit .rtf file
--> Will definitely crash if its a stored image without file type (and/or
creator (ie any unedited downloaded .jpg/gif if you've not set these
extensions to open with some program other than preview)
-- BUT THIS an FMP issue since this scenario will crash FMP even when
attempting to store such a file
End tell
ODDITIES:
1. In some/all? instances using an Applescript to set the container field
to a reference to a picture --> file icon in the container field (rather
than the image one gets when manually inserting reference to the image file)
2. set dataType to class of theData
--> «data PICT» if field is empty
_______________________________________________
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