Sign in to follow this  
Followers 0
todoistobe

keybindings priority

4 posts in this topic

#1 ·  Posted (edited)

Hello Programmers!
 
I need help : I built my own media player, with more options. But the multimedia keys don't work every times. With the WMPlayer, it does but with my built some games grab these key ... 
 
I used :

HotKeySet("{MEDIA_PLAY_PAUSE}","playpause")
HotKeySet("{MEDIA_NEXT}","suivant")
HotKeySet("{MEDIA_PREV}","precedent")

and "Euro Truck Simulator 2" (e.g.) grabs these keys and the player "doesn't do anything".

this script works for other games and on windows environment.

Thanks a lot!

Edited by todoistobe

Share this post


Link to post
Share on other sites



You could use _IsPressed, I think.


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

Thanks, I thought about it but my main loop can be very long (5 secs) so it's impossible ... sorry

Share this post


Link to post
Share on other sites

hello again !

does anyone have an other idea ?

thanks !

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