Jump to content
UBot Underground

Trying to Emulate a Save Dialog


Recommended Posts

I'm trying to emulate a save dialog using the open file dialog.

 

I want the user to be able to choose a path/filename to save to.

 

Once I get this information I would want to save to that file.

 

My problem is that I can't get the open file dialog to let the user select a file that doesn't exist.

 

If the file exists already, I can select it and save to it.

 

But, it seems, that there is no way to actually let the user choose a file.

 

I did get a bot that should let me do this (see attachment) from someone - and I can't remember who - I'm sorry.

 

It's supposed to do what I want but I can't get it to work right...

 

Any ideas/help appreciated.

 

G-Man

post-347-12636797476822_thumb.png

save file bot.ubot

Link to post
Share on other sites

I'm trying to emulate a save dialog using the open file dialog.

 

I want the user to be able to choose a path/filename to save to.

 

Once I get this information I would want to save to that file.

 

My problem is that I can't get the open file dialog to let the user select a file that doesn't exist.

 

If the file exists already, I can select it and save to it.

 

But, it seems, that there is no way to actually let the user choose a file.

 

I did get a bot that should let me do this (see attachment) from someone - and I can't remember who - I'm sorry.

 

It's supposed to do what I want but I can't get it to work right...

 

Any ideas/help appreciated.

 

G-Man

 

I tried doing this today as well with no luck, because as you noticed with the "ui open file" box you can't select a directory, you have to select an actual file. I don't see any real way to truly let the user select the save location.

 

Chris

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...