This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import ctypes | |
from PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
from PIL import Image | |
from PIL.ImageQt import ImageQt | |
import pyautogui as pg | |
import platform | |
class Main(QWidget): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def geticon(PATH): | |
shfileinfostruct=SHFILEINFO() | |
SHGFI_ICON = 0x000000100 | |
SHGFI_DISPLAYNAME = 0x000000200 | |
SHGFI_TYPENAME = 0x000000400 | |
SHGFI_ATTRIBUTES = 0x000000800 | |
SHGFI_ICONLOCATION = 0x000001000 | |
SHGFI_EXETYPE = 0x000002000 | |
SHGFI_SYSICONINDEX = 0x000004000 | |
SHGFI_LINKOVERLAY = 0x000008000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mainwindow.h" | |
#include "ui_mainwindow.h" | |
#include <QDebug> | |
#include <commoncontrols.h> | |
#include <CommCtrl.h> | |
#include <shellapi.h> | |
HICON JumboIcon(LPTSTR pszPath) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ctypes | |
from ctypes import wintypes | |
#imports | |
GetWindowLong=ctypes.windll.user32.GetWindowLongW | |
SetWindowLong=ctypes.windll.user32.SetWindowLongW | |
SetLayeredWindowAttributes=ctypes.windll.user32.SetLayeredWindowAttributes | |
GetShell=ctypes.windll.user32.GetShellWindow | |
EnumChildren = ctypes.windll.user32.EnumChildWindows | |
EnumWindows=ctypes.windll.user32.EnumWindows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Melody | |
* (cleft) 2005 D. Cuartielles for K3 | |
* | |
* This example uses a piezo speaker to play melodies. It sends | |
* a square wave of the appropriate frequency to the piezo, generating | |
* the corresponding tone. | |
* | |
* The calculation of the tones is made following the mathematical | |
* operation: | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Stream the Kivy window into a MJPEG HTTP server | |
=============================================== | |
:Configuration: | |
`ip` : str, default to '' | |
By default, server will listen on all ips availables | |
`port` : int, default to 8000 | |
TCP Port to listen | |
`fps` : int, default to 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qchildevent_wrapper | |
qcoreapplication_wrapper | |
qcryptographichash_wrapper | |
qdate_wrapper | |
qdatetime_wrapper | |
qdir_wrapper | |
qdiriterator_wrapper | |
qdynamicpropertychangeevent_wrapper | |
qeasingcurve_wrapper | |
qelapsedtimer_wrapper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initializing submodules for PySide version 2.0.0.dev0 | |
Checking out submodule shiboken2 to branch qt5 | |
Checking out submodule pyside2 to branch qt5 | |
Checking out submodule pyside-tools2 to branch qt5 | |
Checking out submodule pyside-examples2 to branch qt5 | |
Removing C:\pyside-setup2\pyside_package | |
running install | |
running bdist_egg | |
running build | |
Python architecture is 32bit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Language> | |
<!-- This must be in the language of the file to make it easier on people D: --> | |
<lang_name>English (US)</lang_name> | |
<!-- titles --> | |
<title_error>Error</title_error> | |
<title_info>Info</title_info> | |
<title_warning>Warning</title_warning> | |
<title_finished>Finished</title_finished> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ctypes | |
from ctypes import wintypes | |
#import pyscreenshot as ImageGrab | |
titles=[] | |
def GetHWND(self, hwnd, lParam): | |
if IsWindowVisible(hwnd): | |
length = GetWindowTextLength(hwnd) | |
buff = ctypes.create_unicode_buffer(length + 1) | |
GetWindowText(hwnd, buff, length + 1) | |
if buff.value != u'': |
OlderNewer