Re: COLOR MIXING
Re: COLOR MIXING
- Subject: Re: COLOR MIXING
- From: "Jason W. Bruce" <email@hidden>
- Date: Tue, 28 Aug 2001 10:56:10 +0000
This is untested, but usually in Filemaker you have to set the contents of a
cell to a variable, and then use that variable to set the contents of
another cell. Something like the following (which is untested)
set foo to cell "MAKE Col Container" of current record of document 1
set cell "Make RGB" of current record of document 1 to foo
Jason Bruce
>
Message: 4
>
Date: Mon, 27 Aug 2001 17:17:04 +0800
>
From: GUENTER LEITNER <email@hidden>
>
Reply-To: email@hidden
>
Organization: LILAC & COGNAC LTD
>
To: applescript-users <email@hidden>
>
Subject: COLOR MIXING
>
>
IM NEW TO APPLE SCRIPT AND I NEED SOME HELP.
>
>
I'M WORKING ON A FILEMAKER PROJECT FOR RGB COLOR MIXING
>
>
IN THE FIELD Make RGB I KEY IN THE COLOR VALUES: 112451,23592,34733
>
>
>
NOW I NEED A APPLE SCRIPT TO CREAT-PUT THE COLOR-SWATCH-IMAGE-SAMPLE
>
INTO
>
>
MY FIELD MAKE Col Container=
>
>
SO FAR I TRYED
>
>
>
tell application "FileMaker Pro"
>
activate
>
tell database 1
>
activate
>
set cell "MAKE Col Container" of current record to choose color cell
>
(cell "Make RGB" of current record)
>
end tell
>
end tell
>
>
BUT IT RETURN ME THE ERROR:
>
>
--> FileMaker Pro got an error: Can't make some data into the expected
>
type.
>
>
SOME BODY KNOW'S WHAT IS WRONG.
>
>
HELP IS APPRECIATED
>
>
GUENTER LEITNER