Exemple #1
0
import ClointFusion as cf

cf.launch_any_exe_bat_application('notepad')
cf.key_press('shift')
cf.key_write_enter('Dosa', key='')
cf.key_press('alt+f4')
cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(img=str(
    r'C:\Users\mrmay\AppData\Local\Temp\cf_log_05bk2fp4_generator\Images\Snips\2-Notepad-961_224.png'
),
                                                            conf=0.7))
cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(img=str(
    r'C:\Users\mrmay\AppData\Local\Temp\cf_log_05bk2fp4_generator\Images\Snips\3-Notepad-1061_357.png'
),
                                                            conf=0.7))
Exemple #2
0
# This code is generated automatically by ClointFusion BOT Builder Tool.
import ClointFusion as cf
import time

cf.window_show_desktop()
cf.mouse_click(int(cf.pg.size()[0] / 2), int(cf.pg.size()[1] / 2))

cf.key_write_enter('ote', key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(1)
cf.key_write_enter('hi', key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('sushil', key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('how', key='')
time.sleep(0)
cf.key_press(ctrl + X)

time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_press(ctrl + V)

time.sleep(0)
cf.key_press('space')
time.sleep(1)
import ClointFusion as cf
cf.launch_any_exe_bat_application('notepad')
cf.key_write_enter('RR', key='')
cf.key_press('alt+f4')
cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(img=str(
    r'C:\Users\mrmay\AppData\Local\Temp\cf_log_dtxn777p_generator\Images\Snips\2-Notepad-960_198.png'
),
                                                            conf=0.7))
cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(img=str(
    r'C:\Users\mrmay\AppData\Local\Temp\cf_log_dtxn777p_generator\Images\Snips\3-Notepad-998_321.png'
),
                                                            conf=0.7))
Exemple #4
0
import ClointFusion as cf
cf.launch_any_exe_bat_application('search')
cf.key_write_enter('paint', key='')
cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(img=str(
    r'C:\Users\mrmay\AppData\Local\Temp\cf_log_1bsm5jw4_generator\Images\Snips\2-UntitledPaint-1902_15.png'
),
                                                            conf=0.7))
try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\mrmay\AppData\Local\Temp\cf_log_2k76ujae_generator\Images\Snips\5-NewTabGoogleChrome-690_83.png',
        conf=0.7,
        wait=11),
                   left_or_right='left',
                   single_double_triple='single')
except:
    cf.mouse_click(690,
                   83,
                   left_or_right='left',
                   single_double_triple='single')

time.sleep(1)
cf.key_write_enter('hare', key='')
time.sleep(0)
cf.key_press('space')
time.sleep(1)
cf.key_write_enter('krishna', key='')
time.sleep(1)
cf.key_press('enter')
time.sleep(3)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\mrmay\AppData\Local\Temp\cf_log_2k76ujae_generator\Images\Snips\6-harekrishnaGoogleSearchGoogleChrome-1861_67.png',
        conf=0.7,
        wait=11),
                   left_or_right='left',
                   single_double_triple='double')
# This code is generated automatically by ClointFusion BOT Builder Tool.
import ClointFusion as cf
import time

cf.window_show_desktop()
cf.mouse_click(int(cf.pg.size()[0] / 2), int(cf.pg.size()[1] / 2))

