Eine AutoIt-UDF zum einfachen Extrahieren von Informationen aus HTML (SVG / XML)-Quelltext

Funktion Beschreibung
_HTML_ExtractURLVar Extrahiert eine URL-Variable aus einer URL.
_HTML_Get Liefert einen Wert, anhand verschiedener Attribute wie: class, id, title usw.
_HTML_GetAllLinks Gibt ein Array mit allen Links zurück.
_HTML_GetImageSrc Gibt die Quelle eines Nildes zurück.
_HTML_GetLink Gibt die URL zurück, die den Parametern entspricht.
_HTML_GetSource Liefert den Quelltext einer Seite zurück. Scripte werden herausgefiltert.
_HTML_GetTable Liefert den Inhalt einer Tabelle als 2D-Array (nur einfache Tabellen).
_HTML_GetText Gibt den reinen Text eines Bereiches zurück.
_HTML_GetURLVar Liefert eine URL-Variable aus einer URL.
_HTML_ImageSave Speichert das angebene Bild ab.
_HTML_Search Durchsucht den reinen Text einer Quelle.

GitHub release (latest by date)  GitHub repo size  GitHub Release Date  GitHub tag (latest commit)  GitHub tag (lincense) 

  Repository auf GitHub
  
Download von GitHub: UDF _HTML | 356 |  Download

Eine AutoIt-UDF für das POP3-Protokoll, mit folgenden Funktionen:

Funktion Beschreibung
_POP3Info Returns an array with the specified informations about all mails
_POP3Connect Connects to the according pop3 server. With “automatic” mode - tries to find the pop3-server by your E-Mail adress
_POP3Dele Delete msg n-msg_number.
_POP3Disconnect Shuts down connection.
_POP3List Returns an array with the msg number and its size (octets)
_POP3Noop Actually, does nothing.
_POP3Quit Validates your actions (dele for example) and stops the connection as it should.
_POP3Retr Downloads the according message.
_POP3Rset Withdraw changes, such as dele orders.
_POP3Stat Gets the number of messages in the pop3 account (array[1]) and the size(array[2]) in octets
_POP3MsgCnt Returns the number of messages
_POP3Top Retreives the mail headers, and the X first lines of the message
_POP3Uidl Same as _POP3List(), but with UIDL identifiers instead of message size.

GitHub release (latest by date)  GitHub repo size  GitHub Release Date  GitHub tag (latest commit)  GitHub tag (lincense) 

  Repository auf GitHub
  
Download von GitHub: UDF _POP3 | 476 |  Download


AutoIt-UDF für die Siemens Step 7 API mit folgenden Funktionen:

Simatic Simatic.Simatic.1
_S7_Simatic_ObjCreate / Simatic = Simatic.Simatic.1
_S7_Simatic_AutomaticSave / Simatic.AutomaticSave (Read / Write)
_S7_Simatic_VerbLogFile (read write)
_S7_Simatic_SetPGInterface / Simatic.SetPGInterface (Opens Dialog)
_S7_Simatic_UnattendedServerMode !!!
_S7_Simatic_MsgAssignmentType / Simatic.MsgAssignmentType (Read / Write)
_S7_Simatic_IsSilentMode (read)
_S7_Simatic_Save / Simatic.Save (void)
Projects Simatic.Projects
_S7_Projects_GetProject
_S7_Projects_Exists
_S7_Projects_GetList
_S7_Projects_Count
_S7_Projects_Add
Project Simatic.Projects.Project
_S7_Project_GetInfo
_S7_Project_Name
_S7_Project_Creator (Read / Write)
_S7_Project_Comment (Read / Write)
_S7_Project_Remove
Stations Simatic.Projects.Project.Stations
_S7_Stations_GetStation
_S7_Stations_Exists
_S7_Stations_GetList
_S7_Stations_Count
_S7_Stations_Import
_S7_Stations_Add
_S7_Stations_Remove
Programs Simatic.Projects.Project.Programs
_S7_Programs_GetList
_S7_Programs_GenerateSource
SymbolTable
_S7_SymbolTable_Export
_S7_SymbolTable_ExportToExcel (req. MS-Excel)
Blocks Simatic.Projects.Project.Programs.Next("Blocks")
_S7_Blocks_GetBlock
_S7_Blocks_GetInfo
Source Files Simatic.Projects.Project.Programs.Next("Source Files")
_S7_SourceFiles_GetSource
_S7_SourceFiles_Export
_S7_SourceFiles_Add
_S7_SourceFiles_Compile
_S7_SourceFiles_GetInfo

