Hi,
meinst du sowas hier :
SetACL.exe?
So long,
Mega
Hi,
meinst du sowas hier :
SetACL.exe?
So long,
Mega
Hi,
welcome back. Dein Satz ist aber noch nicht ganz richtig, oder?
So long,
Mega
Hi,
nicht schlecht. Habe mir gerade eine kleine Demo gebastelt.
Ähnlich wie bei dem DLLCall nur halt handgemacht. ![]()
So long,
Mega
Hi,
ja aber ich würde halt denken, dass dir schneller ist. Müsste man mal ausprobieren.
So long,
Mega
Hi,
$i3 = GUICtrlCreateInput("Dateien", 0, 40, 200)
GuiCtrlSetState(-1,$GUI_DROPACCEPTED)
So long,
Mega
Hi,
sieht doch schon ganz gut aus. Wenn du allerdings mehrere Ordner mit demselben Namen hast, dann würde ich glaube ich einen dir ... Befehl absetzen.
So long,
Mega
Hi,
ja es gibt eine systray udf.
So long,
Mega
Hi,
befindet sich das Skript in dem Ordner den du suchst?
So long,
Mega
HI,
hier sowas ähnliches mit Prospeed.
#include <prospeed.au3>
#include <GUIConstants.au3>
$r = GUICreate("My GUI", 400, 200, 300, 300)
$b = GUICtrlCreateButton("close", 10, 10, 100, 30)
GUISetState(@SW_SHOW)
WinSetOnTop("My GUI", "", 1)
; Run the GUI until the dialog is closed
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
If $msg = $b Then
$gui = _GreyBackground(0, 1, 0)
Sleep(500)
Exit (0)
EndIf
WEnd
Func _GreyBackground($iBlur = 0, $iFade = 0, $onTop = 1)
ControlFocus("Program Manager", "", "SysListView321")
ScreenShot (@ScriptDir & "\Desktop.jpg", @DesktopWidth, @DesktopHeight, 0, 0, 1)
Local $iGui = GUICreate("Prospeed", @DesktopWidth, @DesktopHeight, 0, 0, -2147483648, 128);$WS_POPUP, $WS_EX_TOOLWINDOW
If $onTop Then WinSetOnTop($iGui, "", 1)
WinSetTrans($iGui, "", 1)
GUISetState()
$dsktop = LoadImage (@ScriptDir & "\Desktop.jpg", 0, 0, @DesktopWidth, @DesktopHeight, 0)
Grey ($dsktop, 0, 0, 1)
If $iFade Then
For $i = 1 To 255 Step 5
WinSetTrans($iGui, "", $i)
Next
WinSetTrans($iGui, "", 255)
Else
WinSetTrans($iGui, "", 255)
EndIf
If $iBlur Then blur ($dsktop, 0, 0, 30, 1)
Return $iGui
EndFunc ;==>_GreyBackground
So long,
Mega
Hi,
;===============================================================================
; Function Name: _PathSplit1()
; Description: Split the path to 8 elements.
; Parameter(s): $sPath - Path to split.
; Requirement(s): AutoIt 3.2.2.0.
; Return Value(s): On seccess - Array $RetArray that contain 8 elements:
; $RetArray[0] = Full path ($sPath)
; $RetArray[1] = Drive letter
; $RetArray[2] = Path without FileName and extension
; $RetArray[3] = Full path without File Extension
; $RetArray[4] = Full path without drive letter
; $RetArray[5] = FileName and extension
; $RetArray[6] = Just Filename
; $RetArray[7] = Just Extension of a file
;
; On failure - If $sPath not include correct path (the path is not splitable),
; then $sPath returned.
; If $sPath not include needed delimiters, or it's emty,
; then @error set to 1, and returned -1.
;
; Note(s): The path can include backslash as well (exmp: C:/test/test.zip).
;
; Author(s): G.Sandler a.k.a CreatoR (MsCreatoR) - Thanks to amel27 for help with RegExp
;===============================================================================
Global $text = ''
$a = _PathSplit1(@ScriptFullPath)
For $i = 0 To UBound($a) - 1
$text &= $a[$i] & @CRLF
Next
MsgBox(0, "", $text)
Func _PathSplit1($sPath)
If $sPath = "" Or StringRegExp($sPath, ('.*\\.*\/')) Then Return SetError(1, 0, -1)
Local $RetArray[8], $pDelim = ""
If StringRegExp($sPath, '^(?i)([A-Z]:|\\)(\\[^\\]+)+$') Then $pDelim = "\"
If StringRegExp($sPath, '(?i)(^.*:/)(/[^/]+)+$') Then $pDelim = "//"
If $pDelim = "" Then $pDelim = "/"
If Not StringInStr($sPath, $pDelim) Then Return $sPath
If $pDelim = "\" Then $pDelim &= "\"
$RetArray[0] = $sPath
$RetArray[1] = StringRegExpReplace($sPath, $pDelim & '.*', $pDelim)
$RetArray[2] = StringRegExpReplace($sPath, $pDelim & '[^' & $pDelim & ']*$', '')
$RetArray[3] = StringRegExpReplace($sPath, '\.[^.]*$', '')
$RetArray[4] = StringRegExpReplace($sPath, '(?i)([A-Z]:' & $pDelim & ')', '')
$RetArray[5] = StringRegExpReplace($sPath, '^.*' & $pDelim, '')
$RetArray[6] = StringRegExpReplace($RetArray[5], '\.[^.]*$', '')
$RetArray[7] = StringRegExpReplace($sPath, '^.*\.', '')
Return $RetArray
EndFunc ;==>_PathSplit1
So long,
Mega
Hi,
sorry kann dir da auch nicht weiterhelfen.
Das steht für 32512
So long,
Mega
Edit: Guck mal hier #: http://www.autoitscript.com/forum/index.php?showtopic=23903&hl=changeCursor
Hi,
setz den Cursor zum Schluss doch einfach so
[autoit]_SetCursor(@WindowsDir & "\cursors\AppStarting.cur", $OCR_NORMAL)
[/autoit]So long,
Mega
Hi,
_SetCursor(@WindowsDir & "\cursors\3dgarro.cur", 32512)
Func _SetCursor($s_file, $i_cursor)
Local $newhcurs, $lResult
$newhcurs = DllCall("user32.dll", "int", "LoadCursorFromFile", "str", $s_file)
If Not @error Then
$lResult = DllCall("user32.dll", "int", "SetSystemCursor", "int", $newhcurs[0], "int", $i_cursor)
If Not @error Then
$lResult = DllCall("user32.dll", "int", "DestroyCursor", "int", $newhcurs[0])
Else
MsgBox(0, "Error", "Failed SetSystemCursor")
EndIf
Else
MsgBox(0, "Error", "Failed LoadCursorFromFile")
EndIf
EndFunc ;==>_SetCursor
So long,
Mega
P.S.: Aber zurück wird schwer ![]()
Hi,
für Windows generell oder nur solange wie deine GUI / Skript existiiert?
GUISetCursor ?
So long,
Mega
Hi,
ich glaube mehr als das Bild hergibt ist auch nicht möglich. Du müsstest ja vergrößern und dann wieder neu auflösen.
So long,
Mega
Hi,
okay! Ich denke es wird Zeit den Thread zu schließen!
Danke an alle für die Ideen.
So long,
Mega
Hi,
richtig die können das.
Nein, falsch getippt! ![]()
So long,
Mega
Hi,
doch ich werde ihn hier im Forum ändern lassen und im Eng Forum auch.
Die Suche ist übrigens abgeschlossen, also laßt euch überraschen. ![]()
Ja, es hat etwas mit meinem Avatar zu tun.
So long,
Mega
Hi,
die Vorschläge klingen doch gar nicht so schlecht.
Daniel : Nein, den Gefallen werde ich denen nicht tun. ![]()
So long,
Mega
P.S.: Ich brauche noch mehr!
Hi,
sollte nicht frech sein.
Ja sicher, erstmal selbst versuchen ist immer gut.
Über das Problem eine Variable einzubinden mit & und die Verbindung von Strings mit " bzw. ' sind glaube alle am Anfang gestolpert.
So long,
Mega