Jump to content
UBot Underground

Start a script with a Button?


Recommended Posts

Hello Uboters,

 

 

I can start with play like this:    <button data-theme="b" onclick="ubot.runScript('run()')">Analyse starten</button>

 

My Question can i start a script in other tab with html button?

 

"ubot.runScript('Script1()')"??

Link to post
Share on other sites

Hello Uboters,

 

 

I can start with play like this:    <button data-theme="b" onclick="ubot.runScript('run()')">Analyse starten</button>

 

My Question can i start a script in other tab with html button?

 

"ubot.runScript('Script1()')"??

 

Well..you just need to replace script name in button:

<button data-theme="b" onclick="ubot.runScript('Script1()')">Analyse starten</button>
  • Like 1
Link to post
Share on other sites

Nice Thanks..

 

Can i start Multi scripts together with one button?

You can't run 2 directly, but you can execute the 2 by calling them from the script "Script1", that gets called when button gets clicked .

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