GitHub tag (latest by date)  GitHub repo size  GitHub tag (latest commit)  GitHub tag (lincense) 

  Repository auf GitHub
  
Download von GitHub: UDF _S7_COM | 1.463 | Beliebt Download

AutoIt-UDF für die Siemens Step 7-API zur automatischen Hardware-Konfiguration.

Diese UDF baut auf der _S7_COM auf.

Für eine sinnvolle, effektive Nutzung lesen Sie die Daten für die Konfiguration z. B. aus einer Datenbank aus.

Grundfunktionen
_S7_HWConfig_Add_Rack
_S7_HWConfig_Add_CPU
_S7_HWConfig_Add_CPU_Moduls
_S7_HWConfig_Add_SubSystem
_S7_HWConfig_Add_SlaveModuls
Hilfsfunktionen
_S7_HWConfig_TypeSelect
Spezielle Baugruppen
_S7_HWConfig_Add_ET200S
_S7_HWConfig_Add_IM153
_S7_HWConfig_Add_DP_Koppler
_S7_HWConfig_AddFestoPP

Beispiel

; S7-Object - Projekt und Station müssen vorhanden sein.
Local $oS7 = _S7_Simatic_ObjCreate()
_S7_Simatic_AutomaticSave($oS7, False) ; Automatisches Speichern ausschalten - wegen der Geschwindigkeit
If @error Then Exit

; Projekt-Object
Local $oSt = $oS7.Projects("HW_Config_Test").Stations("SIMATIC 300(1)")

; Rack in Projekt einfügen
Local $oRack = _S7_HWConfig_Add_Rack($oSt, "rack1")

; CPU in Rack einfügen
Local $oCPU = _S7_HWConfig_Add_CPU($oRack, "CPU 317-2PN/DP", "6ES7 317-2EK14-0AB0")
Local $oSub = _S7_HWConfig_Add_SubSystem($oCPU, "Kreis 1") ; SubSystem-Verbindung mit CPU

; Konfiguration für CPU-Module - werden in Rack eingefügt
Dim $aSlave[2][5]
$aSlave[0][0] = "AO8x12Bit"
$aSlave[0][1] = "6ES7 332-5HF00-0AB0"
$aSlave[0][2] = -1
$aSlave[0][3] = 0

$aSlave[1][0] = "DI32xDC24V"
$aSlave[1][1] = "6ES7 321-1BL00-0AA0"
$aSlave[1][2] = -1
$aSlave[1][3] = 0
_S7_HWConfig_Add_CPU_Moduls($oRack, $aSlave)

; verschiedene andere Geräte - werden in SubSystem eingefügt
_S7_HWConfig_AddFestoPP($oSub, "PP2", 13, 14)
_S7_HWConfig_Add_DP_Koppler($oSub, "PP-Koppler", 90)

; Projekt speichern
_S7_Simatic_AutomaticSave($oS7, True)


Ein Erweitertes Beispiel gibt es auf GitHub.
GitHub tag (latest by date)  GitHub repo size  GitHub tag (latest commit)  GitHub tag (lincense) 

  Repository auf GitHub
  
Download von GitHub: UDF _S7_HW_Config | 334 |  Download

Bewertung: 5 / 5


Die FF.au3 ist eine Bibliothek für die Windows-Programmiersprache AutoIt.

In Verbindung mit dieser Programmiersprache, dem Web-Browser FireFox und dem Addon MozRepl, ist es möglich FireFox fernzusteuern (auch rechnerübergreifend über ein Netzwerk!).
D. h.: alles was ein Benutzer mit FireFox bewerkstelligen kann (und vieles darüber hinaus), läßt sich damit programmieren.

 Achtung!
Die FF.au3 funktionert ab der Version 57 von FireFox, wegen der API-Änderung, nicht mehr!

Anwendungsbeispiele der FF.au3:

  • Automatisierter Test von Web-Seiten
  • Automatisierter Test von Formularen
  • Automatische Dateneingabe in Intranet-Anwendungen
  • Datenextraction aus Web-Seiten
  • Überwachung von Seiteninhalten
  • Nachverfolgung von Links
  • ...

  Deutsche Anleitung
  Englische Anleitung
  Russische Anleitung

  Repository auf GitHub
  
Download von GitHub: FF.au3 | 5.929 | Beliebt Download