BobbyP 8 Posted December 3, 2014 Report Share Posted December 3, 2014 Hi Carl and thanks for the latest updates. I recently tried to add WYSIWYG to a textarea but could not get it working.Could You add an element with WYSIWYG editor so users could post formatted text and images as a blog post for example or FB like sites?I think it will come really handy for the rest of us.Thank You in advance.Bobby Quote Link to post Share on other sites
LazyBotter 188 Posted December 4, 2014 Author Report Share Posted December 4, 2014 Hi Carl and thanks for the latest updates. I recently tried to add WYSIWYG to a textarea but could not get it working.Could You add an element with WYSIWYG editor so users could post formatted text and images as a blog post for example or FB like sites?I think it will come really handy for the rest of us.Thank You in advance.Bobby Hi Bobby, Unfortunately you can't do this (in the interface), I have tried this in the past with no success. The reason is because you can't set a bot variable using java/jquery, if this was a possibility then that would open doors to loads more options! But there is a solution! Check out this plugin:http://www.ubotstudio.com/forum/index.php?/topic/16146-sell-plugin-advanced-dialog/ There is a ui html editor command where you can trigger it to show a wysiwyg dialog from a button for example. I have used this in the past and it is a great plugin. Sorry but bot has its limitations! :-( ThanksCarl Quote Link to post Share on other sites
fastlinks 16 Posted December 4, 2014 Report Share Posted December 4, 2014 I have done this on the ubot browser area with "load html". (not on ubot interface area)-------------------------------------------------------------------- Scrape the html attribute when user hit a button:--------------------------------------------------Then i tried to add the code into the "ubot interface" area, it have no way to get the html output (like carl said)Question to Carl: although we can't get variable directly, but is it possible to use a javascript to write the html output to a specific text file?so we can read the output from the text file. thanksresources:summernote bootstrape html editor: http://creativebots.com/summer.htmlsource: http://bootstrapvalidator.com/examples/summernote/ Quote Link to post Share on other sites
fastlinks 16 Posted December 5, 2014 Report Share Posted December 5, 2014 Possible bugs:- load a previous project with dialog element, but the dialog is gone- created a new project, added a dialog element and dialog element button, the button is not showing up. Quote Link to post Share on other sites
orbital 15 Posted December 7, 2014 Report Share Posted December 7, 2014 I'm having some very weird behavior happening. Whenever I click on an element to move it, it goes up to the branding area and I can't move it. I will attach a video. http://screencast-o-matic.com/watch/c2linaeZnL Not sure how to fix this but I cannot use this until I get this fixed. Quote Link to post Share on other sites
HaHaItsJake 25 Posted December 7, 2014 Report Share Posted December 7, 2014 I'm having some very weird behavior happening. Whenever I click on an element to move it, it goes up to the branding area and I can't move it. I will attach a video. http://screencast-o-matic.com/watch/c2linaeZnL Not sure how to fix this but I cannot use this until I get this fixed.That's because your Height in "Initial Setup" is not set high enough. Can tell by the purple dark double line under the nav-bar. Need to put a height in. NOTE: Don't need "px" in initial Setup. That's only for the elements. Regards,HaHaItsJake Quote Link to post Share on other sites
orbital 15 Posted December 8, 2014 Report Share Posted December 8, 2014 That's because your Height in "Initial Setup" is not set high enough. Can tell by the purple dark double line under the nav-bar. Need to put a height in. NOTE: Don't need "px" in initial Setup. That's only for the elements. Regards,HaHaItsJake Thanks so much HaHaltsJake - Looks like adding px was breaking it. If I do 200px for height it breaks it but if I just do 200 it works fine. Weird...but good to know. Quote Link to post Share on other sites
HaHaItsJake 25 Posted December 11, 2014 Report Share Posted December 11, 2014 7.3 UpdateDang, sure took some time to download the update. o.o Even for my POS internet (5 minutes). Just a bug Update, or something new? Just me? Program UI messed up. http://i.imgur.com/wuAbITt.png Regards,HaHaItsJake Quote Link to post Share on other sites
Bot-Factory 602 Posted December 11, 2014 Report Share Posted December 11, 2014 Carl, could you please share the changelog for V7.3? Thanks a lotDan Quote Link to post Share on other sites
LazyBotter 188 Posted December 11, 2014 Author Report Share Posted December 11, 2014 Update 7.3, was just a fix for the dialogs not getting imported correctly. 1 Quote Link to post Share on other sites
orbital 15 Posted December 12, 2014 Report Share Posted December 12, 2014 Hey Carl, Did you get my email about the updater just looping and not completing the update? It looks like I'm the only one having the issue but am curious if you know what might cause it. Quote Link to post Share on other sites
fastlinks 16 Posted December 12, 2014 Report Share Posted December 12, 2014 the dialog and dialog button is working now, thanks for the update. @orbital my updater is working fine here. Quote Link to post Share on other sites
theninjamanz 29 Posted December 15, 2014 Report Share Posted December 15, 2014 I bought the old version of this and the new version, and think it is a worthy investment. What's a bit annoying is that if you have a multiscript (new script tabs in ubot) you need to migrate all the content of the scripts into a single script and set define commands for these. That makes it a little bit more of a mission to troubleshoot scripts eventually, but it's dooable, just might have been nice to know that first of all. The real problem I am having (all the main functionality is working as it should be) concerns the controls for the script. If you create a button in the UI designer that runs a define command it works fine. So at the moment when a person presses a button called "RUN" it fires a script I have defined. When however I want to tell the bot to stop, logic says that I should define a command with the stop script command in it and then assign it to a separate button in the same way. However, when I do this the bot keeps going. The only think I can think of is that you need to put the define with the stop script inside the define script that is being used to "RUN", but this would not make sense because other scripts do not have that logic. Is there a command that can be fired in ubot to open the schedule window? At the moment I don't know how to do this and would like to have all the commands within the UI and remove completely the Navigation bar from Ubot when I export the .exe Thanks Carl or anyone else that comes back to me on the above. Quote Link to post Share on other sites
rocket976 62 Posted December 15, 2014 Report Share Posted December 15, 2014 Heres a simple solution to STOP, sorry I have not used the schedulerdefine STOP { set(#STOP,"STOP","Global")} In your run define in any loop or wherever is appropriate if(#STOP = "STOP") { then { stop script } else { }} I bought the old version of this and the new version, and think it is a worthy investment. What's a bit annoying is that if you have a multiscript (new script tabs in ubot) you need to migrate all the content of the scripts into a single script and set define commands for these. That makes it a little bit more of a mission to troubleshoot scripts eventually, but it's dooable, just might have been nice to know that first of all. The real problem I am having (all the main functionality is working as it should be) concerns the controls for the script. If you create a button in the UI designer that runs a define command it works fine. So at the moment when a person presses a button called "RUN" it fires a script I have defined. When however I want to tell the bot to stop, logic says that I should define a command with the stop script command in it and then assign it to a separate button in the same way. However, when I do this the bot keeps going. The only think I can think of is that you need to put the define with the stop script inside the define script that is being used to "RUN", but this would not make sense because other scripts do not have that logic. Is there a command that can be fired in ubot to open the schedule window? At the moment I don't know how to do this and would like to have all the commands within the UI and remove completely the Navigation bar from Ubot when I export the .exe Thanks Carl or anyone else that comes back to me on the above. Quote Link to post Share on other sites
Bot-Factory 602 Posted December 15, 2014 Report Share Posted December 15, 2014 Heres a simple solution to STOP, sorry I have not used the schedulerdefine STOP { set(#STOP,"STOP","Global")} In your run define in any loop or wherever is appropriate if(#STOP = "STOP") { then { stop script } else { }} I would recommend you do it the other way around. Stop script will otherwise stop some tasks who are still running. I use:define StopButton { set(#stop,"stop","Global")} define MainTask { if($comparison(#stop,"!=","running")) { then { set(#stop,"running","Global") comment("My tasks") set(#stop,"stop","Global") alert("Done") } else { alert("Task is already running, please wait.") } }} Quote Link to post Share on other sites
theninjamanz 29 Posted December 15, 2014 Report Share Posted December 15, 2014 Dan, do you have this working with the UI builder & Rich mate thanks too. Quote Link to post Share on other sites
Pete_UK 9 Posted December 15, 2014 Report Share Posted December 15, 2014 I'm just starting to build my first interface but can't seem to get the IMPORT UBOT CODE working right. Seems to be an issue with UI Drop-Down's Here is a video showing the issue... http://screencast.com/t/oan5ouF4vPLb UBOT Code: ui open file("open",#open) ui save file("Save",#save) ui drop down("Dropdown 1","1,2,3,4,5",#drop1) ui text box("Text",#text1) ui block text("Block",#txtBlock) Quote Link to post Share on other sites
fastlinks 16 Posted December 16, 2014 Report Share Posted December 16, 2014 @Pete_UKi never know how to use the Import ubot code until i saw your video, but i think it is not a big deal, you can add the dropdown easily from the element panel. Quote Link to post Share on other sites
zenos 13 Posted December 16, 2014 Report Share Posted December 16, 2014 I'm just starting to build my first interface but can't seem to get the IMPORT UBOT CODE working right. Seems to be an issue with UI Drop-Down's Here is a video showing the issue... http://screencast.com/t/oan5ouF4vPLb UBOT Code: ui open file("open",#open) ui save file("Save",#save) ui drop down("Dropdown 1","1,2,3,4,5",#drop1) ui text box("Text",#text1) ui block text("Block",#txtBlock) I have juste tried with only 2 dropdowns, like thisui drop down("dropdown_1", "1,2,3", #dropdown1)ui drop down("dropdown 2", "1,2,3", #dropdown2) It's working fine for me Quote Link to post Share on other sites
Pete_UK 9 Posted December 16, 2014 Report Share Posted December 16, 2014 (edited) I have juste tried with only 2 dropdowns, like thisui drop down("dropdown_1", "1,2,3", #dropdown1)ui drop down("dropdown 2", "1,2,3", #dropdown2) It's working fine for me Your code works on my system Zenos, but not my code! The code my version of Ubot generates it a little different to the sample code you posted. Ubot version 5.5.9 removes the space after the comma's. Here is a vid showing it in action.http://screencast.com/t/fK3a0ThB8C May be something for you to look at Carl for the next version. Edited December 16, 2014 by Pete_UK Quote Link to post Share on other sites
zenos 13 Posted December 16, 2014 Report Share Posted December 16, 2014 Your code works on my system Zenos, but not my code! The code my version of Ubot generates it a little different to the sample code you posted. Ubot version 5.5.9 removes the space after the comma's. Here is a vid showing it in action.http://screencast.com/t/fK3a0ThB8C May be something for you to look at Carl for the next version.Ok, I am using Ubot 4, I think you're right, the only difference is the space Quote Link to post Share on other sites
LazyBotter 188 Posted December 17, 2014 Author Report Share Posted December 17, 2014 Hi Guys! Update to V7.3 Just a little update to fix the problem with the "ui dropdown" command not getting imported correctly. Thanks Carl Quote Link to post Share on other sites
itexspert 47 Posted December 20, 2014 Report Share Posted December 20, 2014 guys when you save an interface where can i find it ?And can i import the interface into SSUB with text file of the code! How does this work i tried to ask Carl but his messages are full! Quote Link to post Share on other sites
HaHaItsJake 25 Posted December 21, 2014 Report Share Posted December 21, 2014 guys when you save an interface where can i find it ?Mine located: D:\Users\Jake\Desktop\UI Builder\Interfaces It's located in the Interfaces in the file you created for the program. Where ever the .exe is. And can i import the interface into SSUB with text file of the code! Not sure, never needed to. Believe someone else can answer that. Quote Link to post Share on other sites
fastlinks 16 Posted December 21, 2014 Report Share Posted December 21, 2014 here is how to find out the installed directory of a software:- right click on ssub shortcut > click "properties" > click "open file location"\Interfaces is where ssub store the UI code you have saved.if you created a text file and place it inside this folder, you will able to see and load it in ssub. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.