How to simulate a Fn+?-KeyPress for notebooks? OR how to switch on 3G?

1.5k views Asked by At

3G module in a notebook. When I restart that notebook, the 3G module is turned off again. I have to turn it on on every restart.

So that's why I thought I need a simple software that simulates the KeyEvent of Fn+-. It's function on the notebook keyboard is to en- or disable th 3G-module.

An option would be that I find out the 3G module's hardware-ID and activate it. (Apparently it uses 1 network device and 4 COM-ports in the device manager...)

I already discovered Google and found these threads:

Unfortunately these threads don't give me a solution...

Now my question: What method would be more simple?

  • simulating the Fn-KeyPress
  • getting the hardware-IDs and acitvating them

And then... how to solve that problem in an easy way?

I hope the given Information will help you to help me. :)

Additional info: the solution may be in C#, BATCH or even registry "hacks". I just want that 3G module to be turned on!


//EDIT: Playing with the hardware-ID will NOT work! After a restart, it's simply not in the device manager. Only after I once activated Fn+- it's listed there. So is there any other way to just switch on 3G?

1

There are 1 answers

0
Aiden Grossman On

To simulate a keyboard event you should be able to create a new keyboard event which will simulate a keypress in C#. example

keybd_event( VK_NUMLOCK,0x45,KEYEVENTF_EXTENDEDKEY | 0, 0 );