Re: Filemaker scripts [newbie post]
Re: Filemaker scripts [newbie post]
- Subject: Re: Filemaker scripts [newbie post]
- From: Jason Davies <email@hidden>
- Date: Sun, 17 Feb 2002 01:37:15 +0000
>
It's a little difficult to say exactly what's going wrong without a bit more
>
information about the script itself, Jason.
fair enough!
>
>
However, instead of going down that route in more detail just yet, I was
>
wondering about the general approach you've taken. From your description, it
>
sounds as if you're trying to copy the contents of a field and paste it into
>
Nisus on a record-by-record basis.
In fact I was having to combine two records but thanks to off-list help from
Ehsan I have now created an appropriate calculation field.
>
>
My guess is that you've handled the copying part of this process by using:
>
>
Copy [Select, "theField"]
>
>
Forgive the oblique response, but is there any reason why you don't copy
>
"theField" (or whatever you've called it) across all records - and then
>
paste the result into Nisus all in one go?
Yes and no. I am actually trying to write two scripts that do similar things.
One could do what you have described though so this is useful.
>
>
Of course, you may need to paste the field data into a specific, separate
>
positions within Nisus. But if you're simply trying to copy and paste as a
>
list, then the 'Copy All Records' method should speed up the entire process
>
considerably.
I altered your suggestion appropriately but got the following error: "Expected
end of line etc but found plural class name " where "Records" was highlighted.
>
Go to Layout ["1-field layout"]
>
Copy All Records
>
Go to Layout [original layout]
>
This is with FM 5.5 on OS X.1.2, Ishould have said.
>
4) Then continue with the part of the script that pastes into Nisus
>
Thanks to some patient help off-list from Ehsan I had the script working
yesterday. Now I come to use it again, I find that I am right back where I
started, with Nisus only getting the first record. Does anyone else script with
Nisus? Do they find it reliable? I am using 6.02 and 6.5 and both return
unpredictable results. Sometimes they do what I expect, sometimes what I don't,
and quite often it does nothing but Script editor continues to try to complete
the command and I have to wait for a timeout or force-quit it.
>
This will avoid the need for the Loop/End Loop routine that I assume is in
>
your current script.
>
>
In addition, since you say you have hundreds of entries, I think you'll be
>
impressed with the performance improvements gained from this approach.
>
hope so!
_______________________________________________
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.