HACKERS ELITE
Bienvenido a HACKERS ELITE
porfavor registrate o inicia secion para ver todo el contenido del foro, disfruta tu visita!

Unirse al foro, es rápido y fácil

HACKERS ELITE
Bienvenido a HACKERS ELITE
porfavor registrate o inicia secion para ver todo el contenido del foro, disfruta tu visita!
HACKERS ELITE
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.
Últimos temas
» Me bloquearon mi celular para conectarse a la Red Wifi en Modo Avion
[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo I_icon_minitimeVie Sep 05, 2014 6:15 pm por JAVIER_77

» Hacker nostale
[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo I_icon_minitimeVie Jul 20, 2012 5:02 pm por Sweet_Boy

» Chrome OS 20.x pasa al canal estable
[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo I_icon_minitimeVie Jul 13, 2012 11:15 pm por [D]ement<<<

» Disponible openSUSE 12.2 RC 1
[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo I_icon_minitimeVie Jul 13, 2012 12:44 am por [D]ement<<<

» NitroShare, comparte archivos y carpetas entre Linux y Windows
[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo I_icon_minitimeVie Jul 13, 2012 12:26 am por [D]ement<<<

» Linux Mint 13 KDE Release Candidate, disponible
[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo I_icon_minitimeVie Jul 13, 2012 12:18 am por [D]ement<<<

» LibreOffice 3.5.5, más estabilidad
[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo I_icon_minitimeVie Jul 13, 2012 12:06 am por [D]ement<<<

» File History, un Time Machine para Windows 8
[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo I_icon_minitimeMiér Jul 11, 2012 9:50 pm por [D]ement<<<

» Como habilitar el logueo automático en Windows
[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo I_icon_minitimeMiér Jul 11, 2012 9:44 pm por [D]ement<<<

» Acronis True Image 2012
[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo I_icon_minitimeMar Jul 10, 2012 12:15 am por [D]ement<<<

» Virus Informaticos
[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo I_icon_minitimeMar Mayo 08, 2012 7:10 am por Sokoleonardo

Buscar
 
 

Resultados por:
 


Rechercher Búsqueda avanzada

Abril 2024
LunMarMiérJueVieSábDom
1234567
891011121314
15161718192021
22232425262728
2930     

Calendario Calendario


[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo

3 participantes

Ir abajo

[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo Empty [TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo

Mensaje por Sokoleonardo Sáb Sep 17, 2011 10:42 am


[Tienes que estar registrado y conectado para ver esa imagen]


Código:

# -*- coding: cp1252 -*-
import sys,time,tkMessageBox,pymouse,re
from Tkinter import *
from SendKeys import SendKeys
mouse = pymouse.PyMouse()
r = "red"
b = "blue"
mi_script = sys.argv[0]
ventana = Tk()
def AYUDA():
    VentanaAyuda = Tk()
    tex = """
    Este programa es para hacer
    cosas en tiempo dado.
    Tareas automaticas y programadas.


   
    By Sokoleonardo.
    """
    TextoAyuda = Label(VentanaAyuda,text=tex,fg=b)
    TextoAyuda.pack()
ventana.wm_maxsize(width=600, height=510)
ventana.wm_minsize(width=600, height=510)
ventana.wm_iconbitmap(bitmap=mi_script)
ventana.wm_title("Operar PC Automaticamente")
BotonAyuda = Button(ventana,text="Ayuda!",fg=b,font=1,command=AYUDA)
BotonAyuda.place(x=7,y=4)
#presentacion:
TituloPresentacion = Label(ventana,text="Manejo Automatico de PC",fg=b,font=1)
TituloPresentacion.place(x=170,y=4)
#Fin de presentacion
def MostrarPosicion():
    time.sleep(2)
    doscifras = mouse.position()
    xpose = str(int(doscifras[0]))
    ypose = str(int(doscifras[1]))
    texto = """
    De izquierda a derecha: """+xpose+"""
    De arriba hacia abajo: """+ypose
    CartelError6 = tkMessageBox.showinfo("Posicion de mouse",texto)
def AgrT():
    """Esto agrega tiempo de espera"""
    try:
        maximo = int(AgregTiempo.get())
        if maximo > 86400:
            CartelError = tkMessageBox.showerror("No permitido!","No se permite una cifra mayor a 86400")
        else:
            fin = len(CodigoClave.get())
            num = " ("+AgregTiempo.get()+")"
            CodigoClave.insert(fin, num)
    except: pass
#Funciones que agregan teclas:
def Agree(caracteres):
    fin = len(CodigoClave.get())
    CodigoClave.insert(fin, " "+caracteres)
def AgregarPosicionMouse():
    try:
        int(AgregMoverMouseX.get())
        int(AgregMoverMouseY.get())
        xpose=AgregMoverMouseX.get()
        ypose=AgregMoverMouseY.get()
        texto = "-M-"+xpose+".O."+ypose+"-E-"
        Agree(texto)
    except: pass

def Accionar(): # puse estos if por conveniencia.
    Partes = CodigoClave.get().split(" ")
    for caracter in Partes:
        if caracter.count("(") > 0:
            tiempo = int(re.split("[()]",caracter)[1])
            vez = 0:
            while vez < tiempo:
                time.sleep(0.01)
                vez = vez + 0.01
                print vez
        if caracter == "C1":
            cifras = mouse.position()
            xpose = cifras[0]
            ypose = cifras[1]
            mouse.prees(xpose,ypose,1)
            print caracter
        if caracter == "C2":
            print caracter
            cifras = mouse.position()
            xpose = cifras[0]
            ypose = cifras[1]
            mouse.prees(xpose,ypose,2)
        if caracter.count("{") > 0:
            SendKeys(caracter)
            print caracter
        if re.match("(-M-)",caracter):
            doscifras = re.findall("-M-([0-9]+).O.([0-9]+)-E-",caracter)[0]
            xpose = int(doscifras[0])
            ypose = int(doscifras[1])
            mouse.move(xpose,ypose)
            print xpose,ypose
        if re.match("([0-9a-z+^A-Z])+",caracter): SendKeys(caracter)

def Esc(): Agree("{ESC}")
def F1(): Agree("{F1}")
def F2(): Agree("{F2}")
def F3(): Agree("{F3}")
def F4(): Agree("{F4}")
def F5(): Agree("{F5}")
def F6(): Agree("{F6}")
def F7(): Agree("{F7}")
def F8(): Agree("{F8}")
def F9(): Agree("{F9}")
def F10(): Agree("{F10}")
def F11(): Agree("{F11}")
def F12(): Agree("{F12}")
def InterrogIzquierdo(): Agree("!")
def InterrogDerecho(): Agree('"')
def Comillits(): Agree("'")
def ImprPant(): Agree("{PRTSC}")
def Tabulador(): Agree("{TAB}")
def Space(): Agree("{SPACE}")
def CtrlMasZ(): Agree("{BREAK}")
def MenuInicio(): Agree("{LWIN}")
def BloqMayus(): Agree("{CAP}")
def BloqLock(): Agree("{NUMLOCK}")
def BloqDespl(): Agree("{SCROLLLOCK}")
def Suprimir(): Agree("{DELETE}")
def AvPag(): Agree("{PGDN}")
def RePag(): Agree("{PGUP}")
def Fin(): Agree("{END}")
def Inicio(): Agree("{HOME}")
def BorrarEscrituraEcha(): Agree("{BS}")
def Ctrl(): Agree("^")
def Alt(): Agree("%")
def Enter(): Agree("{ENTER}")
def Shift(): Agree("+")
def Insert(): Agree("{INSERT}")
#Teclas de las flechas:
def Arriba(): Agree("{UP}")
def Abajo(): Agree("{DOWN}")
def Derecha(): Agree("{RIGHT}")
def Izquierda(): Agree("{LEFT}")
#Letras:
class Tipo:
    def __init__(self):
        self.MayusMinus = "Minuscula"
    def CambiarAMinuscula(self):
        self.MayusMinus = "Minuscula"
    def CambiarAMayuscula(self):
        self.MayusMinus = "Mayuscula"
tipo = Tipo()
def Q():
    if tipo.MayusMinus == "Minuscula": Agree("q")
    elif tipo.MayusMinus == "Mayuscula": Agree("+q")
def W():
    if tipo.MayusMinus == "Minuscula": Agree("w")
    elif tipo.MayusMinus == "Mayuscula": Agree("+w")
def E():
    if tipo.MayusMinus == "Minuscula": Agree("e")
    elif tipo.MayusMinus == "Mayuscula": Agree("+e")
def R():
    if tipo.MayusMinus == "Minuscula": Agree("r")
    elif tipo.MayusMinus == "Mayuscula": Agree("+r")
def T():
    if tipo.MayusMinus == "Minuscula": Agree("t")
    elif tipo.MayusMinus == "Mayuscula": Agree("+t")
def Y():
    if tipo.MayusMinus == "Minuscula": Agree("y")
    elif tipo.MayusMinus == "Mayuscula": Agree("+y")
def U():
    if tipo.MayusMinus == "Minuscula": Agree("u")
    elif tipo.MayusMinus == "Mayuscula": Agree("+u")
def I():
    if tipo.MayusMinus == "Minuscula": Agree("i")
    elif tipo.MayusMinus == "Mayuscula": Agree("+i")
def O():
    if tipo.MayusMinus == "Minuscula": Agree("o")
    elif tipo.MayusMinus == "Mayuscula": Agree("+o")
def P():
    if tipo.MayusMinus == "Minuscula": Agree("p")
    elif tipo.MayusMinus == "Mayuscula": Agree("+p")
def A():
    if tipo.MayusMinus == "Minuscula": Agree("a")
    elif tipo.MayusMinus == "Mayuscula": Agree("+a")
def S():
    if tipo.MayusMinus == "Minuscula": Agree("s")
    elif tipo.MayusMinus == "Mayuscula": Agree("+s")
def D():
    if tipo.MayusMinus == "Minuscula": Agree("d")
    elif tipo.MayusMinus == "Mayuscula": Agree("+d")
def F():
    if tipo.MayusMinus == "Minuscula": Agree("f")
    elif tipo.MayusMinus == "Mayuscula": Agree("+f")
def G():
    if tipo.MayusMinus == "Minuscula": Agree("g")
    elif tipo.MayusMinus == "Mayuscula": Agree("+g")
def H():
    if tipo.MayusMinus == "Minuscula": Agree("h")
    elif tipo.MayusMinus == "Mayuscula": Agree("+h")
def J():
    if tipo.MayusMinus == "Minuscula": Agree("j")
    elif tipo.MayusMinus == "Mayuscula": Agree("+j")
def K():
    if tipo.MayusMinus == "Minuscula": Agree("k")
    elif tipo.MayusMinus == "Mayuscula": Agree("+k")
def L():
    if tipo.MayusMinus == "Minuscula": Agree("l")
    elif tipo.MayusMinus == "Mayuscula": Agree("+l")
def Z():
    if tipo.MayusMinus == "Minuscula": Agree("z")
    elif tipo.MayusMinus == "Mayuscula": Agree("+z")
def X():
    if tipo.MayusMinus == "Minuscula": Agree("x")
    elif tipo.MayusMinus == "Mayuscula": Agree("+x")
def C():
    if tipo.MayusMinus == "Minuscula": Agree("c")
    elif tipo.MayusMinus == "Mayuscula": Agree("+c")
def V():
    if tipo.MayusMinus == "Minuscula": Agree("v")
    elif tipo.MayusMinus == "Mayuscula": Agree("+v")
def B():
    if tipo.MayusMinus == "Minuscula": Agree("b")
    elif tipo.MayusMinus == "Mayuscula": Agree("+b")
def N():
    if tipo.MayusMinus == "Minuscula": Agree("n")
    elif tipo.MayusMinus == "Mayuscula": Agree("+n")
def M():
    if tipo.MayusMinus == "Minuscula": Agree("m")
    elif tipo.MayusMinus == "Mayuscula": Agree("+m")
#Numeros:
def Uno(): Agree("1")
def Dos(): Agree("2")
def Tres(): Agree("3")
def Cuatro(): Agree("4")
def Cinco(): Agree("5")
def Seis(): Agree("6")
def Siete(): Agree("7")
def Ocho(): Agree("8")
def Nueve(): Agree("9")
def Cero(): Agree("0")
#Algunos Signos:
def SignoMas(): Agree("]")
def SignoPor(): Agree("+]")
def PuntoYcoma(): Agree("<")
def Coma(): Agree(";")
def Punto(): Agree(".")
def GuionBajo(): Agree("_")
def SignoMenos(): Agree("-")
def DosPuntos(): Agree(">")
def AcentoIzquierdo(): Agree("[")
def AcentoDerecho(): Agree("¿")
def Negador(): Agree("+[")
def ParentecisIzquierdo(): Agree("*")
def Oemo(): Agree("\\")
def Oema(): Agree("+\\")
#Control de mouse:
def ClickIzquierdo(): Agree("C1")
def ClickDerecho(): Agree("C2")
#Botones y demas cosas:
botonEsc = Button(ventana,text="Esc",height=2,width=3,fg=b,command=Esc)
botonEsc.place(x=21,y=50)
botonF1 = Button(ventana,text="F1",height=2,width=3,fg=b,command=F1)
botonF1.place(x=73,y=50)
botonF2 = Button(ventana,text="F2",height=2,width=3,fg=b,command=F2)
botonF2.place(x=103,y=50)
botonF3 = Button(ventana,text="F3",height=2,width=3,fg=b,command=F3)
botonF3.place(x=133,y=50)
botonF4 = Button(ventana,text="F4",height=2,width=3,fg=b,command=F4)
botonF4.place(x=163,y=50)
botonF5 = Button(ventana,text="F5",height=2,width=3,fg=b,command=F5)
botonF5.place(x=206,y=50)
botonF6 = Button(ventana,text="F6",height=2,width=3,fg=b,command=F6)
botonF6.place(x=236,y=50)
botonF7 = Button(ventana,text="F7",height=2,width=3,fg=b,command=F7)
botonF7.place(x=266,y=50)
botonF8 = Button(ventana,text="F8",height=2,width=3,fg=b,command=F8)
botonF8.place(x=296,y=50)
botonF9 = Button(ventana,text="F9",height=2,width=3,fg=b,command=F9)
botonF9.place(x=340,y=50)
botonF10 = Button(ventana,text="F10",height=2,width=3,fg=b,command=F10)
botonF10.place(x=370,y=50)
botonF11 = Button(ventana,text="F11",height=2,width=3,fg=b,command=F11)
botonF11.place(x=400,y=50)
botonF12 = Button(ventana,text="F12",height=2,width=3,fg=b,command=F12)
botonF12.place(x=430,y=50)
botonOemo = Button(ventana,text="o",height=2,width=1,fg=b,command=Oemo,anchor="w")
botonOemo.place(x=19,y=97)
botonOema = Button(ventana,text="a",height=2,width=1,fg=b,command=Oema)
botonOema.place(x=30,y=97)
boton1 = Button(ventana,text="1",height=2,width=3,fg=r,command=Uno)
boton1.place(x=44,y=97)
boton2 = Button(ventana,text="2",height=2,width=3,fg=r,command=Dos)
boton2.place(x=74,y=97)
boton3 = Button(ventana,text="3",height=2,width=3,fg=r,command=Tres)
boton3.place(x=104,y=97)
boton4 = Button(ventana,text="4",height=2,width=3,fg=r,command=Cuatro)
boton4.place(x=134,y=97)
boton5 = Button(ventana,text="5",height=2,width=3,fg=r,command=Cinco)
boton5.place(x=164,y=97)
boton6 = Button(ventana,text="6",height=2,width=3,fg=r,command=Seis)
boton6.place(x=194,y=97)
boton7 = Button(ventana,text="7",height=2,width=3,fg=r,command=Siete)
boton7.place(x=224,y=97)
boton8 = Button(ventana,text="8",height=2,width=3,fg=r,command=Ocho)
boton8.place(x=254,y=97)
boton9 = Button(ventana,text="9",height=2,width=3,fg=r,command=Nueve)
boton9.place(x=284,y=97)
boton0 = Button(ventana,text="0",height=2,width=3,fg=r,command=Cero)
boton0.place(x=314,y=97)
botonBorrador = Button(ventana,text="<---",height=2,width=8,fg=b,command=BorrarEscrituraEcha)
botonBorrador.place(x=400,y=97)
botonInterrog = Button(ventana,text="?",height=2,width=1,fg=r,command=InterrogDerecho)
botonInterrog.place(x=342,y=97)
botonComillits = Button(ventana,text="'",height=2,width=1,fg=r,command=Comillits)
botonComillits.place(x=357,y=97)
botonImprPant = Button(ventana,text="Impr\nPant",height=2,width=3,fg=b,command=ImprPant)
botonImprPant.place(x=470,y=97)
botonBloqDespl = Button(ventana,text="Bloq\nDespl",height=2,width=3,fg=b,command=BloqDespl)
botonBloqDespl.place(x=500,y=97)
botonTAB = Button(ventana,text="<-\n->",height=2,width=4,fg=b,command=Tabulador)
botonTAB.place(x=21,y=133)
botonq = Button(ventana,text="Q",height=2,width=3,fg=r,command=Q)
botonq.place(x=57,y=133)
botonw = Button(ventana,text="W",height=2,width=3,fg=r,command=W)
botonw.place(x=87,y=133)
botone = Button(ventana,text="E",height=2,width=3,fg=r,command=E)
botone.place(x=117,y=133)
botonr = Button(ventana,text="R",height=2,width=3,fg=r,command=R)
botonr.place(x=147,y=133)
botont = Button(ventana,text="T",height=2,width=3,fg=r,command=T)
botont.place(x=177,y=133)
botony = Button(ventana,text="Y",height=2,width=3,fg=r,command=Y)
botony.place(x=207,y=133)
botonu = Button(ventana,text="U",height=2,width=3,fg=r,command=U)
botonu.place(x=237,y=133)
botoni = Button(ventana,text="I",height=2,width=3,fg=r,command=I)
botoni.place(x=267,y=133)
botono = Button(ventana,text="O",height=2,width=3,fg=r,command=O)
botono.place(x=297,y=133)
botonp = Button(ventana,text="P",height=2,width=3,fg=r,command=P)
botonp.place(x=327,y=133)
botonNegador = Button(ventana,text="^",height=2,width=1,fg=r,command=Negador)
botonNegador.place(x=354,y=133)
botonAcentoDer = Button(ventana,text=",",height=2,width=1,fg=r,command=Negador,anchor="nw")
botonAcentoDer.place(x=354,y=169)
botonAcentoIzquierdo = Button(ventana,text="`",height=2,width=1,fg=r,command=AcentoIzquierdo)
botonAcentoIzquierdo.place(x=369,y=133)
botonSignoPor = Button(ventana,text="*",height=2,width=1,fg=r,command=SignoPor)
botonSignoPor.place(x=385,y=133)
botonInsert = Button(ventana,text="Insert",height=2,width=3,fg=b,command=Insert)
botonInsert.place(x=470,y=133)
botonInicio = Button(ventana,text="Inicio",height=2,width=3,fg=b,command=Inicio)
botonInicio.place(x=500,y=133)
botonRePag = Button(ventana,text="Re\nPág",height=2,width=3,fg=b,command=RePag)
botonRePag.place(x=530,y=133)
botonBloqMayus = Button(ventana,text="Bloq\nMayus",height=2,width=6,fg=b,command=BloqMayus)
botonBloqMayus.place(x=20,y=169)
botona = Button(ventana,text="A",height=2,width=3,fg=r,command=A)
botona.place(x=66,y=169)
botons = Button(ventana,text="S",height=2,width=3,fg=r,command=S)
botons.place(x=96,y=169)
botond = Button(ventana,text="D",height=2,width=3,fg=r,command=D)
botond.place(x=126,y=169)
botonf = Button(ventana,text="F",height=2,width=3,fg=r,command=F)
botonf.place(x=156,y=169)
botong = Button(ventana,text="G",height=2,width=3,fg=r,command=G)
botong.place(x=186,y=169)
botonh = Button(ventana,text="H",height=2,width=3,fg=r,command=H)
botonh.place(x=216,y=169)
botonj = Button(ventana,text="J",height=2,width=3,fg=r,command=J)
botonj.place(x=246,y=169)
botonk = Button(ventana,text="K",height=2,width=3,fg=r,command=K)
botonk.place(x=276,y=169)
botonl = Button(ventana,text="L",height=2,width=3,fg=r,command=L)
botonl.place(x=306,y=169)
botonENTER = Button(ventana,text="Intro",height=4,width=8,fg=b,command=Enter)
botonENTER.place(x=400,y=133)
botonSupr = Button(ventana,text="Supr",height=2,width=3,fg=b,command=Suprimir)
botonSupr.place(x=470,y=169)
botonFin = Button(ventana,text="Fin",height=2,width=3,fg=b,command=Fin)
botonFin.place(x=500,y=169)
botonAvPag = Button(ventana,text="Av\nPag",height=2,width=3,fg=b,command=AvPag)
botonAvPag.place(x=530,y=169)
botonShift = Button(ventana,text="Shift",height=2,width=3,fg=b,command=Shift)
botonShift.place(x=20,y=205)
#botondezplaIzq = Button(ventana,text="<",height=2,width=1,fg=r,command=t)
#botondezplaIzq.place(x=48,y=205)
#botondezplaDer = Button(ventana,text=">",height=2,width=1,fg=r,command=t)
#botondezplaDer.place(x=63,y=205)
botonz = Button(ventana,text="Z",height=2,width=3,fg=r,command=Z)
botonz.place(x=81,y=205)
botonx = Button(ventana,text="X",height=2,width=3,fg=r,command=X)
botonx.place(x=111,y=205)
botonc = Button(ventana,text="C",height=2,width=3,fg=r,command=C)
botonc.place(x=141,y=205)
botonv = Button(ventana,text="V",height=2,width=3,fg=r,command=V)
botonv.place(x=171,y=205)
botonb = Button(ventana,text="B",height=2,width=3,fg=r,command=B)
botonb.place(x=201,y=205)
botonn = Button(ventana,text="N",height=2,width=3,fg=r,command=N)
botonn.place(x=231,y=205)
botonm = Button(ventana,text="M",height=2,width=3,fg=r,command=M)
botonm.place(x=261,y=205)
botoncomap = Button(ventana,text=";",height=2,width=1,fg=r,command=PuntoYcoma)
botoncomap.place(x=291,y=205)
botoncoma = Button(ventana,text=",",height=2,width=1,fg=r,command=Coma)
botoncoma.place(x=306,y=205)
botonpunt2 = Button(ventana,text=":",height=2,width=1,fg=r,command=DosPuntos)
botonpunt2.place(x=324,y=205)
botonpunt = Button(ventana,text=".",height=2,width=1,fg=r,command=Punto)
botonpunt.place(x=339,y=205)
botonmenos = Button(ventana,text="-",height=2,width=1,fg=r,command=SignoMenos)
botonmenos.place(x=356,y=205)
boton_ = Button(ventana,text="_",height=2,width=1,fg=r,command=GuionBajo)
boton_.place(x=371,y=205)
botonShift2 = Button(ventana,text=" ",height=2,width=10,fg=r,command=Shift)
botonShift2.place(x=388,y=205)
botonUp = Button(ventana,text="^",height=2,width=3,fg=b,command=Arriba)
botonUp.place(x=500,y=205)
botonCtrl = Button(ventana,text="Ctrl",height=2,width=6,fg=b,command=Ctrl)
botonCtrl.place(x=20,y=241)
botonInit = Button(ventana,text="init",height=2,width=4,fg=b,command=MenuInicio)
botonInit.place(x=66,y=241)
botonAlt = Button(ventana,text="Alt",height=2,width=4,fg=b,command=Alt)
botonAlt.place(x=101,y=241)
botonSPACE = Button(ventana,text=" ",height=2,width=26,fg=r,command=Space)
botonSPACE.place(x=136,y=241)
botonInit2 = Button(ventana,text="Init",height=2,width=4,fg=b,command=MenuInicio)
botonInit2.place(x=340,y=241)
#botonMenu = Button(ventana,text="menu",height=2,width=4,fg=b,command=t)
#botonMenu.place(x=376,y=241)
botonCtrl2 = Button(ventana,text="Ctrl",height=2,width=6,fg=b,command=Ctrl)
botonCtrl2.place(x=412,y=241)
botonLeft = Button(ventana,text="<-",height=2,width=3,fg=b,command=Izquierda)
botonLeft.place(x=471,y=241)
botonDown = Button(ventana,text="..",height=2,width=3,fg=b,command=Abajo)
botonDown.place(x=500,y=241)
botonRight = Button(ventana,text="->",height=2,width=3,fg=b,command=Derecha)
botonRight.place(x=530,y=241)
botonCambiarMinu = Button(ventana,text="Cambiar a minusculas",height=1,width=20,fg=r,command=tipo.CambiarAMinuscula)
botonCambiarMinu.place(x=20,y=279)
botonCambiarMay = Button(ventana,text="Cambiar a mayusculas",height=1,width=20,fg=r,command=tipo.CambiarAMayuscula)
botonCambiarMay.place(x=150,y=279)
TextoExplicacion01 = Label(ventana,text="Agregar clicks de mouse:",fg=b)
TextoExplicacion01.place(x=400,y=280)
botonClickIzquierdo = Button(ventana,text="Click Izquierdo",height=1,width=17,fg=r,command=ClickIzquierdo)
botonClickIzquierdo.place(x=350,y=305)
botonClickDerecho = Button(ventana,text="Click Derecho",height=1,width=17,fg=r,command=ClickDerecho)
botonClickDerecho.place(x=470,y=305)
TextoExplicacion0 = Label(ventana,text="Posicionar el mouse:",fg=b)
TextoExplicacion0.place(x=400,y=328)
TextoExplicacion = Label(ventana,text="de izquierda a derecha:",fg=b)
TextoExplicacion.place(x=230,y=365)
AgregMoverMouseX = Entry(ventana,bg="gray")
AgregMoverMouseX.place(x=350,y=360,height=25,width=70)
TextoExplicacion2 = Label(ventana,text="arriba hacia\n\tabajo:",fg=b)
TextoExplicacion2.place(x=435,y=355)
AgregMoverMouseY = Entry(ventana,bg="gray")
AgregMoverMouseY.place(x=520,y=360,height=25,width=70)
botonObtenerPosicion = Button(ventana,text="Obtener posicion \nactual del mouse!",height=2,width=17,fg=r,command=MostrarPosicion)
botonObtenerPosicion.place(x=215,y=390)
botonAceptarPosicion = Button(ventana,text="Agregar posicion!",height=2,width=13,fg=r,command=AgregarPosicionMouse)
botonAceptarPosicion.place(x=415,y=390)
TextoAgr = Label(ventana,text="Agregar segundo/s de espera:",fg=b)
TextoAgr.place(x=10,y=442)
AgregTiempo = Entry(ventana,bg="gray")
AgregTiempo.place(x=165,y=437,height=25,width=80)
AceptTiempo = Button(ventana,text="Agregar segundos!",height=1,width=15,fg=b,command=AgrT)
AceptTiempo.place(x=247,y=436)
TextoA = Label(ventana,text="Codigo del Tecleo:",fg=b)
TextoA.place(x=10,y=485)
CodigoClave = Entry(ventana,bg="gray",bd=1)
CodigoClave.place(x=110,y=480,height=25,width=300)
botonComenzar = Button(ventana,text="COMENZAR!",height=2,width=12,fg=b,command=Accionar)
botonComenzar.place(x=412,y=473)
ventana.mainloop()
Bueno el ejemplo de uso es los caracteres que estan marcados en "Codigo de tecleo".

Saludos y espero comentarios!
Sokoleonardo
Sokoleonardo
Moderador de Seccion
Moderador de Seccion

Mensajes : 52
Nivel : 138
Reputación : 4
Fecha de inscripción : 04/08/2011
Vive en Vive en : Argentina

Volver arriba Ir abajo

[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo Empty Re: [TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo

Mensaje por d(>_<)b Sáb Sep 17, 2011 1:30 pm

para programar el teclado y el mouse? funciona en dispositivos de bluethoot?
d(>_<)b
d(>_<)b
01000011 01101111 01100100 01100101 01110010
01000011 01101111 01100100 01100101 01110010

Mensajes : 315
Nivel : 539
Reputación : 17
Fecha de inscripción : 27/01/2011
Vive en Vive en : mexico df

https://elite.foroactivo.mx

Volver arriba Ir abajo

[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo Empty Re: [TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo

Mensaje por Sokoleonardo Lun Sep 19, 2011 5:12 am

Si, es para programar el teclado y el mouse.

¿Que es bluethoot? Funciona solo en PCs.

Saludos!
Sokoleonardo
Sokoleonardo
Moderador de Seccion
Moderador de Seccion

Mensajes : 52
Nivel : 138
Reputación : 4
Fecha de inscripción : 04/08/2011
Vive en Vive en : Argentina

Volver arriba Ir abajo

[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo Empty Re: [TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo

Mensaje por [D]ement<<< Lun Sep 19, 2011 5:07 pm

Sokoleonardo escribió:¿Que es bluethoot?

Saludos!
Bluetooth es una especificación industrial para Redes Inalámbricas de Área Personal (WPANs) que posibilita la transmisión de voz y datos entre diferentes dispositivos mediante un enlace por radiofrecuencia en la banda ISM de los 2,4 GHz. Los principales objetivos que se pretenden conseguir con esta norma son:

Facilitar las comunicaciones entre equipos móviles y fijos.
Eliminar cables y conectores entre éstos.
Ofrecer la posibilidad de crear pequeñas redes inalámbricas y facilitar la sincronización de datos entre equipos personales.
Los dispositivos que con mayor frecuencia utilizan esta tecnología pertenecen a sectores de las telecomunicaciones y la informática personal, como PDA, teléfonos móviles, computadoras portátiles, ordenadores personales, impresoras o cámaras digitales.
[D]ement<<<
[D]ement<<<
01000011 01101111 01100100 01100101 01110010
01000011 01101111 01100100 01100101 01110010

Mensajes : 358
Nivel : 682
Reputación : 13
Fecha de inscripción : 28/01/2011
Vive en Vive en : PUERTO RICO

https://elite.foroactivo.mx

Volver arriba Ir abajo

[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo Empty Re: [TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo

Mensaje por d(>_<)b Mar Sep 20, 2011 12:51 pm

si me refiero a teclado y mouse inalambricos Smile
d(>_<)b
d(>_<)b
01000011 01101111 01100100 01100101 01110010
01000011 01101111 01100100 01100101 01110010

Mensajes : 315
Nivel : 539
Reputación : 17
Fecha de inscripción : 27/01/2011
Vive en Vive en : mexico df

https://elite.foroactivo.mx

Volver arriba Ir abajo

[TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo Empty Re: [TK] Manejar PC Automaticamente (Tareas programadas) By sokoleonardo

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.