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. peethebee

Beiträge von peethebee

  • Datum ausgeben

    • peethebee
    • 5. Dezember 2007 um 13:29

    Argh - doch kein Einzeiler vielleicht ;)
    Habe es mal in eine kleine Funktion gepackt - funktioniert mit aktuellem Datum, habe aber keine Zeit es genauer zu testen:

    [autoit]

    MsgBox(0, "", _GetDate())

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

    Func _GetDate()
    $y = StringRight(@YEAR, 2)
    $m = Mod(@MON + 10, 12) + 1
    If $m = 1 Then $y -= 1
    If $m < 10 Then $m = "0" & Int($m)
    If $y < 10 Then $y = "0" & Int($y)
    Return $y & $m
    EndFunc ;==>_GetDate

    [/autoit]

    peethebee

  • Datum ausgeben

    • peethebee
    • 5. Dezember 2007 um 13:01
    [autoit]

    MsgBox(0, "", StringRight(@YEAR, 2) & Mod(@MON + 11, 12))

    [/autoit]

    :)

    peethebee

  • GUICreate Problem

    • peethebee
    • 5. Dezember 2007 um 00:04

    Hi!

    Nochmal: Am Anfang (vor der While-Schleife, in der die GUI-Events verarbeitet werden), beide GUIs komplett anlegen. Nicht die zweite erst in der Behandlung der ersten. Auch Controls anlegen, deren Text kann man ja ändern (GUICTRLSetData) :) .

    peethebee

  • GUICreate Problem

    • peethebee
    • 4. Dezember 2007 um 21:42

    Wie immer bei 2 GUIs der Rat:

    Beide am Anfang erstellen und dann nur mit GUISetState anzeigen und wieder verstecken.

    peethebee

  • Ftp upload geht nicht (mit ftp.au3)

    • peethebee
    • 4. Dezember 2007 um 21:32

    Zwei Dinge fallen mir auf:

    1. ftp:musterman.de -> : sollte wohl . sein
    2. txt lokal auf exe online kann kaum funktionieren (ASCII-/Binär-Modus)

    peethebee

  • Alles Gute peethebee

    • peethebee
    • 4. Dezember 2007 um 20:19

    Danke noch mal für die weiteren Glückwünsche :) .
    Mache mir gerade noch einen schönen Abend - war ein angenehmer Geburtstag bisher ;) .

    peethebee

  • If Abfrage

    • peethebee
    • 4. Dezember 2007 um 17:53

    Nein, das hat nur durch Zufall funktioniert.

    irgendwas OR Zahl ist immer true, weil eine Zahl (außer 0) an sich true ist.

    peethebee

  • Alles Gute peethebee

    • peethebee
    • 4. Dezember 2007 um 15:54

    Das Game gibt es nicht für PC ;) .
    Danke für die weiteren Glückwünsche :) .

    peethebee

  • Filmdatenbank - Schulprojekt

    • peethebee
    • 4. Dezember 2007 um 13:55

    Hi!

    Anregungen sollte es in der "Bibliothek" von trallala geben. Darauf könnte man aufbauen, denke ich. Auch in Galenda gibt es Code, aber der ist recht umfangreich und eng mit der Programmlogik verwoben ;) .

    peethebee

  • Alles Gute peethebee

    • peethebee
    • 4. Dezember 2007 um 13:30

    Simpsons-Release war gestern - noch hat es mir keiner geschenkt :D .

    Und natürlich danke für alle lieben Wünsche :) .

    peethebee

  • If Abfrage

    • peethebee
    • 4. Dezember 2007 um 13:29

    ($lohnart <> 012) And ($lohnart <> 013) usw. - sonst ist ein nicht der gewünschte Boolesche Ausdruck :) .

    peethebee

  • Variable übergeben

    • peethebee
    • 4. Dezember 2007 um 13:27

    Hi!

    Entweder du machst du Variable Global oder du übergibst sie mit ByRef (wenn ich es richtig verstanden habe). Beides sind Keywords in der Hilfe :) .

    peethebee

  • Gui mit GUICtrlCreateInput und (PW)-Länge

    • peethebee
    • 4. Dezember 2007 um 13:25

    Hi!

    Wenn ich dich richtig verstehe, dann ist das nicht so ;). AutoIt schneidet von sich aus eigentlich gar nichts ab (außer, wenn du GUICTRLSetLimit verwendest). Poste bitte mal Beispielcode zum Nachvollziehen :).

    peethebee

  • tcpip auf linux v-server

    • peethebee
    • 3. Dezember 2007 um 20:50

    afaik macht man unter Linux sowas mit Bash und Konsorten. Aber es ging auch Python oder Ruby oder so...

    peethebee

  • schreibschutz bei ordner

    • peethebee
    • 3. Dezember 2007 um 17:46

    Windows-Rechte ignorierst du nicht so einfach...
    Aber ich glaube sowieso, dass Fragen oder Suchen schneller geht und sinnvoller ist ;).

    peethebee

  • mehrere Änderungen in einem StringReplace

    • peethebee
    • 3. Dezember 2007 um 17:45

    Du kannst doch einfach mehrere hintereinander ausführen. Wenn ich mich nicht täusche, wird der veränderte Wert aber als Rückgabewert zurückgeliefert, schau dir evtl. noch mal das Beispiel zu dem Befehl in der Hilfe an.

    peethebee

  • tcpip auf linux v-server

    • peethebee
    • 3. Dezember 2007 um 17:43

    Hi!

    Zur Not immer C++, Java könnte auch gehen je nach Serverausstattung ;).

    peethebee

  • Contest: uIT! #1 (24.11.2007)

    • peethebee
    • 3. Dezember 2007 um 02:12

    Hallo!

    Ja, das sollte gehen. Soweit ich das sehe, wird an den Beiträgen nicht mehr gedreht. Es geht "nur" noch um Einstellungen, Rechte, Funktionen, Plugins und Design.

    Wäre also cool, wenn du die Auswertung machen würdest - mach halt auf jeden Fall noch ein lokales Backup des Posts ;) .

    peethebee

  • TextEffects-UDF - Mach mehr aus langweiligem Text (inkl. About-Box)

    • peethebee
    • 2. Dezember 2007 um 21:16

    Hallo! Poste mal noch ein uraltes Projekt von mir. Mitte 2005 endstand diese UDF und läuft auch heute noch ;) . Habe sie glaube ich praktisch (in Galenda?) nie gebraucht, aber bin mit der Optik sehr zufrieden. Bei Benutzung bitte darauf hinweisen, auf wessen Code die Effekte basieren. Funktionsliste:

    Spoiler anzeigen
    Code
    _txt_eff__enlarge_from_left($winhandle, $control_id, $text = "", $delay = 100, $over_old = 0) Enlarge the given text in the given control from left to right. Requires 
     included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__enlarge_from_right($winhandle, $control_id, $text = "", $delay = 100, $over_old = 0) Enlarge the given text in the given control from right to left. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__move_in_from_left($winhandle, $control_id, $text = "", $delay = 100) Move a given text in the given control in from left side. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__move_out_to_left($winhandle, $control_id, $text = "", $delay = 100) Move a given text in the given control out to left side. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__move_in_from_right($winhandle, $control_id, $text = "", $delay = 100, $text_min_width = 75) Move a given text in the given control in from right side. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__move_out_to_right($winhandle, $control_id, $text = "", $delay = 100, $text_min_width = 75) Move a given text in the given control out to right side. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__show_text_behind_char($winhandle, $control_id, $text = "", $delay = 100, $char = "*") Uncover a given text in the given control behind a given password char. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__move_string_through_text($winhandle, $control_id, $text = "", $delay = 100, $string = "->", $show_complete_text = 0) Move a string through the given text in the given control. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__airport($winhandle, $control_id, $text = "", $delay = 100, $start_char = "A", $skip_chars = 1) Shows a airport-like effect in the given control. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__spin($winhandle, $control_id, $text = "", $delay = 100, $num_spins = "1", $spin_delay = 0) Spins a given text around in the given control. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__broad($winhandle, $control_id, $text = "", $delay = 100, $char = " ", $go_back = "0", $delay_before_go_back = 500) Widens a given text in the given control. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__small($winhandle, $control_id, $delay = 100, $char = " ") Smallens a given text in the given control. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__raining($winhandle, $control_id, $text = "", $delay = 50, $duration = 3000, $over_old = 0) Shows a rain like effect, all letters are falling doiwn. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__move_cap_char_through_text($winhandle, $control_id, $text = "", $delay = 50, $effect_width_chars = 1, $direction = "to_right", $convert_to_small = 0) Moves a capital letter trough the text. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__move_small_char_through_text($winhandle, $control_id, $text = "", $delay = 50, $effect_width_chars = 1, $direction = "to_right", $convert_to_caps = 0) Moves a small letter trough the text. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__scroll_through_options($winhandle, $control_id, $options, $target_text = "", $delay = 50) Scrolls through several options until the target text is found. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__uncover_from_wall_to_wall($winhandle, $control_id, $text = "", $delay = 50, $turn_arounds = 1) Uncovers the text going from left to right and ack until everything is uncovered. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__wave($winhandle, $control_id, $text = "", $delay = 50, $effect_width = 3, $uncover_after_effect = 1, $direction = "to_right") Simulates a wave through the text. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__blink($winhandle, $control_id, $text = "", $show_delay = 50, $hide_delay = 50, $blink_type = "all", $advanced = "", $repetitions = 1) Shows a customizable blink effect. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__mix_up_chars($winhandle, $control_id, $text = "", $delay = 50, $effect_width = 1, $direction = "to_right") Mixes up two chars and goes through the text. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__spotlight($winhandle, $control_id, $text = "", $delay = 50, $effect_width = 1, $highlighting_start_char = "(", $highlighting_end_char = ")", $display_type = 2, $direction = "to_right") Highlights some chars and goes through the text. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__about_messages($winhandle, $control_id, $texts, $delay = 50, $showtime = 2000, $pause = 750, $type = "right_to_left") Shows a about box with many different effects. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__zoom($winhandle, $control_id, $text = "", $delay = 50, $start_size = 9, $end_size = 2, $step = 1, $font = "Courier New", $remove = 0) Zooms the text in the control in or out. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__style($winhandle, $control_id, $text = "", $type = "bold", $font = "Courier New", $remove = 1, $show_time = 1500) Sets the text italic, underlined or bold. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__color_sequence($winhandle, $control_id, $text = "", $delay = 50, $colors = "black.green.blue. 0xffffff") Changes the text color in the given order and time. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__rainbow($winhandle, $control_id, $text = "", $duration_per_change = 2000, $precision = 50, $direction = 0) Changes the text color in the order of the rainbow. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__color_to_color($winhandle, $control_id, $text = "", $duration_per_change = 2000, $colors = "black. white", $precision = 100) Permorms a fade from one color to another. Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__fade_out($winhandle, $control_id, $text = "", $duration = 2500, $precision = 100, $color = "white") Fades a text out (black to $color). Requires  included and AutoIt v3.1.1.65 (Beta) or later!_txt_eff__fade_in($winhandle, $control_id, $text = "", $duration = 2500, $precision = 100, $color = "white") Fades a text out ($color to black). Requires  included and AutoIt v3.1.1.65 (Beta) or later!_IsStatic($winhandle, $control_id) Checks wether a control id represents a static control or not. Requires  included._IsCap($char) Checks if a character is a capital character. Requires  included._Swap(ByRef $a, ByRef $b) Swaps two arrays. Source: Help file. Requires  included.
    Vorschau:


    Viel Spaß damit, peethebee

    Dateien

    text_effects_1.9.3.zip 385,22 kB – 462 Downloads
  • RestrictControlRegExp-UDF - Fehleingaben direkt verhindern, Eingabentypen festlegen

    • peethebee
    • 2. Dezember 2007 um 20:17

    Hallo!

    Poste mal ein altes Projekt von mir. Mit dieser UDF kann man anhand eines RegExp schon bei der Eingabe festlegen, welche Werte in einem Input landen dürfen. Es ist so flexibel wie die RegExp-Engine und damit ist weit mehr möglich als mit $ES_NUMBER. Zudem erhält der User direkt Rückmeldung, dass das was er eingeben möchte nicht erwünscht oder sinnvoll ist. In Galenda haben wir diese UDF viel verwendet. Bei Benutzung bitte darauf hinweisen, auf wessen Code die Eingabekontrolle basiert.

    Funktionsliste:
    _RegEx_RestrictControl_setup
    _RegEx_RestrictControl_add

    Viel Spaß damit,
    peethebee

    Tags für die Suche:
    Control, Restrict, RegEx, RegExp, Reulärer Ausdruck, nur, Zahlen, zulassen

    Dateien

    RestrictControlRegExp_1.0.zip 2,12 kB – 680 Downloads

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™