open file location

BlitzPlus Forums/BlitzPlus Programming/open file location

Timjo(Posted 2014) [#1]
Hi there.

I was wondering if it is possible to mimic the 'open file location' feature in Blitz, so that a file's folder is opened on the desktop, and the specific file 'selected' within the directory.

I can already open the folder on the desktop with the ExecFile command and using explorer.exe, but I'm not sure how to have the specified file pre-selected.

Any tips?

Thanks.


Matty(Posted 2014) [#2]
I think there is definitely a FileRequest() function or something similar in blitzplus...


_PJ_(Posted 2014) [#3]
RequestFile() I think it is, where you can also specify the file extension(s) and starting directory, it's also possible to default an entire filename.


Timjo(Posted 2014) [#4]
Yeah - that would probably suffice. Thanks for the tip, Matty & PJ.


Matty(Posted 2014) [#5]
There is also a RequestDir() function which as the name suggests allows a folder/directory to be selected rather than a file....