Package: clointfusion
Welcome to, Made in India with ❤️DescriptionCloint India Pvt. Ltd - Python functions for Robotic Process Automation shortlyRPA.What is ClointFusion?ClointFusion is an Indian firm based in Vadodara, Gujarat. ClointFusion is a Python-based RPA platform for developing Software BOTs. Using AI, we're working on Common Man's RPA.Check out Project StatusRelease NotesClick here forRelease NotesInstallationClointFusion is now supported on Windows / Ubuntu / macOS* !Windows :Windows users can download EXE pre-loaded with Python 3.9 and ClointFusion package:Windows EXEORClointFusion is compatible with both Windows 10 and Windows 11.Installing on a Windows PC is a breeze.Make certain that Python 3.8 or Python 3.9 is installed.Then, from the command prompt, execute the following command.pip install -U ClointFusionUbuntu :Clointfusion requires sudo rights to install on Ubuntu.Additional Linux packages must be installed before Clointfusion can be installed.Make certain that Python 3.8 or Python 3.9 is installed.Then, from the command prompt, execute the following command.sudo apt-get install python3-tk python3-dev
sudo pip3 install ClointFusionImportingClointFusion can be accessed using one of two methods.Windows :Terminal : Opens a Python interpreter using the command " import ClointFusion as cf "cf_pyCode Editor or IDE : Import ClointFusion first, and then run the file in Python.# cf_bot.py

import ClointFusion as cf

cf.browser_activate()python cf_bot.pyUbuntu :Terminal : Opens a Python interpreter with the command " import ClointFusion as cf " and the required sudo privileges.sudo cf_pyCode Editor or IDE : Run the file with sudo permissions.# cf_bot.py

import ClointFusion as cf

cf.ChromeBrowser()sudo python3 cf_bot.pyFeaturesDOST : Your friend in automation || Build RPA Bots without Code.DOSTis an interactive Blockly basedno-codeBOT Builder platform built and optimized for ClointFusion-based BOT building. We feel that automation is important for people other than programmers. Using DOST, even a common man can create a BOT in minutes.Advantages of DOSTEasy to Use.Build BOT in minutes.No prior Programming knowledge needed.ClointFusion in ActionNow access more than 100 functions (hit ctrl+space in your IDE)TIP: You can find and inspect all of ClointFusion's functions using only one function i.e.,find(). Just pass the partial name of the function.cf.find("sort")

