[Prev][Next][Index][Thread]
Drag & Drop
What is the "right" way to do File Explorer drag & drop for FD
applications?
I've tried using:
-----------------------------------
let arguments = application-arguments();
let ifile = arguments[0];
if (file-exists?(ifile-name))
let fs = make(<file-stream>, locator: ifile, direction:
#"input");
:
end if;
-----------------------------------
The problem here is that the filename of the "dropped" file is in
DOS-cobbled
format that FD's "open" doesn't like. Either "file-exists?" or
"make(<file-stream ..." doesn't like the DOS-truncated form.
Looking for some tips on how to do this.
Thanks,
Ron Franke-Polz
ron.franke-polz@psd.invensys.com
----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web -----
http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
NewsOne.Net prohibits users from posting spam. If this or other posts
made through NewsOne.Net violate posting guidelines, email abuse@newsone.net