• 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
AppleWorks fields on a layout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: AppleWorks fields on a layout
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Re: ACROBAT 7: Scripting Default Font Size for Text Annotations
  • Next by Date: slide class in PowerPoint 2004
  • Previous by thread: Re: Applying Character style in Word 2004
  • Next by thread: Re: AppleWorks fields on a layout
  • Index(es):
    • Date
    • Thread