Re: Filemaker & Searching for File in Finder
Re: Filemaker & Searching for File in Finder
- Subject: Re: Filemaker & Searching for File in Finder
- From: Stan Cleveland <email@hidden>
- Date: Thu, 02 Mar 2006 13:20:57 -0800
- Thread-topic: Filemaker & Searching for File in Finder
Title: Re: Filemaker & Searching for File in Finder
On 3/2/06 11:57 AM, email@hidden wrote:
tell application "Finder"
with timeout of 180 seconds
set image_file_alias to first file of entire contents ¬
of search_folder whose name is sku_name
end timeout
end tell
--This code does indeed point to the right file now. It still won't let me return the path or the picture to cells in my Filemaker DB, but it's closer. I'll have to work more on the last bit.
This might get you a bit further, Tina:
tell application "Finder"
with timeout of 180 seconds
set image_file_path to (first file of entire contents ¬
of search_folder whose name is sku_name) as text
end timeout
end tell
tell application "FileMaker Developer 7" -- 7 or 8
tell current record of document 1
set cell "image" to alias image_file_path — “image” must be a container field
end tell
end tell
Stan Cleveland
Color Technology Inc.
Portland, Oregon
"Difficulties increase the nearer we get to the goal." -- Goethe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden