Bruce

Quick reply as I'm out the door, but you could have them insert the file by 
reference into a global container field then use GetAsText(ContainerField).  
The GetAsText calc will have the file path - may need some cleanup or parsing 
but the path will be in there.

via rough script concept...

InsertFile[_gContainerField; By Reference]  / /do not specify source as this 
will force a dialog for the user
SetField[_gtFilePath; GetAsText(ContainerField)  //now you have a path - you 
could also SetVariable
SetField[_gContainerField;""] //you have the path and no longer require the 
file in the container

This is untested in real life but seems logical in concept...

Stephen


"Rivers know this: there is no hurry.  We shall get there someday." --- A.A. 
Milne

On Jan 12, 2010, at 2:18 PM, Bruce Button wrote:

> Can anyone tell me: what is the best way to present a user with a standard 
> file selection dialog box (Windows) from which to choose a file or folder, 
> with the result being returned as a text string? Is it possible to do this 
> without a plugin?
> 
> Thanks in advance.
> 
> Bruce Button
> 

Reply via email to