• 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: Set BOUNDS to FileMaker Pro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set BOUNDS to FileMaker Pro


  • Subject: Re: Set BOUNDS to FileMaker Pro
  • From: webguide <email@hidden>
  • Date: Sun, 28 Apr 2002 15:52:13 +1000

G'day Don,

> I am trying to set it up so I can MANUALLY size and position ANY FMP file
> window and use this file to record it's coordinates and size for plug-in
> use. I've been messing with some of the Applescript commands and can't seem
> to nail it.
>
> Can anyone assist me :-)

This is probably a bit verbose but it also explains what's happening:

tell application "FileMaker Pro"

set thebounds to bounds of window 1

copy (item 1 of thebounds) to pos1
copy (item 2 of thebounds) to pos2
copy (item 3 of thebounds) to pos3
copy (item 4 of thebounds) to pos4

set cell "pos1" of current record to pos1
set cell "pos2" of current record to pos2
set cell "pos3" of current record to pos3
set cell "pos4" of current record to pos4

end tell

Needless to say you need to determine whether a new record is required but
this should get you on the way.

Cheers

Kim

BTW, this was done in OSX/FMP but should be fine anywhere.
_______________________________________________
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.

References: 
 >Set BOUNDS to FileMaker Pro (From: Don Wieland <email@hidden>)

  • Prev by Date: Re: Is Finder "update" command broken in OSX?
  • Next by Date: Re: Satimage re_compile regex functions
  • Previous by thread: Set BOUNDS to FileMaker Pro
  • Next by thread: Re: Exponential notation [was: Re: How to calculate/process thi
  • Index(es):
    • Date
    • Thread