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

Re: AppleWorks fields on a layout


  • Subject: Re: AppleWorks fields on a layout
  • From: Yvan KOENIG <email@hidden>
  • Date: Mon, 2 Oct 2006 17:09:34 +0200


Le 2 oct. 2006 à 16:31, T&B a écrit :

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?

Hello

As far as I know there is no way thru official tools.
If you wish I may ask to a friend which has deep knowledge about some structures used by the pair AppleWorks + AppleScript.


Just a personal comment.

On this forum some ones are not using english AppleWorks. I would be fair to take care of them.

It was not really difficult to replace the "english specific"
select menu item "Layout" in menu "Layout"
by the world wide recognised:
select menu item 3 in menu 5

Yvan KOENIG _______________________________________________ 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: T&B <email@hidden>
References: 
 >AppleWorks fields on a layout (From: T&B <email@hidden>)

  • Prev by Date: slide class in PowerPoint 2004
  • Next by Date: Converting application classes to raw codes in chevrons
  • Previous by thread: AppleWorks fields on a layout
  • Next by thread: Re: AppleWorks fields on a layout
  • Index(es):
    • Date
    • Thread