 |
|
 |
Thank for this program. When I click the Start Recording button the mouse cursor disappears shortly afterwards (within 1 second). Is anyone else having this problem? And can anyone suggest why it might be happening? I'm using Windows XP Home SP2.
|
|
|
|
 |
|
 |
How do I rewrite this to work under Vista, given that journal hooks no longer work? I only want to be able to capture and play back user input within my own application.
I've read that the hooks will work if the application is signed + has a manifest + is installed under program files, but that isn't going to happen.
Can it be done using WH_KEYBOARD and WH_MOUSE hooks?
|
|
|
|
 |
|
 |
I used your idea to create a keyboard hook I needed to move graphic element on the screen.
JR
|
|
|
|
 |
|
 |
Excellent Article!
Thanks a lot for posting such a great article.
I need a help.....
How can I edit recorded events....? The file is stored in binary format.
I tried with CFile::typeText.
But No luck...
Any idea would be appriciated..
Thanks
muthu
|
|
|
|
 |
|
 |
Any idea how to capture the time user types the keyboard. Example. prompt the user to type 100 characters,then calculate.
imagica
|
|
|
|
 |
|
 |
Is it possible to do journalRecord and journalPlayback on Windows CE? I tried it but in vain!
|
|
|
|
 |
|
 |
BTW, the WH_KEYBOARD_LL hook ID works very well on CE
Referring
Windows CE Developers FAQ[^], I cannot hook JournalRecord and JournalPlayback successfully, however!
|
|
|
|
 |
|
 |
Because the exception object is being captured by value VS is throwing the error. Simply catch it by ref and it should resolve the issue.
Below are the appropriate changes to get this to compile.
catch(CFileException* e) {
TCHAR szCause[255];
e->GetErrorMessage(szCause, 255);
MessageBox(szCause, "Error saving file");
f.Close();
return;
That's it!
www.PrimoPDF.com
Because PDF Creation should be free.
|
|
|
|
 |
|
 |
Monitorize mouse global events in WINDOWS-CE;
Hello,
I'm working in VISUAL C++ embedded 3.0. with Windows CE. My goal is to monitorize mouse global events.
By the moment I'm working with a WH_JOURNALRECORD global hook that catches all input global events of the
operating system, basically keyboard and mouse events. But when I catch a mouse event, it only gives me
information about the application that receives this event, and the position (x,y) where the user pushes
in the PDA's screen. I want to know, for example, if the user clicks one option in a menu, so what option
the user clicks, or if it clicks a desktop icon, so i want to know icon's name, and so on.
I want to make a program for windows CE mobile devices, like Smartphones and PocketPCs, and the goal of the
program will be monitorize all mouse global events in order to help the user in his navegation in the system. I
want to make a program like "Narrator.exe" of Windows XP, that processes all mouse events and after a speech
voice synthetizer says the option that the user clicks. Is this possible in Windows CE? Microsoft says that NO,
because in windows ce isn't support COM Architecture due to the specific capabilities of the hardware in the
mobile devices because we are speaking of embedded systems.
So, someone can help me, please?
Thank you very much,
SIncerely,
javitobcn
hola
|
|
|
|
 |
|
 |
Hi,
I am a naive WinCE developer. I have to trap all mouse events globaly. I am using WinCE 4.2. Can you tell me that what value you used for WH_JOURNALRECORD. As I am using #define WH_KEYBOARD 20. its working for keyboard, but mouse I have to secrh yet.
Please help, its urgent.
Thanks,
Rahul
|
|
|
|
 |
|
 |
hi,
While saving recorded events it stores as macros instead i want to write as text how can i do it. can u help me to find solution.
Regards
sai.
|
|
|
|
 |
|
 |
Hi,
While this demo. show they way to let the user stopping the record hook by Ctrl+Break, I would like to do this with Ctrl+C also. I have played with the HIBYTE and LOBYTE but getting nowhere. Could someone suggest a way please. Thank you in advance.
Will
|
|
|
|
 |
|
 |
One of the greates demo of setting journal hooks I can find. Thank you very much. One question, it seems the check box "Only Keyboard Event" doesn't work. Looking at the code I can find no clue. MSDN not helping either of how to check for a mouse message in the EVENTMSG structure. Any insight would be grateful.
Will
|
|
|
|
 |
|
 |
Believe I found the answer on a Delphi site. The EVENTMSG's message = WM_MOUSEMOVE tells it is a mouse message.
Will
|
|
|
|
 |
|
|
 |
|
 |
The return value of the JournalPlaybackProc() (in my source the name of this finction is JournalPlaybackFunc()) is the time Windows waits before to call the hook again with the next event.
This time is calculated by the divverence between EVENTMSG.time of two sequencial events.
|
|
|
|
 |
|
 |
Did you ever solve this problem.. Because I have the same problem.. I tried it with the orginial source and this seems to have a problem as well..
Any Ideas..
Thanks
|
|
|
|
 |
|
 |
When I start recording, and press down the right key of the mouse, a popup menu will appears, and I can select a item...
but when I playback the the events recorded currently, the popup menu appear and disappear quickly, and don't select any item...
Maybe the return value(wait time) of the playback events is shorter than the original interval time between two neighboring events. And the mouse move events are ignored.
But I can't correct the bug.
Who can do it?
navy
zhouhj@mails.tsinghua.edu.cn
|
|
|
|
 |
|
 |
It isn't the problem of the return value(wait time).
Maybe we can't ignore the nCode of HC_NOREMOVE.
I am debugging...
navy
zhouhj@mails.tsinghua.edu.cn
|
|
|
|
 |
|
 |
Hello,
a little problem ... when you record f.e. 11+NEWLINE and start the makro twice with ALT+P the NEWLINE comes not up ...
Can somebody help ????
Regards
Manfred
|
|
|
|
 |
|
 |
I use your code and it work well on Windows NT and Windows XP. I modify it to get window title of window under cursor or the window who have the focus if it a keyboard message, like this it possible to playback very quickly without wait between each event. I just wait on button down or key down for the good window title
Best regards
|
|
|
|
 |
|
 |
damn now my computer keeps crashing don't install it or you'll be sorry.STAY AWAY FROM THIS ONE
|
|
|
|
 |
|
 |
Sorry but I load source file, compile and link it and this program work very well on Windows NT and Windows XP. I don't understand this message
|
|
|
|
 |
|
 |
works fine for me too. Excellant.
|
|
|
|
 |
|
|
 |