trancexx Posted October 14, 2008 Share Posted October 14, 2008 (edited) It's about msvfw32.dll. That's rather powerfull media tool. This script uses it to play music and video files. Very basic but should be enough for a demonstration. No decompressors are used (that means what it means). Script: LittlePlayer.au3 Macros, constants if someone would be inspired: expandcollapse popupGlobal Const $MCIWNDOPENF_NEW = 0x000001 ;open a new file Global Const $MCIWNDF_NOAUTOSIZEWINDOW = 0x000001 ;when movie size changes Global Const $MCIWNDF_NOPLAYBAR = 0x000002 ;no toolbar Const Global Const $MCIWNDF_NOAUTOSIZEMOVIE = 0x000004 ;when window size changes Global Const $MCIWNDF_NOMENU = 0x000008 ;no popup menu from RBUTTONDOWN Global Const $MCIWNDF_SHOWNAME = 0x000010 ;show name in caption Global Const $MCIWNDF_SHOWPOS = 0x000020 ;show position in caption Global Const $MCIWNDF_SHOWMODE = 0x000040 ;show mode in caption Global Const $MCIWNDF_SHOWALL = 0x000070 ;show all Global Const $MCIWNDF_NOTIFYMODE = 0x000100 ;tell parent of mode change Global Const $MCIWNDF_NOTIFYPOS = 0x000200 ;tell parent of pos change Global Const $MCIWNDF_NOTIFYSIZE = 0x000400 ;tell parent of size change Global Const $MCIWNDF_NOTIFYERROR = 0x001000 ;tell parent of an error Global Const $MCIWNDF_NOTIFYALL = 0x001F00 ;tell all Global Const $MCIWNDF_NOTIFYANSI = 0x000080 Global Const $MCIWNDF_NOTIFYMEDIA = 0x000880 ;tell parent of media change Global Const $MCIWNDF_NOTIFYMEDIAW = 0x000800 ;tell parent of media change Global Const $MCIWNDF_RECORD = 0x002000 ;Give a record button Global Const $MCIWNDF_NOERRORDLG = 0x004000 ;Show Error Dlgs for MCI cmds? Global Const $MCIWNDF_NOOPEN = 0x008000 ;Don't allow user to open things Global Const $MCIWND_CLOSE = 0x0804 Global Const $MCIWND_PLAY = 0x0806 Global Const $MCIWND_SEEK = 0x0807 Global Const $MCIWND_STOP = 0x0808 Global Const $MCIWND_PAUSE = 0x0809 Global Const $MCIWND_STEP = 0x080E Global Const $MCIWND_RECORD = 0x080F Global Const $MCIWND_SAVE = 0x0813 Global Const $MCIWND_CUT = 0x0851 Global Const $MCIWND_COPY = 0x0852 Global Const $MCIWND_PASTE = 0x0853 Global Const $MCIWND_RESUME = 0x0855 Global Const $MCIWND_DELETE = 0x0856 Global Const $MCIWND_CAN_CONFIG = 0x0495 Global Const $MCIWND_CAN_EJECT = 0x0494 Global Const $MCIWND_CAN_PLAY = 0x0490 Global Const $MCIWND_CAN_RECORD = 0x0492 Global Const $MCIWND_CAN_SAVE = 0x0493 Global Const $MCIWND_CAN_WINDOW = 0x0491 Global Const $MCIWND_CHANGESTYLES = 0x0487 Global Const $MCIWND_EJECT = 0x046B Global Const $MCIWND_GETACTIVETIMER = 0x0484 Global Const $MCIWND_GETALIAS = 0x0489 Global Const $MCIWND_GET_DEST = 0x048E Global Const $MCIWND_GETDEVICE = 0x04E1 Global Const $MCIWND_GETDEVICEID = 0x0464 Global Const $MCIWND_GETEND = 0x0469 Global Const $MCIWND_GETERROR = 0x04E4 Global Const $MCIWND_GETERRORA = 0x0480 Global Const $MCIWND_GETERRORW = 0x04E4 Global Const $MCIWND_GETFILENAME = 0x04E0 Global Const $MCIWND_GETFILENAMEA = 0x047C Global Const $MCIWND_GETFILENAMEW = 0x04E0 Global Const $MCIWND_GETINACTIVETIMER = 0x0485 Global Const $MCIWND_GETLENGTH = 0x0468 Global Const $MCIWND_GETMODE = 0x04CE Global Const $MCIWND_GETMODEA = 0x046A Global Const $MCIWND_GETMODEW = 0x04CE Global Const $MCIWND_GETPALETTE = 0x047E Global Const $MCIWND_GETPOSITION = 0x04CA Global Const $MCIWND_GETPOSITIONA = 0x0466 Global Const $MCIWND_GETPOSITIONW = 0x04CA Global Const $MCIWND_GETREPEAT = 0x0473 Global Const $MCIWND_GET_SOURCE = 0x048C Global Const $MCIWND_GETSPEED = 0x0471 Global Const $MCIWND_GETSTART = 0x0467 Global Const $MCIWND_GETSTYLES = 0x0488 Global Const $MCIWND_GETTIMEFORMAT = 0x04DC Global Const $MCIWND_GETTIMEFORMATA = 0x0478 Global Const $MCIWND_GETTIMEFORMATW = 0x04DC Global Const $MCIWND_GETVOLUME = 0x046F Global Const $MCIWND_GETZOOM = 0x046D Global Const $MCIWND_NEW = 0x04EA Global Const $MCIWND_NEWA = 0x0486 Global Const $MCIWND_NEWW = 0x04EA Global Const $MCIWND_NOTIFYERROR = 0x04CD Global Const $MCIWND_NOTIFYMEDIA = 0x04CB Global Const $MCIWND_NOTIFYMODE = 0x04C8 Global Const $MCIWND_NOTIFYPOS = 0x04C9 Global Const $MCIWND_NOTIFYSIZE = 0x04CA Global Const $MCIWND_OPEN = 0x04FC Global Const $MCIWND_OPENA = 0x0499 Global Const $MCIWND_OPENW = 0x04FC Global Const $MCIWND_OPENINTERFACE = 0x0497 Global Const $MCIWND_PLAYFROM = 0x047A Global Const $MCIWND_PLAYREVERSE = 0x048B Global Const $MCIWND_PLAYTO = 0x047B Global Const $MCIWND_PUT_DEST = 0x048F Global Const $MCIWND_PUT_SOURCE = 0x048D Global Const $MCIWND_REALIZE = 0x0476 Global Const $MCIWND_RETURNSTRING = 0x04EE Global Const $MCIWND_RETURNSTRINGA = 0x048A Global Const $MCIWND_RETURNSTRINGW = 0x04EE Global Const $MCIWND_SENDSTRING = 0x04C9 Global Const $MCIWND_SENDSTRINGA = 0x0465 Global Const $MCIWND_SENDSTRINGW = 0x04C9 Global Const $MCIWND_SETACTIVETIMER = 0x0482 Global Const $MCIWND_SETINACTIVETIMER = 0x0483 Global Const $MCIWND_SETOWNER = 0x0498 Global Const $MCIWND_SETPALETTE = 0x047F Global Const $MCIWND_SETREPEAT = 0x0472 Global Const $MCIWND_SETSPEED = 0x0470 Global Const $MCIWND_SETTIMEFORMAT = 0x04DB Global Const $MCIWND_SETTIMEFORMATA = 0x0477 Global Const $MCIWND_SETTIMEFORMATW = 0x04DB Global Const $MCIWND_SETTIMERS = 0x0481 Global Const $MCIWND_SETVOLUME = 0x046E Global Const $MCIWND_SETZOOM = 0x046C Global Const $MCIWND_VALIDATEMEDIA = 0x0479 Edited November 2, 2009 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted October 17, 2008 Share Posted October 17, 2008 Hey nice job.Msvfw32.dll is used by windows when working with Video files. It contains program code used for the compression and decompression of the video data.So this doesn't depend on Windows Media Player? Maybe DirectShow? Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
ludocus Posted October 18, 2008 Share Posted October 18, 2008 cool.. but what is the advantage? (or is there none) why would I use this in stead of normal Sound? Link to comment Share on other sites More sharing options...
Kip Posted October 18, 2008 Share Posted October 18, 2008 It can play videos. MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
trancexx Posted October 18, 2008 Author Share Posted October 18, 2008 (edited) Hey nice job.So this doesn't depend on Windows Media Player? Maybe DirectShow?Thanks.I don't know. But I do know that some fancy players use this to play or record (Nero for example) Edited October 18, 2008 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
oMBRa Posted October 18, 2008 Share Posted October 18, 2008 (edited) it's awesome, nice job man... but volume and speed dont work for me Edited October 18, 2008 by oMBra Link to comment Share on other sites More sharing options...
trancexx Posted October 19, 2008 Author Share Posted October 19, 2008 it's awesome, nice job man...but volume and speed dont work for meWhat format of music and OS? ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
KabirSoftInc Posted October 20, 2008 Share Posted October 20, 2008 (edited) it's good for newbies to learn how players work, thanks for this script. will try to work on it later 6) Edited October 20, 2008 by KabirSoftInc Link to comment Share on other sites More sharing options...
oMBRa Posted October 20, 2008 Share Posted October 20, 2008 What format of music and OS?wav, Windows XP SP2 Link to comment Share on other sites More sharing options...
trancexx Posted October 20, 2008 Author Share Posted October 20, 2008 wav, Windows XP SP2Well, now we know for wav.Play with _SendMessageSend something smart. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
torels Posted October 20, 2008 Share Posted October 20, 2008 it isn't working for me... It won't open files. Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org Link to comment Share on other sites More sharing options...
trancexx Posted November 2, 2009 Author Share Posted November 2, 2009 I did some changes to the code and also added support for video files. Few solutions regarding gui are maybe strange (read dumb) but that's very much intentional for reasons known only to me .New script is attached and form a symbiosis with the first post.If you don't find at least one part of this post funny then you are likely dead. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Yashied Posted November 2, 2009 Share Posted November 2, 2009 Well done, trancexx. I took a few minutes to understand the code, and was pleasantly surprised that it does not use COM. 5* My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
trancexx Posted November 2, 2009 Author Share Posted November 2, 2009 Well done, trancexx. I took a few minutes to understand the code, and was pleasantly surprised that it does not use COM.5*Thanks Yashied. Btw, congratulations on your MVP status. You earned it . ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
UEZ Posted November 2, 2009 Share Posted November 2, 2009 Thanks Yashied. Btw, congratulations on your MVP status. You earned it .Nice demontration of the DLL trancexx! Can be very usefull to play this kind of stuff Btw, I do not know who decides this, but you should have also earned the title without to suck-up to you. UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
trancexx Posted November 2, 2009 Author Share Posted November 2, 2009 (edited) Nice demontration of the DLL trancexx! Can be very usefull to play this kind of stuff Btw, I do not know who decides this, but you should have also earned the title without to suck-up to you. UEZThanks.About latter, I'm sure I was evaluated, but there are some special circumstances involved in my case. I am aware of them, maybe even more than one could think. Edited November 2, 2009 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now