• 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
Re: Set value of FileMaker container?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set value of FileMaker container?


  • Subject: Re: Set value of FileMaker container?
  • From: ehsan saffari <email@hidden>
  • Date: Wed, 20 Mar 2002 07:26:08 -0600

It was written:

>I'm trying to write an AppleScript that snags the current value of a field
>in my FileMaker database, sends the value to another application to be
>turned into an EPS barcode image, then places that barcode image in a
>container field. This is what I have so far:
>
> tell application "FileMaker Pro"
> set n to get data cell "number" of current record
> end tell
>
> tell application "Barcode Producer"
> set barcode to ISBN n -- returns a path to EPS file
> end tell
>
> tell application "FileMaker Pro"
>stuck here ->> set data cell "barcode" of current record to file (barcode)
> end tell

Exactly what is the error that you get? Try importing the barcode as a
reference manually, what does the error dialog say?

>I can't figure out how to convince FileMaker to accept a file reference as a
>picture that can be placed in a container.

FMP loves file references inserted into containers, it's the actual
images that it doesn't like.

If the EPS image doesn't have a preview, it will not show up in the
container. FMP doesn't render EPS, it only displays the preview.

You can also try TIFF or PICT, JPG etc. Or insert the path to EPS in a
text field and use that (though I don't know exactly how you are using
the image ref)

hth
ehsan
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: update: calling osascript command from php
  • Next by Date: Re: Input key
  • Previous by thread: Re: Set value of FileMaker container?
  • Next by thread: XPress Bug or user stupidity?
  • Index(es):
    • Date
    • Thread