Hi,
nimm einfach ein Label!
So long,
Mega
Hi,
nimm einfach ein Label!
So long,
Mega
Hi,
ich habe mal einen Link eingefügt:
Opt("WinTitleMatchMode", 4)
#include <GuiConstants.au3>
#include <GuiHyperLink.au3>
$GUI = GUICreate("SroToolBox", 750, 600)
GUISetBkColor(0x00E0FFFF)
Opt("TrayMenuMode", 1)
$info = TrayCreateItem("Über")
$hilfe = TrayCreateItem("Hilfe")
TrayCreateItem("")
$exit = TrayCreateItem("Exit")
TraySetState()
;GUICtrlSetState(-1, $GUI_ACCEPTFILES)
GUISetState()
GUICtrlCreateLabel("?:", 560, 30)
$bild = GUICtrlCreateButton(" Bild ", 560, 50)
$map = GUICtrlCreateButton("Skarte", 620, 50)
GUICtrlCreateLabel(":", 560, 100)
$bild = GUICtrlCreateButton(" Bild ", 560, 120)
$map = GUICtrlCreateButton("karte", 620, 120)
GUICtrlCreateLabel(":", 560, 170)
$bild = GUICtrlCreateButton(" Bild ", 560, 190)
$map = GUICtrlCreateButton("karte", 620, 190)
GUICtrlCreateLabel(":", 560, 240)
$bild = GUICtrlCreateButton(" Bild ", 560, 260)
$map = GUICtrlCreateButton("karte", 620, 260)
GUICtrlCreateLabel(":", 560, 310)
$bild = GUICtrlCreateButton(" Bild ", 560, 330)
$map = GUICtrlCreateButton("karte", 620, 330)
GUICtrlCreateLabel("", 540, 335)
GUICtrlCreateLabel("", 540, 360)
$GroupBox1 = GUICtrlCreateGroup("Info", 8, 8, 689, 505, -1, $WS_EX_TRANSPARENT)
GUICtrlSetBkColor(-1, 0x00E0FFFF)
$Label2 = GUICtrlCreateLabel("Version : /", 32, 32, 75, 17, $WS_GROUP)
GUICtrlSetBkColor(-1, 0x00E0FFFF)
$Label1 = GUICtrlCreateLabel("Http://www.autoit.de", 512, 486, 172, 17)
GUICtrlSetBkColor(-1, 0x00E0FFFF)
ReDim $hl_hwnd[2]
$hl_hwnd[1] = _GuiCtrlHyperLinkCreate ($GUI, _
'For Question/Suggestions e-mail: UDF Maniac of the AutoIt Forum', _
"mailto:custompcs@charter.net", "UDF Maniac", _
10, 360, 480, 20, -1, -1, "Arial", 14)
$Group1 = GUICtrlCreateGroup("Game Start", 32, 54, 129, 65)
GUICtrlSetBkColor(-1, 0x00E0FFFF)
$Button1 = GUICtrlCreateButton("Start", 48, 78, 89, 25, 0)
GUICtrlSetTip(-1, "C:/Programme/test ordner/test game.exe")
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUICtrlCreateGroup("", -99, -99, 1, 1)
Local $Links[2] = ["http://www.Autoitscript.com/forum", "mailto:custompcs@charter.net"]
Local $Link_On[2] = ["AutoIt Script home page", "UDF Maniac"]
GUISetState(@SW_SHOW)
GUIRegisterMsg($WM_NOTIFY, "WM_Notify_Events")
GUISetState()
While 1
$nMsg = GUIGetMsg()
$msg1 = TrayGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
ShellExecute("C:/Programme/test ordner/test game.exe")
Case $bild
HotKeySet("{ESC}", "_esc")
SplashImageOn("", @ScriptDir & "\Bilder\Test Bild.gif", 200, 200, Default, Default, 1)
$SplashOff = False
While 1
If $SplashOff Then ExitLoop
Sleep(500)
WEnd
SplashOff()
HotKeySet("{ESC}")
Case $map
HotKeySet("{ESC}", "_esc")
SplashImageOn("", @ScriptDir & "\Bilder\Test Bild.jpg", 331, 266, Default, Default, 16)
$SplashOff = False
While 1
If $SplashOff Then ExitLoop
Sleep(500)
WEnd
SplashOff()
HotKeySet("{ESC}")
Case $bild
HotKeySet("{ESC}", "_esc")
SplashImageOn("", @ScriptDir & "\Bilder\Test Bild.gif", 200, 200, Default, Default, 1)
$SplashOff = False
While 1
If $SplashOff Then ExitLoop
Sleep(500)
WEnd
SplashOff()
HotKeySet("{ESC}")
Case $map
HotKeySet("{ESC}", "_esc")
SplashImageOn("", @ScriptDir & "\Bilder\Test Bild.jpg", 317, 278, Default, Default, 16)
$SplashOff = False
While 1
If $SplashOff Then ExitLoop
Sleep(500)
WEnd
SplashOff()
HotKeySet("{ESC}")
Case $bild
HotKeySet("{ESC}", "_esc")
SplashImageOn("", @ScriptDir & "\Bilder\Test Bild.gif", 200, 200, Default, Default, 1)
$SplashOff = False
While 1
If $SplashOff Then ExitLoop
Sleep(500)
WEnd
SplashOff()
HotKeySet("{ESC}")
Case $map
HotKeySet("{ESC}", "_esc")
SplashImageOn("", @ScriptDir & "\Bilder\Test Bild.jpg", 300, 326, Default, Default, 16)
$SplashOff = False
While 1
If $SplashOff Then ExitLoop
Sleep(500)
WEnd
SplashOff()
HotKeySet("{ESC}")
Case $bild
HotKeySet("{ESC}", "_esc")
SplashImageOn("", @ScriptDir & "\Bilder\Lord Bild.jpg", 200, 200, Default, Default, 1)
$SplashOff = False
While 1
If $SplashOff Then ExitLoop
Sleep(500)
WEnd
SplashOff()
HotKeySet("{ESC}")
Case $map
HotKeySet("{ESC}", "_esc")
SplashImageOn("", @ScriptDir & "\Bilder\Test Bild.jpg", 499, 328, Default, Default, 16)
$SplashOff = False
While 1
If $SplashOff Then ExitLoop
Sleep(500)
WEnd
SplashOff()
HotKeySet("{ESC}")
Case $bild
HotKeySet("{ESC}", "_esc")
SplashImageOn("", @ScriptDir & "\Bilder\Test Bild.jpg", 499, 328, Default, Default, 16)
$SplashOff = False
While 1
If $SplashOff Then ExitLoop
Sleep(500)
WEnd
SplashOff()
HotKeySet("{ESC}")
Case $map
HotKeySet("{ESC}", "_esc")
SplashImageOn("", @ScriptDir & "\Bilder\Test Bild.jpg", 499, 328, Default, Default, 16)
$SplashOff = False
While 1
If $SplashOff Then ExitLoop
Sleep(500)
WEnd
SplashOff()
HotKeySet("{ESC}")
EndSwitch
Select
Case $msg1 = 0
ContinueLoop
Case $msg1 = $info
MsgBox(64, "Info:", "^^" & @LF & "" & @LF & "Version: 0.1" & @LF & "" & @LF & "© 2007 by geheim", 10)
Case $msg1 = $hilfe
MsgBox(64, "Info:", "Mit ESC wird das Skript beendet." & @LF & "" & @LF & "Wenn ein Bild aufgerufen wurde, kann dies mit ESC beendet werden.", 20)
EndSelect
WEnd
Func _esc()
$SplashOff = True
EndFunc ;==>_esc
So long,
Mega
Hi,
außerdem brauche ich die Events.au3.
So long,
Mega
Hi,
vielleicht musst du den Ablauf mal etwas genauer erklären, dann gibt es sicher ne Lösung.
So long,
Mega
Hi,
einfach so : ohne die *
[*AutoIt] code [*/AutoIt]
So long,
Mega
Hi,
poste mal den gesamten Code dann gucke ich mal was da schief läuft.
So long,
Mega
Hi,
kein Problem. Tu das. Und vielleicht guckst du mal hier:
http://de.wikipedia.org/wiki/Keylogger
So long,
Mega
Hi,
tja also Keylogger sind nicht gern gesehen. Such dir doch lieber etwas was du automatisieren kannst. Etwas das du häufiger am Rechner machst und schreib dir dafür ein Skript.
So long,
Mega
P.S.: Keylogger in Autoit sind auch ineffizient. Da kannst du mit googlen mehr erreichen.
Hi,
warum brauchst du das denn?
So long,
Mega
HI,
poste mal die Ursprungsdatei und die Zieldatei.
So long,
Mega
P.S.: Warum willst du es denn zurückwandeln, wenn das der Ausgangspunkt ist?
Hi,
musst du aber nicht. Eigentlich ist das vollkommen logisch. Eines der Oder und das and müssen passen, dann geht es weiter.
So long,
Mega
Hi,
hat irgendwer mal angefangen?
So long,
Mega
Hi,
such mal nach Megablock hier im Forum. Vielleicht ist das ja was du willst.
So long,
Mega
Hi,
ich denke mal, er geht nach den Namen. Aber zur Sicherheit kannst du ja auch _FileListToArray nehmen und die Zeiten checken.
So long,
Mega
HI,
wie viele include files hast du denn und warum so viele?
So long,
Mega
Hi,
also wird glaube ich nicht funktionieren.
Mach dir doch ein großes include files mit allen funktionen und include nur das.
So long,
Mega
P.S.: So verteilt ist aus meiner Sicht auch eher unübersichtlich ![]()
Hi,
du willst doch nicht includen, sondern FileInstallen, oder?
So long,
Mega
Hi,
du musst die Dateien ja auch irgendwie entzippen.
Wie sieht denn dein Code aus?
So long,
Mega
Hi,
ich denke nicht, dass es so in der Hilfe steht, aber ein zip oder eine selbstextrahierende exe ist genau das was du brauchst.
Damit läßt sich gleich die komplette Ordnerstruktur mit anlegen.
So long,
Mega
HI,
zippen und dann das zip includen
So long,
Mega