buttercheese Posted June 24, 2004 Posted June 24, 2004 Hi together, any ideas, if it´s possible to control video-speed (Win Media Player) using Autoit? I would like to enable slowmotion (for- and backwards). Any ideas, why it´s not possible are welcome to. Best wishes buttercheese
Doxie Posted June 24, 2004 Posted June 24, 2004 You can use AutoIt to send:FastSend("{CTRLDOWN}")Send("{SHIFTDOWN}")Send("G")Send("{CTRLUP}")Send("{SHIFTUP}")NormalSend("{CTRLDOWN}")Send("{SHIFTDOWN}")Send("N")Send("{CTRLUP}")Send("{SHIFTUP}")SlowSend("{CTRLDOWN}")Send("{SHIFTDOWN}")Send("S")Send("{CTRLUP}")Send("{SHIFTUP}")Fast ForwardSend("{CTRLDOWN}")Send("{SHIFTDOWN}")Send("F")Send("{CTRLUP}")Send("{SHIFTUP}")RewindSend("{CTRLDOWN}")Send("{SHIFTDOWN}")Send("B")Send("{CTRLUP}")Send("{SHIFTUP}")*Don´t type the things written in bold Were ever i lay my script is my home...
buttercheese Posted June 25, 2004 Author Posted June 25, 2004 Hello Doxie, thanx for your interest and suggestion. Trying to use your ideas I got no success. If WinExists("Windows Media Player") Then WinActivate("Windows Media Player", "") Sleep(250) Send("{CTRLDOWN}") Send("{SHIFTDOWN}") Send("S") Send("{CTRLUP}") Send("{SHIFTUP}") EndIf The Media Player became active, but that´s all. Any other ideas, or another codesnippet? Best wishes buttercheese
buttercheese Posted June 25, 2004 Author Posted June 25, 2004 OK, here´re the news: If WinExists("Windows Media Player") Then WinActivate("Windows Media Player", "") Send("^p") EndIf works for start + stop playing, but taking influence to the playbackspeed still isn´t possible. Any other ideas? buttercheese
trids Posted June 25, 2004 Posted June 25, 2004 My Windows Media Player also doesn't respond to the control keys described above . But it does respond to the space-bar: it toggles between pause and play.Using this, you can have lots of instructive fun writing a script to press the space-bar at different intervals Hmmm .. thinks: this might be a good beginner tutorial. It could explore such topics as Send; WinActivate; INIRead ..
buttercheese Posted June 25, 2004 Author Posted June 25, 2004 Oh yes, funny... Here is the slowmotion workaround WinActivate("Windows Media Player", "") $i = 0 Do Send("^p") Sleep(40); increase for slower motion/jumps $i = $i + 1 Until $i = 1000000000 ; (to avoid ) Any better ideas or workarounds? butterchheese
buttercheese Posted June 28, 2004 Author Posted June 28, 2004 Hi together, new week, new chance Still searching for the slowmo-code. Any ideas? Have a nice week buttercheese
Doxie Posted June 28, 2004 Posted June 28, 2004 What version of Windows Media player you got? Were ever i lay my script is my home...
Doxie Posted June 28, 2004 Posted June 28, 2004 Strange, its working for me Were ever i lay my script is my home...
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