send key

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
 
T

Torgeir Bakken \(MVP\)

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/
)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top