Re: HelpPlease!
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.