Re: FileMaker Pro, get image by reference
Re: FileMaker Pro, get image by reference
- Subject: Re: FileMaker Pro, get image by reference
- From: Gary Lists <email@hidden>
- Date: Sun, 24 Nov 2002 14:34:54 -0500
On 11/25/02 2:11 AM, Andy Wylie wrote:
>
The coercion to alias is superfluous Gary.
Thanks Andy. Good to know, as PB also pointed out. I'm all for ditching the
extras :).
On 11/24/02 1:33 PM, Pieter van Helvoirt wrote:
>
Thanks for the reactions on my message.
>
I've used Gary's script and it does work, without any extra OSAX loaded.
Also good to know, as I was beginning to wonder if maybe I was just "lucking
out".
Pieter, I haven't had a chance to read thoroughly your dB relation
description, but I did scan it and I did read your implementation
differences. My initial reaction, as regards FM (I'm not an expert
AppleScripter, as has been noted ;), is to do things in this order:
1. perform your FM find, either by actually finding things (Find mode or
scripted Find mode), or by a relational portal (that would, say, list all
the images related to what the user chose in the pop-up you offer).
2. write a FM script that [Loop]'s the records ([Exit after last, Next]
should be added too.)
3. inside the FM [Loop], run the script for each current record
OR...if the user is supposed to be able to determine the destination folder
at will, creating and naming that folder, then you could add an AS 'choose
folder' to get a folder name dynamically, in which case you would replace
'desktop' as written in my sample with the variable name that you assigned
the result of 'choose folder' to.
I think it all comes down to style/choice/speed regarding where to put the
loop, because you could also decide to give AS a list of records and then
repeat (inside the applescript) the copy/duplicate line for each item in the
list. I don't copy multiple files at once, so I haven't tried that method.
HTH, and thanks for confirming Andy and Pieter.
Gary
--
Do not reply via email. Incoming replies are auto-deleted.
Please post directly to the list or newsgroup. Thank you!
Really need direct? Rot me at:
email@hidden
Lbhe fhowrpg zhfg ortva "abgwhax:" (ab dhbgrf)
Avpr gb zrrg lbh! Qba'g fcnz zr.
_______________________________________________
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.