Re: Filemaker scripts [newbie post]
Re: Filemaker scripts [newbie post]
- Subject: Re: Filemaker scripts [newbie post]
- From: ehsan saffari <email@hidden>
- Date: Fri, 15 Feb 2002 11:29:11 -0600
On 15/02/2002 08:43, Jason Davies <email@hidden> wrote:
>
I have written a filemaker script (not an AS) that copies text, pastes it to
>
Nisus, then is supposed to copy the same field in the next record, until it
>
reaches the last. However, though it seems to move to the next record, it
>
pastes
>
the same thing repeatedly in Nisus. Clearing the clipboard (via the Finder)
>
doesn't seem to make a difference.
Are you activating FMP for copy and activating Nisus for paste?
>
Interrupting the script with a pause, then hitting continue, remedies the
>
problem (is this a bug?). But we are talking about hundreds of entries...
>
>
Can I remedy this error by inserting an AS? If so...
>
>
(have tried goto next record and similar; can't use ID of record as it is a
>
found set with irregular IDs; have tried Filemaker help; OS X help; archives;
>
calling the script via another script to refresh as a pause does; much hair
>
scattered over desk. In other words, the list is not a first resort, much
>
respect to expert listers to whom this is obvious...).
I'd skip the clipboard, and note that there is no go to next/previous
record in FMP AS
tell application "FileMaker Pro"
set rCnt to count of records of document 1
repeat with i from 1 to rCnt
go to record i
set dVar to cell "Name"
--pass dVar to Nisus
end repeat
end tell
Does the contents of each cell get inserted in a new Nisus document? You
can use "field" instead of cell to put a column in a variablle and pass
to Nisis at once.
hth
ehsan
_______________________________________________
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.