rayanoos 2.2.4
Control system. that's only work in Windows. install: use "pip install rayanoos" for install the last version.
License: MIT
Keywords: nircmd,screenshot,os,dll,mouse,folders,windows,msg,clipboard,sleep,monitor,keyboard,sendkey,standby,githubapi

Rayanoos package for control system .Best options

Note: that's only work in Windows

Note: The volume of the source code of this packet is 200 KB, but when you create a file with a pyinstaller tool, it will only have 100 KB in size with all the tools of this package.  This is very amazing.

Install in Windows:   python -m pip install rayanoos



support : info@rayanoos.ir

More information : http://Rayanoos.ir/pypi/rayanoos


sample features:




import rayanoos

t = rayanoos.tools()


t.screenshot('file.png')              'Take Full ScreenShot

t.screenshot_from_window('file.png')  'Take Screenshot from selected Window

t.screenshot_from_custom_place('file.png',x,y,width,height)

t.monitor_off()                       'Monitor Off

t.monitor_on()                        'Monitor On

t.cdrom_open()                        'Open CDROM

t.cdrom_Close()                       'Close CDROM

t.mouse_set_cursor(x,y)               'Set Mouse cursor place

t.mouse_move_cursor(x,y)              'Move cursor from old place to new place

t.mouse_left_click()                  'Mouse Click   Left

t.mouse_right_click()                 'Mouse Click   Right

t.mouse_middle_click()                'Mouse Click   Middle

t.mouse_left_doubleclick()            'Mouse doubleClick   Left

t.mouse_right_doubleclick()           'Mouse doubleClick   Right

t.mouse_middle_doubleclick()          'Mouse doubleClick   Middle

t.mouse_send(t.MOUSE_LEFT,t.MOUSE_MODE_DOWN)  'custom mouse control.

t.recyclebin('file.exe')              'Move files to Recycle bin

t.emptybin()                          'Emptybin the Recycle Bin

t.speak('Hello')                      'Speak Text (text to audio)

t.speak_file('file.txt')              'Speak File (text to audio)

t.txt_to_audio('file.txt','file.wav') 'Convert txtFile to audio file

t.set_volume(65500)                   'Set sound volume in range of 0 to 65500

t.mute()                              'Mute sound volume

t.shortcut_create('file.exe','C:\','Name') 'Create shortcut

t.standby()                           'Standby system

t.shutdown()                          'Shutdown system

t.logoff()                            'Logoff user

t.restart()                           'Restart system

t.allwin_center()                     'Move all windows places to center

t.killprocess('process.exe')          'Close apps or processes

t.clipboard_set('Hello')              'Set Clipboard text

t.clipbord_gettext()                'Get Clipboard text

t.clipboard_addfile('file.exe')       'Add file to Clipboard

t.clipboard_clear()                   'Clear Clipboard

t.messagebox("Title","Text")          'Show a message box with custom title and text

t.trayballoon('title','text','icon.ico/.exe',2000) 'Show Notification. Wonderful!!

t.sleep(1000)                         'Sleep with custom timeout

t.reg_add_to_startup('Name','file.exe')     'Add file to startup in Registry

t.reg_add_sz_value('HKEY_CURRENT_USER\\','name','data')  'Add value to Registry

t.open_url("http://Rayanoos.ir")      'Open Url in default system explorer

t.start_file("file.exe")              'start file

t.print('sample.pdf')                 'send docs/pdf and... to printer

t.audio_play(1000,"file.mp3")         'Play audio with custom timeout

t.change_system_language()            'Change system language

t.sendkeypress(['ctrl','shift','esc'])   'Press simultaneously keyboard keys

t.sendkey('a',t.KEY_MODE_CLICK)       'Send keys with custom mode click/down/up...

t.convert_image('file.png','file.jpg')  'Convert image format

t.system('cls')                        'Use system commands and CMD


t.system_time()                        'Get system Time

t.system_date()                        'Get system Date

t.system_username()                    'Get system Username

t.folder_windir()                      'Get windir folder address

t.system_computername                  'Get computer name

t.folder_myapp                         'Get your app file folder address

t.folder_desktop                       'Get desktop folder address

t.folder_startmenu                     'Get startmenu  folder address

t.folder_programs                      'Get programs folder address

t.folder_username                      'Get username folder address

t.folder_startup                       'Get startup folder address

t.folder_recent                        'Get recent folder address

t.folder_favorites                     'Get favorites folder address

t.folder_cookies                       'Get cookies folder address

t.folder_appdata                       'Get appdata folder address

t.folder_windows                       'Get windows folder address

t.folder_programfiles                  'Get programfiles folder address

t.folder_documents                     'Get documents folder address

t.folder_system32                      'Get system32 folder address

...