in Education by
I need help on how to implement support for recording user events in a .net application just like macro in office. SO if the user records his actions, all the things he performed will be re executed. Some other apps like Notepadd++ has this feature too, i don't know if this is possible in .net thanks EDIT I saw this article in code project Writing a Macro Recorder/Player using Win32 Journal Hooks that does hooking to mouse and keybord, how does one do that in .net JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
I've implemented that in one of my applications. I used a command pattern in my architecture. The record button in the application sets a RecordingFlag. While the RecordingFlag is true, store all the executed commands (read Command pattern first to understand this) until RecordingFlag is false (user push record button again). Running the recorded macro is just iterate the stored commands and execute them in order.

Related questions

0 votes
0 votes
    What is current state of the art for enabling OpenID login in Ruby on Rails applications? This is a ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 19, 2022 in Education by JackTerrance
0 votes
    Does Server Core 2008 support asp.net? I see references online saying that it isn't supported, but they ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 25, 2022 in Education by JackTerrance
0 votes
    Does Server Core 2008 support asp.net? I see references online saying that it isn't supported, but they ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 24, 2022 in Education by JackTerrance
0 votes
    Does Server Core 2008 support asp.net? I see references online saying that it isn't supported, but they ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 24, 2022 in Education by JackTerrance
0 votes
    _________ are the special type of programs used for recording and tracking user's keystroke. (a) Keylogger (b) ... Security questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 5, 2021 in Education by JackTerrance
0 votes
    It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jan 16, 2022 in Education by JackTerrance
0 votes
    Q43. Which option can be used to add your own video recording in the Insert Learning Lecture? O Adding Sticky ... O Adding a comment Select the correct answer from above options...
asked Dec 20, 2021 in Education by JackTerrance
0 votes
    _______ is the practice and precautions taken to protect valuable information from unauthorised access, recording, disclosure or ... and answers pdf, mcq on Cyber Security pdf,...
asked Nov 5, 2021 in Education by JackTerrance
0 votes
    The log is a sequence of _________ recording all the update activities in the database. (a) Log records ... , Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    The actions which are played in the order while recording it is called ______________ history. (a) Repeating ... Recovery topic in division Recovery System of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    What is the default recording mode in QTP?...
asked Oct 19, 2020 in Technology by JackTerrance
0 votes
    Which recording mode records the X and Y coordinates of a mouse operation?...
asked Oct 19, 2020 in Technology by JackTerrance
...