I'm working with a small non-profit outfit. It has 5 Macs, all
running some flavor of Mac OS 10.4 (Tiger).
Computer A is dedicated to hosting the database files. It's funning
FMPA 9.0.3. Computers B, C, D, and E are on the desks of the staff
members and run regular FMP 9.0.3.
On Computer A I ginned up a script (subsequently attached to a
button) that would export a tab-delimited text file to my desktop. It
worked fine. I then went to try it on Computer B, logged in as a
guest. It didn't work fine. I got an error message saying it couldn't
write the file to the disk. Possible reasons included "disk full",
"disk locked", and a couple of other false conditions.
I suspect it has something to do with the syntax I used in setting
the filepath for the exported file in the "Export File" script step.
The following statements worked OK on Computer A but not Computer B:
file:../Desktop/Donors.tab
file:../../Desktop/Donors.tab
This one worked on Computer A but put the output file in the FMP
application folder:
file:Donors.tab
What I'm looking for is a generic syntax that will put the output
file onto the local Desktop of the current user. Any advice?
And, in general, is there anyplace I can read up on filepaths in more
detail than the FMP documentation provides? As a longtime Mac user, I
find the subject pretty opaque, tho I understand they're old hat in
the Windows world.