• 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: FileMaker question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FileMaker question


  • Subject: Re: FileMaker question
  • From: Pier Kuipers <email@hidden>
  • Date: Thu, 19 Jul 2001 16:13:19 +0100

At 22:23 -0400 18/7/01, Romulus Barabas wrote:

I'm trying to write a script for FileMaker Pro that would import a
PICT file whose name matches the value of a cell in the currently
displayed record. I couldn't find an import or insert picture command
in the dictionary, and the FM script "insert picture[]" will only
import a certain PICT that exists when I define it.

tell app "Finder" set thePath to selectionend telltell application
"FileMaker Pro"
activate go to database "myDatabase.fp3" set data
of cell "myContainerField" of current record to file thePathend tell
-- Unfortunately, this will only store a reference to your image, so the
picture will disappear if the original can't be found, is moved, or
whatever. You might try something with the clipboard, after copying the
image:
set data of cell "myContainerField" to the clipboard
Haven't tried it, but I think that requires Jon's commands.

Second question: is there a way to change the "current directory"?
Meaning: can I have the "choose file" or the "Insert Picture" dialog
box to go directly to a specific folder?

Control panel Default Folder might do what you want:
http://www.stclairsoft.com
Hope this helps,
Pier.--
Pier Kuipers
Visual ID
* the Media Asset Management solution *

2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Mobile +353 87 294 3063
Fax +353 1 478 1366
ISDN +353 1 602 0754

http://www.visualid.com


References: 
 >FileMaker question (From: "Romulus Barabas" <email@hidden>)

  • Prev by Date: RE: Select CD
  • Next by Date: Re: Incrementing digits in a file name (was: writing multiple files)
  • Previous by thread: FileMaker question
  • Next by thread: Filemaker Question
  • Index(es):
    • Date
    • Thread