cf.key_write_enter('otepad', key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(1)
cf.key_write_enter('hi', key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('sushil', key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('how', key='')
time.sleep(0)
cf.key_press('ctrl+A')

time.sleep(0)
cf.key_write_enter('r', key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('\x03', key='')
time.sleep(3)
cf.key_write_enter('\x1a', key='')
try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\Karth\AppData\Local\Temp\cf_log__z3uxdh7_generator\Images\Snips\1--234_1079.png',
        conf=0.7,
        wait=11),
                   left_or_right='left',
                   single_double_triple='single')
except:
    cf.mouse_click(234,
                   1079,
                   left_or_right='left',
                   single_double_triple='single')

time.sleep(1)
cf.key_write_enter('chrome', key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(2)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\Karth\AppData\Local\Temp\cf_log__z3uxdh7_generator\Images\Snips\2-NewTabGoogleChrome-584_40.png',
        conf=0.7,
        wait=10),
                   left_or_right='left',
                   single_double_triple='single')
except:
    cf.mouse_click(584,
                   40,
                   left_or_right='left',
def write_into_NameBox(inp):
    cf.mouse_click(x=73, y=224, single_double_triple='double')
    cf.key_write_enter(strMsg=inp, delay=0.5, key='e')
# This code is generated automatically by ClointFusion BOT Builder Tool.
import ClointFusion as cf 
import time 

cf.window_show_desktop() 
cf.mouse_click(int(cf.pg.size()[0]/2),int(cf.pg.size()[1]/2))

cf.key_write_enter('po',key='')
time.sleep(0)
cf.key_press('backspace')
time.sleep(1)
cf.key_press('backspace')
time.sleep(0)
cf.key_write_enter('otepad',key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(1)
cf.key_write_enter('hi',key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('usshil',key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('how',key='')
time.sleep(0)
cf.key_press('space')
time.sleep(1)
cf.key_write_enter('r',key='')
time.sleep(0)
Exemple #10
0
# This code is generated automatically by ClointFusion BOT Builder Tool.
import ClointFusion as cf 
import time 

cf.window_show_desktop() 
cf.mouse_click(int(cf.pg.size()[0]/2),int(cf.pg.size()[1]/2))

cf.key_press('cmd')
time.sleep(1)
cf.key_write_enter('notepad',key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(1)
cf.key_write_enter('hi',key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('ushiil',key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('\x18\x03\x16',key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_press('ctrl+Z')
time.sleep(1)
cf.key_press('space')
time.sleep(3)

cf.message_counter_down_timer(strMsg='Sorting the Total', start_value=3)

write_into_NameBox('G1')
cf.key_press(strKeys='alt + a + s + a + enter')
cf.key_hit_enter()

cf.message_counter_down_timer(strMsg='Changing the heading colors',
                              start_value=3)

write_into_NameBox('A1')
cf.key_press('ctrl + shift + right')
cf.key_press('alt + h')
cf.key_press('alt + h + m')
cf.key_press('right')
cf.mouse_click(x=916, y=698, single_double_triple='double')
cf.key_write_enter(strMsg='000000', delay=0.5, key='e')

cf.key_press('alt + h + f + c + m')
cf.key_press('right')
cf.mouse_click(x=916, y=698, single_double_triple='double')
cf.key_write_enter(strMsg='FF9900', delay=0.5, key='e')

cf.message_counter_down_timer(strMsg='Conditional formatting the Total',
                              start_value=3)

write_into_NameBox('G1')
cf.key_press('ctrl + shift + down')
cf.key_press('alt + h + l + s')
cf.key_press('alt + ctrl + enter')
write_into_NameBox('A1')
Exemple #12
0
try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\mrmay\AppData\Local\Temp\cf_log_ug9kv3oj_generator\Images\Snips\3--330_52.png',
        conf=0.7,
        wait=12),
                   left_or_right='left',
                   single_double_triple='double')
except:
    cf.mouse_click(330,
                   52,
                   left_or_right='left',
                   single_double_triple='double')

time.sleep(2)
cf.key_write_enter('shyam', key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(2)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\mrmay\AppData\Local\Temp\cf_log_ug9kv3oj_generator\Images\Snips\4-shyamGoogleSearchGoogleChrome-1910_70.png',
        conf=0.7,
        wait=10),
                   left_or_right='left',
                   single_double_triple='single')
except:
    cf.mouse_click(1910,
                   70,
                   left_or_right='left',
Exemple #13
0
def launch_game():
    cf.launch_any_exe_bat_application("chrome")
    cf.key_write_enter("chrome://dino")
    cf.key_hit_enter()
    cf.key_press("space")
    return
import ClointFusion as cf
cf.browser_navigate_h("https://www.gmail.com")
#user_name = cf.browser_locate_element_h("//*[@id='identifierId']")

#put your email id here
email = "*****@*****.**"
cf.browser_write_h(email,"Email or Phone") 
cf.browser_mouse_click_h("Next")

#password in txt file for encryption
#create txt file.
#add your password in it
f = open("password.txt", "r")
password = f.read()
cf.browser_write_h(password,"Enter your password")
cf.browser_mouse_click_h("Next")

cf.browser_wait_until_h("loading gmail")

#process for email writing starts here
cf.browser_mouse_click_h("Compose")
cf.browser_write_h("*****@*****.**","To")
cf.browser_write_h("test" ,"Subject")
cf.key_press('tab')
message = "hi this is test" 
cf.key_write_enter(message)
cf.browser_mouse_click_h("Send")
cf.browser_wait_until_h("Message sent.")

cf.browser_quit_h()
time.sleep(0)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_ukz19j5j_generator\Images\Snips\3--242_937.png',conf=0.7, wait=12),left_or_right='left', single_double_triple = 'single')
except:
    cf.mouse_click(242,937,left_or_right='left', single_double_triple = 'single')

time.sleep(2)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_ukz19j5j_generator\Images\Snips\4-NewTabGoogleChrome-391_76.png',conf=0.7, wait=12),left_or_right='left', single_double_triple = 'double')
except:
    cf.mouse_click(391,76,left_or_right='left', single_double_triple = 'double')

time.sleep(2)
cf.key_write_enter('hk')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('hr')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('rr')
time.sleep(0)
cf.key_press('enter')
time.sleep(5)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_ukz19j5j_generator\Images\Snips\5-hkhrrrGoogleSearchGoogleChrome-1917_68.png',conf=0.7, wait=10),left_or_right='left', single_double_triple = 'single')
except:
Exemple #16
0
import ClointFusion as cf 
import time 

cf.window_show_desktop() 
cf.mouse_click(int(cf.pg.size()[0]/2),int(cf.pg.size()[1]/2))

cf.key_press('cmd')
time.sleep(3)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_hcx12b0q_generator\Images\Snips\1--27_1060.png',conf=0.7, wait=11),left_or_right='left', single_double_triple = 'single')
except:
    cf.mouse_click(27,1060,left_or_right='left', single_double_triple = 'single')

time.sleep(1)
cf.key_write_enter('notepad',key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(1)
cf.key_press('shift')
time.sleep(0)
cf.key_write_enter('hello',key='')
time.sleep(0)
cf.key_press('f4')
time.sleep(0)
cf.key_press('alt')
time.sleep(3)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_hcx12b0q_generator\Images\Snips\2-Notepad-945_242.png',conf=0.7, wait=11),left_or_right='left', single_double_triple = 'single')
except:
Exemple #17
0
# This code is generated automatically by ClointFusion BOT Builder Tool.
import ClointFusion as cf 
import time 

cf.window_show_desktop() 
cf.mouse_click(int(cf.pg.size()[0]/2),int(cf.pg.size()[1]/2))

cf.key_write_enter('otepad',key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_press('enter')
time.sleep(2)
cf.key_write_enter('hi',key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_press('ctrl+A')
cf.key_press('ctrl+Z')
cf.key_press('ctrl+X')
cf.key_press('ctrl+C')
cf.key_press('ctrl+V')

time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('how',key='')
time.sleep(0)
cf.key_press('space')
time.sleep(1)
cf.key_write_enter('ru',key='')
import ClointFusion as cf
cf.launch_any_exe_bat_application('notepad')
cf.key_write_enter('R', key='')
cf.key_press('shift')
cf.key_write_enter('Ama', key='')
cf.key_press('alt+f4')
cf.key_press('n')
Exemple #19
0
try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\mrmay\AppData\Local\Temp\cf_log_cktyk20a_generator\Images\Snips\4-NewTabGoogleChrome-375_69.png',
        conf=0.7,
        wait=11),
                   left_or_right='left',
                   single_double_triple='single')
except:
    cf.mouse_click(375,
                   69,
                   left_or_right='left',
                   single_double_triple='single')

time.sleep(1)
cf.key_write_enter('radhe')
time.sleep(1)
cf.key_press('space')
time.sleep(1)
cf.key_write_enter('radhe')
time.sleep(0)
cf.key_press('enter')
time.sleep(4)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\mrmay\AppData\Local\Temp\cf_log_cktyk20a_generator\Images\Snips\5-radheradheGoogleSearchGoogleChrome-1907_57.png',
        conf=0.7,
        wait=10),
                   left_or_right='left',
                   single_double_triple='single')
import ClointFusion as cf

cf.launch_any_exe_bat_application('search')
cf.key_write_enter('notepad', key='')
cf.key_write_enter('H', key='')
cf.key_press('shift')
cf.key_write_enter('Are', key='')
cf.key_press('alt+f4')
cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(img=str(
    r'C:\Users\mrmay\AppData\Local\Temp\cf_log_5z0_dw4d_generator\Images\Snips\2-Notepad-949_285.png'
),
                                                            conf=0.7))
cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(img=str(
    r'C:\Users\mrmay\AppData\Local\Temp\cf_log_5z0_dw4d_generator\Images\Snips\3-Notepad-1034_397.png'
),
                                                            conf=0.7))
Exemple #21
0
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_ap6qqbiy_generator\Images\Snips\1--337_36.png',conf=0.7, wait=10),left_or_right='left', single_double_triple = 'single')
except:
    cf.mouse_click(337,36,left_or_right='left', single_double_triple = 'single')

time.sleep(0)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_ap6qqbiy_generator\Images\Snips\2-NewTabGoogleChrome-337_36.png',conf=0.7, wait=12),left_or_right='left', single_double_triple = 'single')
except:
    cf.mouse_click(337,36,left_or_right='left', single_double_triple = 'single')

time.sleep(2)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_ap6qqbiy_generator\Images\Snips\3-NewTabGoogleChrome-1860_68.png',conf=0.7, wait=88),left_or_right='left', single_double_triple = 'single')
except:
    cf.mouse_click(1860,68,left_or_right='left', single_double_triple = 'single')

time.sleep(78)
cf.key_write_enter('modi',key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(18)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_ap6qqbiy_generator\Images\Snips\4-modiGoogleSearchGoogleChrome-1887_15.png',conf=0.7, wait=10),left_or_right='left', single_double_triple = 'single')
except:
    cf.mouse_click(1887,15,left_or_right='left', single_double_triple = 'single')

time.sleep(0)
cf.window_close_windows('modi - Google Search - Google Chrome')
try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\Sushil\AppData\Local\Temp\cf_log_ba3soo1b_generator\Images\Snips\1--557_323.png',
        conf=0.7,
        wait=13),
                   left_or_right='left',
                   single_double_triple='single')
except:
    cf.mouse_click(557,
                   323,
                   left_or_right='left',
                   single_double_triple='single')

time.sleep(3)
cf.key_write_enter('ho', key='')
time.sleep(0)
cf.key_press('backspace')
time.sleep(0)
cf.key_press('backspace')
time.sleep(1)
cf.key_write_enter('not', key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(2)
cf.key_write_enter('notepad', key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
Exemple #23
0
# This code is generated automatically by ClointFusion BOT Builder Tool.
import ClointFusion as cf
import time

cf.window_show_desktop()
cf.mouse_click(int(cf.pg.size()[0] / 2), int(cf.pg.size()[1] / 2))

cf.key_write_enter('n', key='')
time.sleep(0)
cf.key_write_enter('o', key='')
time.sleep(1)
cf.key_write_enter('t', key='')
time.sleep(0)
cf.key_write_enter('e', key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(1)
cf.key_write_enter('h', key='')
time.sleep(0)
cf.key_write_enter('i', key='')
time.sleep(1)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('s', key='')
time.sleep(0)
cf.key_write_enter('u', key='')
time.sleep(0)
cf.key_write_enter('s', key='')
time.sleep(0)
cf.key_write_enter('h', key='')
time.sleep(0)
Exemple #24
0
try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\mrmay\AppData\Local\Temp\cf_log_y18lz6ln_generator\Images\Snips\2-NewTabGoogleChrome-336_39.png',
        conf=0.7,
        wait=12),
                   left_or_right='left',
                   single_double_triple='single')
except:
    cf.mouse_click(336,
                   39,
                   left_or_right='left',
                   single_double_triple='single')

time.sleep(2)
cf.key_write_enter('radhe', key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(4)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\mrmay\AppData\Local\Temp\cf_log_y18lz6ln_generator\Images\Snips\3-radheGoogleSearchGoogleChrome-395_79.png',
        conf=0.7,
        wait=13),
                   left_or_right='left',
                   single_double_triple='single')
except:
    cf.mouse_click(395,
                   79,
                   left_or_right='left',
Exemple #25
0
# This code is generated automatically by ClointFusion BOT Builder Tool.
import ClointFusion as cf
import time

cf.window_show_desktop()
cf.mouse_click(int(cf.pg.size()[0] / 2), int(cf.pg.size()[1] / 2))

cf.key_press('cmd')
time.sleep(1)
cf.key_write_enter('note', key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(1)
cf.key_write_enter('hi', key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_press('ctrl+A')
cf.key_press('ctrl+X')
cf.key_press('ctrl+C')
cf.key_press('ctrl+V')
cf.key_press('ctrl+Z')

time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('how', key='')
time.sleep(0)
cf.key_press('space')
time.sleep(0)
cf.key_write_enter('r', key='')
# This code is generated automatically by ClointFusion BOT Builder Tool.
import ClointFusion as cf 
import time 

cf.window_show_desktop() 
cf.mouse_click(int(cf.pg.size()[0]/2),int(cf.pg.size()[1]/2))


try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\Sushil\AppData\Local\Temp\cf_log_iv8cgz1z_generator\Images\Snips\1--261_749.png',conf=0.7, wait=12),left_or_right='left', single_double_triple = 'single')
except:
    cf.mouse_click(261,749,left_or_right='left', single_double_triple = 'single')

time.sleep(2)
cf.key_write_enter('note',key='')
time.sleep(0)
cf.key_press('ctrl+A')
cf.key_press('ctrl+Z')
cf.key_press('ctrl+Y')
cf.key_press('ctrl+Z')
cf.key_press('ctrl+X')
cf.key_press('ctrl+V')
time.sleep(1)
cf.key_press('enter')
time.sleep(4)
cf.key_write_enter('H',key='')
time.sleep(0)
cf.key_press('shift')
time.sleep(0)
cf.key_write_enter('are',key='')
time.sleep(0)
                   single_double_triple='single')
except:
    cf.mouse_click(1852, 56)
time.sleep(1)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\mrmay\AppData\Local\Temp\cf_log_c75vv32c_generator\Images\Snips\4-NewTabGoogleChrome-331_25.png',
        conf=0.7,
        wait=11),
                   left_or_right='left',
                   single_double_triple='single')
except:
    cf.mouse_click(331, 25)
time.sleep(1)
cf.key_write_enter('modi')
time.sleep(1)
cf.key_press('enter')
time.sleep(9)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\mrmay\AppData\Local\Temp\cf_log_c75vv32c_generator\Images\Snips\5-modiGoogleSearchGoogleChrome-1889_18.png',
        conf=0.7,
        wait=10),
                   left_or_right='left',
                   single_double_triple='double')
except:
    cf.mouse_click(1889, 18)
time.sleep(0)
time.sleep(0)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_hfz9x9xo_generator\Images\Snips\2--332_39.png',conf=0.7, wait=11),left_or_right='left', single_double_triple = 'single')
except:
    cf.mouse_click(332,39,left_or_right='left', single_double_triple = 'single')

time.sleep(1)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_hfz9x9xo_generator\Images\Snips\3-NewTabGoogleChrome-395_82.png',conf=0.7, wait=13),left_or_right='left', single_double_triple = 'double')
except:
    cf.mouse_click(395,82,left_or_right='left', single_double_triple = 'double')

time.sleep(3)
cf.key_write_enter('hare',key='')
time.sleep(0)
cf.key_press('space')
time.sleep(1)
cf.key_press('down')
time.sleep(0)
cf.key_press('enter')
time.sleep(2)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\mrmay\AppData\Local\Temp\cf_log_hfz9x9xo_generator\Images\Snips\4-harekrishnaGoogleSearchGoogleChrome-1918_70.png',conf=0.7, wait=13),left_or_right='left', single_double_triple = 'single')
except:
    cf.mouse_click(1918,70,left_or_right='left', single_double_triple = 'single')

time.sleep(3)
Exemple #29
0
# This code is generated automatically by ClointFusion BOT Builder Tool.
import ClointFusion as cf 
import time 

cf.window_show_desktop() 
cf.mouse_click(int(cf.pg.size()[0]/2),int(cf.pg.size()[1]/2))


try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(r'C:\Users\Sushil\AppData\Local\Temp\cf_log_gkv4l5f4_generator\Images\Snips\1--636_335.png',conf=0.7, wait=11),left_or_right='left', single_double_triple = 'single')
except:
    cf.mouse_click(636,335,left_or_right='left', single_double_triple = 'single')

