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

Beiträge von Xenobiologist

  • E-mail mit Daten aus einem Excel Dokument senden

    • Xenobiologist
    • 4. Januar 2010 um 17:30

    Wenn du die Exceltabelle als csv speicherst, dann brauchst du nicht mal ein Excel Object.

  • E-mail mit Daten aus einem Excel Dokument senden

    • Xenobiologist
    • 4. Januar 2010 um 16:21

    HI,

    das ist einfach. xls, oder xlsx ? Oder gar csv :)

    Mega

  • Prozesse Abarbeiten

    • Xenobiologist
    • 4. Januar 2010 um 13:13

    Okay, dann versuch bitte mal den Ablauf mit Worten zu beschreiben. Vielleicht gibt es ja einen anderen Ansatz. Möglichst neutral beschreiben, ohne spezielle Autoitfunktionen.

  • Prozesse Abarbeiten

    • Xenobiologist
    • 4. Januar 2010 um 12:05

    Hi,

    werde aus deinem Ablauf nicht ganz schlau. Geh einfach auf die ProzessID anstatt des Namens.

    Mega

  • Daten / Werte aus Feldern ( innertext ) auslesen

    • Xenobiologist
    • 4. Januar 2010 um 11:57

    Hi,

    am einfachsten ist es immer wenn man selbst testen kann. KAnnst du ein Bsp liefern?

    Mega

  • Script dekompillieren

    • Xenobiologist
    • 3. Januar 2010 um 22:56

    Decompile wird nicht mehr unterstützt!

  • aus einer textdatei drittletzte Zeile lesen

    • Xenobiologist
    • 3. Januar 2010 um 16:35

    Hihi, das kommt davon, wenn man schnell noch was ändert :)

  • Bild in Excel einfügen

    • Xenobiologist
    • 3. Januar 2010 um 01:09
    Zitat von BugFix

    @Xeno: Picture einbinden ist nur in die Word-UDF integriert. ;)

    Ach ja ?(

    Hier mal ein Auszug!

    Spoiler anzeigen
    [autoit]

    ;===============================================================================
    ;
    ; Description: Insert a picture from a separate file into the active sheet.
    ; Syntax: _ExcelPictureInsert($oExcel, $sFilePath, $iLeft, $iTop, $iWidth, $iHeight, $fLinkToFile = False, $fSaveWithDoc = False)
    ; Parameter(s): $oExcel - An Excel object opened by a preceding call to _ExcelBookOpen() or _ExcelBookNew()
    ; $sFilePath - The full path of the picture to be inserted
    ; $fLinkToFile - "True" to link the picture to the file from which it was created.
    ; "False" to make the picture an independent copy of the file. The default value is False.
    ; $fSaveWithDoc - "True" to save the linked picture with the document. The default value is False.
    ; $iLeft - The position (in points) of the upper-left corner of the picture relative to the upper-left corner of the worksheet
    ; $iTop - The position (in points) of the upper-left corner of the picture relative to the top of the worksheet
    ; $iWidth - The width of the picture, in points
    ; $iHeight - The height of the picture, in points
    ; Requirement(s): None
    ; Return Value(s): On Success - Returns an object representing the inserted picture
    ; On Failure - Returns 0 and sets @error on errors:
    ; @error=1 - Specified object does not exist
    ; Author(s): SEO <locodarwin at yahoo dot com>
    ; Note(s): None
    ;
    ;===============================================================================
    Func _ExcelPictureInsert($oExcel, $sFilePath, $iLeft, $iTop, $iWidth, $iHeight, $fLinkToFile = False, $fSaveWithDoc = False)
    If Not IsObj($oExcel) Then Return SetError(1, 0, 0)
    If Not FileExists($sFilePath) Then Return SetError(2, 0, 0)
    If $iLeft < 1 Then $iLeft = 1
    If $iTop < 1 Then $iTop = 1
    If $iWidth < 1 Then $iWidth = 1
    If $iHeight < 1 Then $iHeight = 1
    $oExcel.ActiveSheet.Shapes.AddPicture($sFilePath, $fLinkToFile, $fSaveWithDoc, $iLeft, $iTop, $iWidth, $iHeight).Select
    Return $oExcel.Selection.ShapeRange
    EndFunc ;==>_ExcelPictureInsert

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

    ;===============================================================================
    ;
    ; Description: Change the position or rotation of a picture object created with _ExcelPictureInsert().
    ; Syntax: _ExcelPictureAdjust($oPicture, $iHorizontal, $iVertical, $iRotation = 0)
    ; Parameter(s): $oPicture - An Excel picture object opened by a preceding call to _ExcelPictureInsert()
    ; $iHorizontal - The number of points to move the picture left or right (positive numbers move the picture to the right)
    ; $iVertical - The number of points to move the picture up or down (positive numbers move the picture down)
    ; $iRotation - The number of degrees to rotate the picture clockwise (relative to current position)
    ; Requirement(s): None
    ; Return Value(s): On Success - Returns 1
    ; On Failure - Returns 0 and sets @error on errors:
    ; @error=1 - Specified object does not exist
    ; @error=2 - Parameter incorrect
    ; @extended=0 - $iHorizontal is not a number
    ; @extended=1 - $iVertical is not a number
    ; @extended=2 - $iRotation is not a number
    ; Author(s): SEO <locodarwin at yahoo dot com>
    ; Note(s): None
    ;
    ;===============================================================================
    Func _ExcelPictureAdjust($oPicture, $iHorizontal, $iVertical, $iRotation = 0)
    If Not IsObj($oPicture) Then Return SetError(1, 0, 0)
    If Not IsNumber($iHorizontal) Then Return SetError(2, 0, 0)
    If Not IsNumber($iVertical) Then Return SetError(2, 1, 0)
    If Not IsNumber($iRotation) Then Return SetError(2, 2, 0)
    $oPicture.Select
    With $oPicture.Selection.ShapeRange
    .IncrementTop($iVertical)
    .IncrementLeft($iHorizontal)
    .IncrementRotation($iRotation)
    EndWith
    Return 1
    EndFunc ;==>_ExcelPictureAdjust

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

    ;===============================================================================
    ;
    ; Description: Scale a picture object created with _ExcelPictureInsert().
    ; Syntax: _ExcelPictureScale($oPicture, $nScaleWidth = 1, $nScaleHeight = 1, $iScaleOrigWidth = True, $iScaleOrigHeight = True, $iScaleFrom = 0)
    ; Parameter(s): $oPicture - An Excel picture object opened by a preceding call to _ExcelPictureInsert()
    ; $nScaleWidth - The width scale factor to assign to the picture (1.0 = original size)
    ; $nScaleHeight - The height scale factor to assign to the picture (1.0 = original size)
    ; $fScaleOrigWidth - Scale based on original width (True or False)
    ; $fScaleOrigHeight - Scale based on original height (True or False)
    ; $iScaleFrom - Specifies which part of the shape retains its position when the shape is scaled
    ; (0 = Scale from top left, 1 = Scale from middle, 2 = Scale from bottom right)
    ; Requirement(s): None
    ; Return Value(s): On Success - Returns 1
    ; On Failure - Returns 0 and sets @error on errors:
    ; @error=1 - Specified object does not exist
    ; @error=2 - Parameter incorrect
    ; @extended=0 - $nScaleWidth is not a number
    ; @extended=1 - $nScaleHeight is not a number
    ; @extended=2 - $fScaleOrigWidth is neither True nor False
    ; @extended=3 - $fScaleOrigHeight is neither True nor False
    ; @extended=4 - $iScaleFrom parameter incorrect (out of range)
    ; Author(s): SEO <locodarwin at yahoo dot com>
    ; Note(s): None
    ;
    ;===============================================================================
    Func _ExcelPictureScale($oPicture, $nScaleWidth = 1, $nScaleHeight = 1, $fScaleOrigWidth = True, $fScaleOrigHeight = True, $iScaleFrom = 0)
    If Not IsObj($oPicture) Then Return SetError(1, 0, 0)
    If Not IsNumber($nScaleWidth) Then Return SetError(2, 0, 0)
    If Not IsNumber($nScaleHeight) Then Return SetError(2, 1, 0)
    If $fScaleOrigWidth <> True Or $fScaleOrigWidth <> False Then Return SetError(2, 2, 0)
    If $fScaleOrigHeight <> True Or $fScaleOrigHeight <> False Then Return SetError(2, 3, 0)
    If Not IsNumber($iScaleFrom) Then Return SetError(2, 4, 0)
    If Not $iScaleFrom < 1 Or $iScaleFrom > 2 Then Return SetError(2, 4, 0)
    $oPicture.ScaleWidth($nScaleWidth, $fScaleOrigWidth, $iScaleFrom)
    $oPicture.ScaleHeight($nScaleHeight, $fScaleOrigHeight, $iScaleFrom)
    Return 1
    EndFunc ;==>_ExcelPictureScale

    [/autoit]


    Mega

  • Bild in Excel einfügen

    • Xenobiologist
    • 3. Januar 2010 um 00:23

    Es gibt auch eine Excel_UDF da sind diese Sachen als Funktionen hinterlegt.

  • aus einer textdatei drittletzte Zeile lesen

    • Xenobiologist
    • 2. Januar 2010 um 22:12

    Kannst auch sowas machen

    [autoit]

    MsgBox(64, 0, _readLineFromBack('test2.txt', 2))

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

    Func _readLastLine($filepath, $nr = 0)
    Local $aSplit = StringSplit(StringStripCR(FileRead($filepath)), @LF)
    If IsArray($aSplit) Then Return $aSplit[$aSplit[0] - $nr]
    Return -1
    EndFunc ;==>_readLastLine

    [/autoit]

    Mega

  • In einen Tab switchen?

    • Xenobiologist
    • 2. Januar 2010 um 22:01

    _GUICtrlTab_SetCurSel

  • Organize Includes

    • Xenobiologist
    • 2. Januar 2010 um 21:27

    Danke, gucke ich mir an. (DLL und Kommentarentfernung!)

  • große dateien öffnen

    • Xenobiologist
    • 2. Januar 2010 um 20:59

    Packer gibt es doch schon sooooo viel :rolleyes:
    Naja, du könntest es aufteilen und dann parallel lesen.

  • rechte maustaste emulieren

    • Xenobiologist
    • 1. Januar 2010 um 23:39

    Du willst die mittlere Maustaste zur rechten machen?

  • Organize Includes

    • Xenobiologist
    • 1. Januar 2010 um 23:06

    Hey Junx, klasse feedback.
    Ich werde die einzelnen Punkte mal durchgehen.

    1) Fehler (>Exit code: -1073741819 ) kommt wie beschrieben aus der Funktion _stripSourceCode. War mir auch bekannt, daher auch dieser Thread Thread ENG
    Ich werde die Kommentare in mehreren Steps löschen müssen. (oder ProgAndy hat seine Lösung bis dahin fertig :D )

    2) Silent Mode : Der Mode kommt natürlich wieder rein. (Also Aufruf ohne GUI mit den Settings aus der ini)

    3) Fehler mit UDF Checkbox werde ich ausbauen und die Anmerkung die Checkbox zu disablen wenn kein RegKey vorhanden finde ich auch gut.

    4) Nutzung per Kommandozeile und mit anderen Editoren. Genau dafür werde ich die Kommandozeile versuchen einzubauen. Damit sollte dann beides möglich sein. Also Nutzung ohne Scite und Nutzung per Parameterübergabe

    5) Die Ermittlung der Beta oder Releaseversion muss ich mir mal anschauen. Eigentlich ist das ja mit der ini oder per Parameter dann ja schon drin.

    Mega

  • Organize Includes

    • Xenobiologist
    • 31. Dezember 2009 um 16:18

    Hallo zusammen,
    auch wenn noch nicht alle features umgesetzt sind, möchte ich schon mal die erste alpha :D Version posten und bitte darum diese zu testen.

    Das zip einfach z.B hier entpacken : c:\Programme\AutoIt3\SciTE\OrganizeIncludes\
    (der Ordner OrganizeIncludes ist manuell anzulegen)

    anschließend in der SciteUser.properties den Aufruf hinterlegen z.B. so:
    Die Datei findest du unter : C:\Dokumente und Einstellungen\USER
    oder in Scite --> [ Options --> Open User Option File ] aufrufen

    Spoiler anzeigen

    # 36 OrganizeIncludes
    command.36.*.au3="$(autoit3dir)\autoit3.exe" "$(SciteDefaultHome)\OrganizeIncludes\OI_1.0.0.0.au3" "$(FilePath)"
    command.name.36.*.au3=OrganizeIncludes
    command.save.before.36.*.au3=1
    command.is.filter.36.*.au3=1
    command.shortcut.36.*.au3=Ctrl+Shift+Alt+I

    Vielen Dank im Voraus!

    P.S.: Das Skript sucht die benötigen Include Dateien zusammen. Mehr darüber steht z.B. im alten Thread : Thread (alte) Version

    Hier gibt es die aktuellste Version : Download Thread

    Mega

  • Kopier-Problem

    • Xenobiologist
    • 29. Dezember 2009 um 18:22

    Bevor du den RunWait machst, füg ein consolewrite ein und schau die an was du übergibst.

  • Include

    • Xenobiologist
    • 28. Dezember 2009 um 14:47

    Unter Downloads gibt es auch noch Scite. Dies ist der "bester" Editor für Autoit. Dieser wird voraussgesetzt.

  • Include

    • Xenobiologist
    • 28. Dezember 2009 um 14:31

    Linke Navigatorseite von der Webseite

  • vlc? :D

    • Xenobiologist
    • 28. Dezember 2009 um 12:06

    http://www.autoitscript.com/forum/index.php?showtopic=91316&view=findpost&p=657003&hl=vlcau3&fromsearch=1
    http://www.autoitscript.com/forum/index.php?showtopic=76230&view=findpost&p=626595&hl=vlcau3&fromsearch=1
    http://www.autoitscript.com/forum/index.php?showtopic=85432&view=findpost&p=612797&hl=vlcau3&fromsearch=1

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™