FileMaker Strange Reference
FileMaker Strange Reference
- Subject: FileMaker Strange Reference
- From: Rich Fortnum <email@hidden>
- Date: Thu, 25 Jan 2001 05:16:13 -0500
Hi there.
I have this peculiar situation. When I take the direct path to a file, such
as:
open file "HD:folder_1:file.fp5" with password "bump"
it opens just fine.
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
...it can't open it. How can I get this to work? Since my situation is an
ever changing value for the name of "folder_1", I should just be able to
reference the same file in that nested location, and not having to rewrite
the script every time. I thought of somehow reinitializing the true value
of the path to that file, but it doesn't seem to work.
Tried {alias:myFile}, but it doesn't work either.
Baffled. Any help appreciated.
Cheers.
### Richard Fortnum / Viaduct Productions / Toronto (EST)
### Web Design / Databases / Internet Video / Wireless Data
### FileMaker Solutions Alliance Associate Member
### email@hidden /
http://www.viaduct-productions.com