
Zisly
Active Members-
Posts
250 -
Joined
-
Last visited
About Zisly
- Birthday 05/01/1991
Profile Information
-
Location
Sweden
Zisly's Achievements

Universalist (6/7)
1
Reputation
-
FireFox reacted to a post in a topic: Display current track from Spotify in Skype
-
Did this one quickly and when I was done I got told Skype already had this, apparently I've completely missed it? anyway, someone might find it useful. #include "include/Skype.au3" $pid = ProcessExists('Spotify.exe') If $pid == 0 Then MsgBox(0, '', 'Spotify has to be running for this to work.') Exit EndIf Global $oldMood = _Skype_ProfileGetMoodText(); Global $currentSong = ''; Global $hwnd = WinGetHandle('[CLASS:SpotifyMainWindow]') While 1 Sleep(1000) $song = StringTrimLeft(WinGetTitle($hwnd), 10) if $song <> $currentSong and $song <> '' Then _Skype_ProfileSetMoodText('(Spotify) ' & $song); EndIf if $song == '' Then _Skype_ProfileSetMoodText($oldMood); EndIf WEnd _Skype_ProfileSetMoodText($oldMood); How to use Have Skype and Spotify running and it'll do the rest. It will change the mood text to the current track in Spotify whenever something is played there. Skype Current Song.rar
-
BASS Function Library (Sound and Music Functions)
Zisly replied to BrettF's topic in AutoIt Example Scripts
I have ran most examples and I must say, this is damn cool There is one particular example, the most interesting one, the recorder, which didn't want to run. Quite a bit of errors aswell. I am using the latest AutoIt. C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3(21,34) : ERROR: _BASS_ASIO_GetRate() called with wrong number of args. $Samplerate = _BASS_ASIO_GetRate() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\BASSASIO.au3(225,40) : REF: definition of _BASS_ASIO_GetRate(). Func _BASS_ASIO_GetRate($bass_asio_dll) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3(25,32) : ERROR: _BASS_ASIO_GetInfo() called with wrong number of args. $Channels = _BASS_ASIO_GetInfo() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\BASSASIO.au3(200,40) : REF: definition of _BASS_ASIO_GetInfo(). Func _BASS_ASIO_GetInfo($bass_asio_dll) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3(29,67) : ERROR: _BASS_ASIO_CB_ChannelEnable() called with wrong number of args. _BASS_ASIO_CB_ChannelEnable($bass_asio_cb_dll, 1, 0, $StreamHandle) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\BASSASIO.au3(92,60) : REF: definition of _BASS_ASIO_CB_ChannelEnable(). Func _BASS_ASIO_CB_ChannelEnable($input, $channel, $handle) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3(30,31) : ERROR: _BASS_ASIO_ChannelJoin() called with wrong number of args. _BASS_ASIO_ChannelJoin(1, 1, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\BASSASIO.au3(347,73) : REF: definition of _BASS_ASIO_ChannelJoin(). Func _BASS_ASIO_ChannelJoin($bass_asio_dll, $input, $channel, $channel2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3(31,58) : ERROR: _BASS_ASIO_ChannelSetFormat() called with wrong number of args. _BASS_ASIO_ChannelSetFormat(1, 0, $BASS_ASIO_FORMAT_16BIT) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\BASSASIO.au3(377,76) : REF: definition of _BASS_ASIO_ChannelSetFormat(). Func _BASS_ASIO_ChannelSetFormat($bass_asio_dll, $input, $channel, $format) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3(32,58) : ERROR: _BASS_ASIO_ChannelSetFormat() called with wrong number of args. _BASS_ASIO_ChannelSetFormat(1, 1, $BASS_ASIO_FORMAT_16BIT) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\BASSASIO.au3(377,76) : REF: definition of _BASS_ASIO_ChannelSetFormat(). Func _BASS_ASIO_ChannelSetFormat($bass_asio_dll, $input, $channel, $format) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3(33,30) : ERROR: _BASS_ASIO_Start() called with wrong number of args. _BASS_ASIO_Start($Channels[6]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\BASSASIO.au3(235,47) : REF: definition of _BASS_ASIO_Start(). Func _BASS_ASIO_Start($bass_asio_dll, $buflen) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3(37,43) : ERROR: _BASS_ASIO_ChannelGetLevel() called with wrong number of args. $levelL = _BASS_ASIO_ChannelGetLevel(1, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\BASSASIO.au3(437,66) : REF: definition of _BASS_ASIO_ChannelGetLevel(). Func _BASS_ASIO_ChannelGetLevel($bass_asio_dll, $input, $channel) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3(38,43) : ERROR: _BASS_ASIO_ChannelGetLevel() called with wrong number of args. $levelR = _BASS_ASIO_ChannelGetLevel(1, 1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\BASSASIO.au3(437,66) : REF: definition of _BASS_ASIO_ChannelGetLevel(). Func _BASS_ASIO_ChannelGetLevel($bass_asio_dll, $input, $channel) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3(44,17) : ERROR: _BASS_ASIO_Free() called with wrong number of args. _BASS_ASIO_Free() ~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\BASSASIO.au3(180,37) : REF: definition of _BASS_ASIO_Free(). Func _BASS_ASIO_Free($bass_asio_dll) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3(6,19) : ERROR: _BASS_ENC_STARTUP(): undefined function. _BASS_ENC_STARTUP() ~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Lars\Skrivbord\BASS\BASS.au3\BASS_ASIO\example_record.au3 - 11 error(s), 0 warning(s) -
Was a while ago I checked this out but I remember that it used dllCall's instead of the inbuilt TCP functions. So is this better than using the inbuilt or what? (working on a game)
-
Ok, now I feel stupid , anyway it works, thanks!
-
How much slower? Well I might check it out again tomorrow or something, I'm so tired today that I simply gave up trying to make it work with colokeying, most of the time nothing happened and sometimes I managed to crash the program If you could make a working example (nothing complex, just something that works) I would be very grateful
-
I went with simply making the png pics transparent with photophiltre
-
Nope, didn't mean that, sorry for explaining badly. What I want is, to make it make the pink color transparent Ex;
-
Oh, you got a new version I see. I'll check the example when I get home, thanks for your time
-
Any way to set a transparent color, like pink?
-
I made this quick, there are probably a lot better ways xD If you decide to work with this don't forget adding error checking and all that. "dll" call($CmdLine[1]) Func _MsgBox() MsgBox($CmdLine[2],$CmdLine[3],$CmdLine[4]) EndFunc example _call('test.exe', '_MsgBox', 4, 'yes?', 'text') Func _call($sProg, $sFunc, $p1 = "", $p2 = "", $p3 = "") ; lol ShellExecute($sProg, $sFunc&' '&$p1&' '&$p2&' '&$p3) EndFunc
-
So naming your variable $1,$2 would be the best way?
-
In which way is it pathetic?I just don't like downloading things without being sure it's safe.
-
Nope, I don't dare to test it >_<
-
Has anyone tested this?
-
Well this doesn't work for 64 bit >_