On Dec 13, 2007, at 12:31 PM, Richard S. Russell wrote:

What I'm looking for is a generic syntax that will put the output file onto the local Desktop of the current user.

You're overlooking a newish function (came out in 8 I believe), Get (DesktopPath)

"filemac:" & Get (DesktopPath) & "file name.ext"

It will work cross-platform with the addition of a test:

Let ( [
prfx = Case ( Abs ( Get (SystemPlatform)) = 1; "filemac:"; "filewin:" );
DT = Get (DesktopPath)
];

prfx & DT & "file name.ext"
)


Fenton Jones
FileMaker Development
1728 Meade Ave
San Diego, CA 92116
619-692-1529
http://fentonjones.com

Reply via email to