Custom Query (3931 matches)
Results (277 - 279 of 3931)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #947 | No Bug | RegRead fails for the first try reading a key | ||
| Description |
When I change the key for example from 'DeviceConnect' to 'DeviceFail' then I get an error from RegRead (only) for the first time. You can see it at the Console. I use Windows XP SP2 and Autoit V3.3.0.0 _PlayDefaultSystemSound('DeviceConnect', 1)
; #FUNCTION# ====================================================================================================================
; Name...........: _PlayDefaultSystemSound()
; Description ...: Plays a Default System Sound
; Syntax.........: _PlayDefaultSystemSound($sSoundName, $iWait = 0)
; Parameters ....: $sSoundName - Name des SystemSound's
; | Default - Standardton Warnsignal / Default Beep
; | CriticalBatteryAlarm - Alarm bei kritischem Batteriestand / when battery is critical
; | DeviceConnect - Geräteanschluß / when a device is connect
; | DeviceDisconnect - Gerätetrennung / when a device is disconnect
; | DeviceFail - Geräteanschluß fehlgeschlagen / when a deviceconnect is fail
; | LowBatteryAlarm - Alarm bei niedrigem Batteriestand / when battery is low
; | MailBeep - Posteingangsbenachrichtigung / when email is received
; | SystemAsterisk - Stern / Asterisk
; | SystemExclamation - Hinweis / when windows shows a warning
; | SystemExit - Windows beenden / when Windows shuts down
; | SystemHand - Kritischer Abbruch / when a critical stop occurs
; | SystemNotification - Sprechblase / when a critical stop occurs
; | SystemStart - Windows starten / when Windows starts up
; | WindowsLogoff - beim Windows abmelden / when logging off Windows
; | WindowsLogon - beim Windows anmelden / when logging on Windows
; | EmptyRecycleBin - Löschen des Papierkorbs / when recycle bin is emptied
; | Navigating - Browser Klick / navigating in browser
; $iWait - Wait until SoundPlay ends? (0 = no / 1 = yes)
; Return values .: -----
; Author ........: funkey (AutoIt.de)
; ===============================================================================================================================
Func _PlayDefaultSystemSound($sSoundName, $iWait = 0)
; funkey
Local $sKey = 'HKEY_USERS\.Default\AppEvents\Schemes\Apps\.Default'
If $sSoundName = 'EmptyRecycleBin' Or $sSoundName = 'Navigating' Then $sKey = 'HKEY_USERS\.Default\AppEvents\Schemes\Apps\Explorer'
ConsoleWrite(RegRead($sKey &'\' & $sSoundName & '\' & '\.Default', '')&@CRLF&@error&@CRLF) ;Output to Console
Local $sFile = StringReplace(RegRead($sKey &'\' & $sSoundName & '\' & '\.Default', ''), '%SystemRoot%', @WindowsDir)
If $sFile = "" Then
SoundPlay(StringReplace(RegRead($sKey &'\.Default\.Default', ''), '%SystemRoot%', @WindowsDir), $iWait)
Else
SoundPlay($sFile, $iWait)
EndIf
EndFunc ;==>_PlaySystemSound
|
|||
| #950 | No Bug | ArraySort bug in some cases | ||
| Description |
Hello. Environment = 3.3.0.0 under WIN_XP/Service Pack 3 X86 Actually I do not know how to explain this in proper english. I think my example will do this better than me: #Include <Array.au3> $aArray[0][0] = 'a' $aArray[0][1] = '15' $aArray[1][0] = 'b' $aArray[1][1] = '21' $aArray[2][0] = 'c' $aArray[2][1] = '111' $aArray[3][0] = 'd' $aArray[3][1] = '3' $aArray[4][0] = 'e' $aArray[4][1] = '1' $aArray[5][0] = 'f' $aArray[5][1] = '2' _ArrayDisplay($aArray, 'RAW') _ArraySort($aArray, 1, 0, 0, 1) _ArrayDisplay($aArray, 'Sorted Descending by Col 1') $aArray[0][1] = 'a' $aArray[0][0] = '15' $aArray[1][1] = 'b' $aArray[1][0] = '21' $aArray[2][1] = 'c' $aArray[2][0] = '111' $aArray[3][1] = 'd' $aArray[3][0] = '3' $aArray[4][1] = 'e' $aArray[4][0] = '1' $aArray[5][1] = 'f' $aArray[5][0] = '2' _ArrayDisplay($aArray, 'RAW') _ArraySort($aArray, 0, 0, 0, 0) _ArrayDisplay($aArray, 'Sorted Ascending by Col 0') Is this a bug? Best regards, timsky |
|||
| #954 | No Bug | WinWaitActive("I/M Period End Processing",5) stalls autoit | ||
| Description |
WinActivate("I/M Period End Processing")
WinWaitActive("I/M Period End Processing",5)
Autoit appears to be waiting indefinitely for the listed window. I suspect it may have to do with the "/". I can substitute: WinActivate("I/M Period End Processing")
;~ WinWaitActive("I/M Period End Processing",5)
Sleep(1000)
This can get me past this and I can ControlClick whatever I need next, but I hate to blindly send Enter and/or Clicks as it will inevitably fail. Window Summary Info:
Title: I/M Period End Processing Class: m90 Position: 431, 146 Size: 475, 327 Style: 0x96CA0000 ExStyle: 0x00000101 Handle: 0x014C0876
Class: PvxButton32 Instance: 3 ClassnameNN: PvxButton323 Advanced (Class): [CLASS:PvxButton32; INSTANCE:3] ID: Text: Only Remove Transaction Detail Position: 98, 77 Size: 350, 14 ControlClick Coords: 310, 9 Style: 0x54000000 ExStyle: 0x00000000 Handle: 0x00B9093A
Position: 842, 254 Cursor ID: 2 Color: 0xD4D0C8
Full Period End Processing Only Remove Costing Tiers with Zero Quantities Only Remove Transaction Detail Only Remove Detail History &Proceed &Cancel |
|||
