• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
FMP Container Field crashes & oddities...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: FMP Container Field crashes & oddities...
      • From: "Gary (Lists)" <email@hidden>
References: 
 >AppleScript working with Tiger (From: Emile Schwarz <email@hidden>)

  • Prev by Date: Re: moving an application window from one display to another
  • Next by Date: Re: Propmpting user to enter Variables
  • Previous by thread: Re: AppleScript working with Tiger
  • Next by thread: Re: FMP Container Field crashes & oddities...
  • Index(es):
    • Date
    • Thread