send key

  • Thread starter Thread starter webrod
  • Start date Start date
W

webrod

Hi,

i have an application which starts with windows.

It can records sound when i press "ctrl+alt+s", and stop when i press
"ctrl+alt+e".

I don't need to be in the program window.
For example, while i am writing this message with IE, if i press on
"ctrl+alt+s", it uses my microphone to record a sound.

How can i simulate these keys with a script (perl, vb etc etc)??

I tried to do it with vbs and excel using:
senkey "^%E"

but this is not working!!

I also used google and looked for "sendkeys.exe" software but they use
the parameters:
sendkeys.exe program_path keys

But i don't want to run the programm, it is already started.
All these software send keys to a specific program (and start the
program before), that's not whant i want.
I don't want to send keys to a software, i just want to simulate keys.

Do you have any idea??
(i apologize for my english)


thanks you very much

Rodolphe
 
webrod said:
i have an application which starts with windows.

It can records sound when i press "ctrl+alt+s", and stop when i press
"ctrl+alt+e".

I don't need to be in the program window.
For example, while i am writing this message with IE, if i press on
"ctrl+alt+s", it uses my microphone to record a sound.

How can i simulate these keys with a script (perl, vb etc etc)??

I tried to do it with vbs and excel using:
senkey "^%E"

but this is not working!!
Hi

Maybe AutoIt or AutoItX works better for you.

AutoIt/AutoItX
http://www.hiddensoft.com/autoit3/index.php

AutoItX.dll is an ActiveX control version of AutoIt and
can be used from e.g. VBScript/Jscript.

(For an earlier non-beta version of AutoItX, go to
http://www.hiddensoft.com/AutoIt/
)
 
Back
Top