Jump to content

Music rhythm


Recommended Posts

The script works fine, not sure what value you are looking at. I changed up the function so you can see what value is being returned by the DllCall...

Func _mciSendString($lpszCommand, $lpszReturnString, $cchReturn, $hwndCallback)

$Return=DllCall("winmm.dll", "long", "mciSendStringA", "str", $lpszCommand, "str", $lpszReturnString, "long", $cchReturn, "long", 0)

ConsoleWrite($Return[2] & @CRLF)

Return $Return

EndFunc ;==>_mciSendString

Check out $Return[2]...

Link to comment
Share on other sites

Post an example of.....?...

Whatever I posted above was simply to state that the function works and it returns values. As far as what you want todo with those values then thats where you need to start building the blocks. If you want to create some program that will change the screen color of the monitor,some GUI, or whatever then you will need to start cooking up a script and then people will jump in and help you out further.

Link to comment
Share on other sites

  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...