1. Dashboard
  2. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  3. Forenregeln
  4. Forum
    1. Unerledigte Themen
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche
  1. AutoIt.de - Das deutschsprachige Forum.
  2. Mitglieder
  3. PuReIroNie

Beiträge von PuReIroNie

  • Autoit in Vollbild Modus

    • PuReIroNie
    • 24. April 2013 um 14:58

    Nicht ganz, ich glaube es könnte eine Fehler kommen, denn man muss die " \ " von @scriptdir ersätzen mit " / ".
    Dies macht man einfach mit StringReplace($sPath,"\","/")

    Spoiler anzeigen
    [autoit]

    #include <GUIConstantsEx.au3> ; von m-obi
    #include <IE.au3>
    #include <WindowsConstants.au3>

    [/autoit] [autoit][/autoit] [autoit]

    Opt("GUIOnEventMode", 1)
    Opt("GUICloseOnESC", 0)

    [/autoit] [autoit][/autoit] [autoit]

    Global $hGui, $cObj
    Global $sPath = "file:///" & @ScriptDir & "/index.htm"
    Global $oIE = _IECreateEmbedded()
    $sPath = StringReplace($sPath,"\","/") ; ersätzt alle \ mit / in dem String.

    [/autoit] [autoit][/autoit] [autoit]

    $hGui = GUICreate("HTML - Make-Grafik", @DesktopWidth, @DesktopHeight, 0, 0, BitOR($WS_MAXIMIZE, $WS_POPUP))
    $cObj = GUICtrlCreateObj($oIE, 0, 0, @DesktopWidth, @DesktopHeight)
    GUISetState()

    [/autoit] [autoit][/autoit] [autoit]

    GUISetOnEvent($GUI_EVENT_CLOSE, "_Exit")

    [/autoit] [autoit][/autoit] [autoit]

    _IENavigate($oIE, $sPath)

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    While Sleep(10)
    WEnd

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Func _Exit()
    Exit
    EndFunc

    [/autoit]
  • Autoit in Vollbild Modus

    • PuReIroNie
    • 21. April 2013 um 19:58

    So müsste es Funktionieren:

    [autoit]


    #include <WindowsConstants.au3>
    #include <GUIConstants.au3>
    Opt("GuiCloseOnESC",1) ; Bei Esc -> Exit
    $Form=GUICreate("Vollbild",@DesktopWidth,@DesktopHeight,0,0,$WS_POPUP)
    ;labels, inputs, etc.
    GUISetState(@SW_SHOW)
    While Sleep(100)
    If GUIGetMsg() = $GUI_EVENT_CLOSE Then Exit
    WEnd

    [/autoit]
  • Autoit in Vollbild Modus

    • PuReIroNie
    • 21. April 2013 um 19:48

    Guten tag,
    Meinst du wie man SciTE in Vollbild bekommt, oder wie man eine von dir erstellten GUI im Vollbildmodus bekommst?

  • FotoSort

    • PuReIroNie
    • 14. April 2013 um 22:25

    Nice tool, :thumbup:

  • Sichere UAC Meldung

    • PuReIroNie
    • 13. April 2013 um 21:56

    Ok xD

    Zitat


    1 Year $499
    2 Year $873
    Save over $100
    3 Year $1248
    Save over $200


    Ich glaube das ist es mir nicht wert...
    zu schade aber auch ^^

    Danke

  • Sichere UAC Meldung

    • PuReIroNie
    • 13. April 2013 um 21:49

    Hallo

    Ich hätte mal eine Frage die mich wirklick mal interessiert, und zwar wie man eine "Orange/Gelbe" UAC Meldung
    in einer "Blauen" Meldung "verwandelt".
    Meine vermutung ist das (nur) Microsoft bei einer erfolgreichen Untersuchung der Datei eine art Hash der Datei erstellt und in der
    Exe eingebunden wird, woraus Windows bei Übereinstimmung des Wertes eine "Sichere" Meldung ausgibt.

    Und meine Frage währ wie ich mein Programm mit so einer Meldung:
    [Blockierte Grafik: http://upload.wikimedia.org/wikipedia/en/5/51/Windows_7_UAC.png]
    In einem Programm mit so einer Meldung verwandel.
    [Blockierte Grafik: http://upload.wikimedia.org/wikipedia/en/4/44/Windows_7_UAC_Signedcode.png]

    Ps. Hätte doch besser im Off-Topic bereich gepasst. :S

  • QR-Code Creator

    • PuReIroNie
    • 13. April 2013 um 15:53

    @Make-Grafik
    1. Frage

    Warum hast du ein fehlerhaften Link reingestellt?
    http://1.2.3.11/bmi/upload.wik…8/87/QRCode.png
    Ich glaube richtig ist es so:
    http://upload.wikimedia.org/wikipedia/commons/8/87/QRCode.png

  • MX-Au3 Lizenz v1.1

    • PuReIroNie
    • 11. April 2013 um 19:02

    Also kann man theoretisch jemanden der die Lizenz nicht einhält Anzeigen?

    &
    Mach mal ein Assembler TuTorial ;D

  • MX-Au3 Lizenz v1.1

    • PuReIroNie
    • 7. April 2013 um 20:34

    Danke sowas werd ich bald brauchen ;)

  • [GDI+] Runder, Animierter Ladebalken

    • PuReIroNie
    • 2. April 2013 um 11:43

    Sieht richtig Gut aus!

    Wenn ich es mit Namensnennung verwenden dürfte, dann fällt mir grade nur ein Updater ein,
    Und deshalb war ich mal so frei und habe den Hintergrund transparent gemacht ^^
    Sieht so leider etwas "verpixelt" aus aber immernoch sehr Gut !

    Spoiler anzeigen
    [autoit]


    #include <GDIPlus.au3>
    #include <WindowsConstants.au3> ; <--

    [/autoit] [autoit][/autoit] [autoit]

    Opt('GUIOnEventMode', 1)

    [/autoit] [autoit][/autoit] [autoit]

    Global Const $W = 500, $H = 500, $Deg2Rad = 3.14159265358979/180, $Rad2Deg = 180/3.14159265358979

    [/autoit] [autoit][/autoit] [autoit]

    Global $GFX, $SLI, $PER, $PRO[3], $BUF, $BMP

    [/autoit] [autoit][/autoit] [autoit]

    _GDIPlus_Startup()
    $GUI = GUICreate('Test', $W, $H,-1,-1,-1,$WS_EX_LAYERED) ; <---
    $GFX = _GDIPlus_GraphicsCreateFromHWND($GUI)
    $BMP = _GDIPlus_BitmapCreateFromGraphics($W, $H, $GFX)
    $BUF = _GDIPlus_ImageGetGraphicsContext($BMP)
    _GDIPlus_GraphicsSetSmoothingMode($BUF, 4)

    [/autoit] [autoit][/autoit] [autoit]

    $SLI = GUICtrlCreateSlider(5,5,490,30)
    GUICtrlSetLimit(-1, 1000, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $PRO[0] = _ProgressCreate(7, 10, 0.1, 0x0060FF)
    $PRO[1] = _ProgressCreate(11, 25, 0.25, 0xFF6000)
    $PRO[2] = _ProgressCreate(25, 35, 0.2, 0x00FF60)

    [/autoit] [autoit][/autoit] [autoit]

    OnAutoItExitRegister('_Dispose')
    GUISetOnEvent(-3, '_Event', $GUI)
    GUISetState(@SW_SHOW, $GUI)

    [/autoit] [autoit][/autoit] [autoit]

    _WinAPI_SetLayeredWindowAttributes($GUI, 0x000000) ; <---

    [/autoit] [autoit][/autoit] [autoit]

    While Sleep(10)
    $PER = GUICtrlRead($SLI)/1000
    If $PER < 1 Then GUICtrlSetData($SLI, GUICtrlRead($SLI) + 1)

    [/autoit] [autoit][/autoit] [autoit]

    _GDIPlus_GraphicsClear($BUF)

    [/autoit] [autoit][/autoit] [autoit]

    _ProgressDraw($BUF, $W/4, $H/3 + 25, 250, 35, $PER, $PRO[0])
    _ProgressDraw($BUF, $W/4*3, $H/2 + 25, 150, 45, $PER, $PRO[1])
    _ProgressDraw($BUF, $W/2, $H/4*3 + 25, 150, 15, $PER, $PRO[2])

    [/autoit] [autoit][/autoit] [autoit]

    _GDIPlus_GraphicsDrawImageRectRect($GFX, $BMP, 0, 50, $W, $H-50, 0, 50, $W, $H-50)

    [/autoit] [autoit][/autoit] [autoit]

    WEnd

    [/autoit] [autoit][/autoit] [autoit]

    ; Hier wird noch aufgeräumt.
    Func _ProgressCreate($iAnzahl = 9, $iDist = 10, $nAniTempo = 0.25, $iCol = 0x4080FF)
    Local $a[9]
    $a[0] = _GDIPlus_PenCreate()
    $a[1] = Hex($iCol, 6)
    $a[2] = $iDist
    $a[3] = 0
    $a[4] = Random(0, 10000) ; Animationsposition
    $a[5] = $iAnzahl
    $a[6] = 360 - 360 * $iDist / 100
    $a[7] = $nAniTempo
    $a[8] = _GDIPlus_PenCreate()
    ;~ DllCall($ghGDIPDll, "int", "GdipSetPenEndCap", "handle", $a[8], "int", $GDIP_LINECAPROUND)
    ;~ DllCall($ghGDIPDll, "int", "GdipSetPenStartCap", "handle", $a[8], "int", $GDIP_LINECAPROUND)
    ;~ _GDIPlus_PenSetEndCap($a[8], $GDIP_LINECAPROUND)
    Return $a
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _ProgressDraw($hGfx, $mx, $my, $d1, $d2, $nPercent, ByRef $aProgress)
    ;~ If Round($nPercent,2) = 0 Then Return
    $aProgress[4] += $aProgress[7]
    Local $a, $b = 360*$nPercent, $c, $d = $aProgress[6]/$aProgress[5], $e = $d1/50, $f = ($nPercent = 1)

    [/autoit] [autoit][/autoit] [autoit]

    If $f Then
    ;~ DllCall($ghGDIPDll, 'int', 'GdipSetPenColor', 'handle', $aProgress[0], 'dword', '0x80' & $aProgress[1])
    ;~ DllCall($ghGDIPDll, 'int', 'GdipSetPenWidth', 'handle', $aProgress[0], 'float', $e)
    ;~ DllCall($ghGDIPDll, 'int', 'GdipDrawEllipse', 'handle', $hGfx, 'handle', $aProgress[0], 'float', $mx - $d1/2 + $d2/2, 'float', $my - $d1/2 + $d2/2, 'float', $d1-$d2, 'float', $d1-$d2)
    ;~ DllCall($ghGDIPDll, 'int', 'GdipSetPenColor', 'handle', $aProgress[0], 'dword', '0xEE' & $aProgress[1])
    ;~ DllCall($ghGDIPDll, 'int', 'GdipSetPenWidth', 'handle', $aProgress[0], 'float', $e/3)
    ;~ DllCall($ghGDIPDll, 'int', 'GdipDrawEllipse', 'handle', $hGfx, 'handle', $aProgress[0], 'float', $mx - $d1/2 + $d2/2 - $e/2, 'float', $my - $d1/2 + $d2/2 - $e/2, 'float', $d1-$d2+$e, 'float', $d1-$d2+$e)
    ;~ DllCall($ghGDIPDll, 'int', 'GdipDrawEllipse', 'handle', $hGfx, 'handle', $aProgress[0], 'float', $mx - $d1/2 + $d2/2 + $e/2, 'float', $my - $d1/2 + $d2/2 + $e/2, 'float', $d1-$d2-$e, 'float', $d1-$d2-$e)
    ;~ $d1 *= 0.8
    If $aProgress[3] < 15 Then $aProgress[3] += 1
    $d2 *= 0.97^$aProgress[3]
    $aProgress[4] += $aProgress[7]*1.1^$aProgress[3]
    Else
    If $aProgress[3] > 0 Then
    $aProgress[3] -= 1
    $d2 *= 0.97^$aProgress[3]
    $aProgress[4] += $aProgress[7]*1.1^$aProgress[3]
    EndIf
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 0 To $aProgress[5] - 1 Step 1
    $a = $i * 360 / $aProgress[5] + $aProgress[4]
    $a -= Int($a/360)*360

    [/autoit] [autoit][/autoit] [autoit]

    If $b >= 360 / $aProgress[5] Then
    $c = 1
    $b -= 360 / $aProgress[5]
    Else
    $c = $b/(360 / $aProgress[5])
    EndIf

    [/autoit] [autoit][/autoit] [autoit]

    Switch $c
    Case 0
    Case 0 To 0.33
    _ProgressFillPieSegment($hGfx, $mx, $my, $d1, $d2, $a, $d, $aProgress[0], '0x' & Hex(Int($c*3*96)+32,2) & $aProgress[1])
    Case 0.33 To 0.66
    _ProgressFillPieSegment($hGfx, $mx, $my, $d1, $d2, $a, $d, $aProgress[0], '0x80' & $aProgress[1])
    _ProgressFillPieSegment($hGfx, $mx, $my, $d1, $d2/2, $a, $d, $aProgress[0], '0x' & Hex(Int(($c-0.33)*3*50),2) & 'FFFFFF')
    Case 0.66 To 0.99
    _ProgressFillPieSegment($hGfx, $mx, $my, $d1, $d2, $a, $d, $aProgress[0], '0x80' & $aProgress[1])
    _ProgressFillPieSegment($hGfx, $mx, $my, $d1, $d2/2, $a, $d, $aProgress[0], '0x32FFFFFF')
    _ProgressDrawPieSegment($hGfx, $mx, $my, $d1, $d2, $a, $d, $aProgress[8], '0x' & Hex(Int(($c-0.66)*3*128),2) & $aProgress[1], 3)
    Case 0.99 To 1
    _ProgressFillPieSegment($hGfx, $mx, $my, $d1, $d2, $a, $d, $aProgress[0], '0x80' & $aProgress[1])
    _ProgressFillPieSegment($hGfx, $mx, $my, $d1, $d2/2, $a, $d, $aProgress[0], '0x32FFFFFF')
    _ProgressDrawPieSegment($hGfx, $mx, $my, $d1, $d2, $a, $d, $aProgress[8], '0x80' & $aProgress[1], 3)
    If $f Then _ProgressDrawPieSegment($hGfx, $mx, $my, $d1, $d2, $a, $d, $aProgress[8], '0xFF'& $aProgress[1], $e/3)
    EndSwitch
    If $c < 1 Then
    For $j = $i + 1 To $aProgress[5] - 1 Step 1
    $a = $j * 360 / $aProgress[5] + $aProgress[4]
    $a -= Int($a/360)*360
    _ProgressFillPieSegment($hGfx, $mx, $my, $d1, $d2, $a, $d, $aProgress[0], '0x20808080')
    Next
    ExitLoop
    EndIf
    Next
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    ; Vorsicht ! Diese Funktion läuft noch nicht !!!
    Func _ProgressSet(ByRef $aProgress, $iAnzahl = 11, $iDist = 25, $nAniTempo = 0.1, $iCol = 0x00FF00)
    $iCol = Hex($iCol, 6)
    $aProgress[5] = $iAnzahl
    $aProgress[6] = 360 - 360 * $iDist / 100
    $aProgress[7] = $nAniTempo
    $aProgress[1] = '0x' & StringMid($iCol, 1, 2)
    $aProgress[2] = '0x' & StringMid($iCol, 3, 2)
    $aProgress[3] = '0x' & StringMid($iCol, 5, 2)
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _ProgressDelete(ByRef $aProgress)
    _GDIPlus_PenDispose($aProgress[0])
    $aProgress = 0
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _ProgressDrawPieSegment($hGfx, $mX, $mY, $D1, $D2, $fStart, $fSweep, $hPen, $iCol, $dPen)
    DllCall($ghGDIPDll, 'int', 'GdipSetPenColor', 'handle', $hPen, 'dword', $iCol)
    DllCall($ghGDIPDll, 'int', 'GdipSetPenWidth', 'handle', $hPen, 'float', $dPen)
    DllCall($ghGDIPDll, 'int', 'GdipDrawArc', 'handle', $hGfx, 'handle', $hPen, 'float', $mx - $D1/2, 'float', $my - $D1/2, 'float', $D1, 'float', $D1, 'float', $fStart+($dPen/($D1*3.14159265358979))*180, 'float', $fSweep-($dPen/($D1*3.14159265358979))*360)
    DllCall($ghGDIPDll, 'int', 'GdipDrawArc', 'handle', $hGfx, 'handle', $hPen, 'float', $mx - $D1/2 + $D2, 'float', $my - $D1/2 + $D2, 'float', $D1-$D2*2, 'float', $D1-$D2*2, 'float', $fStart+($dPen/(($D1-$D2)*3.14159265358979))*180, 'float', $fSweep-($dPen/(($D1-$D2)*3.14159265358979))*360)
    DllCall($ghGDIPDll, 'int', 'GdipDrawLine', 'handle', $hGfx, 'handle', $hPen, 'float', $mx + ($D1-$D2*2-$dPen)/2*Cos($fStart*$Deg2Rad), 'float', $my + ($D1-$D2*2-$dPen)/2*Sin($fStart*$Deg2Rad), 'float', $mx + ($D1+$dPen)/2*Cos($fStart*$Deg2Rad), 'float', $my + ($D1+$dPen)/2*Sin($fStart*$Deg2Rad))
    DllCall($ghGDIPDll, 'int', 'GdipDrawLine', 'handle', $hGfx, 'handle', $hPen, 'float', $mx + ($D1-$D2*2-$dPen)/2*Cos(($fStart+$fSweep)*$Deg2Rad),'float', $my + ($D1-$D2*2-$dPen)/2*Sin(($fStart+$fSweep)*$Deg2Rad), 'float', $mx + ($D1+$dPen)/2*Cos(($fStart+$fSweep)*$Deg2Rad), 'float', $my + ($D1+$dPen)/2*Sin(($fStart+$fSweep)*$Deg2Rad))
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _ProgressFillPieSegment($hGfx, $mX, $mY, $D1, $D2, $fStart, $fSweep, $hPen, $iCol)
    DllCall($ghGDIPDll, 'int', 'GdipSetPenColor', 'handle', $hPen, 'dword', $iCol)
    DllCall($ghGDIPDll, 'int', 'GdipSetPenWidth', 'handle', $hPen, 'float', $D2)
    DllCall($ghGDIPDll, 'int', 'GdipDrawArc', 'handle', $hGfx, 'handle', $hPen, 'float', $mX - $D1 / 2 + $D2 / 2, 'float', $mY - $D1 / 2 + $D2 / 2, 'float', $D1 - $D2, 'float', $D1 - $D2, 'float', $fStart, 'float', $fSweep)
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _Event()
    Exit
    EndFunc ;==>_Event

    [/autoit] [autoit][/autoit] [autoit]

    Func _Dispose()
    _ProgressDelete($PRO)
    _GDIPlus_GraphicsDispose($BUF)
    _GDIPlus_BitmapDispose($BMP)
    _GDIPlus_GraphicsDispose($GFX)
    _GDIPlus_Shutdown()
    EndFunc ;==>_Dispose

    [/autoit]
  • AutoIt Compiler (Project Perseus)

    • PuReIroNie
    • 1. April 2013 um 10:45

    Noch Unveröffentlicht^^
    Wenn du es unbedingt haben willst, schreib minx ein PN (Denke mal das würde gehen :whistling: )

  • Schnelleres als MouseClicks ?

    • PuReIroNie
    • 25. März 2013 um 12:52

    Man kann die Geschwindigkeit einstellen:

    "Normal":

    [autoit]

    MouseClick("",500,500,1)

    [/autoit]


    "Schneller":

    [autoit]

    MouseClick("",500,500,1,0)

    [/autoit]

    wofür brauchst du es denn?

  • AutoIt Compiler (Project Perseus)

    • PuReIroNie
    • 23. März 2013 um 21:48

    Achso k ;D jz hab ich verstanden^^

  • AutoIt Compiler (Project Perseus)

    • PuReIroNie
    • 23. März 2013 um 18:28

    Hört sich nett an, willst du diesen Compiler genau gleich mit dem Autoit machen? also
    das man quasi die Autoit Scripts ohne zu "Konventieren" bei deinen Compiler Compilieren kann?

  • PHP / HTML - Generierbare Miniwebseite

    • PuReIroNie
    • 20. März 2013 um 15:57

    Danke es klappt alles^^
    Nur leider wird mein Hintergrundbild auch Vertikal Zentriert was ich aber ungern möchte,
    das mach ich mit dem Script:

    PHP
    <style type="text/css">
    <!--
    body {
    background-image:url(BG.jpg);
    background-repeat:no-repeat;
    background-position:center;
    background-attachment:fixed;
    }
    -->
    </style>


    Also es Soll nur Horizontal Zentriert werden.

    Am liebsten währ es natürlich wenn die "Box" wo der Text drinnsteht auf dem Hintergrund Perfekt positioniert währ das
    also links und rechts kein Text Stehen kann, und es bei jeder Auflösung fast gleich aussehen würde,
    das ist aber nicht soo Wichtig, wenigstens Funktioniert es.

  • PHP / HTML - Generierbare Miniwebseite

    • PuReIroNie
    • 20. März 2013 um 14:57

    Vielen Danke hat geklappt^^


    gibt es eine möglichkeit einen Text bzw. den Text zu Zentrieren oder der Kasten wo der Text drinsteht umzuformen?

  • PHP / HTML - Generierbare Miniwebseite

    • PuReIroNie
    • 19. März 2013 um 22:57

    Vielen Dank,
    es Funktioniert auch alles, nur hab ich Probleme die
    Datenbank mit der Tabelle richtig zu erstellen,
    was muss ich bei phpmyadmin eingeben?

  • PHP / HTML - Generierbare Miniwebseite

    • PuReIroNie
    • 19. März 2013 um 17:00

    Genau so mein ich es :)

  • PHP / HTML - Generierbare Miniwebseite

    • PuReIroNie
    • 19. März 2013 um 15:04

    Vielen Dank,
    Werde ich gleich testen.

  • PHP / HTML - Generierbare Miniwebseite

    • PuReIroNie
    • 19. März 2013 um 14:52

    Erstmal ein Dank an alle

    @Make-Grafik Ja Ich glaube auch das es eigentlich ganz Einfach ist, aber ich habe nicht viele HTML kentnisse, von den Grundlagen grad mal 5% vlt ;D

    Blume Danke,
    Es währ echt Sehr nett wenn du gleich etwas coden könntest ;)

Spenden

Jeder Euro hilft uns, Euch zu helfen.

Download

AutoIt Tutorial
AutoIt Buch
Onlinehilfe
AutoIt Entwickler
  1. Datenschutzerklärung
  2. Impressum
  3. Shoutbox-Archiv
Community-Software: WoltLab Suite™