Controlling computer apps using Arduino?

Apparently I am trying to create an project with a bluetooth module. my goal is to have a data from my phone to arduino (which is connected to my computer) and use that command to do something on my computer (pausing or resuming a video for example.) But I couldn't find any help on the internet. I have the bluetooth code all written up but thats all. Anyone who at least tried or who knows a source?

your arduino (if you select the right type - like 32u4 or SAMD micro based boards) could send keystrokes (or mouse clicks/movements) to the host computer. see Keyboard - Arduino Reference

if you need higher level integration, then you need some code running on the PC which would be listening to the Arduino (Serial port for example) and build some sort of protocol to transmit the command. Then the app on the PC will be in charge of executing that command.

Not clear but looks to me OP is looking for Bluetooth control

This is what I understood:

Phone ----> Arduino using BT
Arduino ---> PC using USB

Sorry, I didn't know how to tell my problem. Simply I need a way of controlling the media player in my computer using Arduino, and Arduino takes the commands from my phone

Exactly

I heard that Arduino Leonardo board can do these things, but when I tried it on mine, the bluetooth module didn't work. So I'm kind of stuck with using UNO

The Uno (unless you change a few things) won't be able to send keystrokes to the PC. It does not have BT either...

May be you don't need the arduino at all. If your phone is running android, there are apps that would let your smartphone pose as a keyboard for the computer (I'm using an iPhone so never tried)

see https://play.google.com/store/apps/details?id=io.appground.blek&hl=en_US&gl=US for example (not a recommendation, first hit as a google search)

The problem isn't bluetooth though, I have an external module. But I appreciate your help, I'll use this until I figure out something. Thanks a lot.

OK so you get commands to the Arduino to BT, but you arduino is only able to send Serial input to the PC as it stands. If no application is listening for what the Arduino says, nothing will happen on the PC.

You need an app on the PC capturing the Serial input and transforming that into commands

Alternatively, buy a 32u4 based Arduino and send keystrokes

Fully understood, thank you very much kind sir