Maurice 0 Report post Posted April 6, 2009 After checking microsoft's page I found out that the shortcut to skip a song in WMP is "ctrl+F".I then tried ControlSend ( "Windows Media Player", "", "Edit1", "^{F}") (Or whatever, sorry I lost the file and I'm lazy) and it kind of worked but it fast forwards the song, which happens if you hold ctrl+F.How can I do this?Thanks. Share this post Link to post Share on other sites
TerarinK 0 Report post Posted April 6, 2009 I never seen where the Edit1 control is in WMP but you can still send that via the WMPAppHost, search via the Window Info finder. ControlSend("Windows Media Player", "", "WMPAppHost", "^{f}") 0x576520616C6C206469652C206C697665206C69666520617320696620796F75207765726520696E20746865206C617374207365636F6E642E Share this post Link to post Share on other sites
Maurice 0 Report post Posted April 6, 2009 I don't even know what a control is so I just used that and it kind of worked. Thanks a lot!! It worked! Share this post Link to post Share on other sites
DJKMan 2 Report post Posted April 16, 2009 Why not simply bind a key to send("{MEDIA_NEXT}")? My work in AutoIt (Not many yet): - Parse Large Text Files To 2D Array Quickly [With Chunk Size] My artificial intelligence project coded entirely in AutoIt. Meet Alice Assistant: http://facebook.com/ProjectAliceAI Share this post Link to post Share on other sites
Yuraj 0 Report post Posted April 16, 2009 (edited) Look also here:http://www.codeproject.com/KB/cs/wmp_pinvoke.aspx Edited April 16, 2009 by Yuraj ShellExecute("http://www.yuraj.ucoz.com")ProcessClose(@AutoItPID) Share this post Link to post Share on other sites