drewness 26 Posted January 8, 2019 Report Share Posted January 8, 2019 @drewnessuse "app window title change" in "Advanced Screen and Windows" Awesome, thanks, it works perfectly. Is there any way to enable the X (close) button after a specified number of seconds for the advertise dialog so it doesn't auto-close in case they're still reading the ad when the timer runs out? Link to post Share on other sites
pash 504 Posted January 8, 2019 Author Report Share Posted January 8, 2019 Awesome, thanks, it works perfectly. Is there any way to enable the X (close) button after a specified number of seconds for the advertise dialog so it doesn't auto-close in case they're still reading the ad when the timer runs out?use "app window menu box control" Link to post Share on other sites
drewness 26 Posted January 8, 2019 Report Share Posted January 8, 2019 use "app window menu box control" Thank you for the super quick reply. I have it set as: plugin command("Advanced Screen and Windows.dll", "app window menu box control", "Software Standard Ad - Please Purchase PRO to Remove Ads (Click X to Close)", "WindowsForms10.Window.208.app.0.1469d76_r34_ad1", "False", "False", "True") to enable the X button, but it doesn't seem to have any effect - after running the X is still disabled. I used the wizard to select the title and window class, and tried it without window class set, same result though. Please let me know if I need to try anything else. I appreciate your assistance Link to post Share on other sites
pash 504 Posted January 8, 2019 Author Report Share Posted January 8, 2019 Thank you for the super quick reply. I have it set as: plugin command("Advanced Screen and Windows.dll", "app window menu box control", "Software Standard Ad - Please Purchase PRO to Remove Ads (Click X to Close)", "WindowsForms10.Window.208.app.0.1469d76_r34_ad1", "False", "False", "True") to enable the X button, but it doesn't seem to have any effect - after running the X is still disabled. I used the wizard to select the title and window class, and tried it without window class set, same result though. Please let me know if I need to try anything else. I appreciate your assistance check title match. Link to post Share on other sites
drewness 26 Posted January 8, 2019 Report Share Posted January 8, 2019 I did, I used the wizard to get the title and also tried copy and pasting it, no luck though. I will keep experimenting Sent from my SAMSUNG-SM-N920A using Tapatalk Link to post Share on other sites
drewness 26 Posted January 18, 2019 Report Share Posted January 18, 2019 Pash, can you take a look at this code and see why it's not behaving as intended? I want to show the popup ad on launch for X seconds (set to 7 in this example), and then after the 7 seconds enable the close button - but for some reason after the 7 second wait the X button isn't enabled: define showAd { plugin command("Advanced Dialog.dll", "advertise dialog", "Software Name Ad - Please Purchase PRO to Remove Ads", "<p>Ad Banner Here</p>", 925, 625, "Center", "False", "True", "True", "False,False,False", "True", "True", "Default Browser", "True", "True", "False", 0, "") wait(7) plugin command("Advanced Screen and Windows.dll", "app window menu box control", "Software Name Ad - Please Purchase PRO to Remove Ads", "", "False", "False", "True")} Link to post Share on other sites
pash 504 Posted January 18, 2019 Author Report Share Posted January 18, 2019 Pash, can you take a look at this code and see why it's not behaving as intended? I want to show the popup ad on launch for X seconds (set to 7 in this example), and then after the 7 seconds enable the close button - but for some reason after the 7 second wait the X button isn't enabled: define showAd { plugin command("Advanced Dialog.dll", "advertise dialog", "Software Name Ad - Please Purchase PRO to Remove Ads", "<p>Ad Banner Here</p>", 925, 625, "Center", "False", "True", "True", "False,False,False", "True", "True", "Default Browser", "True", "True", "False", 0, "") wait(7) plugin command("Advanced Screen and Windows.dll", "app window menu box control", "Software Name Ad - Please Purchase PRO to Remove Ads", "", "False", "False", "True")} Because of the Border Style featureYou must sacrifice one of the features. plugin command("Advanced Dialog.dll", "advertise dialog", "Software Name Ad - Please Purchase PRO to Remove Ads", "<p>Ad Banner Here</p>", 925, 625, "Center", "True", "True", "False", "True,True,True", "False", "True", "Default Browser", "True", "True", "False", 0, "") wait(1) plugin command("Advanced Screen and Windows.dll", "app window menu box control", "Software Name Ad - Please Purchase PRO to Remove Ads", "", "False", "False", "False") wait(2) plugin command("Advanced Screen and Windows.dll", "app window menu box control", "Software Name Ad - Please Purchase PRO to Remove Ads", "", "False", "False", "True") Link to post Share on other sites
drewness 26 Posted April 14, 2019 Report Share Posted April 14, 2019 Hi Pash, Would it be possible to add a text color option (#1 in image) for the Dropdown Dialog, similar to how you did with a few of the other plugins? Additionally, not as important, but would it be possible to have a little less padding below the drop down (#2 in image) when you have quick-select enabled? Right now when you adjust the height smaller it shrinks upward from above the dropdown, but the lower part remains unchanged. Thanks! Link to post Share on other sites
pash 504 Posted April 16, 2019 Author Report Share Posted April 16, 2019 3.1.2.0 dropdown dialog: add option "Label (Color,Font Color,Left,Top,Right,Bottom)" dropdown dialog: fix not show on small size dropdown dialog: VerticalAlignment="Top" 1 Link to post Share on other sites
drewness 26 Posted May 7, 2019 Report Share Posted May 7, 2019 Hi Pash, I appreciate you with your awesome updates for the Advanced Dialog Plugin. Got another request if you get a minute: Is it possible to return empty/null if a user clicks the Cancel button on $folder browser dialog - right now the value doesn't clear the variable if they click cancel, it just has the last used folder. I tried clearing the variable before assigning it with the folder browser dialog, but it still reverts to the last selected folder on Cancel. Thanks in advance! Link to post Share on other sites
pash 504 Posted May 8, 2019 Author Report Share Posted May 8, 2019 3.1.2.1 folder browser dialog: add option "Empty On Cancel" 2 Link to post Share on other sites
drewness 26 Posted May 8, 2019 Report Share Posted May 8, 2019 3.1.2.1folder browser dialog: add option "Empty On Cancel" Fantastic, thank you Pash! Link to post Share on other sites
Marani 80 Posted July 5, 2019 Report Share Posted July 5, 2019 Hey Pash, Haven't picked up this plugin yet but, in the demo videos I see it supports 3 types of WYSIWYG editors so, do they support image insertion (local and from url)? Can I have WYSIWYG loaded on an HTML interface when the bot loaded, instead of dialog? (currently I'm using UStrap HTML UI builder) The list box and drop-down do they support dynamic updating? (get values dynamically when the bot is running - Ubot's don't support dynamic updating)Thanks Link to post Share on other sites
pash 504 Posted July 5, 2019 Author Report Share Posted July 5, 2019 @Marani1. support image url 2. I don't really understand this question. But this is a plugin about dialog.3. Ubot api don't support dynamic updating. 1 Link to post Share on other sites
drewness 26 Posted July 31, 2019 Report Share Posted July 31, 2019 Hi Pash, Whenever I try to use the $folder browser dialog command, I get an error - "Execute: the given key was not present in the dictionary" Sample code: set(#bulkOutputFolder,$plugin function("Advanced Dialog.dll", "$folder browser dialog", "Select a Target Project Folder", "Desktop", $special folder("Desktop"), "False", "True"),"Global") I've tried leaving "Selected Path" blank, I've tried both True and False for "Vista Style" and I've tried True and False for "Empty on Cancel" (which I would like to use as True) - but get the exception every time. I've also tried running it in an STA thread container, same result. Please let me know if there's something specific I need to do that I'm missing. Below is the error.log data generated when the error was thrown, if it's of any help. Thanks in advance! The operation was canceled by the user ========================================================== at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start(String fileName) at UbotLauncher2.Library.Ubot.<>c__DisplayClass8_0.<Launch>b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at UbotLauncher2.Library.Ubot.<Launch>d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at UbotLauncher2.WPFGUI.ViewModels.MainViewModel.<Launch>d__47.MoveNext() ========================================================== Link to post Share on other sites
pash 504 Posted July 31, 2019 Author Report Share Posted July 31, 2019 3.1.3.1 folder browser dialog: fix 1 Link to post Share on other sites
drewness 26 Posted July 31, 2019 Report Share Posted July 31, 2019 3.1.3.1folder browser dialog: fix That fixed it - thank you once again for the outstanding support! Link to post Share on other sites
drewness 26 Posted August 9, 2019 Report Share Posted August 9, 2019 Hi Pash, sorry to bother again: In the "$text box dialog" I've set the Label to have 5px on the top and 5px on the bottom to give some spacing, but it pushes the label down without shrinking the textbox, so the label winds up overlaying on the textbox. Is it possible to fix this so the top of textbox is moved down when either the Label Top and/or Label Bottom are set? Screenshot: https://cl.ly/7ef738aa8976 Sent from my SAMSUNG-SM-N920A using Tapatalk Link to post Share on other sites
pash 504 Posted August 10, 2019 Author Report Share Posted August 10, 2019 3.1.3.2 text box dialog: set Label to "Top" 1 Link to post Share on other sites
drewness 26 Posted August 12, 2019 Report Share Posted August 12, 2019 3.1.3.2text box dialog: set Label to "Top"Thank you for looking into it. Unfortunately, I'm still getting the same results. I added a new textbox dialog and left everything the same except added in a 10 for the label top position and have the same results: https://cl.ly/6401dd876939 Sent from my SAMSUNG-SM-N920A using Tapatalk Link to post Share on other sites
pash 504 Posted August 13, 2019 Author Report Share Posted August 13, 2019 Thank you for looking into it. Unfortunately, I'm still getting the same results. I added a new textbox dialog and left everything the same except added in a 10 for the label top position and have the same results: https://cl.ly/6401dd876939 Sent from my SAMSUNG-SM-N920A using Tapatalkpost your code. Link to post Share on other sites
drewness 26 Posted August 14, 2019 Report Share Posted August 14, 2019 post your code. Here's the code used that produced the window in the screenshot in my previous post: set(#test,$plugin function("Advanced Dialog.dll", "$text box dialog", "Results", "test text goes here", "False", "True", "False", "False", "True,True,True", "600,200", "False", "FFF3F3F3", "FFBEEAC4,000000", "FFF3C1C1,000000", "FF778ABD,000000", "Center App", "Label,00FFFFFF,FF000000,0,10,375,10"),"Global") Link to post Share on other sites
pash 504 Posted August 15, 2019 Author Report Share Posted August 15, 2019 Here's the code used that produced the window in the screenshot in my previous post: set(#test,$plugin function("Advanced Dialog.dll", "$text box dialog", "Results", "test text goes here", "False", "True", "False", "False", "True,True,True", "600,200", "False", "FFF3F3F3", "FFBEEAC4,000000", "FFF3C1C1,000000", "FF778ABD,000000", "Center App", "Label,00FFFFFF,FF000000,0,10,375,10"),"Global") try set(#test,$plugin function("Advanced Dialog.dll", "$text box dialog", "Results", "test text goes here", "False", "True", "False", "False", "True,True,True", "600,200", "False", "FFF3F3F3", "FFBEEAC4,000000", "FFF3C1C1,000000", "FF778ABD,000000", "Center App", "Label,00FFFFFF,FF000000,0,-3,375,10"),"Global") Link to post Share on other sites
pash 504 Posted November 29, 2019 Author Report Share Posted November 29, 2019 Black Friday & Cyber Monday Sale 2019 Coupons "ubotpluginbfd2019" https://ubotplugin.com/shop/ The coupon will end soon. Link to post Share on other sites
drewness 26 Posted December 25, 2019 Report Share Posted December 25, 2019 Hi Pash, for the $text box dialog parameter, is there a way to distinguish between a user deleting all the text in the text box and clicking OK vs. the user clicking the cancel button? It seems like right now either way results in a blank variable, so it's impossible to differentiate between a user clearing the text and committing to the variable by clicking, or cancelling and leaving the variable as it was before. Maybe clicking cancel or X could return a $false value or something so we can check to see if the user actually cancelled, or if they clicked OK after clearing all data in the text box and were wanting to commit a blank result to the variable? Link to post Share on other sites
Recommended Posts