Jump to content

Open file in current directory using lua script


youtuber
 Share

Recommended Posts

Win32 API GetOpenFileName using the function with lua.

Can I open a file dialog box in the folder I am in with lua. FileOpenDialog ('Open a Text File', @ScriptDir ...
and such.

$FileOpenDialog = FileOpenDialog('Open a Text File', @ScriptDir, 'Text Files (*.txt)')

I'm looking for a command like this
FileOpenDialog = GetOpenFileName("Open a Text File", "txt\n*.txt", @ScriptDir)

Edited by youtuber
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...