AppleWorks fields on a layout
AppleWorks fields on a layout
- Subject: AppleWorks fields on a layout
- From: T&B <email@hidden>
- Date: Tue, 3 Oct 2006 00:31:57 +1000
Hi all,
I'm trying to get the location of each field in a layout in an
AppleWorks database. I can get as far as locating where all the
fields are on the layout, but just not which one is which.
For instance, to locate the first field object on the layout, and get
its properties (eg color and location):
tell application "AppleWorks 6"
activate
select menu item "Layout" in menu "Layout"
tell drawing area of front document
repeat with fieldSearch in graphic objects
if class of fieldSearch is field then
set fieldFound to contents of fieldSearch
exit repeat
end if
end repeat
get fieldFound
get properties of fieldFound
end tell
end tell
But I can't find a way to get the name of the database field that the
graphic object field (fieldFound) represents.
Any ideas?
Thanks,
Tom
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden