• 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: HelpPlease!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HelpPlease!


  • Subject: Re: HelpPlease!
  • From: Kai Edwards <email@hidden>
  • Date: Sun, 24 Mar 2002 14:05:08 +0000

Sun, 24 Mar 2002 15:14:50 +1000, The Cruices <email@hidden> wrote:

(snip - intro)

> The following script is indeed simple and works as far down as create new
> record. However nothing I have tried after that works and I have tried just
> about everything except obviously the correct thing. I would really appreciate
> someone's advice.
> Thanks
> Paul Cruice
>
> tell application " FileMaker Pro" (*I am using FileMaker 5.0v3*)
> open file "Macintosh HD:Desktop Folder:TestDB"
> activate "TestDB"
> create new record
> (*At this point I wish to paste from the clipboard into the Field
> named
> "Verses" of the Layout named "Main Fields" of the newly created record.
> Can
> someone please help point me in the right direction?*)
> end tell

This should work, Paul. Let me know if it doesn't! :-)

-------------------------------------------------------
tell application "FileMaker Pro"
activate
if not (exists database "TestDB") then open file [NO BREAK]
"Macintosh HD:Desktop Folder:TestDB"
if window 1's name is not "TestDB" then go to window "TestDB"
if current layout's name is not "Main Fields" then [NO BREAK]
go to layout "Main Fields"
set newRecord to create new record
go to newRecord
set newRecord's cell "Verses" to the clipboard
end tell
-------------------------------------------------------

HTH

Kai

--

**********************************
Kai Edwards Creative Resources
1 Compton Avenue Brighton UK
Telephone +44 (0)1273 326810
**********************************
_______________________________________________
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.

  • Prev by Date: Re: Eudora scripts
  • Next by Date: Re: what is the best way to 'unset' a variable
  • Previous by thread: Re: HelpPlease!
  • Next by thread: Spawning separate processes with "do shell script"
  • Index(es):
    • Date
    • Thread