Re: Help with Filemaker 5.5
Re: Help with Filemaker 5.5
- Subject: Re: Help with Filemaker 5.5
- From: Matt Petrowsky <email@hidden>
- Date: Tue, 11 Feb 2003 01:03:25 -0800
The following script runs great outside of FileMaker Pro... (e.g. in
Script Editor)
It creates all of the possible 256 colors for setting text.
tell application "FileMaker Developer"
repeat with i from 1 to 256
go to (create new record with data {"Text color " & i} at layout
"Default")
do script FileMaker script "Select Text"
do menu menu item i of menu "Text Color" of menu "Format"
end repeat
end tell
Provided you create a FileMaker script named "Select Text" and it does
a Go To Field [Select/Perform,"Text Field"]
However, as soon as you put it within a field inside of FileMaker and
you use the Perform AppleScript [] script step the thing gives you an
error -10000. Of course, the only line you need within FileMaker is do
menu menu item [...] since FileMaker is self referencing.
This looks like a bug to me. I am using FMP6 and Developer 6 and
neither work.
Matt
On Monday, February 10, 2003, at 05:57 PM, Nicholas Orr wrote:
>
What are you trying to do exactly?
>
>
It would be easier to do the same thing via a script inside filemaker
>
which you called using the "do script" function.
>
>
Nick
>
>
On Tuesday, February 11, 2003, at 03:33 AM, Gvran Ehn wrote:
>
>
> I'm doing this under OS9 and FMpro 5.5 in order to switch color on a
>
> cell and it gives me no problem...
>
>
>
> do menu menu item 35 of menu 6 of menu 6
>
>
>
> ...but when doing the same under OSX 10.2.3 and FMpro 5.5 then it
>
> returns an error, why?
>
>
>
> I'm just guessing here, but, is there a problem with the events in
>
> 5.5? Does an upgrade of FMpro to 6 solve this problem?
>
>
>
> regards
>
> --
>
> goran.ehn
>
> citat media production | phone +46 31 701 56 00, direct +46 31 701 56
>
> 94
>
> fax +46 31 701 56 20, magasinsgatan 22, SE-411 18 goteborg, sweden
>
> www.citat.se
>
>
>
> email@hidden
>
> _______________________________________________
>
> 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.
>
_______________________________________________
>
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.
_______________________________________________
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.