"Chuck Pelto" wrote:
> On Apr 14, 2006, at 3:47 PM, Gary (Lists) wrote:
>
>> Chuck, why all the acrobatics? What are you trying to do that
>> AppleScript
>> can not do? What does FileMaker really have to do with the file
>> system
>> issues you are trying to overcome? You can insert content into a
>> FileMaker
>> field without any involvement of FileMaker at all, except accepting
>> the
>> data, of course.
>
>
> FMP would not allow me to insert an image into a container field.
Of course it will. :-|
> I do believe I had tried to use strictly AS techniques, e.g., set
> cell "myImage" to thisImage. Even copying 'thisImage' to the
> clipboard and pasting into the field didn't work. I wound up using
> the system described to Bob R.
This is rather meaningless, without any context. 'thisImage' could be
anything...it matters.
(String, alias, file...different versions of FM accept different kinds of
references.)
> That is as I recall this messy affair;
Sorry, Chuck, that you had an ordeal, but I assure you, it's quite common
and quite easy. One line to set a container field to an image (or other
file.)
> it being about a year ago. I
> also recall that I needed to use the repetitions of a container field
> for this project.
Who knows.
I use image containers too, sometimes. (Especially in my contacts db, where
I want to select a 'Home', 'Work' etc. and have a different icon display
depending on that value. Again, quite common.
> Which version of FMP did you find you could insert images into
> fields? I stopped investing in FMP with v6.
Every version I've ever used. Or, rather, let's say, without hesitation,
that includes version 4 to version 7 (8 is no different in this regard, I
assure you.) And, I would probably bet that this included FM version 2.x,
which I do believe I have on a floppy disk.
And, I would have to add that there was a ".gif" caveat at some point, FM
version 4 and 5, maybe? The whole "I own gif" legal issue was probably the
culprit, but as I recall, container fields would not accept a GIF...you had
to PICT it first.
Anyway, I think you had a bad run. It happens.
I provided some samples yesterday, so you can go get them if you want. One
for FMv5-6 and one for FM7-only.
--
Gary
|