Sign in to follow this  
Followers 0
bang

A pauser to media player

9 posts in this topic

HotKeySet("{esc}","term")
HotKeySet("{PAUSE}","pause")

ToolTip("created BY bang --- pause on Pause/Break and same to un pause -- exit on esc"0,0)

While 1
    Sleep(1)
WEnd

func term()
    Exit
EndFunc

Func pause()
    send("{MEDIA_PLAY_PAUSE}")
EndFunc

Share this post


Link to post
Share on other sites



you do know this wont work right? i mean what is this

Func pause()
      send("{MEDIA_PLAY_PAUSE}")
EndFunc

MEDIA_PLAY_PAUSE is not a key... what exactly is it this is supposed to do?


AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!

Share this post


Link to post
Share on other sites

This will work it work on my pc it is on some keybords there are buttons to control wmplayer


My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! you’re the best in town Fight!

Share this post


Link to post
Share on other sites

it does work whit windows media player and you missed a , in your tooltip bang

ToolTip("created BY bang --- pause on Pause/Break and same to un pause -- exit on esc",0,0)

Share this post


Link to post
Share on other sites

oh, tried it... didnt work for me, sorry for the useless post above

~cdkid


AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!

Share this post


Link to post
Share on other sites

as rambo told us its only on some keyboards it works and it works on mine..

Share this post


Link to post
Share on other sites

Any thanks?


My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! you’re the best in town Fight!

Share this post


Link to post
Share on other sites

I guess it depends on your keyboard but here's a list of all possible keycodes:

VirtualKeyCodes

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0