@@ -41,15 +41,15 @@ r.init(visual_automation = True)
4141r.dclick(' outlook_icon.png' )
4242r.click(' new_mail.png' )
4343...
44- r.type(' message_box.png' , ' Hi Gillian,[enter]This is...' )
44+ r.type(' message_box.png' , ' Hi Gillian,[enter]This is ...' )
4545r.click(' send_button.png' )
4646r.close()
4747```
4848
4949#### OCR AUTOMATION&ensp ; 🧿
5050``` python
5151r.init(visual_automation = True , chrome_browser = False )
52- print (r.read(' pdf_window .png' ))
52+ print (r.read(' pdf_report_window .png' ))
5353print (r.read(' image_preview.png' ))
5454r.hover(' anchor_element.png' )
5555print (r.read(r.mouse_x(), r.mouse_y(), r.mouse_x() + 400 , r.mouse_y() + 200 ))
@@ -71,7 +71,7 @@ r.close()
7171#### MOUSE AUTOMATION&ensp ; :mouse :
7272``` python
7373r.init(visual_automation = True )
74- r.type(600 , 300 , ' open source ' )
74+ r.type(600 , 300 , ' neo kobe city ' )
7575r.click(900 , 300 )
7676r.snap(' page.png' , ' results.png' )
7777r.hover(' button_to_drag.png' )
@@ -83,20 +83,18 @@ r.close()
8383
8484#### TELEGRAM NOTIFICATION&ensp ; :phone :
8585``` python
86- # first, look up @rpapybot from Telegram app to approve receiving of messages
86+ # first, look up @rpapybot on your Telegram app to approve receiving messages
8787r.telegram(' 1234567890' , ' ID can be string or number, r.init() is not required' )
8888r.telegram(1234567890 , ' Hello World. Olá Mundo. नमस्ते दुनिया. 안녕하세요 세계. 世界,你好。' )
8989r.telegram(1234567890 , ' Use backslash n for new line\n This is line 2 of the message' )
90- r.telegram(1234567890 , ' Sent using my VPS server endpoint https://tebel.org/rpapybot' )
91- r.telegram(1234567890 , ' Sent using your own hosted endpoint' , ' https://your_endpoint' )
9290```
9391
9492#### SECURE TEMPORARY STORAGE&ensp ; :package :
9593``` python
9694# securely share files up to 10 MB which will self-destruct after 1 week
97- # on a dedicated PrivateBin server with zero knowledge of shared files
98- bin_url = r.bin(' rpa_report .pdf' , ' password ( optional) ' )
99- r.telegram(1234567890 , ' Download RPA Report at ' + bin_url)
95+ # using a dedicated PrivateBin server with zero knowledge of shared files
96+ bin_url = r.bin(' secret_agent_report .pdf' , ' optional password ' )
97+ r.telegram(1234567890 , ' Access confidential report at ' + bin_url)
10098```
10199
102100# API Reference
0 commit comments