• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Suche geeignete Programmiersprache

Imbericle

Blogger
Das müsste eigentlich möglich sein. Ich brauch ne Programmiersprache in der ich n Programm schreiben kann das in bestimmten Zeitabständen bestimmte Bereiche auf dem Bildschirm aktiviert.
Damit meine ich das das Programm das macht was man mit der Maus macht, nur eben vorprogrammiert und ohne Einsatz der Maus:
Grund: Wir machen grad in der Schule irgendeine kranke Sache am Rechner deren Sinn und Zweck ich nicht sehe da man immer wieder auf Dinge klicken muss die sich nach ner weile wiederholen (weiß nicht wie ich des besser beschreieben soll).
Das heißt man müsste einstellen können auf welchem Pixelbereich(oder was auch immer) das Programm "klickt"
Das Programm zu schreiben ist der Mühe kaum wert, ich will es aber trotzdem
In was würde man das am besten schreiben, fals es möglich ist

Ich habe schon mit Java geschrieben fand es aber zu eckelig da es teilweiße zu unlogisch strukturiert war.
C++ und Pascal kenne ich grob.

Könnt mir ruhig sagen wenn es mit einer Programmiersprache für normalsterbliche net machbar ist.

Ok mit Java geht es net aber mit C++ müsste es gehn weiß einer wie?!

Mod-Edit: Dreifachpost zusammengeführt - Ist das jetzt neue Mode? (XraYSoLo)
 
Zuletzt bearbeitet von einem Moderator:
Ok nicht gut das Programm besteht nur aus Viren.
Virenfunde in dem Ordner von dem Programm waren 36, und mein Pc war nach der Installation so laaaaaaaaaaaaaaaaaaahm
Hat jemand noch was anderes?
 
Zuletzt bearbeitet:
Hallo ich meld mich mal wieder....
Hab n bissle mit Autoit gespielt und mir vor ner Woche ein sehr praktisches Computerrunterfahr script geschrieben. Funktioniert nur auf Vista und hält den Pc eine Stunde wach bevor es ihn runter fährt, ist praktisch bei längeren Downloads wenn man net will das der PC die ganze nacht durchläuft..
Das Script kann man beliebig ändern... muss sich nur den Autoit Compiler runterladen und es als .au3 speichern.
Code:
#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.0.0
 Author:         myName

 Script Function:
	Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here





$title = "Automatischer Rechner Herunterfahrer"
$text = "Zeitzähler"

Global Const $GUI_EVENT_CLOSE = -3
Global Const $GUI_EVENT_MINIMIZE = -4
Global Const $GUI_EVENT_RESTORE = -5
Global Const $GUI_EVENT_MAXIMIZE = -6
Global Const $GUI_EVENT_PRIMARYDOWN = -7
Global Const $GUI_EVENT_PRIMARYUP = -8
Global Const $GUI_EVENT_SECONDARYDOWN = -9
Global Const $GUI_EVENT_SECONDARYUP = -10
Global Const $GUI_EVENT_MOUSEMOVE = -11
Global Const $GUI_EVENT_RESIZED = -12
Global Const $GUI_EVENT_DROPPED = -13

Global Const $GUI_RUNDEFMSG = 'GUI_RUNDEFMSG'

; State
Global Const $GUI_AVISTOP = 0
Global Const $GUI_AVISTART = 1
Global Const $GUI_AVICLOSE = 2

Global Const $GUI_CHECKED = 1
Global Const $GUI_INDETERMINATE = 2
Global Const $GUI_UNCHECKED = 4

Global Const $GUI_DROPACCEPTED = 8
Global Const $GUI_NODROPACCEPTED = 4096
Global Const $GUI_ACCEPTFILES = $GUI_DROPACCEPTED	

Global Const $GUI_SHOW = 16
Global Const $GUI_HIDE = 32
Global Const $GUI_ENABLE = 64
Global Const $GUI_DISABLE = 128

Global Const $GUI_FOCUS = 256
Global Const $GUI_NOFOCUS = 8192
Global Const $GUI_DEFBUTTON = 512

Global Const $GUI_EXPAND = 1024
Global Const $GUI_ONTOP = 2048



Global Const $GUI_FONTITALIC = 2
Global Const $GUI_FONTUNDER = 4
Global Const $GUI_FONTSTRIKE = 8



