1 Hints for using the Recorder with Windows Vista and Windwos 7
Question: Does the Mouse and Key Recorder also work with Windows Vista and Windows 7 ?
Answer: Basically the Mouse and Key Recorder works with Windows Vista / Windows 7, but…
Microsoft changed different things in Windows Vista, which affect the macros in the Mouse and Key Recorder.
Reading pixels has become extremely slow in Vista when using the new function "Windows Aero". That means that the commands {{WaitForScreenChange and {{FindPattern are virtually useless with Windows Aero. Solution: Using Version V6.7. In this version these commands work also in Aero Glass Mode.
Installing: During installing the question: "A file is not newer. Do you want to keep this file ?" appears several times. Just click the recommended Yes.
Other effects: Windows Vista got some new forms e.g. File selection. Therefore the old workflows sometimes do not work any longer. They need to be adapted to the new workflow. There are even forms which do not have the focus after the open. Then a mouse click needs to be inserted into the macro.
In Windows Vista it is no longer possible recording key strokes and mouse clicks in a browser (e.g. Internet Explorer). (Reason: Measures against viruses and Trojan horses which want to do password pishing). To be able recording mouse clicks anyway, the menu: 'Insert' / 'mouse entry' was added. For entering key strokes change to another window e.g. Notepad, or enter the text in the Recorder edit window. Another side effect of this restriction is, that the pause/stop hotkeys do not work if the focus is on the browser.
The Clipboard works slower in Windows Vista. Therefore after a ^c (CTRL C) a delay (e.g. 100 ms) is often necessary before a command like {{SetVar1 {{ClipBoard} can be used. Without the delay often the old clipboard value is used. In version V6.1 (and later) a small delay is already built in, that means with this and following versions the problem should not appear.
|
4 Installation fails: Needs multiple reboots
Question: I want to install the Mouse and Key Recorder. The installation asks for a reboot. After rebooting and restarting the installation it asks again for a reboot… again and again and again… What can I do to be able to install the Mouse and Key Recorder ?
Answer: There are several possible reasons for such a behavior. Often files, which need to be updated, are locked by other running applications. Therefore try to close all running programs before you install the Recorder. (Also the ones in the System Try, [lower right hand corner of the screen]). If this does not help (because not all programs could be closed) then you should install the Recorder in protected mode. To get into the protected mode, click F8 at the beginning of Windows booting. For more information about this topic see the following Microsoft page: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q191096&
|
6 I get a run time error stating comdlg32.ocx is missing
Question: I get a run time error stating, that comdlg32.ocx is missing. What can I do ?
Answer: By installing and de-installing Visual Basic applications it can happen, that something goes wrong. (Wrong file, wrong Registry entry.) See the following addresses for possible solutions: http://www.pbdr.com/vbtips/gen/cdlg32er.htm http://www.snapfiles.com/help/missingfiles.html http://support.microsoft.com/default.aspx?scid=kb;en-us;192461
|
7 I get run time error 424 or error 5 when I start Recorder
Question 1: I tried to install the Mouse and Key Recorder on my Windows NT 4.0. During the Installation I got some errors. Afterwards I got Run Time Error 424 when I tried to start the Recorder. What can I do ?
Question 2: I want to use the Recorder on many PCs in our company (I have a site license) On some Windows 2000 and Windows XP I get a run time error 424 or run time error 5. When I give the users Administrator rights then it works. But this is not allowed in our company. What can I do ?
Question 3: I get a Run time error 5 also as administrator. What can I do ?
Answer 1: The Mouse and Key Recorder needs a Microsoft Internet Explorer V5.0 or higher on the PC where you install the Recorder. Most PC contain a modern IE, but especially Windows NT which came without an IE often contains no IE or an old IE. Other reasons for error 424 can be errors during installation, or access rights problems. Measures: - De-installing Recorder, rebooting, closing all programs, installing Recorder with administrator rights. - Grant your own account administrator rights.
Answer 2: During initialization the Recorder reads existing 'Scheduled Tasks'. If the C:\Windows\Tasks directory is access protected for the actual user or if the 'Scheduled Task' parts have an error then the Recorder crashes when it tries to read the tasks. For changing the access rights see: (Be careful with this command, communicate with your IT first)
For patches for the 'Scheduled Task' parts see: http://support.microsoft.com/default.aspx?scid=kb;en-us;812400 http://support.microsoft.com/default.aspx?scid=kb;en-us;830924
If you are not allowed to change the access rights then ask Krat-Tronic Corp. for an improved Recorder version which will not crash during start. (even with no access right). Contact: http://www.kratronic.com/tools/contact/kratronic-email.html
The next Recorder version (V5.6) will not crash any more if 'Scheduled Tasks' are protected or defect.
Answer 3: Often a corrupt component on the PC is the reason. On one PC the following helped: The Recorder was installed on drive C: By installing it on Drive D: the run time error 5 disappeared…..
|
10 I can not make my scheduled macros run (Scheduled tasks)
Question: I set up Scheduled Tasks according to the manual. But the macros do not work. What is wrong ?
Answer: The manual V5.2 contains wrong parts…. here the corrected chapter:
Hints: The Mouse and Key Recorder uses the built in Windows function "Scheduled Tasks". Therefore for Windows 95 and Windows 95 at least Internet Explorer V4.0 is necessary for using this function. Windows NT, 2000 and XP would allow to run the 'Scheduled Tasks' even then when nobody is logged in, or to run under another Windows user. For most macros this is not possible, because for sending mouse clicks and key strokes a visible window is necessary. (Scheduled tasks run in the background without a visible window if nobody is logged in, or if they run under a different user). Macros without mouse clicks and key strokes can run in the windowless background.
Security thoughts As mentioned earlier on, the PC needs to be in a logged in state, if a macro e.g. at midnight has to run. It is also not possible to use a password protected screen saver, because the Recorder cannot unlock it. (For security reasons CTRL ALT DEL can just be entered by a real keyboard) That means the PC is open all night for all who have physical access to the PC. A specialized screen saver can be downloaded from the following address: www.kratronic.com/tools/recorder/sw/ScreenLock/ScreenLock.zip
This screen saver protects the PC reliably, but it allows the Recorder to unlock it, and to lock it again after the macro has run. Small disadvantage: During the macro run the PC is open. But this cannot be avoided, since the Recorder acts as a simulated human being sitting in front of the keyboard and mouse.
The remaining chapters in the help are correct and can be found there.
|
12 I cannot install the Mouse and Key Recorder
Question: I tried to install the Mouse and Key Recorder on my Windows XP Professional. I got a message: 'Setup can not continue because some system files are out of date on your system'. Well, I clicked 'update', but after the required reboot the same message appeared. That means I cannot install the Mouse and Key Recorder. What can I do ?
Answer: This can happen if "wrong" versions of certain files are on your PC. In one case it was the file hhctrl.ocx which caused the problem. The solution was: Double-clicking Recorder.cab (after unzipping the Mouse and Key Recorder zip file). Extracting hhctrl.ocx and copying manually to C:\Windows\System32. (Or C:\WinNT or the name your windows system directory has.) On Windows 98, ME the path is: C:\Windows\System. Now the installation works.
|
13 Is there a site for example macros ?
Question: Lots of people are writing Mouse and Key Recorder macros. It would be nice if there were a site for example macros. That way the 'wheel' has not to be invented by everyone again.
Answer: There is no such site. But there are some sample macros to the end of the FAQ page. If you have written a cool macro of common interest please send it to me. The e-mail address you can find in: www.kratronic.com/tools/recorder
I will add the macros to this page. By the way, the manual contains also some example macros.
Keep in mind: During the installation the file „RecTest.zip“ was installed to the directory you have chosen for the Mouse and Key Recorder. You can extract the files in RecTest.zip archive to the directory C:\RecTest. The macros you find there have been used to test some aspects of the Mouse and Key Recorder. The macros are written that way that they should work on all Operation Systems and all languages. Simply start the macro: „RTestMaster.krc“. If you have extracted the files to C:\RecTest then all macros should be called automatically.
|
27 Changes for Version V7.0
Question: Which changes have been made for version V7.0?
Answer: The following changes have been made for version V7.0:
Changes
Improved
New
The document: Recorder-Delta-EN-V6.7-7.0 shows all changes.
|
27a Changes for Version V6.7
Question: Which changes have been made for version V6.7 ?
Answer: The following changes have been made for version V6.7:
New function:
Improvements:
|
27b Changes for Version V6.6
Question: Which changes have been made for version V6.6 ?
Answer: The following improvements have been made for version V6.6:
|
28 Changes for Version V6.5
Question: Which changes have been made for version V6.5 ?
Answer: The following improvements have been made for version V6.5:
|
29 Changes for Version V6.4
Question: Which changes have been made for version V6.4 ?
Answer: The following improvements have been made for version V6.4:
|
30 Changes for Version V6.3
Question: Which changes have been made for version V6.3 ?
Answer: The following improvements have been made for version V6.3:
|
31 Changes for Version V6.2
Question: Which changes have been made for version V6.2 ?
Answer: The following improvements have been made for version V6.2:
|
32 Changes for Version V6.1
Question: Which changes have been made for version V6.1 ?
Answer: The following improvements have been made for version V6.1:
Corrections:
|
45 Sample Macros
In the Mouse and Key Recorder Help you can find additional examples. (Chapter: Macro Examples)
|
45.5 Catching a screenshot all 5 minutes
The next example catches a screenshot of the Recorder every 15 minutes and saves them to a Word document.
{{SendTextSpecial} {{Label Start {{Switch #MKRX5# {{SetVarStartTime {{SerialTime} {{SetVarEndTime {{VarStartTime} {{IncVarEndTime 300 {{' Seconds = 5 Minutes {{Label Start2 {{Delay 300} {{' Milliseconds {{If {{SerialTime} > {{VarEndTime} ;{{Goto Continue; {{Goto Start2 {{Label Continue %{PRTSC} {{Switch Microsoft Word ^v {ENTER} {{Goto Start
|
45.6 Creating random numbers for lottery
This macro generates random lottery numbers. Technique: The problem when generating lottery numbers is the requirement, that each number must occur just once. But a random generator can also generate two or three times the same number… We could check each number against each other.. This would need 45 comparisons for a 10 number game.. and it needs a complicated loop control.. So we use an array and we put each number to the same location in the array as the number. E.g. the number 39 goes to array location 39. So, if we find an already occupied location in the array we know it is a double number and we try again. Initialization: Here we set the borders.. No. of balls, max. number. Part 1: This cleans the array. This is necessary since variables in MKR survive macro load, MKR new start and even a PC reboot. Part 2: Here we run the random generator and fill in the numbers into the variable bingo and also into the array. Part 3: Here we convert the numbers to strings and add a zero if necessary. This is required for the following sort function. Part 4: Sorting the random numbers. Part 5: Creating a string with all numbers for output by MessageBox.
{{' Initialization {{SetGenDelay 0 {{SetVarNoOfBalls 6 {{SetVarMaxNo 42
{{' => Part 1 {{SetVarCounter 1 {{Label Prepare {{SetVarArray{{VarCounter} 0 {{IncVarCounter 1 {{If {{VarCounter} <= {{VarMaxNo} ;{{Goto Prepare;
{{' => Part 2 {{SetVarCounter 1 {{Label Start {{SetVarBingo{{VarCounter} {{RandomNumber 1,{{VarMaxNo}} {{If {{VarArray{{VarBingo{{VarCounter}}} <> 0 ;{{Goto Start; {{SetVarArray{{VarBingo{{VarCounter}} {{VarBingo{{VarCounter}} {{IncVarCounter 1 {{If {{VarCounter} <= {{VarNoOfBalls} ;{{Goto Start;
{{' => Part 3 {{SetVarCounter 1 {{Label Convert {{If {{VarBingo{{VarCounter}} < 10;{{SetStringBingo{{VarCounter}} 0{{VarBingo{{VarCounter}};{{SetStringBingo{{VarCounter}} {{VarBingo{{VarCounter}} {{IncVarCounter 1 {{If {{VarCounter} <= {{VarNoOfBalls} ;{{Goto Convert;
{{' => Part 4 {{Sort STRING, Bingo, 1, {{VarNoOfBalls}, {{False}
{{' => Part 5 {{SetVarCounter 1 {{SetStringOutput Numbers: {{Label Output {{SetStringOutput {{StringOutput}{{StringBingo{{VarCounter}}#spaceX5##spaceX5# {{IncVarCounter 1 {{If {{VarCounter} <= {{VarNoOfBalls} ;{{Goto Output; {{MessageBox {{StringOutput}
|
45.8 MP3 Pre-Number remover
This macro removes the pre-numbers added by the above macro (MP3 Randomizer) Hint: To make the macro faster set the Line Delay to zero.
{{Ask1 MP3-Path |{{StringPathToMP3Files} {{SetStringPathToMP3Files {{WriteAsk1} {{Ask1 Position where the normal file name starts |{{VarPosition} {{SetVarPosition {{WriteAsk1} {{CreateDir C:\Temp {{ScanDirectories {{StringPathToMP3Files} | *.MP3 | {{False} | C:\Temp\DirList.txt |{{True} {{ImportFile C:\Temp\DirList.txt {{ImportSeparator >
{{Label Start {{SetString1 {{DoImport} {{SetString2 {{DoImport} {{SetString3 {{DoImport} {{SetString4 {{DoImport} {{SetString5 {{DoImport} {{SetString2 {{Mid {{String2} | {{VarPosition} | -1} {{RenameFile {{String1} | {{String5}{{String2} {{If {{ImportNextLine} = {{True};{{Goto Start;
|
45.9 Babylon ReplacementKeyWords: Babylon alternativ, Babylon Substitution, replacement, solution
The Babylon translation program (babylon.com) is quite good, but has become very, very expensive. Recently a new rule allows using Babylon allows it just on one PC, despite if you have several PCs you can't work on all of them at the same time...
The following macro can be used as a substitute for Babylon. It copies the selected word, starts the free translation program LEO.org and enters the word.
{{Minimize} ^c {{Delay 300} {{' Milliseconds {{Start åC:\Program Files\Internet Explorer\iexplore.exeå http://dict.leo.org/?search={{Clipboard}
Maybe the path to iexplore needs to be adjusted and a hotkey defined, then you are nearly as fast as Babylon and you use even a much better dictionary than Babylon.
If you use another language than German or English you need to adjust the leo.org address.
|
|
|
|
|
|
|