Custom Query (3933 matches)
Results (220 - 222 of 3933)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #809 | Fixed | UDF _SoundPlay doesn't work with filenames as 1st parameter | ||
| Description |
Check the following example (or the AutoIt included example script "_SoundOpen") ;Script starts here ;################## #include <Sound.au3> _SoundPlay("C:\WINDOWS\Help\Tours\WindowsMediaPlayer\Audio\Wav\wmpaud9.wav") ;################## The following Error occurs: C:\Program Files\AutoIt3\Include\Sound.au3 (442) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: If $aSndID[1] <> 0 Then If ERROR Environment = 3.3.0.0 under WIN_XP/Service Pack 2 X86 |
|||
| #810 | Fixed | Local or Global declarations can ignore OnAutoItExit function | ||
| Description |
If I declare AND define a variable via a function and the function exits instead of returning then it ignores the OnAutoItExit() function. For example, in the following script the MsgBox will NOT be displayed. Local $Value = Repro() Func Repro() Exit 0 EndFunc Func OnAutoItExit() MsgBox(0,"Success","The OnAutoItExit function triggered!") EndFunc However, this example will display the dialog. Local $Value $Value = Repro() Func Repro() Exit 0 EndFunc Func OnAutoItExit() MsgBox(0,"Success","The OnAutoItExit function triggered!") EndFunc |
|||
| #813 | Fixed | AutoItX_64.dll and Window Handles on XP64 issue | ||
| Description |
Hi, WinGetHandle() returns a 16byte string on XP64. The AutoItXfunctions functions I tested, require a handle as 8Byte string. As a result, it is not possible to use the quite handy feature of window handles with AutoITX.dll on 64 Bit windows systems. Example (To get this run, please copy and paste the text below in a Notepad window, save as "playWithAutoIt.js" in a folder of your choice, then open a cmd.exe, cd to the same folder and type: cscript playWithAutoIt.js): var handle = auObject.WinGetHandle("[ACTIVE]"); var shortHandleTitle = "[HANDLE:"+handle.substr(8)+"]"; var handleTitle = "[HANDLE:"+handle+"]"; var state= auObject.WinGetState(handleTitle); var shortState = auObject.WinGetState(shortHandleTitle ); WScript.Echo ("handleTitle: " + handleTitle + " State: " + state); WScript.Echo("shortHandleTitle: " + shortHandleTitle + " shortState: " + shortState); |
|||
