 |
|
 |
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?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Any idea how to capture the time user types the keyboard. Example. prompt the user to type 100 characters,then calculate.
imagica
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 1.67/5 (3 votes) |
|
|
|
 |
|
 |
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 
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 1.83/5 (3 votes) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Believe I found the answer on a Delphi site. The EVENTMSG's message = WM_MOUSEMOVE tells it is a mouse message.
Will
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
|
 |
|
 |
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 3.00/5 (3 votes) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
damn now my computer keeps crashing don't install it or you'll be sorry.STAY AWAY FROM THIS ONE
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
your application is excellent! Have you tried running a journal created on one pc with monitor size q and screen resolution x on another system with monitor size r and screen resolution y? I was hoping to use journaling as a tool for users to show me how to reproduce problems they are encountering, and of course there's no guarantee we'll have the same monitors or resolution.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |