jimbourekas@yahoo.gr
-
Content Count
31 -
Joined
-
Last visited
Posts posted by jimbourekas@yahoo.gr
-
-
I know it's an old thread but I thought that this may help someone. I have converted my images to Base64 (there are many free online tools) and then used the Base64 encoding of the picture instead of the actual file. I did this also for some background images at my UI Panels.
-
Ok, after I contacted support, Robert was very kind to give me the solution. Apparently, the value gets overwritten, that's a truth. The solution is to make my 'onchange' event trigger a ubot function that sets the "variable" param.
I attach the fixed script.
jim
-
Hello,
I have the following UI Panel code:
ui html panel("<!DOCTYPE html> <html> <body> <div> <select variable=\"#myvar2\" fillwith=\"value\" id=\"icd10\" onchange=\"doIt();\"> <option value=\"United States\">United States</option> <option value=\"United Kingdom\">United Kingdom</option> <option value=\"Afghanistan\">Afghanistan</option> </select> <div id=\"hiddenIcd10\" variable=\"#myvar\" fillwith=\"innertext\"></div> </div> </body> <script> function doIt()\{ document.getElementById(\"hiddenIcd10\").innerText=document.getElementById(\"icd10\").value; \} </script> </html> ", 135)
There is one select and one div, both with assigned variables.
The special thing here is that I have an event on the select that changes the innertext of the div.
The result is that when the select changes, the div changes but only for a moment. Then ubot overwrites the value of the div blank.
Any ideas to overcome this would be very welcome.
Regards,
Jim
-
very nice, thanks!
-
Hello,
I know it's over 2 years later that I'm waking this thread up. I am wondering, is it possible with version 4 to display a pdf in the browser area just like your screenshot?
jim
Ok, I got support to answer this. Version 3 was based on Internet Explorer core while version 4 is not. So, the answer is that it cannot display a pdf...
-
Follow these instructions for a completely silent solution:
- Create a file del_file.vbs using your notepad
- Put these contents inside:
set fso = CreateObject("Scripting.FileSystemObject") If fso.FileExists(WScript.Arguments(0)) Then fso.DeleteFile(WScript.Arguments(0)) End If
- Create a ubot command using the following code:
define delete_vbs(#filepath) { shell("wscript.exe \"{$special folder("Application")}\\del_file.vbs\" \"{#filepath}\"") }
- Put the .vbs file in the same folder as your ubot script
- To delete a file, just call the command:
delete_vbs("c:\\myfile.txt")
- The file gets deleted silently. If it does not exist then nothing happens.
Enjoy
-
I totally agree
-
Accordingly, in the UI panel you would then have something like this:
ui html panel("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> <html xmlns=\"http://www.w3.org/1999/xhtml\"> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /> <title>your title</title> </head> <body> <div variable=\"#stat_thread1\" fillwith=\"innerhtml\"> </div> </body> </html>", 40)
You have to understand that the UI Html panel is not updated automatically, you have to set the values of #stat_thread1 yourself when you want.
Hope that this adds something to Abbas' help. (notice that #checking and #stat_thread1 are used the same)
jimb
-
- A web service command so that we can call services.
- A web service endpoint so that we can have a script as a service!
uniquebot has already suggested number 2!
-
+1 on this
(even if everything is closed, sometimes u will get the same warning but u overcome it by opening a new tab and the closing it)
-
I know it's been more than a year since this thread was updated, but I just read it. What is this syntax for?
change attribute(<name="userfield[field8]">,
Is this an array type?
jim
-
-
I think it will give great power to the advanced selector.
+1
-
You can make a .bat file and then start it using shell command and wscript.exe 'my_vbsscript.vbs' . The vbs file runs the .bat file silently. Google it (or I can give u a script)
-
Does this actually delete the whole Recycle Bin index?
-
Hello there,
I noticed that the "Delete File" command sends the files to the Recycle Bin. I need to properly delete a file. Any ideas?
jim
-
I asked the same question at Support. Basically, you get one licence per username but you can use it on two computers (i.e. laptop and desktop). You cannot run both of them at the same time. We had to purchase a second licence about a week ago (no discounts available).
-
+1 for the shortcuts.
Also, a setting that makes it permanent ("Open bots minimized")
-
-
-
+1
I would also like to see the user's temp folder, i.e. C:\Users\Administrator.jimb-PC\AppData\Local\Temp
.ubot and .exe files (made by ubot) are now getting blocked on my PC by Avast
in Tutorials, Tips and Tricks
Posted
Hello,
How do you know that this will be changed in UB5?