Modify

Opened 10 years ago

Closed 10 years ago

#809 closed Bug (Fixed)

UDF _SoundPlay doesn't work with filenames as 1st parameter

Reported by: anonymous Owned by: Jpm
Milestone: 3.3.1.0 Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: _SoundPlay Cc:

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

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Jpm

  • Milestone set to 3.3.1.0
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version: 3.3.1.0

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jpm.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.