Frontier file path problems
Michel Benevento
beno at xs4all.nl
Tue Mar 19 15:28:41 PST 2002
you can get the path to your home folder using
file.folderFromPath (file.getSpecialFolderPath (nil, "desktop folder", false))
it's a little clumsy, but perhaps you can use it to get where you want.
so long,
michel
>Hello:
>
>I keep DocServer here:
>{"OSX:Users:douglas:Documentation:DocServer:"}
>rather than here:
>{"OSX:Users:douglas:Applications:Frontier:Documentation:DocServer:"}
>
>I can type "~/Documentation/DocServer" into an open file dialog in OSX,
>but I can't use the same convention in Frontier.
>
>e.g In a modification of <system.menu.scripts.openHelpPage>
>I've added the line below to the <getLocalPath> handler so Frontier can
>find DocServer.
>localPaths = localPaths + ("~/Documentation" + pc + folderNames[i] +
>pc + fname)
>
>However, Frontier doesn't find the directory because it doesn't resolve
>the path.
>
>How does one get around this problem?
>
>DW
>
>
>
More information about the Frontier-Users
mailing list