Steven, > On May 26, 2020, at 1:58 PM, Steven via 4D_Tech <[email protected]> wrote: > > I hope everyone in the community is holding up under the challenges of the > pandemic. My best wishes go out to everyone. > > I am trying to develop a small module to allow users to import images from > anywhere on the host computer, for now. Using "READ PICTURE FILE","CREATE > THUMBNAIL” and "Get picture file name” I can accomplish most of what I want > to do. But I am stuck on how to capture the long path to the picture > selected by the user in the selection dialog presented by "READ PICTURE > FILE”. > > I assume there must be a simple way to do this that I am overlooking. Rather > than continuing to beat my head against the wall, I am hoping that someone > here might please point me in the right direction.
The documentation says: If the command is executed successfully, the system variable Document contains the full pathname to the open file and the system variable OK is set to 1. Otherwise, OK is set to 0. I would look at the Document variable. Randy Kaempen Intellex Corporation ********************************************************************** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

