Hi,
such mal nach Hoover
Mega
Hi,
such mal nach Hoover
Mega
Hi,
über das Label.
Mega
Hi,
das sollte schneller als 40 Sek sein.
[autoit]Global $szTextstelle = '\(\\_TZ\)', $szDateiname = '..\1.txt', $szText = FileRead($szDateiname)
Global $aszMatch = StringRegExp($szText, '(?i).*' & $szTextstelle & '(.*\r\n){4}.*', 2)
If IsArray($aszMatch) Then
MsgBox(0, '', $aszMatch[1])
Else
ConsoleWrite("No match" & @CRLF)
EndIf
Mega
Hi,
sieht klasse aus bernd!
Global $szTextstelle = '3', $szDateiname = '..\1.txt', $szText = FileRead($szDateiname)
Global $aszMatch = StringRegExp($szText, '(?i).*' & $szTextstelle & '(.*\r\n){4}.*', 2)
If IsArray($aszMatch) Then
MsgBox(0, '', $aszMatch[1])
Else
ConsoleWrite("No match" & @CRLF)
EndIf
Mega
HotkeySet
Guck doch mal in die Hilfe!
Mega
Hi,
hier mal ein Anfang:
; Stoppuhr
[/autoit] [autoit][/autoit] [autoit]#include<Date.au3>
Opt('MustDeclareVars', 1)
HotKeySet('{esc}', '_end')
HotKeySet('{Pause}', '_stop')
While 1
ToolTip('Stoppuhr' & @CRLF & '============' & @CRLF & _counter(_NowCalcDate(), '09:10:00') & ' left', _
@DesktopWidth - 100, 30)
Sleep(1)
WEnd
Func _stop()
While 1
Sleep(100)
WEnd
EndFunc ;==>_stop
Func _counter($s_Date, $s_time)
Local $returnValue = ''
If Not _DateIsValid($s_Date & ' ' & $s_time) Then Return -1
Local $NumberOfSeconds = _DateDiff('s', $s_Date & ' ' & $s_time, _NowCalc())
Return StringFormat('Days = %.02d' & @CRLF & 'Hours = %.02d' & @CRLF & 'Min = %.02d' & @CRLF & 'Sec = %.02d' & @CRLF & _
'Msec = %.03d', $NumberOfSeconds / 86400, Mod($NumberOfSeconds / 3600, 24), Mod(($NumberOfSeconds / 60), 60), _
Mod($NumberOfSeconds, 60), 1000 - _MSec())
EndFunc ;==>_counter
Func _MSec()
Local $stSystemTime = DllStructCreate('ushort;ushort;ushort;ushort;ushort;ushort;ushort;ushort')
DllCall('kernel32.dll', 'none', 'GetSystemTime', 'ptr', DllStructGetPtr($stSystemTime))
Local $sMilliSeconds = StringFormat('%03d', DllStructGetData($stSystemTime, 8))
$stSystemTime = 0
Return $sMilliSeconds
EndFunc ;==>_MSec
Func _end()
Exit (0)
EndFunc ;==>_end
Mega
Hi,
leg temporär einen Hotkey drauf, der nichts macht.
Mega
#include <ButtonConstants.au3>
#AutoIt3Wrapper_res_Icon_Add=c:\Downloads\Icons\Applications\App001.ico
#AutoIt3Wrapper_res_Icon_Add=c:\Downloads\Icons\Applications\App005.ico
#AutoIt3Wrapper_res_Icon_Add=c:\Downloads\Icons\Applications\App010.ico
#AutoIt3Wrapper_res_Icon_Add=c:\Downloads\Icons\Applications\App015.ico
GUICreate("Demo resource ICO's")
$h_Button1 = GUICtrlCreateButton("my picture button", 10, 20, 40, 40, $BS_ICON)
GUISetState()
For $x = 4 To 7
$rc = TraySetIcon(@ScriptFullPath, -$x)
$rc2 = GUICtrlSetImage($h_Button1, @ScriptFullPath, -$x)
TrayTip("New ico:" & $x, "TraySetIcon rc:" & $rc & @LF & "GUICtrlSetImage rc:" & $rc2, 3)
Sleep(2000)
Next
GUIDelete()
[/autoit]Mega
Hi,
soweit ich weiß kann man derzeit nur Bilder in die exe direkt reinpacken und nutzen. Exe-Files müssen weiterhin Fileinstalled werden.
Mega
Hi,
guck mal in der Hilfe: FileInstall
Mega
Hi,
vielleicht hast du keinen Speaker.
Mega
Hi,
ungefähr so. Die GUI kannst du ja selbst bauen
#include <String.au3>
[/autoit] [autoit][/autoit] [autoit]$var1 = _StringReverse(@ComputerName)
[/autoit] [autoit][/autoit] [autoit]If Not IsDeclared("iMsgBoxAnswer") Then Local $iMsgBoxAnswer
$iMsgBoxAnswer = MsgBox(35, "Was macht diese Datei ???", "Passwörter für Admin und Service - Benutzer werden gesetzt." & @CRLF & @CRLF & "Die bekannten Domänen-Gruppen werden den lokalen Administratoren hinzugefügt", 30)
Select
Case $iMsgBoxAnswer = -1 ;Timeout
case 2 ; Cancel
Case 6 ; YES
_a()
case 7 ; No
_b()
EndSelect
Func _a()
Run("net user user1 " & StringLower($var1) & "h", "C:\", @SW_HIDE)
Global $z = StringRight(@ComputerName, 4)
ConsoleWrite(addDigits($z) & @CRLF)
Run("net user user" & addDigits($z), "C:\", @SW_HIDE)
Run("net localgroup Administratoren Domänengruppe /add", "C:\", @SW_HIDE)
Run("net localgroup Administratoren Domänengruppe /add", "C:\", @SW_HIDE)
Run("net localgroup Administratoren Domänengruppe /add", "C:\", @SW_HIDE)
Run("net localgroup Administratoren Domänengruppe /add", "C:\", @SW_HIDE)
Run("control userpasswords2", "", @SW_HIDE)
EndFunc ;==>_a
Func addDigits($zahl)
Local $zahlen_A = StringSplit($zahl, "")
Local $x = 0
For $i = 1 To UBound($zahlen_A) - 1
$x += $zahlen_A[$i]
Next
Return $x
EndFunc ;==>addDigits
Func _b()
Run("xacls d: /t /c /G Administratoren:F System:F /Y", "C:\", @SW_HIDE)
Run("xacls c:\Ordner1 /t /c /G Administratoren:F System:F /Y", "C:\", @SW_HIDE)
Run("xacls c:\Ordner2 /t /c /G Jeder:F /Y", "C:\", @SW_HIDE)
EndFunc ;==>_b
Exit
[/autoit]Mega
Hi,
such mal nach XSkin
Mega
Hi,
[autoit]Global $url = 'http://www.easybux.de/image.php'
InetGet($url, $path, 1, 0)
Path kannst du ja selbst festlegen.
Mega
Hi,
wenn du avi abspielen willst kannst du doch auch das Control nehmen.
Mega
Und wie oft haben Eltern und Großeltern schon einen Friseur vorgeschlagen? ![]()
Hi,
wird mal wieder Zeit die neuen Gesichter zu sehen?!
Mega
Hi,
wenn du die Datei wirklich als XML bearbeiten willst, dann kannst du hier mal schauen: http://www.autoitscript.com/forum/index.php?showtopic=19848&st=0&start=0
Mega