Jump to content
UBot Underground

UI HTML Panel - Open File/Save File


Recommended Posts

I've been searching and searching and still can't seem to find the answer I'm looking for.

 

In the HTML Panel, how do I add a button that will open a file then add it to a list?

 

and another -

 

How do I add a button that will save a file with the contents of a list?

 

 

Any help is much appreciated.

Link to post
Share on other sites

Here you go:

<button onclick="ubot.runScript('DEFINE NAME()')">

You should also have a define node in your code ("DEFINE NAME" in this case), which will execute your custom code once you click the button.

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...