Global Const $GUI_DOCKAUTO = 0x0001
Global Const $GUI_DOCKLEFT = 0x0002
Global Const $GUI_DOCKRIGHT = 0x0004
Global Const $GUI_DOCKHCENTER = 0x0008
Global Const $GUI_DOCKTOP = 0x0020
Global Const $GUI_DOCKBOTTOM = 0x0040
Global Const $GUI_DOCKVCENTER = 0x0080
Global Const $GUI_DOCKWIDTH = 0x0100
Global Const $GUI_DOCKHEIGHT = 0x0200

Global Const $GUI_DOCKSIZE = 0x0300	
Global Const $GUI_DOCKMENUBAR = 0x0220	
Global Const $GUI_DOCKSTATEBAR = 0x0240	
Global Const $GUI_DOCKALL = 0x0322	
Global Const $GUI_DOCKBORDERS = 0x0066	


Global Const $GUI_GR_CLOSE = 1
Global Const $GUI_GR_LINE = 2
Global Const $GUI_GR_BEZIER = 4
Global Const $GUI_GR_MOVE = 6
Global Const $GUI_GR_COLOR = 8
Global Const $GUI_GR_RECT = 10
Global Const $GUI_GR_ELLIPSE = 12
Global Const $GUI_GR_PIE = 14
Global Const $GUI_GR_DOT = 16
Global Const $GUI_GR_PIXEL = 18
Global Const $GUI_GR_HINT = 20
Global Const $GUI_GR_REFRESH = 22
Global Const $GUI_GR_PENSIZE = 24
Global Const $GUI_GR_NOBKCOLOR = -2

;
Global Const $GUI_BKCOLOR_DEFAULT = -1
Global Const $GUI_BKCOLOR_TRANSPARENT = -2
Global Const $GUI_BKCOLOR_LV_ALTERNATE = 0xFE000000

Global Const $GUI_WS_EX_PARENTDRAG = 0x00100000

Opt("GUIOnEventMode", 1)

GUICreate($title, 230,40)

GUISetOnEvent($GUI_EVENT_CLOSE, "SpecialEvents")
GUISetOnEvent($GUI_EVENT_MINIMIZE, "SpecialEvents")
GUISetOnEvent($GUI_EVENT_RESTORE, "SpecialEvents")

GUICtrlCreateLabel($text, 15,15,220,30)

GUISetState (@SW_SHOW)

Do 
Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(800, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(300, 800)
Sleep(60000)
Mousemove(400, 800)
Sleep(60000)
Mousemove(500, 800)
Sleep(60000)
Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
; 10 Minuten rum!

Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(800, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(300, 800)
Sleep(60000)
Mousemove(400, 800)
Sleep(60000)
Mousemove(500, 800)
Sleep(60000)
Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
; 10 Minuten rum!

Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(800, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(300, 800)
Sleep(60000)
Mousemove(400, 800)
Sleep(60000)
Mousemove(500, 800)
Sleep(60000)
Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
; 10 Minuten rum!

Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(800, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(300, 800)
Sleep(60000)
Mousemove(400, 800)
Sleep(60000)
Mousemove(500, 800)
Sleep(60000)
Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
; 10 Minuten rum!

Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(800, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(300, 800)
Sleep(60000)
Mousemove(400, 800)
Sleep(60000)
Mousemove(500, 800)
Sleep(60000)
Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
; 10 Minuten rum!

Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(800, 800)
Sleep(60000)
Mousemove(200, 800)
Sleep(60000)
Mousemove(300, 800)
Sleep(60000)
Mousemove(400, 800)
Sleep(60000)
Mousemove(500, 800)
Sleep(60000)
Mousemove(600, 800)
Sleep(60000)
Mousemove(700, 800)
Sleep(60000)
; 1 Stunde rum!

MouseClick("left", 20, 1000)
Sleep(1000)
MouseClick("left", 380, 985)
Sleep(1000)
MouseClick("left", 500, 985)
Sleep(90000000)
Until False = True

Func SpecialEvents()
Select
Case @GUI_CTRLID = $GUI_EVENT_CLOSE
Exit
Case @GUI_CTRLID = $GUI_EVENT_MINIMIZE 
Case @GUI_CTRLID = $GUI_EVENT_RESTORE 
EndSelect
EndFunc
 
Zuletzt bearbeitet:
Zurück
Oben