Re: FileMaker Strange Reference
Re: FileMaker Strange Reference
- Subject: Re: FileMaker Strange Reference
- From: Xandra Lee <email@hidden>
- Date: Wed, 31 Jan 2001 15:35:06 -0500
>
But, if I say the following, it won't work:
>
>
tell application "Finder"
>
set myFile to the first file in the folder "folder_1" in the startup
>
disk
>
end tell
>
>
tell application "FileMaker Pro"
>
open myFile with password "bump"
>
end tell
I can't get your second line to run at all, but if I could, it would
return a "Finder" reference like:
file "File A" of folder "folder_1" of disk "Macintosh HD"
Filemaker doesn't understand Finder references, you need to convert this
to a string.
Normally, you can do this by saying...
tell application "Finder"
set myFile to (whatever) as string --**
end tell
the goals is to present fileMaker with:
"Disk:folder_1:filename"
** --(this MIGHT work do to a coercion in Jon's command's --others would
know, I've always taken it as a given)
hth,
xandra
Alixandra Leigh
AceDesign
email@hidden
------------------------------------------
Furniture:
><
http://home.rochester.rr.com/alexleighs/furniture/furniture.htm>
Renderings:
><
http://home.rochester.rr.com/alexleighs/interiors/interiors.htm>