cf.find("gui")4 functions on Mouse Operations:FunctionAccepted ParametersDescriptioncf.mouse_click()x=" ", y=" ", left_or_right="left", no_of_clicks=1Clicks at the given X Y Co-ordinates on the screen using ingle / double / triple click(s). Optionally copies selected data to clipboard (works for double / triple clicks)cf.mouse_move()x=" ", y=" "Moves the cursor to the given X Y Co-ordinatescf.mouse_drag_from_to()x1=" ", y1=" ", x2=" ",y2=" ", delay=0.5Clicks and drags from X1 Y1 co-ordinates to X2 Y2 Co-ordinates on the screencf.mouse_search_snip_return_coordinates_x_y()img=" ", wait=180Searches the given image on the screen and returns its center of X Y co-ordinates.6 functions on Window Operations (works only in Windows OS):FunctionAccepted ParametersDescriptioncf.window_show_desktop()NoneMinimizes all the applications and shows Desktop.cf.window_get_all_opened_titles_windows()window_title=" "Gives the title of all the existing (open) windows.cf.window_activate_and_maximize_windows()windowName=" "Activates and maximizes the desired window.cf.window_minimize_windows()windowName=" "Activates and minimizes the desired window.cf.window_close_windows()windowName=" "Close the desired window.cf.launch_any_exe_bat_application()pathOfExeFile=" "Launches any exe or batch file or excel file etc.8 functions on Folder Operations:FunctionAccepted ParametersDescriptioncf.folder_read_text_file()txt_file_path=" "Reads from a given text file and returns entire contents as a single listcf.folder_write_text_file()txt_file_path=" ", contents=" "Writes given contents to a text filecf.folder_create()strFolderPath=" "When you are making leaf directory, if any intermediate-level directory is missing, folder_create() method creates them.cf.folder_create_text_file()textFolderPath=" ", txtFileName=" "Creates text file in the given path.cf.folder_get_all_filenames_as_list()strFolderPath=" ", extension='all'Get all the files of the given folder in a list.cf.folder_delete_all_files()fullPathOfTheFolder=" ", file_extension_without_dot="all"Deletes all the files of the given foldercf.file_rename()old_file_path='', new_file_name='', ext=FalseRenames the given file name to new file name with same extension.cf.file_get_json_details()path_of_json_file='', section=''Returns all the details of the given section in a dictionary3 functions on Keyboard Operations:FunctionAccepted ParametersDescriptioncf.key_hit_enter()write_to_window=" "Enter key will be pressed once.cf.key_press()key_1='', key_2='', key_3='', write_to_window=" "Emulates the given keystrokes.cf.key_write_enter()text_to_write=" ", write_to_window=" ", delay_after_typing=1, key="e"Writes/Types the given text and press enter (by default) or tab key.5 functions on Screen-scraping Operations:FunctionAccepted ParametersDescriptioncf.scrape_save_contents_to_notepad()folderPathToSaveTheNotepad=" ", switch_to_window=" ",X=0, Y=0Copy pastes all the available text on the screen to notepad and saves it.cf.scrape_get_contents_by_search_copy_paste()highlightText=" "Gets the focus on the screen by searching given text using crtl+f and performs copy/paste of all data. Useful in Citrix applications. This is useful in Citrix applicationscf.screen_clear_search()delay=0.2Clears previously found text (crtl+f highlight)cf.search_highlight_tab_enter_open()searchText=" ", hitEnterKey="Yes", shift_tab='No'Searches for a text on screen using crtl+f and hits enter. This function is useful in Citrix environment.cf.find_text_on_screen()searchText=" ", delay=0.1, occurance=1, isSearchToBeCleared=FalseClears previous search and finds the provided text on screen.11 functions on Browser Operations:FunctionAccepted ParametersDescriptiondriver = cf.ChromeBrowser()Function to launch browser and start the session.driver.open_browser()dummy_browser=True,incognito=False,profile="Default"Function to launch browser and start the session.driver.navigate()url=" "Navigates to Specified URL.driver.write()Value=" ",  User_Visible_Text_Element=" "Write a string on the given element.driver.mouse_click()User_Visible_Text_Element=" ", element=" ",double_click=False, right_click=FalseClick on the given element.driver.wait_until()text=" ", element="t"Wait until a specific element is found.driver.refresh_page()NoneRefresh the page.driver.close()NoneClose the Helium browser.driver.hit_enter()NoneHits enter KEY using Browser Helium Functionsdriver.key_press()key_1=" ", key_2=" "Type text using Browser Helium Functions and press hot keysdriver.mouse_hover()User_Visible_Text_Element=" "Performs a Mouse Hover over the Given User Visible Text Elementdriver.scroll()direction="down", weight="100" pxScrolls the browser window.4 functions on Alert Messages:FunctionAccepted ParametersDescriptioncf.message_counter_down_timer()strMsg="Calling ClointFusion Function in (seconds)", start_value=5Function to show count-down timer. Default is 5 seconds.cf.message_pop_up()strMsg=" ", delay=3Specified message will popup on the screen for a specified duration of time.cf.message_flash()msg=" ", delay=3Specified msg will popup for a specified duration of time with OK button.cf.message_toast()message,website_url=" ", file_folder_path=" "Function for displaying Windows 10 Toast Notifications. Pass website URL OR file / folder path that needs to be opened when user clicks on the toast notification.3 functions on String Operations:FunctionAccepted ParametersDescriptioncf.string_remove_special_characters()inputStr=" "Removes all the special character.cf.string_extract_only_alphabets()inputString=" "Returns only alphabets from given input stringcf.string_extract_only_numbers()inputString=" "Returns only numbers from given input stringLoads of miscellaneous functions related to emoji, capture photo, flash (pop-up) messages etc:FunctionAccepted ParametersDescriptioncf.clear_screen()NoneClears Python Interpreter Terminal Window Screencf.print_with_magic_color()strMsg:str=" ", magic:bool=FalseFunction to color and format terminal outputcf.show_emoji()strInput=" "Function which prints Emojiscf.download_this_file()url=" "Downloads a given url file to BOT output folder or Browser's Download foldercf.pause_program()seconds="5"Stops the program for given secondsBOTS made out of ClointFusionOutlook Email BOT implemented using ClointFusionWe love your contributionContribute to us by giving a star, writing articles onClointFusion, giving comments, reporting bugs, bug fixes, feature enhancements, adding documentation, and many other ways.Invitation to our Monthly Branded HackathonWe also invite everyone to take part in our monthly branded event, theClointFusion Hackathon, and stand a chance to work with us.Checkout our Hackathon Website for more details here:ClointFusion HackathonDate ❤️ with ClointFusionThis an initiative for fast track entry into our growing workforce. For more details, please visit:Date with ClointFusionAcknowledgementsWe sincerely thanks to all it's dependent packages for the great contribution, which madeClointFusionpossible!Please find all the dependencieshereNeed help in Building BOTS?Write us by clicking belowDisclaimer: We collect anonymous data on installation and usage statistics in order to improve our product and provide better services.