-
Content Count
170 -
Joined
-
Last visited
-
Days Won
6
Posts posted by SmileyBot
-
-
-
Hi Seth, I have developer was aware of this but was having trouble with it executing of code
Can you please show an example codeThanks
-
define DATE_TIME { comment("dateTimeDay") set(#dateTimeDay,$find regular expression($date,"(?<=\\d\\d\\/)(.*)(?=\\/\\d\\d\\d\\d.\\d\\d:\\d\\d:\\d\\d)"),"Global") comment("dateTimeMonth") set(#dateTimeMonth,$find regular expression($date,"(?<=^)(.*)(?=\\/\\d\\d\\/\\d\\d\\d\\d.\\d\\d:\\d\\d:\\d\\d)"),"Global") comment("dateTimeYear") set(#dateTimeYear,$find regular expression($date,"(?<=\\d\\d\\/\\d\\d\\/)(.*)(?=.\\d\\d:\\d\\d:\\d\\d)"),"Global") comment("dateTimeHour") set(#dateTimeHour,$find regular expression($date,"(?<=\\d\\d\\/\\d\\d\\/\\d\\d\\d\\d.)(.*)(?=:\\d\\d:\\d\\d)"),"Global") comment("dateTimeMinute") set(#dateTimeMinute,$find regular expression($date,"(?<=\\d\\d\\/\\d\\d\\/\\d\\d\\d\\d.\\d\\d:)(.*)(?=:\\d\\d)"),"Global") comment("dateTimeSeconds") set(#dateTimeSeconds,$find regular expression($date,"(?<=\\d\\d\\/\\d\\d\\/\\d\\d\\d\\d.\\d\\d:\\d\\d:)(.*)(?=)"),"Global") }
-
define COUNTDOWN { set(#wait_time_minutes,$rand(#wait_min,#wait_max),"Global") set(#countdown_minutes,#wait_time_minutes,"Global") set(#countdown_seconds,00,"Global") CHANGE NUMBERS() thread { loop while($comparison(#countdown_minutes,"> Greater than",$nothing)) { if($comparison(#countdown_minutes,"= Equals",00)) { then { set(#countdown_minutes,$nothing,"Global") set(#countdown_seconds,59,"Global") loop while($comparison(#countdown_seconds,"> Greater than",0)) { wait(1) decrement(#countdown_seconds) CHANGE NUMBERS() } } else { if($comparison(#countdown_seconds,"= Equals",00)) { then { decrement(#countdown_minutes) set(#countdown_seconds,59,"Global") } else { } } wait(1) decrement(#countdown_seconds) CHANGE NUMBERS() } } } } } define CHANGE NUMBERS { if($comparison(#countdown_seconds,"= Equals",9)) { then { set(#countdown_seconds,09,"Global") } } if($comparison(#countdown_seconds,"= Equals",8)) { then { set(#countdown_seconds,08,"Global") } } if($comparison(#countdown_seconds,"= Equals",7)) { then { set(#countdown_seconds,07,"Global") } } if($comparison(#countdown_seconds,"= Equals",6)) { then { set(#countdown_seconds,06,"Global") } } if($comparison(#countdown_seconds,"= Equals",5)) { then { set(#countdown_seconds,05,"Global") } } if($comparison(#countdown_seconds,"= Equals",4)) { then { set(#countdown_seconds,04,"Global") } } if($comparison(#countdown_seconds,"= Equals",3)) { then { set(#countdown_seconds,03,"Global") } } if($comparison(#countdown_seconds,"= Equals",2)) { then { set(#countdown_seconds,02,"Global") } } if($comparison(#countdown_seconds,"= Equals",1)) { then { set(#countdown_seconds,01,"Global") } } if($comparison(#countdown_seconds,"= Equals",0)) { then { set(#countdown_seconds,00,"Global") } } if($comparison(#countdown_minutes,"= Equals",9)) { then { set(#countdown_minutes,09,"Global") } } if($comparison(#countdown_minutes,"= Equals",8)) { then { set(#countdown_minutes,08,"Global") } } if($comparison(#countdown_minutes,"= Equals",7)) { then { set(#countdown_minutes,07,"Global") } } if($comparison(#countdown_minutes,"= Equals",6)) { then { set(#countdown_minutes,06,"Global") } } if($comparison(#countdown_minutes,"= Equals",5)) { then { set(#countdown_minutes,05,"Global") } } if($comparison(#countdown_minutes,"= Equals",4)) { then { set(#countdown_minutes,04,"Global") } } if($comparison(#countdown_minutes,"= Equals",3)) { then { set(#countdown_minutes,03,"Global") } } if($comparison(#countdown_minutes,"= Equals",2)) { then { set(#countdown_minutes,02,"Global") } } if($comparison(#countdown_minutes,"= Equals",1)) { then { set(#countdown_minutes,01,"Global") } } if($comparison(#countdown_minutes,"= Equals",0)) { then { set(#countdown_minutes,00,"Global") } }
-
copy and paste into ubot Node view
Install Python Plugin (ExecutePython.dll) to ubot
Update %appdata% ubot \ python \ with newer versioncomment("Create a new file and add the below into the file and save the file as batch_create_sms.bat @echo off set TWILIO_ACCOUNT_SID=AC325b0e set TWILIO_AUTH_TOKEN=77ea6 \"D:\\Python\\python.exe\" \"D:\\batch_create_sms.py\"") SEND_SMS() define SEND_SMS { set(#create_python_sms,"from twilio.rest import Client # Find your Account SID and Auth Token at twilio.com/console # and set the environment variables. See http://twil.io/secure account_sid = \"AC3b0e\" auth_token = \"775ea6\" client = Client(account_sid, auth_token) message = client.messages.create( body=\'New Boost Booking - {#account_fname} {#account_lname} @ {#booking_time}, {#booking_date}, {#occasion}\', from_=\'+691\', to=\'+6383\' ) print(message.sid)","Global") save to file("D:\\batch_create_sms.py",#create_python_sms) shell("D:\\batch_create_sms.bat") }
-
On 9/4/2021 at 4:56 AM, FallingDown said:
Hi @HelloInsomnia
How can I add a open file dialogue button to the UI? Thanks.Any update? Also does Ultimate UI still work?
-
Thanks guys
Cheers
-
Thanks
I tried heopas 'http download'
Do you know how to pass the credentials
I don't want to have to manually navigate to the page to download,
Here is the url for the download,
https://
-
Thanks for the reply
Yes, I have tried this and it doesn't work
-
Hey Guys
I'm trying to use Aymens - 'http file download' to download a PDF
My issue is that the URL needs a user and password to access the file
Any ideas on how this can be done?
Thanks
-
Hey TJ how do we use the amazon ses servers to spawn? can you give some info on where to look and learn. thx
-
I think you are going to need a few 'How To' Videos...
-
Thanks, looks interesting...
-
Hi Guys
After updating to Ubot X because my bots started to not function correctly
I have found the following bugs when running my bots that I know worked fine before
- Internal Browser freeze - I found that if I just add 'in external browser' to the start of your script it seem to knock/reset the internal browser and run smother and not freeze the internal browser
- UI dropdown - default value = nothing - when ubot starts up the ui dropdowns do not default to the first value
- Scraping to list - position 0 gets filled with nothing and then the scrape starts in position 1
15/12/2018
- thread spawn does't seem to work
- UI dropdown - default value = nothing - when ubot starts up the ui dropdowns do not default to the first value
NOT FIXED AND PISSING ME OFF
My thoughts on the new External Browser is that it doesn't work as everyone was told it would and it needs a lot of work to be compared to X Browser.
Ultimately the new Ubot X is just a internal browser update to Chrome 67 ( I don't see jsphantom anywhere )
To add to this I have found little to no information or tutorials on Ubot X, only ads saying how you will get triple browser power
Hope this info helps others
-
Thanks, I have been holding off on the update Maybe it's time
-
Thanks mate
This is the address that takes you to the page - navigate("https://zapier.com/app/settings/authorizations","Wait")
I dont have the login portion to FB as I can't see any login details as it doent load
The ID url was the url that was sent to FB in a normal firefox browser when I confirm the FB connection on the above zapier page and probably irrelevant as it a different browser?
thank again
-
The code I have is above?
-
Thanks TJ, I tried that and it doesn't work. the popup just stays on flash screen and doesn't open FB login screen
-
Hey guys
Trying to connect a FB account through a popup on Zapier
after loggin i go to the connect page, once you add your selection a popup appears and is not visable and continues looping
In a normal desktop browser I have managed to get the FB confirm url and have confirmed connection twice
The difference in the the 2 changes in the different confirm codes FB url's was the below XXXXXX
I need to be able to scrape the logger ID and replace XXXXXX with this scraped ID
any solutions? thx to all
allow popups("In New Window") navigate("https://zapier.com/app/settings/authorizations","Wait") wait for element(<class="text-input services-search__input">,"","Appear") click(<class="text-input services-search__input">,"Left Click","No") click($element offset(<class="services-results__service-name">,8),"Left Click","No") navigate("https://www.facebook.com/login.php?skip_api_login=1&api_key=234230510040096&signed_next=1&next=https%3A%2F%2Fwww.facebook.com%2Fv2.8%2Fdialog%2Foauth%3Fredirect_uri%3Dhttps%253A%252F%252Fzapier.com%252Fdashboard%252Fauth%252Foauth%252Freturn%252FFacebookV2API%252F%26scope%3Dmanage_pages%252Cpublish_pages%26client_id%3D234230510040096%26ret%3Dlogin%26logger_id%3DXXXXXXX&cancel_url=https%3A%2F%2Fzapier.com%2Fdashboard%2Fauth%2Foauth%2Freturn%2FFacebookV2API%2F%3Ferror%3Daccess_denied%26error_code%3D200%26error_description%3DPermissions%2Berror%26error_reason%3Duser_denied%23_%3D_&display=page&locale=en_GB&logger_id=XXXXXXX","Wait")
-
Thx guys, too simple
-
Hey guys
I want to regex a number and remove the comma from the results
Scraped number = 5,200
results = 5200
also when i regex \d with the set function, i get the following results
5
2
0
0
is there a way to bring this back to 1 line
5200
Thanks
-
Thanks for sharing dude!
-
Thanks Nick, you always come through with the goods
- 1
-
thanks bestmacro for your time, but this doesn't seem to work with HTTP GET cheers
this is the SET just need correct regex
Thx
set(#get_website_url,$find regular expression($plugin function("HTTP post.dll", "$http get", "https://www.google.com/maps/place/?q=place_id:ChIJ78PxQ60Q1moR8NHDUv_v0gk", "", "", "", ""),"(?<=widget-pane-link\">).*(?=<)"),"Global")
Is their anybody out there!!!!
in General Discussion
Posted
I have a few bot project on the go and willing to share my bots
Is there anybody out here that wants to work together?
I'm looking for experienced people only who can relate to the title