I Need Help With File Save and Open Dialogs 11-16-2011, 02:35 AM
#1
If i Use a FileOpen Dialog, How Would i Get The Directory of the Selected File to Display in a GUI InputBox?
For Example:
I Didnt Go In Depth But Can You help With This?
For Example:
Code:
#include <GUIConstants.au3>
$dir = GUICtrlCreateInput("", 0, 0, 30, 10)
$browse = GUICtrlCreateButton("Browse", 30, 0)
While 1
$msg = GUIGetMsg()
if $msg = $GUI_EVENT_CLOSE Then Exit
Select
Case $msg = $browse
$open = FileOpenDialog("Select a File", @DesktopDir, "All Files (*.*)")
EndSelect
WEndI Didnt Go In Depth But Can You help With This?
(This post was last modified: 11-16-2011, 02:36 AM by doojan.)




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)