time.sleep(1)
cf.key_write_enter('note',key='')
time.sleep(0)
cf.key_press('enter')
time.sleep(1)
cf.key_write_enter('hi',key='')
time.sleep(0)
cf.key_press('space')
time.sleep(1)
cf.key_write_enter('sushil',key='')
time.sleep(0)
cf.key_press('ctrl+A')
cf.key_press('ctrl+X')
cf.key_press('ctrl+C')

time.sleep(1)
cf.key_write_enter('how',key='')
time.sleep(0)
try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\Karth\AppData\Local\Temp\cf_log_2dm66eov_generator\Images\Snips\3--316_1059.png',
        conf=0.7,
        wait=11),
                   left_or_right='left',
                   single_double_triple='single')
except:
    cf.mouse_click(316,
                   1059,
                   left_or_right='left',
                   single_double_triple='single')

time.sleep(1)
cf.key_write_enter('chr', key='')
time.sleep(1)
cf.key_press('enter')
time.sleep(3)

try:
    cf.mouse_click(*cf.mouse_search_snip_return_coordinates_x_y(
        r'C:\Users\Karth\AppData\Local\Temp\cf_log_2dm66eov_generator\Images\Snips\4-NewTabGoogleChrome-551_94.png',
        conf=0.7,
        wait=10),
                   left_or_right='left',
                   single_double_triple='single')
except:
    cf.mouse_click(551,
                   94,
                   left_or_right='left',