RE: Filemaker text Formatting
RE: Filemaker text Formatting
- Subject: RE: Filemaker text Formatting
- From: Michael Tompsett <email@hidden>
- Date: Tue, 06 Aug 2002 09:33:35 +0100
One way of doing this is using the DO MENU script. First you go to the cell
you want to change, then SELECT ALL using DO MENU, then do the styling you
want. Be careful when you place the DO MENU command, if for example you
wrote TELL CELL 3ONE2 and nested the DO MENU statements within the TELL
statement then it does not work, for that reason you have to use the GO TO
command.
tell application "FileMaker Pro"
activate
go to cell "one"
do menu menu item "Select All" of menu "Edit"
do menu menu item "Bold" of menu "Style" of menu "Format"
do menu menu item "Geneva" of menu "Font" of menu "Format"
end tell
There is more information on the DO MENU command in the Apple Events
Reference in the Filemaker and Apple Events folder within the Filemaker
Folder
Michael Tompsett
>
ok, I'm new to Filemaker and this is probably OT, but what I want to
>
do is force my Text fields in a simple FM database to be Helvetica
>
Plain 10 pt. I've set the fields to that as default but, then if I
>
cut and paste (from a web page) formatted text into a text field, it
>
remains formatted. Presumably, there is a way to do this without
>
scripting, but I can't find it in the manual and this is a
>
scripting list after all.
_______________________________________________
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.