Maurice Posted April 6, 2009 Share 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. Link to comment Share on other sites More sharing options...
TerarinK Posted April 6, 2009 Share 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 Link to comment Share on other sites More sharing options...
Maurice Posted April 6, 2009 Author Share 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! Link to comment Share on other sites More sharing options...
DJKMan Posted April 16, 2009 Share Posted April 16, 2009 Why not simply bind a key to send("{MEDIA_NEXT}")? Link to comment Share on other sites More sharing options...
Yuraj Posted April 16, 2009 Share 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) 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