Mouse and Key Recorder Forum

 

Old entries / Alte Einträge

 

Content / Inhalt

 

1      {{Instr blind?. 6

2      RUN-TIME ERROR 13 Type Mismatch - A Solution. 7

3      Using with Adobe After Effects. 8

4      web browser -- strokes not recording. 8

5      Opening the Windows XP start menu. 9

6      String's sind nur mit "." ausgebar. 9

7      Automatically run a macro on resuming from hibernation?. 10

8      Installing problem - error code 0x000000C1H.. 12

9      i have a problem can u please help. 13

10        Mausposition merken, Klicken und zurück. 14

11        Sending Keystrokes to a Relative Window in Background.. 15

12        Printing out single Letters of a String. 15

13        {StringWaitForKeyX55}. 16

14        How can I find the difference between 2 dates. 18

15        Switching windows using Ctrl-Alt-Shift-F12-F12. 18

16        Set Loop count inside a macro. 19

17        Switching between windows without windowname (Oracle Based). 20

18        Can the program ignore errors?. 20

19        step by step instruction. 21

20        i get eror when i puss buton runtime 31002. 22

21        Can macro be scrambled?. 22

22        Auto Redialer for PeoplePC. 23

23        alt ctrl del 24

24        Can the program play my actions faster. 24

25        if MAUSKLICK then .... 25

26        Einfache Tastenfolge. 26

27        Anfängliche Verzögerung beim Makrostart ausschalten. 27

28        Problems clicking or dragging. 27

29        This script fails on goto command, why?. 28

30        loops. 29

31        lallaa. 29

32        web site copying. 30

33        find out the ip-adress of a PC. 32

34        Command to ask for numeric input to a var. 32

35        fehlermeldung beim start. 33

36        Ausgabe in Tastaturbuffer. 34

37        start recorder from command line/another program & recor. 34

38        Please Help, trying to use {{CheckFocus. 35

39        finding a link. 36

40        FindPattern. 36

41        linux. 37

42        Can I upload a macro onto a website?. 38

43        Is there a way to "randomize" relative mouse?. 38

44        Ask dialogue can't get focus. 39

45        Resume on Error. 40

46        Recorder funktioniert nur teilweise unter virtuellem Fenster. 41

47        AND command, MouseClick on Pointer's position??. 41

48        Add text to Outlook contacts. 42

49        DoImport problem mit text der mit [ anfängt. 43

50        connect strings / Textkette. 43

51        richtx32.ocx. 44

52        ClipBoard = ClipBoard - 1. 45

53        How to check the character space/" " on the clipbo. 45

54        Holding Down Keys. 46

55        i cnt plz help. 46

56        Date Problem and DosCommands. 48

57        Information about Run Time Error 5. 49

58        Operating System plz help me (URGENT). 50

59        Logik. 51

60        Date Minus 1. 51

61        Find Patter / finde Muster. 52

62        question. 53

63        Runtime error 7 - out of memory. 53

64        Gits was, dass dieses Programm beschleunigt?. 54

65        Store mouse coordinates in variables. 55

66        wont work for me??. 55

67        Switch to previous window using Alt + Tab?. 56

68        mausklicks ohne mausbewegungen ?. 57

69        click command?. 58

70        Kann ich die Eingabe z.B. von Ask1 für ein Kennwort ausgraue. 59

71        Ausgabe in Tastaturbuffer. 60

72        Laufzeit. 61

73        runtime error 5. 62

74        Screen print. 64

75        Dolmport did not work under Win2000. 65

76        The Program doesn't working. 66

77        Macro Compiler !. 67

78        a simple f2 key sender (rubies of eventide). 68

79        Read Next Line in Loop Question. 69

80        Cr and Ln. 70

81        How?. 70

82        Cannot get recorder to click a window.. 71

83        Ask und Write Problem.. 72

84        StartAndWait command used to start another recorder?. 73

85        Colour help. 73

86        run-time error "31002" 74

87        Clipboard. 75

88        Getpixel 75

89        win2k. 76

90        Open Windows with specific position. 77

91        load macro. 78

92        Cannot attach pdf file to Microsoft Outlook message. 79

93        {GetPixel x, y} Farbsystem, {{WaitForScreenChange}. 80

94        {Switch command. 81

95        White Cards" bei Vergleichoperation??. 82

96        Runs only as administrator. 82

97        I can not make Alt-D working. 83

98        Minimize to tray icon / drop down menu. 83

99        OR Command. 84

100      Help !!!. 85

101      Complete example of a Script. 86

102      Help with depressing hotkeys. 87

103      Stop Recorder during play. 88

104      Probleme mit den F-Tasten. 88

105      Graphical Error in MKR?. 89

106      cannot start key recorder. 89

107      too many windows error message. 90

108      Mouse Parameter. 91

109      run in background. 92

110      Problem with Window Name. 93

111      Problem with using Delay. 94

112      strange behavior. 94

113      Why do I have to register to enter a forum contribution ?. 95

114      Problem with duration of keyboard commands. 96

115      Problem with program not recognizing mouse movements. 96

116      on/off Trigger?. 97

117      Logbuchfunftion im Hintergrund. 98

118      Verzögerung bei Klicks verkürzen. 99

119      Texte aus Speicher auslesen und vergleichen??. 100

120      kann der recorder einen ziffern-string in eine numerische Za. 101

121      Problem with the combination of keys. 102

122      Active Window.. 103

123      DoImport setting as a Var. 103

124      Makro verabschiedet sich nach 2-3h mit OpenOffice. 104

125      Detect Mouse and Key Recorder. 105

126      timing how long mouse was pressed. 105

127      Switching. 106

128      Is Mouse and Key Recorder still free to try?. 107

129      Logging function. 107

130      Starten von Makros aus EXCEL heraus. 108

131      Problems installing. 109

132      Counter spy says file dwshk36.ocx is sypware. 110

133      Beep stopped working. 111

134      Older Version.. 111

135      Clipboard in String kopieren-bek.Problem Sonderzeichen. 112

136      Run-time error '521' Cant'open Clipboard. 114

137      Pasting into a script file running in a DOS window.. 115

138      var-Dateien sperrbar?. 116

139      Frage zu {{Inc}-Befehl 117

140      Mouse Position. 118

141      Run-time error '310021' 119

142      why don't write keyboard in terminal service ?. 120

143      header / Tools / Options not showing for Recorder Window.. 121

144      Buying Mouse and Key Recorder is easy. 122

145      Where can I buy Mouse and Key Recorder?. 123

146      import file. 123

147      Scheduled Task Multiple Users. 125

148      How to kill without the Alt/Fn Pause Key. 125

149      Teil aus einer txt zufällig importieren. 126

150      Funktionieren die Makros auch ohne das das Programm installi 127

151      How can I write to a file after importing text from it?. 128

152      How Do You Set Arrow Keys Into A Macro. 129

153      IExplorer versetzt nach Schließen des Fensters Computer in &.. 130

154      resolution. 130

155      resolution. 130

156      problem installing after reformat. 136

157      {Label is not working. 137

158      {n} doesn't work. 138

159      CheckWindow.. 138

160      lesen aus GUI 140

161      {beep doesnt work. 140

162      Featurerequest: Macro unterbrechen und fortführen. 142

163      WaitForIEReady doesn't work anymore. 142

164      using MKR to control a dos application. 145

165      What is new in Ver5.4 ?. 145

166      Clipboard to String-Problems with {([+~ etc. 146

167      {Clipboard} misbehavoir with "%" character. 147

168      Scheduling. 152

169      runtimer error 424. 153

170      mouse movement. 154

171      Laufzeitfehler 5 helft mir. 155

172      cannot kill macro. 155

173      Macro crashes after about 2.5-3 hours of use. 156

174      Upgrade. 157

175      Non EXE file extension. 158

176      Findpattern viewer. 158

177      GetPixel 159

178      Search and Replace-. 160

179      Zeichen in einem String ersetzen. 161

180      Send video to someone?. 162

181      CapsLockOff erratic result. 164

182      Wie kann man das FlashBox Fenster positionieren?. 164

183      I want to use F1 thru F12 keys only - and no other prefixes. 165

184      Coming out of hibernation ?. 166

185      Simple Macro Menu. 166

186      Holding specific keys. 167

187      Find Pattern Farbe ignorieren :?:. 168

188      using varibles. 170

189      in the next version of this spectacular program..... 171

190      Periodic error during macro run. 172

191      Can I record the mousewheel ?. 173

192      How do I get this to work with the SIMS online???. 174

193      RECORD KEY AND MOUSE MOVEMENT IN REAL TIME. 174

194      Macro drops control back out to MKR. 175

195      Failure when run through Windows Remote Desktop Connection. 176

196      free mouse movement while a macro left click constantly. 179

197      Constant Right Click. 180

198      Need some suggest~about timer counter & Web click correc. 180

199      Recorder freezes on print. 182

200      Wait for key. 182

201      Upgrade V5.2 to V5.3 MKRecorder. 184

202      {Switch {{String1} - posible ?. 185

203      Scheduler and hot keys don't work. 185

204      Get Pixel Color. 186

205      Switch problem.. 188

206      Mouse down feature ?. 189

207      loops. 190

208      reading windows. 191

209      Macro to open up a specific URL in IE7?. 192

210      wow.. 192

211      Checking to see if folder exists?. 193

212      Is pixel sampling possible?. 194

213      Errors in recorder. 195

214      Star Wars Galaxy problem moves cursor, but will not click. 196

215      HUGE error in {{If {{GetPixel command. 197

216      Warten auf Sanduhr Ende???. 197

217      Screen print. 198

218      Check Button names with mkr?. 199

219      Mouse movement. 200

220      Auslesen aus Browser und verwerten sowie IF-Funktion. 201

221      Rounding. 202

222      warte auf ?. 202

223      Datei in Fenster auswählen. 203

224      Problem mit {{Goto. 205

225      Please, HELP me with symbol " (quotation marks). 205

226      Problem using GetPixel 206

227      Feld auf Inhalt auslesen?. 207

228      Program BUG.. 209

229      Ctrl Ctrl+/-. 209

230      Autom. Ende bei Abspielfehler?. 210

231      Combining RandomNumber and RandomString. 211

232      Order for {{Switch. 211

233      Herstellerangabe: Suchen von Mustern auf dem Bildschirm ?. 212

234      command line argument with parentheses. 212

235      Can m & k recorder run in 2 applications simultaneously?. 213

236      MKR suggestion. 214

237      Key combinations for Screen Capture do not seem to work. 215

238      Zeilenimport und Zeile löschen ?. 215

239      Waiting for a Dialog Box to continue Script. 216

240      ALT key codes and Internet Explorer 7.0. 218

241      Mousing issue. 219

242      waitforkey. 220

243      Reliability spotty with key executions?. 221

244      Bestimmte Texte aus einer Webseite in ein Textfile kopieren. 222

245      Find patten. 226

246      noch ein wunsch für die neue version.. 227

247      Getting code from Text file. 228

248      Zeilenimport aus einer txt. Datei 229

249      Anderes Macro nach der letzten Schleife ausführen.. 230

250      Macromedia keine Reaktion. 230

251      Duplicate desktop. 234

252      Why do I have to register to enter a forum contribution ?. 235

253      Any way to call/play a .WAV or other sound file?. 235

254      Remote Desktop. 236

255      warten auf Fenster im IE7. 236

256      Zeitmessung. 237

257      active x. 237

258      how to do Master Macro with branch and jump to?. 238

259      Schleife mit verschiedenen dateinamen. 239

260      Help.. 240

261      Using MKR for control download speed. 241

262      fullscreen. 243

263      Delays. 250

264      Firefox: WaitForFirefoxReady Function. 251

265      web adresse eingeben nach Start Internet Explorer. 251

266      change password?. 252

267      Maus und Tastatur sperren. 253

268      Ctrl + Alt. 254

269      Hack Protection?. 254

270      stop the macro. 255

271      find a text in a web page. 256

272      Sample Macros Hi Im new.. 257

273      Ergebnis einer Formel auslesen in Excel mit M+K Recorder. 260

274      Wiederholen e.Makros x Mal und Pause bis Seite geladen ist. 261

275      Calculate serial date difference. 262

276      CheckWindow.. 264

277      Vergleich von String-Variablen. 265

278      {{ALT {{CTRL {{SHIFT. 266

279      Just a question. 267

280      change mouse position. 268

281      Findpatern I do not get it?!. 268

282      multiple ASK commands givng same value.. 270

283      Arbeiten mit Varaiblen. 270

284      Why do I have to register to enter a forum contribution ?. 271

285      Maustaste soll gedrückt bleiben. 271

286      setup cannot continue because...... 272

 

 

 

 

 

 

 

 

1           {{Instr blind?

 

 

   

   Kra-Tronic Corp. Forum Index -> Mouse and Key Recorder

 

 ::   

Author

Message

van_dell



Joined: 04 Oct 2007
Posts: 2

Posted: Thu Oct 04, 2007 2:26 am    Post subject: {{Instr blind?

 

Hi,

hier ein Ausschnitt aus dem Log:

Code:


03/10/2007; 7:10:48 PM   (127.633 s)
{{SetStringAngriffsstärkensuche} {{Clipboard}
{{SetStringAngriffsstärkensuche}    Buran - Haus der Schatten
Ein verfallenes Haus in dem der Wind die Lieder der Toten spielt. In einer Dachrinne des Hauses hat sich etwas Wasser angesammelt. Ein Geist welcher leicht transparent schimmert, schwebt vor dem Haus und spricht zu dir: "Wir Geister sehen die Lebenden und die Toten. Die Toten zu sehen kann ich dir nicht zeigen, aber ich kann dir zeigen wie man die Lebenden sieht und zwar alle die an der Oberfläche dieser Welt wandeln. Dazu benötige ich nur etwas Ingerium, ein rötlich leuchtendes Schwermetall."




Du siehst folgende Personen an diesem Ort:

Schattenwiesel (NPC) - Angreifen
Ein kleines Schattenwiesel, das wegrennt. Angriffsstärke: 1.

Du siehst keine Items an diesem Ort


03/10/2007; 7:10:48 PM   (127.773 s)
{{SetVarAngriffsstärkenposi} {{Instr 1 ö {{StringAngriffsstärkensuche} ö Angriffsstärke:}
{{SetVarAngriffsstärkenposi} 0



Was mach ich verkehrt? Mathstringseparator ist auf ö, wie unschwer zu erkennen ist. Das komische ist, dass er ab und zu an genau der selben Stelle im Makro seinen Job tut und dann wieder nicht, wie er grade Lust hat. Hab ich irgendwo was übersehn?

Thx,
van_dell

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Oct 04, 2007 6:07 pm    Post subject:

 

Nun wenn im Text der Separator vorkommt.... dann ist das nicht gut...
=> Dazu benötige ich nur etwas Ingerium

"benötige" hat ein ö !!!

Warum nicht den | verwenden oder aber z.B § oder ein anderes Zeichen das sicher nie im Text vorkommt...

John Krauer, Kra-Tronic Corp.

 

 

 

van_dell



Joined: 04 Oct 2007
Posts: 2

Posted: Thu Oct 04, 2007 10:04 pm    Post subject:

 

Das hatt ich mir auch schon gedacht - ich glaub in Zukunft werd ich zum suchen noch öfter Strg+F benutzen statt meiner eigenen Augen.
| geht nicht, weil ich noch zu wenig JavaScript kann um mein Script so zu ändern, dass es mir nen was anderes ausgibt, aber das kommt noch früher oder später.
Ich werds also mal mit $ oder § versuchen und hoffen, dass niemand auf die Idee kommt, die Zeichen in die Texte dort zu schreiben^^
Thx, ich hoff damit ist das Problem beseitigt, wenn nicht komm ich einfach nochmal her zum weinen^^



Powered by
phpBB © 2001, 2005 phpBB Group

 

 

 

 

 

2           RUN-TIME ERROR 13 Type Mismatch - A Solution

 

Author

Message

iddqd



Joined: 15 Aug 2007
Posts: 1

Posted: Wed Aug 15, 2007 2:49 pm    Post subject: RUN-TIME ERROR 13 Type Mismatch - A Solution

 

Hi, This is a little program that changed my life for over 4 years. I love it. But last 1 week I have an error code described in topic. I have installed lots of hotfix to my computer to correct it, like Windows Script 5.5, Vrun 6 Sp6, Office Xp update and other something. Today I found the source of problem. Problem is about the regional settings on my windows xp. I have use windows xp. There is a program called Auctiva. I am use it for online auctioning. I got an error code Every time I run the program. Error code about pacific time. I am not on pacific time country. I am on europe. I find the solution about error code. I have turned regional localization settings of my country from Turkey to United States. Now auctiva works well. 1 week ago I need to use recorder but it is not working. give me an error Runtime Error 13 Type mismatch. I have try to find a solution about that and I find nothing. Today I found. You need check your regional settings. Probably it is changed.

This solution is worked on me.

Thank you
_________________
Mustafa Akad

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Aug 16, 2007 5:58 pm    Post subject:

 

Thank you for your investigation. I will check it.

John Krauer, Kra-Tronic Corp.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Aug 28, 2007 7:31 pm    Post subject:

 

I tried to reproduce.... with no success...
What exactly did you set ? (Regional settings)
What command did you run in the Recorder to get the error ?

Kind regards

John Krauer, Kra-Tronic Corp.




 

 

 

 

3           Using with Adobe After Effects

 

Author

Message

shariqmushir



Joined: 20 May 2006
Posts: 1

Posted: Sat May 20, 2006 6:11 am    Post subject: Using with Adobe After Effects

 

Hi,

I really love this software for what it does but I've been having problems with it when I use it with Adobe After Effects 6.5.

AE is not recognizing certain keystrokes. For example when I use the % (alt) funtion with a key to invoke a menu, it just simply ignores it. Also, it is not recognizing {NumPad Enter} or for that matter any {NumPad} command.

The funny thing is that when I am recording my keystrokes, it recognizes all but screws up when playing back those same keystrokes.

Is there some kind of an incompatibility problem? Has someone else from this forum tried using the Recorder with AE to automate tasks?

Is there hope for me out there?? Help please.

Shariq.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat May 20, 2006 6:21 pm    Post subject:

 

There are always some programmers who use dirty tricks for a better performance or a new feature... Then often these programs are not any longer Microsoft compatible (means not all functions in the microsoft operating system can work with the dirty programm). What can you do ? You can use mouse clicks (combined with FindPattern to be sure to click the right one)... or you try other macro recorders. Other recorder uses partly different techniques to send keystrokes and might work with the dirty programs...

John Krauer, Kra-Tronic Corp.




 

 

 

 

4           web browser -- strokes not recording

 

Author

Message

dkaleky



Joined: 11 May 2006
Posts: 1

Posted: Thu May 11, 2006 9:25 pm    Post subject: web browser -- strokes not recording

 

all i want to do is a refresh of the screen every 10 minutes-

but ctrl f5 or f5 or even mouse on refresh are not being recorded-

when i go to another prgram like winword -- the keystrokes resume

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue May 16, 2006 5:37 pm    Post subject:

 

Here an example how to achieve this:

{{Label Start
{{ExtDelay 10:0
{{Switch Microsoft Internet Explorer
{F5}
{{Goto Start

John Krauer, Kra-Tronic Corp.




 

 

 

 

5           Opening the Windows XP start menu

 

Author

Message

Guest





Posted: Sun May 07, 2006 8:48 pm    Post subject: Opening the Windows XP start menu

 

Shouldn't this macro line:

^{ESC}

open the Windows XP start menu? It doesn't seem to work, although manually hitting the Escape key while holding down the Control key does.

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon May 08, 2006 4:34 am    Post subject:

 

You could use WindowsKey instead...

{{WindowsKey
{{Delay 3000

John Krauer, Kra-Tronic Corp.




 

 

 

 

6           String's sind nur mit "." ausgebar

 

Author

Message

konokilo
Guest




Posted: Sat May 06, 2006 9:12 pm    Post subject: String's sind nur mit "." ausgebar

 

Wenn ich mir einen string ausgeben lasse wird am ende des strings ein "." gesetzt, wie schalte ich das ab?

Danke im voraus

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon May 08, 2006 4:31 am    Post subject:

 

Indem man keinen Punkt schreibt....

Beispiel:

{{SetString1 Hier ist mein Text
{{MessageBox {{String1}

John Krauer, Kra-Tronic Corp.




 

 

 

 

7           Automatically run a macro on resuming from hibernation?

 

Author

Message

anthony2816
Guest




Posted: Thu May 04, 2006 8:23 pm    Post subject: Automatically run a macro on resuming from hibernation?

 

I use Microsoft Streets and Trips with GPS navigation on a laptop in my car. It has a really irritating "feature". When I leave the car I hibernate the laptop. When I resume driving, I resume from hibernation. However, when Streets and Trips resumes, it has automatically disabled the GPS function.

I thought every program was supposed to resume just as it was running before hibernation, but leave it to Microsoft to figure a way to violate this.

Thus, after the laptop resumes from hibernation I have to navigate to and click a checkbox to get the GPS functioning again.

I'd like Mouse and Key Recorder to do this for me. But rather than have to manually click an icon to run a macro to do it (which wouldn't be much better than having to click the checkbox in Streets and Trips), is there a way to get a macro to run automatically when the laptop comes out of hibernation?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri May 05, 2006 8:33 pm    Post subject:

 

There is no built in function in the Recorder to sense the end of a hibernation phase. But... if there is someting different on the sceen after waking up you could sense this by using Find Pattern.

John Krauer, Kra-Tronic Corp.

 

 

 

Guest





Posted: Fri May 05, 2006 10:57 pm    Post subject:

 

Hmm. I think the only thing different would be that the GPS is off, so I'll have to see if that's recognizable by Recorder.

But that would mean I'd have to have Recorder running all the time, so as to be on the lookout for the pattern, right? As it is now, I'm having it exit at the end of each macro that it runs, so it's never running in the background.

Guess I could write a macro to use Recorder to put the computer into hibernation, so that it would still be running when the computer resumes, but not all the time.

 

 

 

 

Guest





Posted: Fri May 05, 2006 10:58 pm    Post subject:

 

Come to think of it, if I use a macro to make the computer hibernate, that same macro could contain post-hibernation code to turn the GPS back on, couldn't it?

Ever tried writing a macro that would span a hibernation period like that?
See any problems with the idea?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat May 06, 2006 8:25 am    Post subject:

 

I use a macro to set the PC to hybernation and afterwards starting some programs

Here an example:

{{' Close ICQ
{{Mouse 1, 1, 1351, 1158, 1
{{If {{FindPattern 1, -1, -1, 500, 100, 0} = {{True};;{{Goto NoICQ
{{IncVarFindPatternCoord_X_1} 6
{{IncVarFindPatternCoord_Y_1} 5
{{Mouse 3, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
{UP}
{ENTER}
{{Label NoICQ

{{' Close MSN
{{Mouse 1, 1, 1353, 1160, 1
{{If {{FindPattern 2, -1, -1, 500, 100, 0} = {{True};;{{Goto NoMSN
{{IncVarFindPatternCoord_X_2} 3
{{IncVarFindPatternCoord_Y_2} 5
{{Mouse 3, 1, {{VarFindPatternCoord_X_2}, {{VarFindPatternCoord_Y_2}, 0
b
{{Label NoMSN

{{' Start TaskManager
{{Mouse 3, 1, 1590, 1189, 0
t
{{Delay 300} {{' Milliseconds
%h {{' "Herunterfahren" shut down
{{Delay 300} {{' Milliseconds
r {{' "Ruhezustand" Hibernation
{{ExtDelay 30

{{SetVarActualTime {{SerialTime}
{{IncVarActualTime 15
{{Label Wait
{{Delay 1000
{{If {{SerialTime} > {{VarActualTime} ;;{{Goto Wait

{{Start D:\1_Data\VisualB5\Reminder\Reminder.exe
%w
{{Switch Windows Task-Manager
%d
b
{{Mouse 1, 1, 8, 1191, 0
{{Exit

John Krauer, Kra-Tronic Corp.

 

 

 

Anthony2816
Guest




Posted: Sun May 07, 2006 7:43 pm    Post subject:

 

Thanks again for the help. Can you explain the timing commands you used with the hibernation?

First, why the 15 second ExtDelay after telling the computer to hibernate?

Second, why use this code:

{{SetVarActualTime {{SerialTime}
{{IncVarActualTime 15
{{Label Wait
{{Delay 1000
{{If {{SerialTime} > {{VarActualTime} ;;{{Goto Wait

...instead of a simple Delay command?

Thanks!

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun May 07, 2006 8:29 pm    Post subject:

 

Because the delay is already finished... The delay starts before the hibernate and after some hours hybernate even {{Delay 600000 would be finished.....

John Krauer, Kra-Tronic Corp.

 

 

 

anthony2816
Guest




Posted: Sun May 07, 2006 9:54 pm    Post subject:

 

Well where in your code does the macro pick up after resuming from hibernate? Is it after the line:

{{ExtDelay 30

but before the line:

{{SetVarActualTime {{SerialTime} ?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon May 08, 2006 4:28 am    Post subject:

 

A good trick is F1.... the help:

{{SerialTime}

The command {{SerialTime returns a number, which represents all seconds since 1st Jan. 1970. Example for 12th Feb. 2005, 22:10: 1108246222. This command can be used to measure time between commands. An example can be found in chapter: Macro Examples.

Important: This command can only be used as parameter. That means it must not start at the beginning of a line. Example for a parameter use: {{SetVarStartTime {{SerialTime}.




 

 

 

 

8           Installing problem - error code 0x000000C1H

 

Author

Message

Starvirus2
Guest




Posted: Sat Apr 22, 2006 11:42 pm    Post subject: Installing problem - error code 0x000000C1H

 

hi, if i try to install mous and keyboard recorder (german) i got this log.


ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\STDOLE2.TLB"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\ASYCFILT.DLL"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\OLEPRO32.DLL"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\OLEAUT32.DLL"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\MSVBVM60.DLL"
(File currently on disk was already up to date)

*** ERROR: Error trying to load 'VB6STKIT.DLL'. May be unable to register DLL's or EXE's.

*** ERROR: Error trying to load 'VB6STKIT.DLL'. May be unable to register DLL's or EXE's.

ACTION: TLBRegister: "C:\WINDOWS\SYSTEM32\STDOLE2.TLB"

*** ERROR: Error trying to load 'VB6STKIT.DLL'. May be unable to register DLL's or EXE's.

*** ERROR: Error trying to load 'VB6STKIT.DLL'. May be unable to register DLL's or EXE's.

*** ERROR: Error trying to load 'VB6STKIT.DLL'. May be unable to register DLL's or EXE's.

NOTE: End of the bootstrapper section

NOTE: Now spawning the main Setup program 'Setup1.exe'....

*** ERROR: Cannot start main setup program! (CreateProcess() returned error code 0x000000C1H)
*** ERROR: (User Responded with 'OK')

BR starvirus2

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Apr 23, 2006 4:23 pm    Post subject:

 

Well, it looks like the file 'VB6STKIT.DLL' could not be loaded. Maybe it could also not be installed...
You might try to install the Recorder in save mode. See also
http://www.kratronic.com/tools/recorder/faq/faq.htm#_Toc120171352

John Krauer, Kra-Tronic Corp.

 

 

 

Guest





Posted: Sat Apr 29, 2006 11:07 pm    Post subject:

 

it don't work too, same error.

i did try to delete the dll's and try again in save mode but the same

br
Starvirus2

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Apr 30, 2006 11:45 am    Post subject:

 

Hmmm
You can find actual files and DLLs for the Recorder in:
www.kratronic.com/temp/MKRSupport56.zip (The components are the same in V5.7). Maybe if you uses this one it works.

John Krauer, Kra-Tronic Corp.

 

 

 

Guest





Posted: Fri May 05, 2006 7:08 pm    Post subject:

 

i coppied all dlls from another pc where i installed mous and kezboard recorder, and register them manualy and now it works

BR
Starvirus2




 

 

 

 

9           i have a problem can u please help

 

Author

Message

Elden
Guest




Posted: Fri Apr 28, 2006 9:33 am    Post subject: i have a problem can u please help

 

sometime the RECORDER pops up wit a problem with this ===> whats that mean because its doesnt work on my target that i want it n its keep poppin up n say "The Macro window shows the location with a ===>" can u tell me wats that mean?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Apr 29, 2006 6:01 pm    Post subject:

 

The Help (F1) says:

Debugging Help: If a macro has an error the guilty line is shown with a ===> in the macro window. After opening the editor, the cursor is placed at this guilty line. An abort (or {{Stop) produces also a ===>. That means you can abort a macro at a critical situation and the editor will show you the location where you stopped. The error arrow is removed during the next play or during saving the macro.

John Krauer, Kra-Tronic Corp.




 

 

 

 

10       Mausposition merken, Klicken und zurück

 

Author

Message

GS_ler



Joined: 25 Apr 2006
Posts: 1

Posted: Tue Apr 25, 2006 12:45 pm    Post subject: Mausposition merken, Klicken und zurück

 

Ich möchte, dass sich das Programm, wenn ich eine Taste drücke, die aktuelle Position der Maus merkt, danach einen Klick an einer bestimmten Stelle ausführt und wieder zu der gemerkten Mausposition zurückkehrt. Kann mir jemand bei diesem Problem helfen?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Apr 25, 2006 5:40 pm    Post subject:

 

Dazu kann man {{GetCursorPos} verwenden...

Beispiel:
{{GetCursorPos}
{{RelativeMouse Microsoft Internet Explorer, 1, 1, 105, 14, 0 {{' Klick an einer bestimmten Stelle
{{Mouse 1, 1, {{VarGetCursorCoord_X, {{VarGetCursorCoord_Y, 1 {{' Ohne klicken zurück zur alten Stelle

PS. F1 zeigt die Hilfe wo das alles drin steht
oder in http://www.kratronic.com/tools-de/recorder/manual/index.html wo man alles aufs mal lesen kann..

John Krauer, Kra-Tronic Corp.

 

 

 

Guest





Posted: Wed Apr 26, 2006 5:16 am    Post subject:

 

Erst einmal vielen Dank für die schnelle Antwort. Sie hat, zum Teil, weiter geholfen. Nachdem ich die Zeilen, so wie oben abgebildet, übernommen hatte meldete mir das Programm Fehler in der dritten Zeile (Fehlende Klammern). Ich habe diese Zeile wie folgt ergänzt:

{{Mouse 1, 1, {{VarGetCursorCoord_X,} {{VarGetCursorCoord_Y, 1}

Jetzt läuft der Makro ohne Fehler allerdings steht der Mauspfeil danach nicht an der Ausgangsstelle sondern ganz oben rechts.

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Apr 26, 2006 4:14 pm    Post subject:

 

Ja, das war zu schnell... Man sollte Beispiele vor dem Absenden austesten... sorry.
Richtig wäre:

{{GetCursorPos}
{{RelativeMouse Microsoft Internet Explorer, 1, 1, 105, 14, 0 {{' Klick an einer bestimmten Stelle
{{Mouse 1, 1, {{VarGetCursorCoord_X}, {{VarGetCursorCoord_Y}, 1 {{' Ohne klicken zurück zur alten Stelle

(Ausgetestet )

John Krauer, Kra-Tronic Corp.




 

 

 

 

11       Sending Keystrokes to a Relative Window in Background.

 

Author

Message

Ra
Guest




Posted: Tue Apr 18, 2006 8:27 pm    Post subject: Sending Keystrokes to a Relative Window in Background.

 

How do you send keystrokes to a window in the background?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Apr 20, 2006 6:44 pm    Post subject:

 

Keystrokes are always just sent to the window on the top. (The same way as it works when you type in letters by yourself). That means you need to bring the window to the top first... by using the command {{Switch.

John Krauer, Kra-Tronic Corp.




 

 

 

 

12       Printing out single Letters of a String

 

Author

Message

subSTYLE
Guest




Posted: Tue Apr 11, 2006 7:58 pm    Post subject: Printing out single Letters of a String

 

Hi there,

i'm trying to fill out a flashbased form on the internet.
therefore i use a litte script

Code:


{{ImportFile C:\data.txt
{{Label Start
{{SetString1 {{DoImport}
{{MessageBox {{String1} {{' Thas for debugging purposes only

{{RelativeMouse Microsoft Internet Explorer, 1, 1, 449, 518, 0
{{String1}
{{'RelativeMouse Microsoft Internet Explorer, 1, 1, 588, 541, 0

{{If {{ImportNextLine} = {{True} ;{{Goto Start;{{Goto Ende
{{'Label Ende



The Problem is, that the flash won't accept the way recoder fills in the
data. It simply does not recognize anything typing in the form *arg*

When I interrupt the recorder at

Code:

{{RelativeMouse Microsoft Internet Explorer, 1, 1, 449, 518, 0



and type by myself everything works fine ..

Anny suggestions on that?

subSTYLE

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Apr 11, 2006 8:05 pm    Post subject:

 

Hmmm. It looks like this flash form is not compatible to the Microsoft rules. The Mouse and Key Recorder uses the Microsoft command 'SendKeys' to send text to the applications. SendKeys ist also used in Word und Excel macro language.

What form is it you have problems with ? Is it public accessable ? So I could make tests ?

John Krauer, Kra-Tronic Corp.

 

 

 

Guest





Posted: Tue Apr 11, 2006 8:33 pm    Post subject:

 

Have a try here ..

http://www.langenscheidt.de/150Jahre/gs_abc-shaker.html

Greetings

subSTYLE

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Apr 12, 2006 4:46 am    Post subject:

 

I tested the application http://www.langenscheidt.de/150Jahre/gs_abc-shaker.html and really it is not possible to put in letters by the Recorder nor by using the normal copy paste (CTRL v). The applicationn at http://www.langenscheidt.de/150Jahre/gs_abc-shaker.html is a game where you can win some prices. It looks like the creators have deliberately disabled functions like paste to avoid cheating....

John Krauer, Kra-Tronic Corp.




 

 

 

 

13       {StringWaitForKeyX55}

 

Author

Message

valen771



Joined: 29 Jul 2007
Posts: 7

Posted: Sat Aug 11, 2007 11:15 pm    Post subject: {StringWaitForKeyX55}

 

um die ca. 1 sekunde wartezeit zwischen hotkey und beginn des macros zu überbrücken(reduzieren) habe ich nach dem beispiel aus diesem thread
http://kratronic.com/forum/viewtopic.php?t=371&highlight=start+delay
es so versucht
jedoch zeigt er mir dann diesen fehler an :
{{If-Befehl: Eines oder mehrere fehlerhafte Trennzeichen in Zeile:
{{If {{StringWaitForKeyX55} = k uu;{{Goto python3uhr

dabei ist es egal welche taste ich gedrückt habe

{{' Erstellt am: Aug.11.2007, 23:53 (MTR Version: 6.1 )
{{Label Weiter
{{WaitForKey
{{If {{StringWaitForKeyX55} = k ;{{Goto python3uhr
{{If {{StringWaitForKeyX55} = j ;{{Goto python6uhr
{{If {{StringWaitForKeyX55} = h ;{{Goto python9uhr
{{If {{StringWaitForKeyX55} = u ;{{Goto python12uhr

{{Label python3uhr
...
{{Goto Weiter

{{Label python6uhr
...
{{Goto Weiter

{{Label python9uhr
...
{{Goto Weiter

{{Label python12uhr
...
{{Goto Weiter
{{NoFocus}

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Aug 15, 2007 8:03 am    Post subject:

 

Nun, die Fehlermeldung sagt ja genau was falsch ist:
---Eines oder mehrere fehlerhafte Trennzeichen in Zeile:
{{If {{StringWaitForKeyX55} = k uu;{{Goto python3uhr ---

Und wirlich, da fehlt ein ;

Hinweis: Im Help jeweils nachsehen wie ein Befehl aufgebaut ist:

Befehlsformat: {{If Ausdruck Kondition Ausdruck; Wahr-Aktion; Falsch-Aktion

John Krauer, Kra-Tronic Corp.

 

 

 

valen771



Joined: 29 Jul 2007
Posts: 7

Posted: Wed Aug 15, 2007 3:12 pm    Post subject:

 

ich hab mich nur an dein beispiel gerichtet
"{{Mögliche Anwendung
{{Label Weiter
{{WaitForKey
{{If {{StringWaitForKeyX55} = F3 ;{{Goto Schiessen
{{If {{StringWaitForKeyX55} = z ;{{Goto Zurückziehen
{{If {{StringWaitForKeyX55} = RIGHT ;{{Goto Verschieben

{{Label Schiessen
.......
{{Goto Weiter
{{Label Zurückziehen
.......
{{Goto Weiter
{{Label Verschieben
.......
{{Goto Weiter
"
wenn auf eine bestimmte taste gewartet wird, kann es ja eigentlich nur richtige aktionen geben.
am besten schicke ich ihn bei falsch einfach auf das "{{Label Weiter" zurück oder?
ich werds heute noch ausprobieren, danke für die hilfe.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Aug 16, 2007 6:11 pm    Post subject:

 

Hier eine funktionierende Version:

{{Label Weiter
{{WaitForKey
{{If {{StringWaitForKeyX55} = F3 ;{{Goto Schiessen;
{{If {{StringWaitForKeyX55} = z ;{{Goto Zurückziehen;
{{If {{StringWaitForKeyX55} = RIGHT ;{{Goto Verschieben;
{{Goto KeinRichtigerKey

{{Label Schiessen
{{MessageBox Schiessen

{{Goto Weiter
{{Label Zurückziehen
{{MessageBox Zurückziehen

{{Goto Weiter
{{Label Verschieben
{{MessageBox Verschieben
{{Goto Weiter

{{Label KeinRichtigerKey
{{MessageBox KeinRichtigerKey
{{Goto Weiter


John Krauer, Kra-Tronic Corp.

 

 

 

valen771



Joined: 29 Jul 2007
Posts: 7

Posted: Thu Aug 16, 2007 10:41 pm    Post subject:

 

ah danke

ich hatte es etwas umständlicher gelöst, mit deiner version hat man viel weniger zeilen

{{Label Weiter
{{WaitForKey
{{If {{StringWaitForKeyX55} = k ;{{Goto beispiel1;{{Goto 1
{{Label 1
{{If {{StringWaitForKeyX55} = j ;{{Goto beispiel2;{{Goto 2
{{Label 2
{{If {{StringWaitForKeyX55} = h ;{{Goto beispiel3;{{Goto Weiter
usw.




 

 

 

 

14       How can I find the difference between 2 dates

 

Author

Message

Geoff
Guest




Posted: Thu Apr 06, 2006 1:03 am    Post subject: How can I find the difference between 2 dates

 

I want to be able to find the difference betwwen 2 dates.
eg date 1. 26-May-2006
date 2. 14-Mar-2006

How many days between date 1 and date 2?

Is there a way to convert the dates to a serial time and simply subtract one from the other.
Is there a way to convert a serial time to a date?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Apr 11, 2006 8:08 pm    Post subject:

 

At the moment there is no possibility to do this in the Recorder. What you can do is using Excel for that calculation. You open Excel and use the Excel functions to calculate your date.

John Krauer, Kra-Tronic Corp.




 

 

 

 

15       Switching windows using Ctrl-Alt-Shift-F12-F12

 

Author

Message

Kamlesh Patel
Guest




Posted: Mon Apr 10, 2006 6:35 am    Post subject: Switching windows using Ctrl-Alt-Shift-F12-F12

 

Dear,

I am not able to swich between applications (while recording macro) using Switching windows command i.e Ctrl-Alt-Shift-F12-F12.Seems I have tickkled some of the radio buttons/check boxes on the main Tools/help window.Kindly help me with the setting on those.


Also If I try to uninstall the software I get an error saying "Could not open logfile C:\Prograf files\ ST6UNST.LOG"

Kindly help on the above

 

 

 

 

John Krauer
Guest




Posted: Tue Apr 11, 2006 8:01 pm    Post subject:

 

Mayby you have used the same hotkey for macro hotkeys or for switching on/off recording. Or another application is using the same hotkeys.

John Krauer, Kra-Tronic Corp.




 

 

 

 

16       Set Loop count inside a macro

 

Author

Message

mbartol
Guest




Posted: Wed Apr 05, 2006 6:40 am    Post subject: Set Loop count inside a macro

 

I would like to suggest a new command that allows you to set the loop count inside of the macro. Often times I start the macro and forget to enter the correct loop count on the General Tab. I would like if I could use the WriteAsk feature something like:

{{1}{{Ask1}Enter the number of loops
{{1}{{SetLoops} {{WriteAsk1}

I'm just not sure if the WriteAsk will enter a variable or string, anyways, just my 2 cents.

This would be a handy feature. What do others think?

Thanks,
Mike

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Apr 05, 2006 8:11 pm    Post subject:

 

Good idea. I will add this idea to the Enhancement List of the next version.

The ask variable is a string variable. By copying it to a var variable it is converted to a number.


John Krauer, Kra-Tronic Corp.

 

 

 

mbartol
Guest




Posted: Sun Apr 09, 2006 2:08 am    Post subject:

 

stargate wrote:

I will add this idea to the Enhancement List of the next version.



Thanks very much!!!
Mike




 

 

 

 

17       Switching between windows without windowname (Oracle Based)

 

Author

Message

Kamlesh Patel
Guest




Posted: Tue Apr 04, 2006 10:32 am    Post subject: Switching between windows without windowname (Oracle Based)

 

Dear Sir/Madum,


We use the Mouse & Key recoder for updating our system which is oracle based database application. When I run my systems on a client server I get a window name on the Task bar, which Mouse & key recoder captures and uses it for switiching between applications.

However when i use the same system using an web interface an java applet engine is used on the front end for which the window name does not appear on the task bar, an coffee cup icon appears as an window icon on the task bar. How do I capture the window in this case and switch between applications/screens , in order to use the Recoder.

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Apr 04, 2006 6:43 pm    Post subject:

 

Well, you can switch to the internet browser. Normally then the applet also appears. Or you minimize the top window and that way the applet appears. You can then use {{FindPattern for localizeing a certain area.

John Krauer, Kra-Tronic Corp.




 

 

 

 

18       Can the program ignore errors?

 

Author

Message

Deltz
Guest




Posted: Wed Feb 15, 2006 11:29 pm    Post subject: Can the program ignore errors?

 

{{RelativeMouse http://www.?????.??? - Microsoft Internet Explorer, 1, 1, 144, 227, 0


When the window dont exist i get an error. Can i do that the program ignore errors and continues on the script?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Feb 17, 2006 2:20 pm    Post subject:

 

You can use
{{If {{CheckWindow ......

John Krauer, Kra-Tronic Corp.

 

 

 

dorxincandeland
Guest




Posted: Tue Mar 14, 2006 7:59 am    Post subject:

 

^^ can you be more specific on this? I'm also struggling with the {{if command.

what would go where you put your......?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Mar 14, 2006 6:18 pm    Post subject:

 

Here an example

{{If {{CheckWindow Google} = {{True} ;;{{Goto WindowNotExisting
{{RelativeMouse Google, 1, 1, 757, 338, 0
{{Goto Continue
{{Label WindowNotExisting
{{MessageBox Sorry Window does not exist
{{Label Continue

John Krauer, Kra-Tronic Corp.

 

 

 

Guest
Guest




Posted: Wed Mar 22, 2006 5:06 pm    Post subject:

 

Is there a way to trap all errors in Recorder?
So that I can handle any runtime errors gracefully.

Something like "OnError Goto {{Label ErrorHandling".

Thank you!

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Mar 22, 2006 8:00 pm    Post subject:

 

No, the Recorder does not contain an OnError Goto functionality. You need to deal with errors induvidually.

John Krauer, Kra-Tronic Corp.




 

 

 

 

19       step by step instruction

 

Author

Message

hakini
Guest




Posted: Mon Mar 20, 2006 6:04 pm    Post subject: step by step instruction

 

hi

1)how can i make the program do a step by step instruction evry time a push a button eX: evry time a push start the program execute one instruction

2)this is not strictly related to your software but it helps to run your program . how can i make windows open his programs always at full window screen , i noticed that sometimes he open the windows in a reduced format and not full windows and that stop the right execution of my macro

thanks

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Mar 21, 2006 6:54 pm    Post subject:

 

Step by Step is not possible, since then the focus of the target window would get lost.
But you can use the hotkey for pause and you can investigate the log file which shows what was going on.

Making a window large can be done by the keys ALT Space x (in German Windows). It is recommended using keys in macros as much as possible. Then the size of the window is not important...

John Krauer, Kra-Tronic Corp.




 

 

 

 

20       i get eror when i puss buton runtime 31002

 

Author

Message

Hunter
Guest




Posted: Sun Mar 19, 2006 10:17 am    Post subject: i get eror when i puss buton runtime 31002

 

i get eror when i puss buton runtime 31002
what i do?!?!
GOD DAMIT !?
SO?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Mar 21, 2006 6:50 pm    Post subject:

 

This is a really strange error. If anybody would be willing to debug it I would provide the necessary parts of the source code and the development environment.

John Krauer, Kra-Tronic Corp.




 

 

 

 

21       Can macro be scrambled?

 

Author

Message

trebor
Guest




Posted: Wed Mar 15, 2006 12:49 am    Post subject: Can macro be scrambled?

 

Hello,

as I know macros made by Mouse and Key recorder can not be compiled in EXE file, can it be scrambled?
I do not want anybody see the source code.
Thanks in advance.

Regard.

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Mar 16, 2006 6:40 pm    Post subject:

 

Not scambeld but protected. So the user can not change a macro. See:
http://www.kratronic.com/tools/recorder/functions/replayonly/index.html

John Krauer, Kra-Tronic Corp.




 

 

 

 

22       Auto Redialer for PeoplePC

 

Author

Message

dorxincandeland
Guest




Posted: Tue Mar 14, 2006 7:54 am    Post subject: Auto Redialer for PeoplePC

 

PeoplePC blows because it disconnects every four hours or so.

fixed the issue using this macro:
{{NoFocus}
{{Delay 500 {{' Recorded delay
{{Mouse 1, 2, 101, 753, 1
{{Delay 500} {{' Milliseconds
{down 1}
{ENTER}
{{Delay 5000} {{' Milliseconds
{{Switch Disconnecting
%{F4}
{{Delay 5000} {{' Milliseconds

{ENTER}
{{Exit}


I know that no one on earth gives a flying fsuk about this but me....but...here's what all that means.....

{{NoFocus}
(this makes the macro program never be in the foreground)
{{Delay 500 {{' Recorded delay
{{Mouse 1, 2, 101, 753, 1
(this is a recorded mouse movement of a right mouse click on a shortcut for the network connections file for the peoplePC connection which I placed in the quick launch bar. The software dialer puts the file in the windows network connections folder. It is easiest way to get PeoplePC to disconnect cleanly and with the fewest windows. At least in my experience it was. If you can get it to disconnect in a less convoluted manner...more power to ya......and pm me.)((I was vague...this should bring up a left click panel above the shortcut. The top item is "disconnect." This is what you want to do...disconnect from peoplePC. Because it sucks)
{{Delay 500} {{' Milliseconds
{down 1}
(pushes the down key to Highlight "disconnect")
{ENTER}
(hits "enter" to disconnect)
{{Delay 5000} {{' Milliseconds
{{Switch Disconnecting
(switches to the disconnect screen)
%{F4}
(closes the disconnect screen, which after a brief delay bings back up the connection screen on which the connect emblem is

highlighted)((this is good since we can't use a mouse click on this window))
{{Delay 5000} {{' Milliseconds

{ENTER}
(selects "connect" and thusly reconnects to the network.....because we're too frugal/poor/stupid to have a real internet

connection)
{{Exit}
(exits the macro program, handy for sceduling it to do it every three hours and what not)


So why not just record a mouse click to disconnect, and then another to reconnect and be done with it??? I guess peoplePC knows people want to bypass all this so a majority of the windows that come up do not have "alt" key functions, and don't work with mouse clicks generated by this particular program. As such we disconnect using the windows network connections entry for peoplePC, and reconnect by only hitting enter.

Cliffs:
1.me>peoplePC
2.profit?????




 

 

 

 

23       alt ctrl del

 

Author

Message

Kim
Guest




Posted: Sun Aug 14, 2005 8:23 pm    Post subject: alt ctrl del

 

Apr 26, 05 - 8:59 AM

Is there a way to have the Mouse and Key Recorder to "assist" in changing passwords i.e. either do
alt+ctrl+del and then enter oldpassword and newpassword OR do the alt+ctrl+del "manually and then in the resulting "Windows security / Change password"
window activate the desired MaKR "macro" ?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:24 pm    Post subject: Re: alt ctrl del

 

Apr 26, 05 - 9:46 PM

No, CTRL ALT DEL can not be pressed by the Mouse and Key Recorder. Microsoft has blocked this possibility to avoid that programs like the Recorder can be misused to hack passwords.

John Krauer, Kra-Tronic Corp.

 

 

 

 

dorxincandeland
Guest




Posted: Tue Mar 14, 2006 4:32 am    Post subject:

 

I got mine to open the task manager ( i believe this is what you mean) by doing a {{start command pointing to the task manager .exe itself......

to try to close a program as part of a macro...

don't know if this helps.




 

 

 

 

24       Can the program play my actions faster

 

Author

Message

KambinatoR



Joined: 02 Aug 2007
Posts: 1

Posted: Thu Aug 02, 2007 6:14 pm    Post subject: Can the program play my actions faster

 

I record the mouse and keyboard actions. When I press "Play" everything is ok, it repeats fine all my actions, but i would like the actions to be made faster. Can i do it somehow? I noticed that it is faster than I do it, but can i do it more faster. I want it to do my actions in miliseconds, is it possible?

 

 

 

valen771



Joined: 29 Jul 2007
Posts: 7

Posted: Sun Aug 05, 2007 1:37 pm    Post subject:

 

in general --> replay --> line delay
u can set it in miliseconds

 

 

 

marsprecision



Joined: 15 Aug 2007
Posts: 1

Posted: Wed Aug 15, 2007 2:53 pm    Post subject:

 

Ok, i had the same question, that does speed it up. Is it possible to speed up the actions themselves? I had tried another program and it was near instant, but didn't have the customizability as this one.

I have it doing right clicks and selecting paste, it's going pretty fast, but is there a way to make it as fast as possible? or at least specify? thanks in advance!

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Aug 16, 2007 6:04 pm    Post subject:

 

One way of making a macro fast ist reducing the Line Delay to 0 (as you already have found out)
Also the size of the macro can influence the speed, when you have {{Goto commands in your macro.

Making a macro very fast can also be "dangerous". Applications are normally just tested with normal human beings, not with the super high speed "person" like the recorder... Some applications react very "angry" when they are driven that fast..

John Krauer, Kra-Tronic Corp.




 

 

 

 

25       if MAUSKLICK then ...

 

Author

Message

Laborant
Guest




Posted: Sun Mar 05, 2006 11:41 pm    Post subject: if MAUSKLICK then ...

 

Wie kann ich im Makro die Bedingung einstellen, dass der Ablauf des Makros erst nach einem Mausklick fortgesetzt wird?
Vielen Dank für die Beantwortung der Fragen.

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Mar 07, 2006 7:55 pm    Post subject:

 

Dies könnte man erreichen wenn man z.B. ein Programm öffnet (z.B. Notepad). Solange dieses Programm geöffnet ist, wartet der Recorder(Befehl: {{CheckWindow) Mit einem Klick auf das Schliessen Kreuz des Notepads gehts weiter...

John Krauer, Kra-Tronic Corp.

 

 

 

Laborant
Guest




Posted: Mon Mar 13, 2006 12:28 am    Post subject:

 

Wie kan ich erreichen, dass das Makro fortsetzt, sobald die Maustaste gedrückt wird, und nicht erst wenn diese wieder losgelassen wird. Gibt es einen Wiederholrate wie bei der Tastatur?

 

 

 

 

John Krauer
Guest




Posted: Mon Mar 13, 2006 6:58 am    Post subject:

 

Diese Funktion ist nicht möglich im Mouse and Key Recorder. Es gibt keine direkte Abfrage der Maus per Makro.

John Krauer, Kra-Tronic Corp.




 

 

 

 

26       Einfache Tastenfolge

 

Author

Message

prog



Joined: 09 Mar 2006
Posts: 1

Posted: Thu Mar 09, 2006 10:49 am    Post subject: Einfache Tastenfolge

 

Hallo,

ich möchte folgendes mit dem Programm realisieren:

In einem Spiel möchte ich folgendes Abspielen:

ALT+F1
PAUSE 18 Sekunden
ALT+F2
PAUSE 18 Sekunden
ALT+F1
PAUSE 18 Sekunden
ALT+F2
PAUSE 18 Sekunden
ALT+F1
PAUSE 18 Sekunden
ALT+F2
PAUSE 18 Sekunden
* (Auf dem Num-Block)
PAUSE 1 Minute
8 (Auf dem Num-Block)

Hat jemand eine Idee, wie ich das machen kann?
Danke für eure Hilfe!

 

 

 

John Krauer
Guest




Posted: Mon Mar 13, 2006 6:51 am    Post subject:

 

Einfach so aufzeichen....


Beispiel

%{F1}
{{ExtDelay 18
%{F2}
{{ExtDelay 18
%{F1}
{{ExtDelay 18
%{F2}
{{ExtDelay 18
%{F1}
..........
{{NumPadAsterisk}
{{ExtDelay 1:0
{{NumPad8}

John Krauer, Kra-Tronic Corp.




 

 

 

 

27       Anfängliche Verzögerung beim Makrostart ausschalten

 

Author

Message

Laborant
Guest




Posted: Sun Mar 05, 2006 11:37 pm    Post subject: Anfängliche Verzögerung beim Makrostart ausschalten

 

Ich nutze den Makrorekorder 5.7 für Windows NT 4.0 (SP6). Wenn ich ein Makro starte (z.B. mit F5 so wird der erste Befehl immer mit etwa 0,3s Verzögerung ausgeführt. Alle nachfolgenden Befehle laufen dagegen ohne Verzögerung ab, auch wenn es dieselben Befehle sind. Ich benötige aber ein Makro, das die erste Aktion möglichst sofort nach Start ausführt. Was kann ich da machen?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Mar 07, 2006 7:52 pm    Post subject:

 

Bevor das Makro startet, muss der Recorder jede Menge Vorbereitungen ausführen. Diese dauern eben eine bestimmte Zeit, je nach Prozessor mehr oder weniger lang. Warum stören denn die 300 ms, das ist doch wirklich nicht viel ?

John Krauer, Kra-Tronic Corp.

 

 

 

Laborant
Guest




Posted: Sun Mar 12, 2006 12:47 pm    Post subject:

 

Wenn z.B. auf Tastenklick eine Kamera ein Bild aufnehmen soll, dann stören diese 300ms, weil dann eben nicht der Zeitpunkt des Tastenklicks, sondern ein Zeitpunkt der 300ms später liegt aufgenommen wird. Und wenn man Dinge fotografieren möchte, die nur kurzzeitig existieren, so wäre es wünschenswert wenn die Verzögerung nahezu verschwinden würde.




 

 

 

 

28       Problems clicking or dragging

 

Author

Message

thetroubledone
Guest




Posted: Thu Mar 09, 2006 3:24 am    Post subject: Problems clicking or dragging

 

Okay ive been using this program for sometime and it was working fantasticly but now all of a sudden its having problems. When i give it a command to drag or click it moves the mouse in that direction but does nothing. Can anyone help me out plz

 

 

 

 

Thetroubledone



Joined: 09 Mar 2006
Posts: 1

Posted: Thu Mar 09, 2006 3:31 am    Post subject:

 

I checked the suppress mouse clicks and drags and it was off as well.

 

 

 

Guest





Posted: Sat Mar 11, 2006 7:13 pm    Post subject:

 

Well thanks for not helping. You're really a great help i know i wont be buying the product now seeing how the help is so amazing. I fixed the problem myself after working on it for hours.




 

 

 

 

29       This script fails on goto command, why?

 

Author

Message

MKRUser
Guest




Posted: Wed Mar 08, 2006 6:49 pm    Post subject: This script fails on goto command, why?

 

I have created this script, but get an error message stating that "SkipLoad" can not be found!
Why?


{{' Updated at:Mar.3.2006, 9:26 (MKR Version: V5.6)
{{SetVarCounter 0
{{SetGlobString793} 0
{{SetGlobString794} RunProtocolLaunch
{{FlashBox Start Protocol related programs? | 1 |Click No for normal startup! | YES | NO
{{Label Again
{{' Wait for 20 seconds for an answer!
{{Delay 1000
{{IncVarCounter 1
{{If {{VarCounter} >= 20 ;{{Goto Continue;
{{If {{VarFlashBoxEndedX55} = {{True} ;;{{Goto Again
{{Label Continue
{{' Remove the flash box here!
{{FlashBox Dummy | 0
{{If {{VarFlashBoxAnswerX55} = {{True} ;{{Goto ProtocolLaunch;{{Goto SkipLoad
{{Label ProtocolLaunch
{{SetGlobString793} {{GlobString794}
{{Master
{{LoadMacro C:\Program Files\Recorder\OSType.krc
{{' First, launch the DOS box
{{Start C:\Windows\Command.com
{{ExtDelay 3 {{' Wait three seconds for Dos box to appear!
{{' Launch Executables Folder
{{ExtDelay 2
{{' Next, launch MultiEdit
{{' {{Start C:\Program Files\Multi-Edit 9.10\mew32.exe /SN[temp]
{{Start {{GlobStringMultiEdit}
{{ExtDelay 2
{{' Launch Frontline Test Async
{{Start C:\Program Files\Frontline Test System\fts.exe /åST Asyncå
{{ExtDelay 2
{{' Launch Ram Optimizer
{{Start C:\Program Files\RAM Optimizer\esramopt.exe
{{ExtDelay 2
{{MessageBox Need to Open Executables Folder & Open RAM Optimizer!
{{Label SkipLoad
{{Exit}

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Mar 08, 2006 8:02 pm    Post subject:

 

Well, the reason for that is the command {{Master.
The Help says:
Restrictions: After a {{Master no {{GoTo is possible in the macro containing the {{Master} command. Also {{ImportFile, {{ImportNextLine and {{DoImport are not possible in this case.

John Krauer, Kra-Tronic Corp.




 

 

 

 

30       loops

 

Author

Message

Guest
Guest




Posted: Mon Mar 06, 2006 8:39 am    Post subject: loops

 

Hmm ... how do i make the recorder run a part of the script 10 times and after it have done that it moves to rest of the script and run it?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Mar 07, 2006 8:00 pm    Post subject:

 

Here an example:

{{' .....
{{SetVarCounter 1
{{Label Start
{{MessageBox Part of the script; Loop {{VarCounter}
{{IncVarCounter 1
{{If {{VarCounter} <= 10;{{Goto Start;
{{MessageBox Rest of the script.

John Krauer, Kra-Tronic Corp.




 

 

 

 

31       lallaa

 

Author

Message

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Feb 21, 2006 6:36 pm    Post subject:

 

There are two commands:
{{GetPixel and {{FindPattern

{{GetPixel gives back just one pixel
{{FindPattern searches for a predefined pattern in a certain area.

You can find the description of these commands in the Help (F1) or here:
http://www.kratronic.com/tools/recorder/manual/index.html

John Krauer, Kra-Tronic Corp.

 

 

 

Alexander



Joined: 19 Feb 2006
Posts: 1

Posted: Tue Feb 21, 2006 7:43 pm    Post subject:

 

Wow ... it must be the best recording program !

Last edited by Alexander on Wed Feb 22, 2006 7:52 pm; edited 1 time in total

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Feb 21, 2006 9:22 pm    Post subject:

 

Sure...
When it jumps to Label a then one beep is done.
Then it moves forth to label b and the two other beeps....
You need a {{Goto....

{{If {{GetPixel 700, 184} = 16777215 ;{{Goto a};{{Goto b}

{{Label a}
{{beep}
{{Goto End

{{Label b}
{{beep}
{{beep}

{{Label End

John Krauer, Kra-Tronic Corp.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Feb 21, 2006 9:24 pm    Post subject:

 

No the Recorder can not count the red dots itself. You had to write a macro which does this. But... if there are lots of red dots it will need ages until it has counted all...

John Krauer, Kra-Tronic Corp.




 

 

 

 

32       web site copying

 

Author

Message

ray
Guest




Posted: Fri Feb 17, 2006 8:33 pm    Post subject: web site copying

 

I have an application that goes to a website, and by dragging and copying, I copy the data from the web site and paste it into an excel file. I was hoping I could use your software to create a macro to do this.
I have not been able to figure out a way to record the mouse movements I make in the web site. Am I trying to do something that is not feasible?
Thanks, Ray

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Feb 18, 2006 7:54 am    Post subject:

 

The Help (Key F1) tells how to record keystrokes and mouse events..

Recording macros
============

After starting the 'Mouse and Key Recorder' you get a window shown at the beginning of this manual. Normally you want to carry out actions on applications like Microsoft Word, Excel, E-Mail etc. That means first you need to add a command to start (or switch to) the needed application. To do so press the button: ‘Insert Command' ( {{.. ). Type in Switch 1) or Start. The 'Mouse and Key Recorder' presents you a hint, a description of the syntax and a short help about that command. Complete the command and press OK. Now click the button 'Append Recording' (red dot) to activate key and mouse recording. Important: Switch now to your application by using ALT TAB. ALT TAB is not recorded by the 'Mouse and Key Recorder'. Operate your application. You can use keystrokes, mouse clicks (all three buttons), mouse double clicks, dragging mouse. Some actions you do need some time. The 'Mouse and Key Recorder' records your keystrokes without any timing information. (Means your macro will run much faster than you type). As a result you need to include delays. This can be done by a hot key: CTRL SHIFT ALT F12 and then one of the keys 0..'m'. Assignments: 1: 300 ms, 2: 500 ms, 3: 750ms, 4: 1min, 5: 2min, 6: 5min, 7: 10min, 8: 15min, 9: 50min, 0: 1hour; q: 1sec, w: 2sec…..o: 9sec; p: 10sec; a: 11sec, s: 12sec….l: 19sec; y/z: 21sec, x: 22sec….m: 27sec.

Finish your work by switching back to the 'Mouse and Key Recorder' using ALT TAB. Click button 'Append Recording' to stop the recording mode.

If you need to edit your macro you click the register tab 'Macro Code'.

You can find a comprehensive description of all functions in Chapter 8: 'Function Description'.

Hint: The Mouse and Key Recorder treats keystrokes and mouse clicks differently. Keystrokes wait for the application. That means a second keystroke is sent but not until the first keystroke is processed by the application. Mouse clicks are sent according to the speed set in the Recorder. That means, working with mouse clicks needs a more careful delay management (enough delay between each mouse click). Conclusion: Use keystrokes when ever possible.


1) To add a Switch command you can also use CTRL-ALT-SHIFT-F12 F12. See also command description {{Switch.

-----------------

The manual can also be found here:
http://www.kratronic.com/tools/recorder/manual/index.html


John Krauer, Kra-Tronic Corp.

 

 

 

ray
Guest




Posted: Sat Feb 18, 2006 8:23 pm    Post subject: web site copying

 

I thank you for your quick response. The F1 help has a lot of information, but I still haven't found an answer to my question. I can record key strokes in all my software, excel, word, office 7, tax cut, etc, etc., but I cannot copy any key or mouse movements in the internet.
It may be a problem of syntax or something even more serious.
Could you give a short example of a macro that would go to your website and (for example) purchase your product? I am sure that would help immensely.
Thank you
Ray

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Feb 18, 2006 9:04 pm    Post subject:

 

Ohhhh Microsoft has changed the behaviour of the IE... Well all the patches they deliver every month...
^v seems not to work any loger for text copied from IE.
That means you need to use the command {{Clipboard} instead..

{{Switch Google - Microsoft Internet Explorer
Kratronic
{ENTER}
{{If {{WaitForIEReady 30} = {{True};;{{ShowError}
{{RelativeDragMouse Kratronic - Google-Suche - Microsoft Internet Explorer, 1, 1, 270, 530, 0, 638, 709, 0
^c
{{Start Notepad
{{Delay 1000
{{Clipboard}

John Krauer, Kra-Tronic Corp.

 

 

 

ray
Guest




Posted: Sat Feb 18, 2006 10:26 pm    Post subject: web site copying

 

Boy you are fast! It didn't quite work - it didn't like the google - suche line, but I get the idea. Do you have to go through google? can't you address your site directly?
Thanks
Ray




 

 

 

 

33       find out the ip-adress of a PC

 

Author

Message

nirious



Joined: 15 Feb 2006
Posts: 8

Posted: Wed Feb 15, 2006 3:57 pm    Post subject: find out the ip-adress of a PC

 

What is the best way of finding out an ip-adres using the recorder?
OS: windows XP

 

 

 

nirious



Joined: 15 Feb 2006
Posts: 8

Posted: Wed Feb 15, 2006 10:06 pm    Post subject: Never mind, found something myself

 

I have found this handy little tool to show me my current Ip address and hostname. It even copies it to the clipboard for me

In case anyone is searching for something similar,
here is the link.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Feb 17, 2006 2:17 pm    Post subject:

 

You can also use the DOS command ipconfig.

John Krauer, Kra-Tronic Corp.




 

 

 

 

34       Command to ask for numeric input to a var

 

Author

Message

Will
Guest




Posted: Wed Feb 15, 2006 9:01 pm    Post subject: Command to ask for numeric input to a var

 

I am trying to find the easiest way to ask a user to input a number and have that number stored into a numeric variable.
I can use {{ask but it only is working for strings and not numeric. Is there a command such as {{ask for use with numbers?

 

 

 

 

Will
Guest




Posted: Thu Feb 16, 2006 10:24 pm    Post subject: Ask

 

I figured out how to do it using {{AskWrite, sorry for the trouble.




 

 

 

 

35       fehlermeldung beim start

 

Author

Message

runio



Joined: 01 Aug 2007
Posts: 2

Posted: Wed Aug 01, 2007 2:23 am    Post subject: fehlermeldung beim start

 

hallo.
in diesem forum gibts es zwar bereits einen alten beitag über die selbe fehlermeldung, jedoch liefert dieser meines erachtens keine lösungen für mein problem: bei jedem start taucht die fehlermeldung: "run-time error "5" invalid procedure call or argument" auf. danach erscheint zwar das programm, jedoch kann ich keine der funktionen verwenden.
das problem habe ich, seit dem ich windows service pack 2 installiert habe.
kann mir einer sagen wie ich dieses problem löse? ich würde mich auch mit einer älteren funktionierenden version zufrieden geben.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Aug 01, 2007 8:42 am    Post subject:

 

Dieses Problem taucht hin und wieder auf. Letzthin auf einem PC in England. Um den Fehler zu analysieren installierten wir die VisualBasic 6 Entwicklungsumgebung auf den PC in England. (Damit hätten wir dann Zeile für Zeile das Programm verfolgen können und so den fehlerhaften Befehl finden). Allerdings trat der Fehler nach dem Installieren der VisualBasic 6 Entwicklungsumgebung nicht mehr auf.........
Das beudeutet, dass auf dem PC ein Fehler vorhanden war. Eine Komponente (DLL oder OCX Datei) war beschädigt oder gelöscht und wurde von der VisualBasic 6 Entwicklungsumgebungs-Installation wieder hergestellt. Der Maus und Tastatur Recorder benötigt hunderte von solchen Komponenten (Viele sind auch abhängige Komponenten, z.B. braucht der Recorder die Datei COMCAT.DLL. Diese Datei benötigt wieder viele andere DLLs um richtig laufen zu können.) Wenn nur eine Datei in diesem Baum beschädigt ist oder fehlt, geht der Recorder Start schief. Daher ist es auch praktisch unmöglich aus der Ferne zu sagen, welche Komponente da Probleme macht...
Grundsätzlich muss man sagen, dass mit dem PC etwas nicht in Ordnung ist und dass man auch mit anderen Programmen, welche diese Komponente nutzen möchten, Probleme haben wird/würde. In so einem Falle macht es Sinn sich Gedanken zu machen über ein Neu-Installieren des Betriebssystemes. Glücklich ist der, der nach dem vollen Installieren des PC (als er neu war) ein Laufwerk-Image gemacht hat. Dann ist das erneuern des Betriebssystems eine leichte Aufgabe. (Nur noch die neuen Programme installieren, die seit damals hinzu kamen)

John Krauer, Kra-Tronic Corp.

 

 

 

runio



Joined: 01 Aug 2007
Posts: 2

Posted: Wed Aug 01, 2007 11:03 am    Post subject:

 

folgendes problem:
ich habe bereits das betriebssystem neu installiert. nachdem ich dies tat, hat der recorder einwandfrei funktioniert. dann installierte ich service pack 2 und der fehler tauchte auf. ich könnte windows ein 2x neu installieren und das service pack auslassen. jedoch halte ich dies nicht für eine gute idee.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Aug 02, 2007 5:23 pm    Post subject:

 

Ohhh, aber die allermeisten Benutzer von XP haben Service Pack 2 auf dem PC... Erstaunlich. Welche Programme sind denn sonst noch auf dem PC.
Es ist klar, dass das SP2 auf den Rechner gehört. (aus Sicherheitsgründen).
Der Fehler muss nach meiner Meinung mit einer anderen SW welche sich auch auf dem PC befindet zusammenhängen..

John Krauer, Kra-Tronic Corp.




 

 

 

 

36       Ausgabe in Tastaturbuffer

 

Author

Message

Oliver
Guest




Posted: Tue Feb 14, 2006 8:25 am    Post subject: Ausgabe in Tastaturbuffer

 

Hallo,


ich habe ein kleines Problem, welches ich nicht lösen kann.
Dafür bräuchte ich ein Makro, womit man aus einem Feld eine 10-stellige Zahl auslesen und dann in einem anderen Fenster so eingeben kann, als würden die Zahlen über das num-pad eingegeben.

Gibt es einenen entsprechenden Befehl, mit dem ich eine Zahl im Speicher in die Bestandteile zerlegen und dann entsprechend ausgeben kann?


Vielen Dank!

Oliver

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Feb 15, 2006 7:40 am    Post subject:

 

Auslesen des Feldes:
Feld selektionieren und CTRL C (^c)

Zerlegen:
{{SetVarZahl1 {{Mid {{ClipBoard}| 1 | 1}
{{SetVarZahl2 {{Mid {{ClipBoard}| 2 | 1} ...
oder mit einer Variablen arbeiten
{{SetVarZahl{{VarZaehler} {{Mid {{ClipBoard}| {{VarZaehler} | 1}

Senden:
{{NumPad{{VarZahl1}}

John Krauer, Kra-Tronic Corp.




 

 

 

 

37       start recorder from command line/another program & recor

 

Author

Message

NEWUSER
Guest




Posted: Fri Feb 10, 2006 8:06 pm    Post subject: start recorder from command line/another program & recor

 

Hello,

I am trying to enable the recorder to be started from a command line / batch file so it records keystrokes / mouse clicks in the background. The manual appears to indicate that I can only do this to replay a macro. I want to record a macro in the background and be able to take screenshots if possible and to stop the macro recording all without the users intervention.

Howard

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Feb 11, 2006 1:12 pm    Post subject:

 

Well, what you could do is starting a macro by commandline. This macro then opens a new recorder and sets it to recording.
See also the logging function:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174781

John Krauer, Kra-Tronic Corp.




 

 

 

 

38       Please Help, trying to use {{CheckFocus

 

Author

Message

Will
Guest




Posted: Tue Feb 07, 2006 6:17 pm    Post subject: Please Help, trying to use {{CheckFocus

 

I am using the following Macro to test {{CheckFocus, I cannot get it to detect the presence of the Save Files Dialog box in Word, I always get {{No Focus found output..
Am I doing this wrong?

{{' Created at: Feb.07.2006, 10:50 (MKR Version: 5.7 )

{{'Testing CheckFocus. Start this Macro with Word open to a new document.

{{' Enter text "Starting Macro" into the document.

Starting Macro

{{' Open the File Menu and arrow down to Close and press Close
%f
{DOWN}
{ENTER}

{{' Check for dialog asking if Word should Save the file


{{If {{CheckFocus 76, 45, 63, 23, 3, 3, 3, 3} = {{Goto Found};;{{Goto NotFound}


{{Label NotFound}
{{No Focus Found!}

{{Label Found}
{{Yes Focus Found!}

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Feb 07, 2006 7:33 pm    Post subject:

 

The best way is always looking for an example in the help and comparing...
{{If {{CheckFocus 82, 288, 95, 23, 3, 3, 3, 3} = {{True};;{{ShowError}
Well... do you see the difference ? ==> = {{True}

In your case:
{{If {{CheckFocus 76, 45, 63, 23, 3, 3, 3, 3} = {{True} ;{{Goto Found;{{Goto NotFound


John Krauer, Kra-Tronic Corp.

 

 

 

Will
Guest




Posted: Wed Feb 08, 2006 5:18 pm    Post subject: Thanks, this is a powerfull tool and great support too

 

Worked fine, my bad. Looks like I'll be buying the program.




 

 

 

 

39       finding a link

 

Author

Message

guest
Guest




Posted: Mon Jan 23, 2006 1:48 pm    Post subject: finding a link

 

I would like to search through the links on a web page for a specific one. I can tab through the links ok. But, is there a way to check for what text is behind the cursor?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Jan 24, 2006 6:45 pm    Post subject:

 

If you know what text you expect you could use FindPattern. If you need to "read" the text you would need an addidional OCR tool. e.g. SnagIt.

John Krauer, Kra-Tronic Corp.




 

 

 

 

40       FindPattern

 

Author

Message

michael
Guest




Posted: Thu Jan 19, 2006 1:42 pm    Post subject: FindPattern

 

hi

ich kriege es nicht auf die reihe das muster nach dem gesucht werden soll mit dem mauszeiger richtig zu treffen. gespeichert wird das ja einer so einer datei:
MyMacro_FP_1.fpd

gibts es ein programm mit dem ich diese datei öffnen und bearbeiten kann, so dass ich das muster fehlerfrei festlegen kann?

das problem ist halt, dass es sich dabei um einen text handelt der auf einem dynamischen bild jedesmal an einer anderen stelle erscheint. der hintergrund des bildes ist nicht einfarbig, darum ist das wirklich fingerspitzenarbeit

danke für jede hilfe!

mfg
michi

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Jan 20, 2006 10:07 pm    Post subject:

 

Das ist ein ungeschickter Einsatzort für FindPattern. Damit ein Pattern gefunden werden kann, muss es immer gleich sein... Der Maus und Tastatur Recorder hat leider für diese Anforderung keine Lösung.

John Krauer, Kra-Tronic Corp.

 

 

 

Guest





Posted: Sat Jan 21, 2006 1:36 pm    Post subject:

 

Joa das hab ich gelesen in den Anleitung. aber ich habe extra ein 6x6 Pixel großes Teil ausgesucht, welches immer gleich bleibt. Es ändert nur seine Position.

Komisch ist aber, dass es nicht funktioniert, selbst wenn ich noch nicht F5 gedrückt habe. Also wenn das Bild eigentlich noch genauso ist wie als ich das Muster festgelegt habe (obwohl dieses 6x6 große Stück ja sowieso gleich bleibt ..)

danke für die hilfe!

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Jan 21, 2006 3:41 pm    Post subject:

 

Ja, das hinterste und letzte Pixel muss gleich sein, sonst findet der Recorder das Pattern nicht mehr.

John Krauer, Kra-Tronic Corp.




 

 

 

 

41       linux

 

Author

Message

hakini
Guest




Posted: Wed Jan 04, 2006 5:30 pm    Post subject: linux

 

is there any way to use mouse and key recorder with Linux thanks

 

 

 

 

John Krauer
Guest




Posted: Thu Jan 05, 2006 6:55 pm    Post subject:

 

No, the Mouse and Key Recorder can just be run on Windows operating systems. There are no plans to port it to Linux.

John Krauer, Kra-Tronic Corp.




 

 

 

 

42       Can I upload a macro onto a website?

 

Author

Message

CCSF1
Guest




Posted: Wed Dec 28, 2005 4:45 pm    Post subject: Can I upload a macro onto a website?

 

Let's say I created a macro demonstrating how to save an MS Word document. Can I upload that macro to my website so it would replay on command (similar to PowerPoint's kiosk mode wherein it simply loops a slide show)?

 

 

 

 

John Krauer
Guest




Posted: Fri Dec 30, 2005 7:24 pm    Post subject:

 

No, for running a Mouse and Key Recorder macro the Mouse and Key Recorder application must be installed on the PC. For showing a function on the Internet a screenvideo could be used. (e.g. Camtasia).

John Krauer, Kra-Tronic Corp.




 

 

 

 

43       Is there a way to "randomize" relative mouse?

 

Author

Message

puzzled
Guest




Posted: Mon Dec 19, 2005 10:42 pm    Post subject: Is there a way to "randomize" relative mouse?

 

Hi,

Trying to figure out how to change the relative mouse command to be slightly random. What I want to accomplish is to make the mouse move not to the EXACT same position every time the command is executed, but rather to be somewhere with a defined area and execute the command.

Example:

{{Mouse 3, 1, 91, 99, 0
{{RelativeMouse EVE, 1, 1, 131, 191, 0

I would like to be able to have MKR randomly change where the mouse pointer goes to (within narrowly defined limits) and same with the second directional command.
What do i do?

Thanks much!

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Dec 22, 2005 10:20 pm    Post subject:

 

Yes this is possible. Here an example:

{{Mouse 3, 1, 91, 99, 0
{{RelativeMouse EVE, 1, 1, 131, 191, 0

{{Mouse 3, 1, {{RandomNumber 80, 110}, 99, 0
{{RelativeMouse EVE, 1, 1, 131, {{RandomNumber 150, 250}, 0

John Krauer, Kra-Tronic Corp.




 

 

 

 

44       Ask dialogue can't get focus

 

Author

Message

Geoff
Guest




Posted: Fri Dec 09, 2005 2:02 am    Post subject: Ask dialogue can't get focus

 

Hi John, I have written this simple code for user input....


{{' ExADT Login.krc - Created at: Dec.09.2005, 10:32 (MKR Version: 5.6 )

{{AskOrg} Enter Organisation code

{{If {{WriteAskOrg} = trc;{{SetStringOrg RSG ;
{{If {{WriteAskOrg} = cc;{{SetStringOrg Act ;
{{If {{WriteAskOrg} = esp;{{SetStringOrg ESP ;
{{If {{WriteAskOrg} = cst;{{SetStringOrg CSV ;
{{If {{WriteAskOrg} = cnrm;{{SetStringOrg CNRM ;


{{If {{CheckWindow Job Request} = {{True};{{Goto JobExist;{{Goto JobNoExist
Plus lots of code after this point....



When I run this code from within MKR by mouse click it works perfectly. Of course MKR is on top when running from within MKR.
However when I run using Hotkeys ^+F9 the Ask dialogue window can't get the focus. Other apps have the focus when I try to run using Hotkeys. I have tried using {{Switch #MKRX5# and also {{Normalize} at the begining of the macro but it does not help. The Ask dialogue still can't get the focus.
I want to run using Hotkeys, I have many other macros that run perfectly using Hotkeys but none of them use the {{Ask command


What do you suggest?


Thanks Geoff

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Dec 11, 2005 4:20 pm    Post subject:

 

I tried it here in Windows XP and it works fine. (Also if the Recorder is minimized). This worked also in Windows 2000 as far as I remember. What operating system do you use ? What workflow do you use ?

John Krauer, Kra-Tronic Corp.

 

 

 

Geoff
Guest




Posted: Mon Dec 12, 2005 6:55 am    Post subject:

 

I am using XP Pro with SP2.
I have found that this problem is not happening all the time.
I usually have about 8 different application running at once that need to have data either written to or read from at different stages of my work process

My work flow is for example- Open email,run macro1, view result, run macro2, edit data if necessary, run macro 3, run macro4, etc, start again.

All my macros end with {{NoFocus and start with {{Minimize but none of my other macros have any trouble running except this one. This is the only one with an {{Ask
If I Alt-Tab to MKR and then run this macro from HotKeys it has no problem.
Could the {{NoFocus at the end of all other macros be causing a problem.

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon Dec 12, 2005 9:14 pm    Post subject:

 

No the {{NoFocus works also well here. But... What hotkey do you use for that macro ? Is it used for another function or even in another program ?

John Krauer, Kra-Tronic Corp.

 

 

 

Geoff
Guest




Posted: Tue Dec 13, 2005 4:57 am    Post subject:

 

I'm using ^+F9

I don't think that combination is used by any other application although I know that F9 is used by another inhouse application called Wozterm. Wozterm uses all the F keys but it doesn't affect any of my other macros which all start using ^+ and an F key. When I press ^+F9 nothing in Wozterm is activated nor by any other combination of ^+ and F key.
I don't think Wozterm is affecting my macros.

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Dec 13, 2005 6:41 am    Post subject:

 

And if you really use another hotkey for that macro (just for test) does it work then ?

John Krauer, Kra-Tronic Corp.




 

 

 

 

45       Resume on Error

 

Author

Message

Guest
Guest




Posted: Fri Dec 09, 2005 3:59 am    Post subject: Resume on Error

 

This is a great program. I like it so much.

As I am running and debuging my new script. A lot of times the recorder will stop when it encounters errors. When I corrected the code and click play again. It starts from the beginning. Is there an easy way to resume the script from where it was stopped or at any line we wanted?
I know {{Goto plus {{Label will do, but may be there is an easier way than that.

Thanks!

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Dec 11, 2005 4:22 pm    Post subject:

 

No, the macro always starts from beginning.. Normally some "preconditions" are necessary for certain steps in the middle of a macro. So an automated start in the middle would not make sense in most cases.

John Krauer, Kra-Tronic Corp.




 

 

 

 

46       Recorder funktioniert nur teilweise unter virtuellem Fenster

 

Author

Message

Alex



Joined: 01 Aug 2007
Posts: 1

Posted: Wed Aug 01, 2007 5:38 pm    Post subject: Recorder funktioniert nur teilweise unter virtuellem Fenster

 

Hallo zussammen.Ich habe folgendes Problem.Ich arbeite viel mit dem Recorder und seit der Version 6.0 gibt es nun auch die Möglichkeit mit dem Befehl {{SendTextSpecial} in DOS-Boxen oder webbasierend zu arbeiten.
Ich habe nun eine virtuelle 128 Bit- SSL verschlüsselte Anwendung bei dem so einige Befehle wie kopieren oder Tab's nicht funktionieren. Zahlen reinschreiben z.B. funktioniert. Mausklicks auch, da muss ich nur das "128 Bit- SSL" im Quellcode rausnehmen.

Hat jemand eine Idee was sich in diesem Fall machen lässt?




 

 

 

 

47       AND command, MouseClick on Pointer's position??

 

Author

Message

hal9ooo
Guest




Posted: Sun Aug 14, 2005 8:55 pm    Post subject: AND command, MouseClick on Pointer's position??

 

Jun 10, 05 - 5:29 PM

Hello,
This Program is a really great program and I enjoy it a lot to work with it. Though the manual is not any good and often contains wrong statements.

Such as the claim, thet the command "{{Mouse" causes a mouseClick on the position of the Mousepointer. It does not work but the Pointer jumps to the position 0,0. Very urgently though, i need to find a way to single click the mouse on whereever the pointer is in the moment the script reaches the correlatively command. Is there a way??

The other question is, how to create an AND relation in the command "{{If". Example: I want to check whether the color of a specific Pixel on the screen ({{GetPixel -1,-1}) fits in an area of possible colors, like: if color is < 2000000 AND > 1000000 goto next. (in jscript: if(color<2000000 && color>1000000)next()
Anything like that.

I'd be really glad about hearing from you!
greetings, hal

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:56 pm    Post subject: Re: AND command, MouseClick on Pointer's position??

 

Jun 14, 05 - 10:33 PM

Which parts of the documentation are wrong ?
The {{Mouse command always needs coordinates after the command. See Help (F1)

To click on the location where the mouse is you find in the help:
{{Mouse 3, 2, 430, 283, 2 {{DragMouse 1, 1, 197, 307, 2, 371, 297, 0
A 2 at the location of the bold number means: The first mouse coordinate is "forgotten". {{Mouse will click exactly where the mouse stands, A {{DragMouse will start its drag a the actual mouse location.

There is no AND command in the Recorder. You need to use {{Goto and {{Label to create an AND Function.
Example:
{{SetVar1 1
{{SetVar2 3
{{if {{Var1} = 1;;{{Goto Wrong
{{if {{Var2} = 2;;{{Goto Wrong
{{MessageBox Var1 contains a 1 and Var2 contains a 2
{{Goto End
{{Label Wrong
{{MessageBox Var1 does not contain a 1 or Var2 does not contain a 2
{{Label End

John Krauer, Kra-Tronic Corp.

 

 

 

 

Guest
Guest




Posted: Wed Dec 07, 2005 9:46 pm    Post subject:

 

In your Manual under the if Command you listed that If can take || and && conditions:

"The command {{If allows using the following conditions: =, <, >, <=, >=, <>, ||, &&.
=: equal, <: less than, >: larger than, <=: smaller or equal, >=: larger or equal, <>: not equal, ||: or, &&: and.
"

How do you use that?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Dec 08, 2005 7:38 pm    Post subject:

 

&& und || can just be used for {{True} and {False}
{{If {{True} || {{False};{{beep};

John Krauer, Kra-Tronic Corp.




 

 

 

 

48       Add text to Outlook contacts

 

Author

Message

dbr



Joined: 07 Dec 2005
Posts: 1

Posted: Wed Dec 07, 2005 9:36 pm    Post subject: Add text to Outlook contacts

 

I select a group of contacts from outlook. I open the first contact. I create my macro. The macro ends with a) my clicking on the arrow you would normally click on to advance to the next contact in the list and then b) by my clicking 'yes' in response to the question outlook asks 'do you want to save changes to...'

When I run my macro, it stops after the first contact because Recorder recognizes that contact specifically and cannot proceed. For example, if John Smith were the name of the first contact I worked with, Recorder's message, as soon as it has written the text part of the macro into John Smith's record, reads:

'John Smith - Contact ' was not found !
Command Line: {{RelativeMouse John Smith - Contact , 1 , 1, 369, 92,0

The macro window shows the location with a ===>>
Please use the scrollbar to find the marker,


Pls help.

dbr

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Dec 08, 2005 7:18 pm    Post subject:

 

The {{RelativeMouse command uses the window title for finding the right application. If this title changes then the window can not be found any longer. Possibilities:
Use just the part of the title which does not change.
If the whole title change use the command: {{GetWindowName} after the window has opened. Use then this name for the mouse command.

{{SetStringWinName {{GetWindowName}
{{RelativeMouse {{StringWinName} , 1 , 1, 369, 92,0

John Krauer, Kra-Tronic Corp.




 

 

 

 

49       DoImport problem mit text der mit [ anfängt

 

Author

Message

Cognito
Guest




Posted: Tue Nov 22, 2005 12:53 pm    Post subject: DoImport problem mit text der mit [ anfängt

 

Hallo

{{1}{{ImportFile c:\liste.txt
{{DoImport}}

soll den text der mit einem [ beginnt von der liste.txt in ein formular einfügen

leider fügt er die klammer [ nicht mit ein


Beispiel:

in der liste.txt steht

[textbeispiel]

so sollte es dann auch ausgeführt werden aber er schreibt dann immer

textbeispiel]


also was muß ich machen damit die erste klammer [ auch wiedergegeben wird ????

hoffe meine ausführung ist einigermaßen verständlich

Gruß Cognito

 

 

 

 

John Krauer
Guest




Posted: Tue Nov 22, 2005 6:29 pm    Post subject:

 

Nun, bei mir funktioniert das Beispiel:
{{start notepad
{{1}{{ImportFile c:\john.txt
{{DoImport

Bestimmte Sonderzeichen können bei der Ausgabe Probleme machen. Siehe Help.

In diesem Fall kann man den Text erst ins Clipboard kopieren und dann dieses rausschreiben:
{{start notepad
{{1}{{ImportFile c:\john.txt
{{SetClipboard {{DoImport}
^v

John Krauer, Kra-Tronic Corp.




 

 

 

 

50       connect strings / Textkette

 

Author

Message

Andreas
Guest




Posted: Thu Nov 17, 2005 2:31 pm    Post subject: connect strings / Textkette

 

To add the Clipboard to an existing String i use

{{SetStringText {{StringText}{{ClipBoard}

but repeating this many times (different Clipboards to the same String) causes the Program to slow down.

Is there a way to connect the new String to the existing one without copying the original?

Kann man Strings verketten ohne das Original auf sich selbst zu kopieren?
etwa so: {{IncStringText {{ClipBoard} ??

Andreas

 

 

 

 

John Krauer
Guest




Posted: Thu Nov 17, 2005 7:39 pm    Post subject:

 

No, there is no such command.
It becomes slow ? Means you copy a huge amount of text to one string variable ?
You could use notepad and write what you have in your clipboard additionally to the notepad..
This might be faster.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Andreas
Guest




Posted: Fri Nov 18, 2005 11:07 am    Post subject:

 

Copying about 50 lines of HTML-Code to the String, for lets say 100 Times, slows the system down (even after 20 times the "write-time" is already up to 15 sec)

I'll try the "{{WriteToFile c:\Store.txt |{{StringText}"-command now...
if this is a suitable workaround, i'll let you know

Thanks, Andreas




 

 

 

 

51       richtx32.ocx

 

Author

Message

peter
Guest




Posted: Tue Nov 15, 2005 6:41 am    Post subject: richtx32.ocx

 

When i ry to start 'recorder' i get the errorcode '372' - could not load 'RichTextBox' from richtx32.ocx.
The version of richtx32.ocx in ..\system32 ist the same as in then installation package.
Thanks for any help!!
Peter

 

 

 

 

John Krauer
Guest




Posted: Tue Nov 15, 2005 7:29 pm    Post subject:

 

It looks like your richtx32.ocx is corrupted. Since the version of your richtx32.ocx is the same as the one the Recorder would install, the Recorder installation does not overwrite this ocx. (The installation overwrites just older files)

If you use Windows NT 4.0 you can read this Microsoft article:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q197580&

You can find the actual files for V5.6 (DLLs OCXs) at:
www.kratronic.com/temp/MKRSupport56.zip

John Krauer, Kra-Tronic Corp.




 

 

 

 

52       ClipBoard = ClipBoard - 1

 

 

   

   Mouse and Key Recorder

Author

Message

diagonal



Joined: 06 Nov 2005
Posts: 2

Posted: Mon Nov 14, 2005 11:19 pm    Post subject: ClipBoard = ClipBoard - 1

 

Hi everybody,

I would like to substract a value from the clipboard by 1, and return the new value to the clipboard.

Of course u know an easy way!

TIA

diagonal

 

 

 

John Krauer
Guest




Posted: Tue Nov 15, 2005 6:23 pm    Post subject:

 

Here a possible solution:

{{SetVarNumber {{Clipboard}
{{DecVarNumber 1
{{SetClipBoard {{VarNumber}
{{MessageBox {{VarNumber}

John Krauer, Kra-Tronic Corp.




 

 

 

 

53       How to check the character space/" " on the clipbo

 

Author

Message

diagonal



Joined: 06 Nov 2005
Posts: 2

Posted: Thu Nov 10, 2005 10:08 am    Post subject: How to check the character space/" " on the clipbo

 

Hi everybody,

I try to check for an empty string containing 6 spacies, " ", in the following code, me stupid but I don´t get it to work!!

{{SetString1} #spaceX6#
{{if {{ClipBoard} = {{String1};{{Goto Stop};{{Goto StartCollecting}

TIA
Alexander

 

 

 

John Krauer
Guest




Posted: Thu Nov 10, 2005 7:28 pm    Post subject:

 

Hello

There are two problems:
There is an error in the code. The right code would be:
{{SetString1} ##spaceX5##spaceX5##spaceX5##spaceX5##spaceX5##spaceX5#
{{if {{ClipBoard} = {{String1};{{Goto Stop;{{Goto StartCollecting

But also with this code it does not work.. because there is an error in the Recorder.. It replaces the ##space5# code to a space only then if just one of them is there. This error will be corrected in V5.7 which is expected to be released within this month.

John Krauer, Kra-Tronic Corp.




 

 

 

 

54       Holding Down Keys

 

Author

Message

Cordel
Guest




Posted: Tue Nov 08, 2005 5:32 am    Post subject: Holding Down Keys

 

How do I hold down keys in 5.6?

 

 

 

 

John Krauer
Guest




Posted: Tue Nov 08, 2005 9:08 pm    Post subject:

 

You can just hold down certain keys for a long time. (ALT CTRL SHIFT SPACE) The other keys are just pressed for 0.05 seconds.

A good idea is always reading the help. There you find:

{{CTRL, {{Shift, {{Alt

{{CTRL, {{Shift, {{Alt allow to press these keys separately (without a combination with other keys)
Examples:
{{CTRL. The key CTRL is pressed for 50 ms (milliseconds).
{{Alt 700. The key Alt is pressed for 700 ms (0,7 seconds)
{{Shift 300 {{CTRL {{Alt. The three keys are pressed for 300 ms.

Hint: Just the time belonging to the first command is used for all keys. {{Shift 300 {{CTRL 600 means that Shift and CTRL are pressed for 300 ms.




 

 

 

 

55       i cnt plz help

 

Author

Message

Zyn
Guest




Posted: Wed Oct 26, 2005 9:45 am    Post subject: i cnt plz help

 

i cnt convernt my macros exp:

SetActiveWindow Knight OnLine Client
ObjVar 15
commandDelay 96000
keys 1
keys 1
keys 1
keys z
end

i wnt to convert but i cnt
plz help me

 

 

 

 

John Krauer
Guest




Posted: Tue Nov 01, 2005 7:59 am    Post subject:

 

What do you mean with convert ?
How it would look like as MKR macro ?

Well..
{{Switch Knight OnLine Client
{{SetCarObj 15
{{Delay 96000
1
1
1
z

Why so you not record it ? Then you see already how the commands look like..

John Krauer, Kra-Tronic Corp

 

 

 

 

ZyN
Guest




Posted: Tue Nov 01, 2005 10:09 am    Post subject:

 

tnx a lot

 

 

 

 

Guest





Posted: Tue Nov 01, 2005 10:25 am    Post subject:

 

i cnt record it and this macro commands is nt working

look this

cand be processed

keep in mind : Most commands need
vs vs


i cnt undersntd this eror

 

 

 

 

John Krauer
Guest




Posted: Thu Nov 03, 2005 7:17 pm    Post subject:

 

Ohhhh there is an syntax error in... Sorry

Well..
{{Switch Knight OnLine Client
{{SetVarObj 15
{{Delay 96000
1
1
1
z

John Krauer, Kra-Tronic Corp.

 

 

 

 

ZyN
Guest




Posted: Thu Nov 03, 2005 8:11 pm    Post subject:

 

Yes but =( dnt work

beacuse
---------------------------------------here is working
{{Switch Knight OnLine Client
{{SetVarObj 15
{{Delay 100
-----------------------------------
but here is nt workıng
-------------
1
1
1
z
--------------------
cand be processed

keep in mind : Most commands need
vs vs

i cnt understnd it i wnt to press 1 in game but only give eror

 

 

 

 

John Krauer
Guest




Posted: Sat Nov 05, 2005 6:29 pm    Post subject:

 

The ones I mentioned earlier on are examples to show you how to program something.... Well here a full working macro:

{{Start Notepad
{{SetVarObj 15
{{Delay 100
1
1
1
z

It starts the notepad, sets the variable Obj to 15, waits for 100 millisecound and writes then1 1 1 z to the notepad...

John Krauer, Kra-Tronic Corp.




 

 

 

 

56       Date Problem and DosCommands

 

Author

Message

Markus
Guest




Posted: Sun Aug 14, 2005 5:54 pm    Post subject: Date Problem and DosCommands

 

Oct 12, 04 - 8:25 AM

Hallo

Is it possible to say {{Date-} - 5 because i would like to get date today but minus 5 days.

A other problem i have is with the dos commands they for some reason do not work i have solved it at the moment by starting a batch file but i would radar have in the macro here is a example of the Batch file

WZUNZIP c:\Vtemp\V0097cak*.zip c:\
DEL c:\Vtemp\V0097cak*.zip

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:55 pm    Post subject: Re: Date Problem and DosCommands

 

Oct 12, 04 - 9:44 PM

Well, this is possibe, but not trivial...
You can use {{Date- to get: 2004-10-12
then you use {{Right 2004-10-12 | 2 to get the day,
then {{DivVar1 5 to deduct 5
then {{if Var1 < 1... when true then you need to deduct one from the month and if the month get 0 one from the year. You have also to consider the different amount of days every month..
When you have programmed this it would be nice to put it in here for others..

DOS:
The Help says:
The 'Mouse and Key Recorder' cannot send keystrokes to an application that is not designed to run in Microsoft Windows. That means you cannot work directly with a DOS-Box. If you want to carry out DOS commands use the command {{DOS. Example: {{DOS rename c:\temp\snap.jpg snap2.jpg. Another way to put commands to a DOS-Box is to switch to the DOS-Box and then paste the content of the clipboard to the DOS-Box. (ALT Space, Edit, Paste). A third way to run DOS commands are DOS-Batch files.

For the DEL you could use the command {{DOS
For WZUNZIP it might be possible to use {{Start

John Krauer, Kra-Tronic Corp.

 

 

 

 

Guest





Posted: Thu Oct 27, 2005 5:36 pm    Post subject:

 

In the example that you post John you are jus dividing the day by 5 but nut deduction 5 I want to do the same, deduct some days to the actual day, how can we do that. A partner post the same question

 

 

 

 

John Krauer
Guest




Posted: Thu Nov 03, 2005 7:21 pm    Post subject:

 

Ohhhh I had a bad day.. The command is of course not {{DivVar1 5 but {{DecVar1 5 (decrement)

Sorry

John Krauer, Kra-Tronic Corp.




 

 

 

 

57       Information about Run Time Error 5

 

Author

Message

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Aug 01, 2007 9:05 am    Post subject: Information about Run Time Error 5

 

The problem with Runtime Error 5 emerges now and then. Recently we had this error on a PC in England. To analyze the error, we installed the VisualBasic 6 development environment on this PC in England. (That way we could go through the program step by step to find the erroneous line). However the error disappeared after installing the VisualBasic 6 development environment......... That means that this PC contained an error. A component (DLL or OCX file) was damaged or deleted and the VisualBasic 6 development environment installation fixed this problem. The Mouse and Key Recorder needs hundreds of such components (many are also dependent components, e.g. the recorder needs the file comcat.dll. Comcat.dll needs again many other DLLs to run correctly.) If only one file in this tree is damaged or is missing, the recorder can not start properly. Therefore it is nearly impossible to say from the distance, which component could be the reason... In principle one must say that this PC has a problem and will have problems also with other programs, which will need this component. In such a case it makes sense to think about a new installing of the operating system. If you made a drive image after the first setup of your new PC, you are lucky, because then renewing the operating system is a easy task (just reinstalling the programs which were added after first set up).

John Krauer, Kra Tronic Corp.




 

 

 

 

58       Operating System plz help me (URGENT)

 

Author

Message

esatpostaci



Joined: 27 Oct 2005
Posts: 2

Posted: Thu Oct 27, 2005 5:18 pm    Post subject: Operating System plz help me (URGENT)

 

Hi.
I am not an expert for the writing macro codes.

When i clicked to the recording button, i am making my business and this program adds the macro code in to the screen automatically.

But when i played the macro code, it gave me error.

Is this related with the operating system.I am using XP.

Error is :

'Program Manager' was not found!

The macro code that is created by the program for my mouse actions :

{{Mouse 3, 1, 201, 236, 0
===>> {{RelativeMouse Program Manager, 1, 1, 248, 411, 0
{{RelativeMouse Display Properties, 1, 1, 277, 45, 0
{{RelativeMouse Display Properties, 1, 1, 206, 433, 0


Nevertheless, it is showin me the right click action of the mouse not the right click.

Can u help me plz?

 

 

 

John Krauer
Guest




Posted: Tue Nov 01, 2005 8:15 am    Post subject:

 

By default the mouse clicks are recorded relative to the active window. For that the mouse command needs the name of the window. If the name is not the same when you replay the macro as it was when you recorded, then you get this error.
Possible solutins:
Use just the part of the windowname which does not change
Use absolute mouse clicks (maximize window before)
Use keystrokes (always use keystrokes when possible. This has several advantages. See help)

John Krauer, Kra-Tronic Corp.

 

 

 

 

esatpostaci



Joined: 27 Oct 2005
Posts: 2

Posted: Tue Nov 01, 2005 2:28 pm    Post subject:

 

ok.thx

but for the default windows explorer, what are u using?

can u give me samples and detail explanations for it plz?
i will buy this product but i need to learn how to write a macro code.

 

 

 

John Krauer
Guest




Posted: Thu Nov 03, 2005 7:14 pm    Post subject:

 


Well you can use the Relative Window Filter...
See in the Help:
Relative Mouse Recording: In this mode the mouse clicks are stored relatively to the application window. That means a click on the Microsoft Word File menu will hit the file menu always, regardless where the Microsoft Word window is located on the screen and how large it is. Additional to the mouse coordinates the application window name is also stored to the macro. During macro run, the 'Mouse and Key Recorder' first switches to the window and then applies the mouse click. That means in the Relative Mouse Recording mode the window name must be the same during macro recording and macro run. Chapter 'Options' shows a way to ease this hard requirement. (Relative-Window-Filter) This chapter shows also how to switch between the absolute and relative mode.

Use rel. Window Filter:

To be able to use the Relative Windows Filter, a filter file must exist. The 'Mouse and Key Recorder' contains such a file with the most used filenames. (MS Office, IE, Corel). This file is used the first time you install the 'Mouse and Key Recorder'. Later upgrades will not change the file you have already extended.

You can extend the filter file with pure window names. Every time the 'Mouse and Key Recorder' finds this pure name in the real window name, it uses the name in the filter for the mouse or the (hotkey) {{Switch command.

Hint: If you need to add names that contain another name, you need to consider the sequence in the filter file. Example: 'Explorer' and 'PdmExplorer'. Place the longer name before the shorter one: In the above example: 'PdmExplorer' before 'Explorer'.

-----------------

Samples can be found in the help und in the FAQ.

An easier way reading the manual is doing it on the web:
http://www.kratronic.com/tools/recorder/manual/index.html

John Krauer, Kra-Tronic Corp.




 

 

 

 

59       Logik

 

Author

Message

Omega
Guest




Posted: Thu Oct 27, 2005 5:30 pm    Post subject: Logik

 

Was sind die Zeichen für das logische und, oder, xor?

 

 

 

 

John Krauer
Guest




Posted: Tue Nov 01, 2005 8:14 am    Post subject:

 

Diese sind in der Hilfe zu finden: (bei {{If )
|| = or
&& = and

xor ist nicht vorhanden

John Krauer, Kra-Tronic Corp.




 

 

 

 

60       Date Minus 1

 

Author

Message

suelemgisela



Joined: 26 Oct 2005
Posts: 1

Posted: Wed Oct 26, 2005 9:48 pm    Post subject: Date Minus 1

 

Have a problem, the question is: How can I deduct 1 day to the actual date.
I was tring to use the next code

{{SetVarFecha {{Mid{{Date-} | 9 | 2}
{{VarFecha - 5
{{MessageBox {{VarFecha}

But i can't deduct - 5 to VarFecha

 

 

 

John Krauer
Guest




Posted: Tue Nov 01, 2005 8:12 am    Post subject:

 

Here the solution:

{{SetVarFecha {{Mid{{Date-} | 9 | 2}
{{DecVarFecha 5
{{MessageBox {{VarFecha}

Be aware that if you have the 1st November you get an invalid result (Day -4)

John Krauer, Kra-Tronic Corp.




 

 

 

 

61       Find Patter / finde Muster

 

Author

Message

Daniel
Guest




Posted: Wed Oct 26, 2005 12:42 pm    Post subject: Find Patter / finde Muster

 

Habe Proble, mit denen ich mich schon eine ganze weile umschlage...

1. find pattern schreibt mir keinen programm code in die code-lasche
obwohl ich genau so verfahre wie in der beschreibung angegeben. Habe zwar versucht find pattern zu überschreiben, darf man das?

2. Ziel ist es, ein eingabe feld, einen link und eine zahl mittels find pattern zu lokalieren. sämtliche objekte haben immer das gleiche muster, sind aber nicht an der gleischen stelle. beim eingabe feld passiert nichts (folglich 1.).
Den link würde ich gerne nach der lokalisation aktivieren, pressen.
Und die zahl soll nach der lokalisation markiert werden und in eine zahlenvariable abgespeichert werden.

help!!!

Thanks a lot.

 

 

 

 

John Krauer
Guest




Posted: Tue Nov 01, 2005 8:03 am    Post subject:

 

Das ist ein Fehler in Version V5.6. In bestimmten Fällen wird beim Aufzeichnen eines {{FindPattern einfach nichts ins Makro Fenster reingeschrieben (. Dieser Fehler wird mit der nächsten Version korrigiert. Bei V5.6 muss man den Recorder schliessen und dann kann man wieder ein {{FindPattern aufzeichnen.

Die Patterns zählen automatisch hoch 1 - 2 -3. Man darf aber bereits bestehende Pattern überschreiben. z.B. einfach wieder die 1 wählen.

John Krauer, Kra-Tronic Corp.




 

 

 

 

62       question

 

Author

Message

Yair
Guest




Posted: Sun Oct 30, 2005 10:11 pm    Post subject: question

 

Hello,
I have a problem with the Mouse and Key Recorder.
when I click on the record button, and when it records,
I'm enter for example to the Internet Explorer and when I click there
in some buttons of webs .. the mouse going (alone, after I play the record) to another place, not what I click in the record.

example of a site that it did it to me:
http://www.topsite.co.il/vote.php?S_ID=7140
I click there on the silver button and after the record, when I'm doing play
it takes the mouse to some place up .. and left..

what can I do ?

 

 

 

 

John Krauer
Guest




Posted: Tue Nov 01, 2005 7:55 am    Post subject:

 

The Internet Explorer is a tricky place for recording macros... Often advertisements are shown on internet pages. The ads have different sizes. So the buttons you want to click "move" every time you open the site new. You need to use {{FindPattern to find the button you want to press.

John Krauer, Kra-Tronic Corp.




 

 

 

 

63       Runtime error 7 - out of memory

 

Author

Message

sumter
Guest




Posted: Sat Oct 29, 2005 1:56 pm    Post subject: Runtime error 7 - out of memory

 

I have been getting runtime error #7 - not addressed int he FAQ which does list #6 and #13. Restoring my registry has worked as the fix but now that I have performed many downloads I hate to loose it al my restoring my registry. I did raise my F2 number to 5000, but it didn't help.

Please add a fix for Runtime Error #7: Out of memory.

It seeems to happen after I run System Mechainc.

-------------------------------------------------------------------
FAQ says:

7 I get run time error 13 when I start Recorder



Question:

I used the Mouse and Key Recorder V5.2 successfully but suddenly after I changed the keyboard language I get always 'Run time error 13: Type Mismatch' when I start the Recorder. What happened ? What can I do ?



Answer:

You have chosen 'Template' as language. Template is a leftover item of earlier versions and does not have any function any more. Unfortunately it also causes this error. To reset the language to US-English run the following reg-file:

www.kratronic.com/recorder/LanguageUS-Engl.reg

The next version will not contain 'Template' any longer.




8 I get run time error 6 when I start Recorder



Question:

I used the Mouse and Key Recorder V5.1 successfully but suddenly I get always run time error 6 when I start the Recorder. What happened ? What can I do ?



Answer:

The Mouse and Key Recorder uses a too small variable for the 'Insert Delay' default value. If in Options / Edit / Insert Delay a value larger 65'000 was used the above error appears. To repair this effect, download and run the following little reg-file:
www.kratronic.com/recorder/InsertDelay.reg

The next version will allow entering larger numbers.

 

 

 

 

John Krauer
Guest




Posted: Tue Nov 01, 2005 7:47 am    Post subject:

 

When you get the error "Out of Memory" mostly the commanded application is the reason.
Background: The Mouse and Key Recorder allows you to carry out command sequences you would never do manually within that short time. That means you use the application you drive by the Recorder a way no one had tested before (the creator of the program did just test with "normal" human beings). That means you can run into new errors in the application.
Possible solution:
After some loops close the application and start it new. That way the occupied memory is freed (normally). In some seldom cases you have even to reboot the PC to get rid of the occupied memory.

John Krauer, Kra-Tronic Corp.




 

 

 

 

64       Gits was, dass dieses Programm beschleunigt?

 

Author

Message

Ewgenchen



Joined: 13 Oct 2005
Posts: 2

Posted: Thu Oct 13, 2005 7:57 am    Post subject: Gits was, dass dieses Programm beschleunigt?

 

Hallo!

Ich habe eine normale Testversion vom Mouse and Key Recorder...
Es ist aber etwas zu langsam...
Gibts was, dass dieses Programm beschleunigt, oder braucht man lizensiertes Programm. Und wenn ja, dann welches genau.

Bedanke mich im voraus

 

 

John Krauer
Guest




Posted: Thu Oct 13, 2005 4:13 pm    Post subject:

 

Defaultmässig wird beim Aufzeichnen eine Verzögerung von 100 ms eingestellt. Dies ist ein guter Wert für die meisten Makros. Wenn ein Markro nur Tastenklicks (keine Maus-Klicks) oder gar nur interne Berechnungen verwendet, kann man diese Zeit (Zeilenverzögerung) verkürzen. Bei Mausklicks muss man aufpassen, dass der PC dann den schnellen Klicks folgen kann. (ev. {{Delay einfügen. Die Demo-Version ist voll funktionsfähig und hat keine funktionellen Einschränkungen.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Ewgenchen



Joined: 13 Oct 2005
Posts: 2

Posted: Sat Oct 15, 2005 7:52 pm    Post subject:

 

Bei mir ist die Verzögeruns vom 10 ms... Ist nich langsam, geht es schneller?

 

 

John Krauer
Guest




Posted: Fri Oct 21, 2005 5:33 am    Post subject:

 

Die Einstellung 0 ist am schnellsten - schneller gehts nicht..
Bei grossen Makros machen {{Goto den Ablauf langsamer. In diesem Fall das Makro in kleinere Teile aufteilen und mit {LoadMakro nachladen

John Krauer, Kra-Tronic Corp.




 

 

 

 

65       Store mouse coordinates in variables

 

Author

Message

John Philp
Guest




Posted: Thu Oct 13, 2005 2:51 pm    Post subject: Store mouse coordinates in variables

 

I want to write a macro that stores the coordinates of a mouse click event in variables for re-use later in the routine. Obviously, the recorder writes mouse coordinates into code during recording sessions. Seems like there should be a way to apply those values to {{SetVar} during a run session. Is this possible?

 

 

 

 

John Krauer
Guest




Posted: Thu Oct 13, 2005 4:22 pm    Post subject:

 

In version V5.6 this is not yet possible. In the next version V5.7 the command: {{GetCursorPos} will be built in. Here the help text to this new command:
{{GetCursorPos reads the position of the cursor. Syntax: {{GetCursorPos. The coordinates of the cursor are written to variables. The following variable names are used: {{VarGetCursorCoord_X, {{VarGetCursorCoord_Y. Important: The command {{GetCursorPos cannot be used as parameter. That means {{GetCursorPos must be located at the begin of the line)"

V5.7 will be released in early winter 2005.

John Krauer, Kra-Tronic Corp.




 

 

 

 

66       wont work for me??

 

Author

Message

Kindra
Guest




Posted: Thu Oct 06, 2005 3:41 pm    Post subject: wont work for me??

 

I cant get My prog to record my mouse clicks in Everquest II, I'm a total newb at this so what am I doing wrong?. Do I need to have "switch to window" selected. I tried that with "Everquest II" in it.

many thanks
K................................

 

 

 

 

Guest





Posted: Thu Oct 06, 2005 4:11 pm    Post subject:

 

Ok, it records mouse clicks when not in everquest 2, but as soon as I try to record mouse clicks inside the EQ2 window it doesn't record?.

thx
K.......................

 

 

 

 

John Krauer
Guest




Posted: Fri Oct 07, 2005 5:42 pm    Post subject:

 

Games are often programmed very special. Game programmers use "dirty" tricks to make games faster and to utilize special effects. The "price" for such tricks are incompatibilites. The programmers violate windows rules. The results are such effects you see you your PC now.. The Mouse and Key Recorder can't do anything here. You might search for a macro recorder which is less sensitive to such violations. Also Recorders use different ways to capture mouse and keyboard, so it might be you find one which works.

John Krauer, Kra-Tronic Corp.




 

 

 

 

67       Switch to previous window using Alt + Tab?

 

Author

Message

Drkinocshat



Joined: 01 Oct 2005
Posts: 1

Posted: Sat Oct 01, 2005 11:28 pm    Post subject: Switch to previous window using Alt + Tab?

 

I am trying to switch windows to go back to the previous screen. From my understanding the {{Switch command needs a string how do I retrieve the title of screen without typing it in. Is there a way to use Alt + Tab to go back to the previous window? I have tried {{ALT 700 {{TAB}

Thank You for your suggestions

 

 

 

John Krauer
Guest




Posted: Tue Oct 04, 2005 5:50 pm    Post subject:

 

Alt Tab is a command you can use during recording which is not recorded. That means you can "search" the right window without that these tries are stored into the macro. For storing the {{Switch command you can use the fast hotkey: CTRL-ALT-SHIFT-F12 and then again F12. (See help, there you find lots of answers)

John Krauer, Kra-Tronic Corp




 

 

 

 

68       mausklicks ohne mausbewegungen ?

 

Author

Message

valen771



Joined: 29 Jul 2007
Posts: 7

Posted: Sun Jul 29, 2007 2:03 am    Post subject: mausklicks ohne mausbewegungen ?

 

in der hilfe datei habe ich das hier gefunden :
"{{Mouse 3, 2, 430, 283, 2 {{DragMouse 1, 1, 197, 307, 2, 371, 297, 0

Eine fette 2 bedeutet: Die erste Maus Koordinate wird "vergessen". {{Mouse klickt genau dort wo die Maus steht, {{DragMouse beginnt mit dem ziehen genau dort wo die Maus aktuell steht"

wenn ich das dann so mache
1e
{{RelativeMouse Brood War, 1, 1, 0, 0, 2, 2
2e
{{RelativeMouse Brood War, 1, 1, 0, 0, 2, 2
3e
{{RelativeMouse Brood War, 1, 1, 0, 0, 2, 2
4e
{{RelativeMouse Brood War, 1, 1, 0, 0, 2, 2
5e
{{RelativeMouse Brood War, 1, 1, 0, 0, 2, 2
{{NoFocus}
springt die maus in kleinen bewegungen immer nach rechts

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Jul 29, 2007 6:30 am    Post subject:

 

Nun, gleich weiter unten steht:

Hinweis: {{Mouse 1, 1, 430, 283, 1 und {{Mouse 1, 1, 430, 283, 0 platzieren den Mauszeiger nicht immer an den gleichen Ort. Unterschied: Manchmal 1 Pixel. Grund: Die beiden Befehle bauen auf zwei unterschiedlichen Koordinaten Systemen auf. Das führt zu Rundungsfehlern.

Dies gilt natürlich auch für 2 und 3.

Mögliche Lösung: Erst einen richtigen Klick auf die Location mit z.B. mittlerer oder rechter Maustaste machen (Maustaste wählen die keine Wirkung hat in dieser Sitzuation). Um die Maus Position zu erhalten erst: {{GetCursorPos ausführen.

John Krauer, Kra-Tronic Corp.

 

 

 

valen771



Joined: 29 Jul 2007
Posts: 7

Posted: Sun Jul 29, 2007 12:55 pm    Post subject:

 

erstmal danke für die antwort
hab das jetzt so verändert
1e
{{GetCursorPos}
{{RelativeMouse Brood War, 1, 1,{{VarGetCursorCoord_X}, {{VarGetCursorCoord_Y}, 0 {{
2e
{{GetCursorPos}
{{RelativeMouse Brood War, 1, 1,{{VarGetCursorCoord_X}, {{VarGetCursorCoord_Y}, 0 {{
3e
{{GetCursorPos}
{{RelativeMouse Brood War, 1, 1,{{VarGetCursorCoord_X}, {{VarGetCursorCoord_Y}, 0 {{
4e
{{GetCursorPos}
{{RelativeMouse Brood War, 1, 1,{{VarGetCursorCoord_X}, {{VarGetCursorCoord_Y}, 0 {{
5e
{{GetCursorPos}
{{RelativeMouse Brood War, 1, 1,{{VarGetCursorCoord_X}, {{VarGetCursorCoord_Y}, 0 {{
{{NoFocus}

er spielt es ohne fehler ab, aber die sprünge sind immer noch vorhanden
(sie springt nach oben und nach rechts, je nach position macht sie in der art einen halbkreis)

hab nochmal richtige mausbewegungen aufgenommen und bemerkt das die maus dabei immer zu weit rechts liegt beim abspielen.

hab mal die sprünge der maus aufgenommen(in windows)
also aufgenommen, abgespielt und wieder aufgenommen ohne die maus selber zu bewegen.

{{Mouse 1, 1, 21, 234, 0

{{Mouse 1, 1, 28, 234, 0

{{Mouse 1, 1, 37, 234, 0

{{Mouse 1, 1, 49, 234, 0

{{Mouse 1, 1, 65, 234, 0

{{Mouse 1, 1, 86, 234, 0

{{Mouse 1, 1, 114, 234, 0

{{Mouse 1, 1, 152, 234, 0

{{Mouse 1, 1, 202, 234, 0

{{Mouse 1, 1, 269, 234, 0

{{Mouse 1, 1, 358, 234, 0

{{Mouse 1, 1, 477, 234, 0

{{Mouse 1, 1, 635, 234, 0

so sehen dann die sprünge in pixeln aus :
7, 9, 12, 16, 21, 28, 38, 50, 67, 89, 119, 168
(wenn die maus links am bildschirmrand steht, spielt er es ohne sprünge ab)
komischer weise macht die maus in windows nur sprünge nach rechts und nicht nach oben
da die maus je nach position unterschiedlich springt, kann ich das schlecht korrigieren.

als betriebssystem benutze ich windows xp(englische version), hab es auch schon mit einer älteren maus ausprobiert die ohne eigene software arbeitet.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Jul 29, 2007 2:58 pm    Post subject:

 

Ohhh nein, natürlich nur einmal {{GetCursorPoint..
Ganz am Anfang...

Die Maus soll doch immer dorthin gehen wo sie am Anfang stand...

{{GetCursorPos}
1e
{{RelativeMouse Brood War, 1, 1,{{VarGetCursorCoord_X}, {{VarGetCursorCoord_Y}, 0
2e
{{RelativeMouse Brood War, 1, 1,{{VarGetCursorCoord_X}, {{VarGetCursorCoord_Y}, 0
3e
{{RelativeMouse Brood War, 1, 1,{{VarGetCursorCoord_X}, {{VarGetCursorCoord_Y}, 0
4e
{{RelativeMouse Brood War, 1, 1,{{VarGetCursorCoord_X}, {{VarGetCursorCoord_Y}, 0
5e
{{RelativeMouse Brood War, 1, 1,{{VarGetCursorCoord_X}, {{VarGetCursorCoord_Y}, 0
{{NoFocus}



John Krauer, Kra-Tronic Corp.

 

 

 

valen771



Joined: 29 Jul 2007
Posts: 7

Posted: Sun Jul 29, 2007 3:49 pm    Post subject:

 

danke, jetzt springt sie nur einmal.

hab herausgefunden das es nur an dem programm liegt das ich benutze, wenn ich das program geschlossen habe und den recorder neu starte, dann funktioniert die mausaufzeichnung.




 

 

 

 

69       click command?

 

Author

Message

quest
Guest




Posted: Mon Sep 05, 2005 8:05 pm    Post subject: click command?

 

what is the command so it clicks where the mouse is standing??
plz answer

 

 

 

 

John Krauer
Guest




Posted: Sat Sep 17, 2005 7:26 pm    Post subject:

 

Here an example:
{{RelativeMouse Top Folder, 1, 1, 641, 545, 0
You can find the syntax for mouse commands in the help

John Krauer, Kra-Tronic Corp.




 

 

 

 

70       Kann ich die Eingabe z.B. von Ask1 für ein Kennwort ausgraue

 

Author

Message

Olaf
Guest




Posted: Sun Aug 14, 2005 9:04 pm    Post subject: Kann ich die Eingabe z.B. von Ask1 für ein Kennwort ausgraue

 

Jun 21, 05 - 10:47 PM

Hallo,
ich habe einige Makros, in denen ich eine Kennwort Eingabe vom Anwender erwarte und mir mißfällt das die Eingabe in Klartext erfolgt wegen den manchmal neugierigen Blicken anderer. Kann ich es irgendwie erzwingen, daß eine Eingabe von z.B. Ask1 mit Sternen gefüllt ist, nicht angezeigt wird oder ähnliches?
Danke,
Olaf

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:05 pm    Post subject: Re: Kann ich die Eingabe z.B. von Ask1 für ein Kennwort ausg

 

Jun 22, 05 - 8:45 PM

Nein, dies ist leider nicht möglich. Die verwendete VB-Funktion bietet dieses Feature nicht an. Dazu müsste man aufe ein eigenes Formular wechseln, was aber wieder bei bestimmten Betriebssystemen Probleme gibt (Fenster unter anderem Fenster verborgen)

John Krauer, Kra-Tronic Corp.

 

 

 

 

Guest





Posted: Fri Sep 02, 2005 5:07 am    Post subject:

 

Hi Olaf!

Meiner Ansicht nach wäre es auch nicht sehr Sinnvoll die Passwortabfrage mit dem MTR zu machen, da dein Passwort ja in dem Makrocode endhalten ist.

Besser wäre es sicherlich ein Programm mit Java oder C++ zu schreiben o.ä.

Man könnte es so machen, dass der Makrocode selbst verschlüsselt wird und erst vor dem starten endschlüsselt werden muss. Mit ner Batch Datei kann man dann einfach die PW abfrage vorschalten.

So kann keiner das Makro ausführen und auch nicht erkennen welchen Zweck es erfüllt.

Grüß Andreas

 

 

 

 

Capico



Joined: 02 Sep 2005
Posts: 1

Posted: Fri Sep 02, 2005 5:11 am    Post subject:

 

Sorry war irgendwie nicht eingeloggt!

Und dein PW selbst steht ja nach der Eingabe so auch in der .var Datei...




 

 

 

 

71       Ausgabe in Tastaturbuffer

 

Author

Message

Oliver Eyman
Guest




Posted: Fri Aug 19, 2005 8:20 am    Post subject: Ausgabe in Tastaturbuffer

 

Hallo,


ich möchte mit dem Recorder ein Programm schreiben, welches 6-stellige
Zahlen aus einer .txt-datei ausliest, und über den Tastaturbuffer in ein anderes Programm eingibt (leider ist strg+v nicht möglich).


gibt es da eine saubere Möglichkeit? Ich habe in den Befehlen dazu
nichts gefunden.

Danke!


Oliver Eymann

 

 

 

 

Guest





Posted: Fri Aug 19, 2005 11:05 am    Post subject:

 

hat sich erledigt, ich habe eine andere Filterfunktion "gefunden"


Dafür stellt sich eine neue Frage.

Kann ich über eine If-Abfrage entscheiden, ob in einem Kästen ein
Haken gesetzt ist?
Oder muss ich das mit color machen oder so??

 

 

 

 

John Krauer
Guest




Posted: Fri Aug 19, 2005 4:30 pm    Post subject: Haken finden

 

Dafür eignet sich ein neuer Befehl in V5.6 hervorragend: {{FindPattern. Beispiel:
{{If {{FindPattern 30, -1, -1, 200, 200, 0} = {{True};{{Goto Haken;{{goto NoHaken

John Krauer, KraTronic Corp.

 

 

 

 

Guest





Posted: Mon Aug 22, 2005 6:02 am    Post subject:

 

Sind die Parameter im FindPattern Befehl Positionsangaben?

Das dumme ist, daß das Fenster varriabel ist. Es ist auch leider nicht
maximierbar.
Ich habe nämlich zuerst eine GetColor Abfrage versucht..
Wenn schwarz, dann weiter, sonst setzten.
Aber das hat halt leider aus o.g. Gründen nicht funktioniert.


Ich sehe mal zu, daß wir die neue Version bekommen.

Danke nochmal.


Oliver

 

 

 

 

John Krauer
Guest




Posted: Sat Aug 27, 2005 8:25 am    Post subject:

 

Die Angaben in {{FindPattern sind im Help beschrieben:
http://www.kratronic.com/tools-de/recorder/manual/index.html#_Toc109474582

John Krauer, Kra-Tronic Corp.




 

 

 

 

72       Laufzeit

 

Author

Message

Oliver
Guest




Posted: Wed Aug 24, 2005 8:37 am    Post subject: Laufzeit

 

Ich hab da nocheinmal eine allgemeine Frage.
Welche Vorgehensweise ist im Hinblick auf die Laufzeit am günstigsten?

Ein großes, kompaktes Makro, oder die Aufteilung in etliche kleine,
die jedesmal neu geladen werden?


Oliver

 

 

 

 

John Krauer
Guest




Posted: Sat Aug 27, 2005 8:17 am    Post subject: Laufzeit

 

Nun, ein Aufteilen hat keine merklichen Laufzeit-Nachteile. (Neuladen des Makros geht schnell). Ein Aufteilen eines grossen Makros macht aber den Unterhalt des Makros bedeutend einfacher.

John Krauer, Kra-Tronic Corp.




 

 

 

 

73       runtime error 5

 

Author

Message

shadowspawn
Guest




Posted: Sun Aug 14, 2005 8:11 pm    Post subject: runtime error 5

 

Apr 22, 05 - 4:55 PM

Hello,

I get a run-time error 5 on firing up the application, but just on one computer.

Latest version (whatever is available from the website)

I've searched around, I can't seem to find where this fix is. The application works fine on one computer, but not another; the differences are many between them but they are both w2k sp4, fully patched and updated.

the one where it doesn't work it's safe to say it's a dry installation of w2k with no office components.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:11 pm    Post subject: Re: runtime error 5

 

Apr 22, 05 - 5:29 PM

Run Time Error 5 means some components (DLL, OCX) is missing or corrupt.
It is extremly difficult to guess which component is missing... I would be very helpful if we could access one of those stubborn PCs by NetMeeting (RemoteDesktop access) to make tests to find which component it is..

John Krauer, Kra-Tronic Corp.

 

 

 

 

shadowspawn
Guest




Posted: Sun Aug 14, 2005 8:12 pm    Post subject: Re: runtime error 5

 

Apr 22, 05 - 5:38 PM

how about a filemon dump (from systernals)?

http://www.shadowspawn.net/temp/recorder.txt

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:13 pm    Post subject: Re: runtime error 5

 

Apr 22, 05 - 9:54 PM

Well I did the same here on my PC.. and got even more no file found... It looks like it is not a missing file but a missing object within a DLL or OCX....

John Krauer, Kra-Tronic Corp.

 

 

 

 

shadowspawn
Guest




Posted: Sun Aug 14, 2005 8:14 pm    Post subject: Re: runtime error 5

 

Apr 22, 05 - 11:22 PM

Thanks for looking.

I installed the vb6sp6 runtimes just to make sure.

I saw somewhere that someone else ran into the same problem.

What happens is I fire it up, i get the prompt, then the app fires up but no controls work at all (quit works, but no file menus work, and the center form is missing). I tried the english .reg, but that wasn't it either.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:14 pm    Post subject: Re: runtime error 5

 

Apr 23, 05 - 8:37 AM

As I said... difficult to find..
Maybe something went wrong during installation. You might try FAQ:
http://www.kratronic.com/tools/recorder/faq/faq.htm#_Toc95056508

John Krauer, Kra-Tronic Corp.

 

 

 

 

shadowspawn
Guest




Posted: Sun Aug 14, 2005 8:15 pm    Post subject: Re: runtime error 5

 

Apr 23, 05 - 6:51 PM

I'll give that a try; it's on a home theatre pc so the only way to admin it is with VNC. (haven't seen an app yet that VNC interrupts or interferes with, but i'll give it a whirl)

I'll also track regmon and filemon during installation to see what's being installed.

I'll post if successful.

 

 

 

 

ProphetsProfit
Guest




Posted: Sun Aug 14, 2005 8:16 pm    Post subject: Re: runtime error 5

 

Jun 21, 05 - 11:43 PM

Has any fix been found for this error? If so I was unable to locate it in the FAQ or on the forums. It also happens to me running Win2K, when trying to use either version 5.3 or 5.5.

 

 

 

 

shadowspawn
Guest




Posted: Sun Aug 14, 2005 8:16 pm    Post subject: Re: runtime error 5

 

Jun 22, 05 - 12:01 AM

i never figured it out.

maybe we could get a debug version or something.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:17 pm    Post subject: Re: runtime error 5

 

Jun 22, 05 - 8:04 AM

If you are willing helping to find the problem I could create special versions which have deactivated certain parts in the starting part. That way we might be able to localize the error causing part.

John Krauer, Kra-Tronic Corp.

 

 

 

 

John Krauer
Guest




Posted: Mon Aug 22, 2005 8:28 am    Post subject: Re: runtime error 5

 

In the meantime Mouse and Key Recorder V5.6 has been released. In this version the main reason for Run Time Error 5 has been solved. If you run into Error 5 please try V5.6.

John Krauer, Kra-Tronic Corp.




 

 

 

 

74       Screen print

 

Author

Message

Geoff
Guest




Posted: Sun Aug 14, 2005 9:40 pm    Post subject: Screen print

 

Aug 5, 05 - 5:43 PM

Hi, I would like to take a screen print during macro play. I am using HyperSnap DX to try to capture to file but I am unable to relyably capture the window.
example code I have tried...

{{Switch Notepad
{{Delay 500}
{{Switch HyperSnap-DX
^+A

This causes another window to be captured.
Is it possible to get MKR to capture during macro play?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:41 pm    Post subject: Re: Screen print

 

Aug 5, 05 - 6:14 PM

You can not use the HyperSnap hotkeys. (HyperSnap uses 'dirty tricks'. You must use the mouse.
Here an example:
{{Switch HyperSnap-DX
%c
w
{{Switch Unbenannt - Editor
{{RelativeMouse Unbenannt - Editor, 1, 1, 154, 11, 0
{{Delay 600} {{' Millisekunden
{{RelativeMouse Unbenannt - Editor, 1, 1, 154, 11, 0

Kind regards

John Krauer, Kra-Tronic Corp.

 

 

 

 

Geoff
Guest




Posted: Sun Aug 14, 2005 9:41 pm    Post subject: Re: Screen print

 

Aug 6, 05 - 4:57 PM

Thankyou for the tip John, I see how it works now, but what is the second line of {{RelativeMouse Unbenannt - Editor, 1, 1, 154, 11, 0 used for?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:42 pm    Post subject: Re: Screen print

 

Aug 6, 05 - 10:02 PM

After selecting window captering you have to click on the window you want to capture.. I found you have to click twice with a certain delay between the clicks for working properly..
(HyperSnap-special-requirement.. )

John Krauer, Kra-Tronic Corp.

 

 

 

 

Geoff
Guest




Posted: Sun Aug 14, 2005 9:43 pm    Post subject: Screen print

 

Aug 5, 05 - 5:43 PM

Hi, I would like to take a screen print during macro play. I am using HyperSnap DX to try to capture to file but I am unable to relyably capture the window.
example code I have tried...

{{Switch Notepad
{{Delay 500}
{{Switch HyperSnap-DX
^+A

This causes another window to be captured.
Is it possible to get MKR to capture during macro play?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:43 pm    Post subject: Re: Screen print

 

Aug 5, 05 - 6:14 PM

You can not use the HyperSnap hotkeys. (HyperSnap uses 'dirty tricks'. You must use the mouse.
Here an example:
{{Switch HyperSnap-DX
%c
w
{{Switch Unbenannt - Editor
{{RelativeMouse Unbenannt - Editor, 1, 1, 154, 11, 0
{{Delay 600} {{' Millisekunden
{{RelativeMouse Unbenannt - Editor, 1, 1, 154, 11, 0

Kind regards

John Krauer, Kra-Tronic Corp.

 

 

 

 

Geoff
Guest




Posted: Sun Aug 14, 2005 9:44 pm    Post subject: Re: Screen print

 

Aug 6, 05 - 4:57 PM

Thankyou for the tip John, I see how it works now, but what is the second line of {{RelativeMouse Unbenannt - Editor, 1, 1, 154, 11, 0 used for?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:49 pm    Post subject: Re: Screen print

 

Aug 6, 05 - 10:02 PM

After selecting window captering you have to click on the window you want to capture.. I found you have to click twice with a certain delay between the clicks for working properly.. (HyperSnap-special-requirement.. )

John Krauer, Kra-Tronic Corp.




 

 

 

 

75       Dolmport did not work under Win2000

 

Author

Message

Wilfrid Granitza
Guest




Posted: Sun Aug 14, 2005 9:38 pm    Post subject: Dolmport did not work under Win2000

 

Aug 2, 05 - 9:34 AM

The Command Dolmport did not work under win2000. Under WinXP ist is ok.
What shall I do to get it work under win2000.

 

 

 

 

Wilfrid Granitza
Guest




Posted: Sun Aug 14, 2005 9:39 pm    Post subject: Re: Dolmport did not work under Win2000

 

Aug 2, 05 - 3:15 PM

Es handelte sich um einen Schreibfehler im Befehl! Der dritte Buchstabe ist ein Versal-I, kein gemeines l




 

 

 

 

76       The Program doesn't working

 

Author

Message

Yair Leibovitch
Guest




Posted: Sun Aug 14, 2005 9:35 pm    Post subject: The Program doesn't working

 

Jul 31, 05 - 10:00 AM

Hello,
The program doesn't working to me.
I have two Windows XP in my pc installed,
I install the program in the firts, it didnt work,
after that I installed at the second and it shows me
Run - time error 5, but it works fine after I pressed "ok".
but it just worked one time, after I did reset to my pc the program didnt work in the two Windows.
now, in two of the Windows when I start the program it shows me: Run - time error 5
and I click "ok" and that opens,
but there needs to be three windows: "General","Macro Code", "Scheduled Tasks" and I'm not see them.
I'm not see no one of the Windows, and everything I'm doing in the program isnt working.
The main of the program: "file","edit","view"...
all of this are not working to me.

What Can I Do ? =[

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:36 pm    Post subject: Re: The Program doesn't working

 

Jul 31, 05 - 1:08 PM

Which Mouse and Key Recorder Version do you use ?
See:
http://www.kratronic.com/tools/recorder/faq/faq.htm#_Toc109962258 for a solution.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Yair Leibovitch
Guest




Posted: Sun Aug 14, 2005 9:37 pm    Post subject: Re: The Program doesn't working

 

Jul 31, 05 - 8:21 PM

I tried some vertions,
but I use more the 5.6v
and I get the same errors in all of them

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:37 pm    Post subject: Re: The Program doesn't working

 

Jul 31, 05 - 9:00 PM

V5.6 is protected against the 'Scheduled Tasks' directory protection error. But if you have set other restrictions to other directories, then this error might happen anyway. E.g no access to Windows\system32 to Documents and Settings or parts of it. You might also run into problems if you lock the Registry.

John Krauer, Kra-Tronic Corp.




 

 

 

 

77       Macro Compiler !

 

Author

Message

Fahid Shehzad
Guest




Posted: Sun Aug 14, 2005 9:32 pm    Post subject: Macro Compiler !

 

Jul 24, 05 - 10:35 PM

Hey Guys !
is there some kind of utility available to compile a Mouse and Key Recorder's macro.?
I mean ".KRC >> EXE". !

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:33 pm    Post subject: Re: Macro Compiler !

 

Jul 24, 05 - 10:47 PM

No, unfortunately not... The mouse and Key Recorder uses DLLs and OCXs which needs to be installed.
For that reason VBS (VBScript) could be used. VBS runs on all modern Microsoft operating systems.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/scriptinga.asp

John Krauer, Kra-Tronic Corp.

 

 

 

 

Fahid Shehzad
Guest




Posted: Sun Aug 14, 2005 9:34 pm    Post subject: Re: Macro Compiler !

 

Jul 24, 05 - 11:02 PM

OK Thanks for reply !

one more question please, almost the sam one.

Is there some tool to convert Mouse and Key Recorder's script to VBS ?

Is Kra-Tronic Corp. thinking to have such tool ?
Can we see it in the future ?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:34 pm    Post subject: Re: Macro Compiler !

 

Jul 25, 05 - 6:37 AM

No, there is no such tool planned. In VBS you need to access application functions by objects. Objects are powerful, but not so easy to understand. Furthermore lots of applications do not publish the object-methodes and events. Therefore using VBS is often a challenge.
VBS has a restricted functional range. Not all Recorder functions could be mapped to VBS.

John Krauer, Kra-Tronic Corp.




 

 

 

 

78       a simple f2 key sender (rubies of eventide)

 

Author

Message

David Quigley
Guest




Posted: Sun Aug 14, 2005 9:29 pm    Post subject: a simple f2 key sender (rubies of eventide)

 

Jul 24, 05 - 5:14 AM

i need to make a simple program for a game called rubies of eventide, i need it to just keep tapping f2 because this starts and auto attack, any help would be greatly appreciated especially from anyone that plays the game!

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:30 pm    Post subject: Re: a simple f2 key sender (rubies of eventide)

 

Jul 24, 05 - 9:29 AM

Well, I'm not a player just a programmer But repeating F2 is really simple..

{{Switch <TheGame>
{{SetGenDelay 0
{{Label Start
{F2}
{{Goto Start

To change the speed you change {{SetGenDelay 0.
And you have to adapt the {{Switch command

John Krauer, Kra-Tronic Corp.

 

 

 

 

David Quigley
Guest




Posted: Sun Aug 14, 2005 9:31 pm    Post subject: Re: a simple f2 key sender (rubies of eventide)

 

Jul 24, 05 - 6:39 PM

thx ill let you know if it worked.

 

 

 

 

David Quigley
Guest




Posted: Sun Aug 14, 2005 9:31 pm    Post subject: Re: a simple f2 key sender (rubies of eventide)

 

Jul 24, 05 - 6:46 PM

yes it doesnt work i rlly need someone who is willing to test this game for a good challenge the script will be hard im guessing because its a fullscreen game and its a little tricky someone plz go to eventide.net and look at this game.

ITS FREE!!!




 

 

 

 

79       Read Next Line in Loop Question

 

Author

Message

Lex Luthor



Joined: 26 Jul 2007
Posts: 2

Posted: Thu Jul 26, 2007 2:58 am    Post subject: Read Next Line in Loop Question

 

Hello
Got the positions correct for text placement and reading from a text file seperated by commas. Excellent.
Even able to read the first line of text in the file.

Need a bit of help with once I use Import next line, I cannot use loop to increment. That is where I loose the logic, how to increment Import next line, for lack of a better use of word.

Thanks
Lex.

{{' Created at: Jul.23.2007, 12:58 (MKR Version: 6.1 )

{{RelativeMouse Notepad, 1, 1, 1055, 532, 0

{{'Label Start {{'Name of Loop
{{ImportFile c:\names18csv.txt
{{ImportNextLine}

{{SetClipBoard {{DoImport} {{'Last Name
{{RelativeMouse Notepad, 1, 1, 118, 333, 0
{{ClipBoard

{{SetClipBoard {{DoImport}
{{RelativeMouse Notepad, 1, 1, 207, 327, 0
{{ClipBoard

{{SetClipBoard {{DoImport}
{{RelativeMouse Notepad, 1, 1, 358, 329, 0
{{ClipBoard


{{SetClipBoard {{DoImport}
{{RelativeMouse Notepad, 1, 1, 461, 328, 0
{{ClipBoard

{{SetClipBoard {{DoImport}
{{RelativeMouse Notepad, 1, 1, 613, 334, 0
{{ClipBoard

{{SetClipBoard {{DoImport}
{{RelativeMouse Notepad, 1, 1, 53, 375, 0
{{ClipBoard

{{SetClipBoard {{DoImport}
{{RelativeMouse Notepad, 1, 1, 171, 377, 0
{{ClipBoard

{{SetClipBoard {{DoImport}
{{RelativeMouse Notepad, 1, 1, 287, 376, 0
{{ClipBoard

{{SetClipBoard {{DoImport}
{{RelativeMouse Notepad, 1, 1, 68, 418, 0
{{ClipBoard

{{SetClipBoard {{DoImport}
{{RelativeMouse Notepad, 1, 1, 667, 421, 0
{{ClipBoard

{{RelativeMouse Notepad, 1, 1, 749, 420, 0

{{'First Two line of input file Names18csv.txt
{{'LastName,FirstName,MiddleName,Nic,Nicy,x,y,24
{{'LastName2, FirstName2, MiddleName2, Nic2, Nicy2, x, y, 25

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Jul 26, 2007 7:20 pm    Post subject:

 

There are two ways to get the next line of an Import File.
1st. Using Loops. In everey loop (repetition of the whole macro) a new line of the Import File is used.
2nd {{ImportNextLine}
If you do not want to use Loops but working with {{Goto then this command can be used.

The manual shows an example:

{{ImportFile c:\MyList.txt
{{Label Start
{{MessageBox First Part of a line: {{DoImport}
{{MessageBox Second Part of a line: {{DoImport}
{{If {{ImportNextLine} = {{True} ;{{Goto Start;{{Goto End
{{Label End

John Krauer, Kra-Tronic Corp.

 

 

 

Lex Luthor



Joined: 26 Jul 2007
Posts: 2

Posted: Thu Jul 26, 2007 9:54 pm    Post subject: Thanks that worked

 

Thanks that worked. Seems simple when isolated from the other commands. Thanks again. Luthor




 

 

 

 

80       Cr and Ln

 

Author

Message

Ricardo
Guest




Posted: Sun Aug 14, 2005 9:28 pm    Post subject: Cr and Ln

 

Jul 23, 05 - 7:52 PM

Hi
I'd like to know what is the difference between carriage return and line feed
Thanks

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:29 pm    Post subject: Re: Cr and Ln

 

Jul 23, 05 - 11:03 PM

These are ASCII commands. CR is code no. 13, LF is 10. (Decimal)
Carriage return is what the name says.. go to the start of the line.
Line feed is the command for go to next line.
In modern programs CR is often interpreted as CR and LF. So often CR is enough. You need to try this in your application.

John Krauer, Kra-Tronic Corp.




 

 

 

 

81       How?

 

Author

Message

Zezima
Guest




Posted: Sun Aug 14, 2005 9:25 pm    Post subject: How?

 

Jul 23, 05 - 12:57 PM

Hey how do i change the speed of auto clicks?

Thanks, Zezima

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:26 pm    Post subject: Re: How?

 

Jul 23, 05 - 1:51 PM

What are auto clicks ?

John Krauer, Kra-Tronic Corp.

 

 

 

 

Arn
Guest




Posted: Sun Aug 14, 2005 9:26 pm    Post subject: Re: How?

 

Jul 24, 05 - 1:06 AM

basicly, the same thing i needed help with, i guess.

What i was trying to do is, there is a 3d game, and i wanted to make the script to auto click on one colour on the whole screen. The programm would scann the 1024 x 768 screen area, and would find one or more colours that i told it to. And then randomly click on one of the colours that it found like every 10 seconds, doesnt really matter which one. However i still dont know how to do it, because the FindPattern isnt really what i was looking for, because all i need is to find 1 colour, not a combination of them in a square. The problem with the findpattern is that everything moves in the game, and a stable combination of colours would never happen. So if you have any suggestions what I'm doing wrong or how to do it, please tell me, i would really apprechiate it.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:27 pm    Post subject: Re: How?

 

Jul 24, 05 - 10:16 AM

Well... this is difficult... Everything changes all the time...
If you want to search the whole screen by {{GetPixel then this would need ages..
Searching the screen by {{FindPattern needs still a few seconds (depending of the PC performance). In Version V5.6 the smallest search square is 2 (1 does not work, see FAQ).
So, if your color is consistent within 4 pixels and you know where to expect the pattern, then {{FindPattern could be a possibility.

But... if your scenery has changed since you have found a pixel then you would hit the wrong pixel in the end...

Seems to be an impossible mission for the Recorder.

John Krauer, Kra-Tronic Corp.




 

 

 

 

82       Cannot get recorder to click a window

 

Author

Message

Mark DeLorey
Guest




Posted: Sun Aug 14, 2005 9:23 pm    Post subject: Cannot get recorder to click a window

 

Jul 22, 05 - 12:26 AM

Cannot get recorder to repeat a mouse click, worked in the demo version.
The licensed version will not repeat the mouse click.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:24 pm    Post subject: Re: Cannot get recorder to click a window

 

Jul 22, 05 - 7:58 AM

Can you post the relevant part of the macro, so I can test what is going on ?

John Krauer, Kra-Tronic Corp.




 

 

 

 

83       Ask und Write Problem

 

Author

Message

Jürgen
Guest




Posted: Sun Aug 14, 2005 9:20 pm    Post subject: Ask und Write Problem

 

Jul 21, 05 - 2:18 PM

Hallo.
Habe ein Makro wo ich auf einer Website eine Grafik speichern möchte, allerdings ist jedesmal der name anders. D.h. das Makro macht :
"Grafik speichern unter"
dann mache ich {{ask x}
dann öfnnet das makro auch das entsprechende Fenster.
wenn ich nun {{Write x} eingebe, speichert mir das makro aber die Datei nicht unter dem Namen den ich eingegeben habe.

Sicherlich mache ich was falsch ?!?!

Habe auch versucht nach der Eingabe per
{Switch Grafik speicher} erst ins richtige Fenster zu springen aber das wars wohl auch nicht....

Wäre nett wenn ihr mir helfen könnt

 

 

 

 

Jürgen
Guest




Posted: Sun Aug 14, 2005 9:21 pm    Post subject: Re: Ask und Write Problem

 

Jul 21, 05 - 3:22 PM

Bin mittlerweile ein Stück weiter mit ASk und Write.
Kann mir denn jemand helfen bzgl. wie öfnne ich eine Befehl Grafik speichern ????
Im Makro sieht das so aus:
{{RelativeMouse Grafik speichern, 1, 1, 515, 366, 0
Aber wenn ich das Makro abspiele meldet er immer nen Fehler =(

 

 

 

 

Jürgen
Guest




Posted: Sun Aug 14, 2005 9:22 pm    Post subject: Re: Ask und Write Problem

 

Jul 21, 05 - 3:26 PM

Anmerkung:
Geht das überhaupt, das ich die Befehle der rechten Maustaste in ein Makro aufnehme ???

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:22 pm    Post subject: Re: Ask und Write Problem

 

Jul 21, 05 - 10:27 PM

Klar kann man Grafiken vom Browser abspeichern... Hier ein Beispiel:

{{SetGenDelay 500
{{WindowsKey r}
iexplore http://www.google.de/
{ENTER}
{{If {{WaitForIEReady 30} = {{True};;{{ShowError}

{{' Koordinaten anpassen dass sie auf Google Bild treffen
{{RelativeMouse Google - Microsoft Internet Explorer, 3, 1, 909, 178, 0
s
c:\MeinBild
{ENTER}

John Krauer, Kra-Tronic Corp.




 

 

 

 

84       StartAndWait command used to start another recorder?

 

Author

Message

MKRUser
Guest




Posted: Sun Aug 14, 2005 9:19 pm    Post subject: StartAndWait command used to start another recorder?

 

Jul 19, 05 - 10:40 PM

Is it possible to use StartAndWait command to start another application of Recorder? I currently have Recorder open with a macro using Master command, and can not import another file while the first recorder is running!

Thanks for any help!

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:20 pm    Post subject: Re: StartAndWait command used to start another recorder?

 

Jul 20, 05 - 6:33 AM

Sure it is possible to use StartAndWait for starting another instance of the Mouse and Key Recorder. GlobalVariables can be used to communicate between the two recorders.

John Krauer, Kra-Tronic Corp.




 

 

 

 

85       Colour help

 

Author

Message

Arn
Guest




Posted: Sun Aug 14, 2005 9:18 pm    Post subject: Colour help

 

Jul 16, 05 - 7:29 AM

Hello,

I would like to know if it's possible to make the program look for a specific colour on the screen, and if one is found, perform and action, such as clicking on it.

Many Thanks,
Arn.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:18 pm    Post subject: Re: Colour help

 

Jul 16, 05 - 7:44 AM

In the actual version you can use {{GetPixel to read one pixel at a defined location.
The next version will have a new command: {{FindPattern to find a certain pattern in a defined search area.

John Krauer, Kra-Tronic Corp.




 

 

 

 

86       run-time error "31002"

 

Author

Message

Carlos
Guest




Posted: Sun Aug 14, 2005 9:15 pm    Post subject: run-time error "31002"

 

Jul 6, 05 - 11:27 AM

how repair it?
i'm open if press record or play = Run-time error "31002"

Unable to subclass specified window

and close.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:16 pm    Post subject: Re: run-time error "31002"

 

Jul 7, 05 - 7:54 AM

Sounds very strange... there is no run time error no. 31002 existing in Visual Basic (VB was used to program the Recorder)

John Krauer, Kra-Tronic Corp.

 

 

 

 

legato
Guest




Posted: Sun Aug 14, 2005 9:17 pm    Post subject: Re: run-time error "31002"

 

Jul 27, 05 - 11:53 AM

i had the same probem




 

 

 

 

87       Clipboard

 

Author

Message

Ricardo
Guest




Posted: Sun Aug 14, 2005 9:14 pm    Post subject: Clipboard

 

Jul 5, 05 - 2:10 AM

Sometimes when i use the {{setstring1 {{clipboard} the Mouse and Key Recorder stops and a box apears with something like this: Error 521 Can't open clipboard.
What shall i do to fix this?
Another question:
In a macro I used a globar var named loop, when i set it's value for instance 19, it was always 1, does the program use it for defining the number of loops? or is there any other reason?
Thanks

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:15 pm    Post subject: Re: Clipboard

 

Jul 5, 05 - 8:02 AM

The Help says for the clipboard command: Hint: Reading the content of the clipboard several times can cause errors on certain PCs. (internal Windows problem). To avoid this you can copy the content of the clipboard to a variable. After that you use the variable for accessing the value. Another possibility is to use longer delays.
Or you set the Clipboard to #emptyX5# before you carry out ^c. Or you use the menue command for copy instead of ^c.

I tested the Loop situation here and it works. Do you have a small macro which makes this error ? I would be interested to analyse it.

John Krauer, Kra-Tronic Corp.




 

 

 

 

88       Getpixel

 

Author

Message

Ricardo
Guest




Posted: Sun Aug 14, 2005 9:11 pm    Post subject: Getpixel

 

Jul 4, 05 - 4:00 PM

Hi.
I'd like to know if it is possible (or if you are planing to make it possible) to use the getpixel command with a relative position in a window. It is better than placing the mouse with the relative coordinates and then usig the coordinates -1, -1 int the getpixel command.

Anotjher problem:
I use an instant messenger of my isp to send free sms, that i use to send multiple sms to my band (about 50 elements). When the sms is sent a green circle appears, but it's location depends on the sms length. I can't use the wait for screenchange cause i wouldn't be sure that the screen change was due to that specif green circle, cause it could be due to a red or yellow circle.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:12 pm    Post subject: Re: Getpixel

 

Jul 4, 05 - 10:24 PM

Unfortunately no improvements in this area are planned. GetPixel is not used that often that a combination with {{RelativeMouse is of highest priority.

Finding a pattern in the browser is not so easy. It would need pattern recognition. If it is done in an easy way it needs an incerdible amount of time. If it has to be fast it needs very sophisticated techniques like neuronal networks...

If you know of an easy and fast technique I would be very interested.......

John Krauer, Kra-Tronic Corp.

 

 

 

 

Ricardo
Guest




Posted: Sun Aug 14, 2005 9:13 pm    Post subject: Re: Getpixel

 

Jul 5, 05 - 2:05 AM

The program I mentioned isn't a browser. Only the Y coordinate of the green circle changes, acordig to the number of lines in the sms, so i use the getpixel in several locations.
Unfortunately I don't know how to do that thing you wanted.
I don't know if i'm alowed but i'd like to leave a solution for those who like me use firefox instead of iexplorer and need the {{waitfoieready. Use the getpixel coomand to find if the stop buton is grey, if it isn't the browser is still loading the page. This works even better than the waitforieready because of the frames.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:13 pm    Post subject: Re: Getpixel

 

Jul 5, 05 - 8:09 AM

Sure, you are allowed to give hints... This is a forum open for all...




 

 

 

 

89       win2k

 

Author

Message

TJ
Guest




Posted: Sun Aug 14, 2005 9:10 pm    Post subject: win2k

 

Jun 29, 05 - 10:58 PM

im running windows 2000 dose your software not work with it cause it keeps saying my files are out of date i am the administrator so i know this is not true

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:11 pm    Post subject: Re: win2k

 

Jun 30, 05 - 6:13 AM

See FAQ:
http://www.kratronic.com/tools/recorder/faq/faq.htm#_Toc95056508

Be also aware of the requirement in the Help:
The 'Mouse and Key Recorder' can only be installed on Windows NT/2000/XP by an administrator.

John Krauer, Kra-Tronic Corp.




 

 

 

 

90       Open Windows with specific position

 

Author

Message

trottl



Joined: 02 Jun 2007
Posts: 2

Posted: Sat Jun 02, 2007 12:53 pm    Post subject: Open Windows with specific position

 

Hi,
is it possible to open a windows with a specific postion coordinates?
(Start Programm comand)

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon Jun 04, 2007 9:05 pm    Post subject:

 

No, this is not possible with the {{Start command.
But you might be able to use mouse drag commands after opening the window to place it where you want to have it.

John Krauer, Kra-Tronic Corp.

 

 

 

rick



Joined: 09 Jun 2007
Posts: 4

Posted: Wed Jul 18, 2007 1:38 pm    Post subject:

 

You can start a program in a window, check if the window is in the Maximum position and if not then Maximize it.

In this way you get a control of the position of your window. Below is an example opening IE at Kra-Tronic Corp home page and maximizing it, if necessary. You need to adjust this example for the correct location of your program and resolution of your screen (in my example (1028,-4) is a position of the top right pixel on my system. Increasing/Decreasing variables may also require adjustment for a screen resolution different from mine).

Rick

{{Delay 1000}
{{SetCurrentDir C:\PROGRA~1\Intern~1\
{{Start iexplore.exe
http://www.kratronic.com/tools/recorder/faq/index.html
{{Delay 20000}
{{GetWindowPos {{GetWindowName}

{{SetVar1 {{VarGetWinCoord_X_End}}
{{SetVar2 {{VarGetWinCoord_Y}}

{{If {{Var1} < 1028;{{SetVar3} 2};
{{If {{Var2} > -4;{{SetVar3} 2};

{{If {{Var3} > 1;{{DecVar1} 40};
{{If {{Var3} > 1;{{IncVar2} 20};
{{If {{Var3} > 1;{{Mouse 1, 1,{{Var1},{{Var2}, 0;

{{Delay 1000}

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Jul 18, 2007 6:03 pm    Post subject:

 

Nun, maximieren geht auch ein bisschen einfacher...

{{WindowsKey r
iexplore http://www.kratronic.com/tools/recorder/faq/index.html {{' Ohne eckige Klammern
{ENTER}
{{If {{WaitForIEReady 30} = {{True};;{{ShowError}
{{' Die nächste Zeile enthält ein Alt Leerschlag
%
x {{' = Maximieren

John Krauer, Kra-Tronic Corp.

 

 

 

rick



Joined: 09 Jun 2007
Posts: 4

Posted: Thu Jul 19, 2007 1:38 am    Post subject: Maximize

 

Dear John,

Thanks for suggestion, however it does not work.

1. The Run window opens but the command
iexplore
http://www.kratronic.com/tools/recorder/faq/index.html
is not being copied to the Run window
2. %x (either in one line or in separate lines) does not maximize window on XP . In fact I could not find any shortcut to maximize the window under windows XP, cf
http://support.microsoft.com/kb/301583

3. After submission of my posting I got a problem with using my code within a bigger program for the Recorder. The Recorder stops at line
{{If {{Var3} > 1;{{Mouse 1, 1,{{Var1},{{Var2}, 0;
just before 0; claiming that “ quotation character is missing. It looks you have bugs in your recorder – I do not see any reason why a piece of code should work in one program while it breaks down in another one.

My bigger program works fine without the window maximization part. The combined (ie the bigger one with included maximizing window program) program stops at the last line of my maximizing the window addition, as shown above. So, if there was any syntax error on linking the two pieces of code the Recorder should have stopped earlier. I tried to remove the space before 0; but it did not help.

Rick

 

 

 

rick



Joined: 09 Jun 2007
Posts: 4

Posted: Thu Jul 19, 2007 3:10 am    Post subject: Maximize

 

This is an addition to my last reply to John.

One can certainly fix point 1 with copying a command to the Run window, though I have not fixed it yet.

About the shortcut to maximizing the window:
there is no direct one but John is pointing to an indirect one:
ALT+Space opens Properties of the active window
where next pressing of x maximizes the window.

To make John's program work at this point I added space on a new line and it worked (space after % on the same line does not work on my computer).

So I changed to

%
{{' a space is here at the beginning of the line
x

and it works for me. Thanks to John for pointing this solution.

Rick




 

 

 

 

91       load macro

 

Author

Message

franco
Guest




Posted: Sun Aug 14, 2005 9:08 pm    Post subject: load macro

 

Jun 29, 05 - 10:32 PM

when i use the "load macro" instruction a full macro is loaded but how should i do to run the same macro from another point and not from the beginning.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:09 pm    Post subject: Re: load macro

 

Jun 30, 05 - 6:10 AM

You could use a global variable to tell the second macro that it should start in the middle...

Macro1:
{{SetGlobVarMiddle 1

Macro 2:
{{If {{GlobVarMiddle} = 1 ;{{Goto Middle;

John Krauer, Kra-Tronic Corp.




 

 

 

 

92       Cannot attach pdf file to Microsoft Outlook message

 

Author

Message

Marshall
Guest




Posted: Sun Aug 14, 2005 9:06 pm    Post subject: Cannot attach pdf file to Microsoft Outlook message

 

Jun 24, 05 - 10:22 PM

I am a new user of M&K Recorder...

I am trying to attach a pdf file which is on another server, but I am receiving an error message from Windows:

...isn't accessible. The folder may be located on an unavailable volume or protected with a password. OK

Yet if I do this manually I have no problems attaching the file. I can see all the files in the folder and if I (recorder) issues the {Enter} command the dialog box shows the one file I am trying to access (just like any other File Open command might). (By the way I have issued the file name which has spaces both with and without the .pdf file type extension but it makes no difference in the error message).

Is the Recorder itself not being recognized, hence the error condition?

Suggestions?

Thanks.

Marshall

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:06 pm    Post subject: Re: Cannot attach pdf file to Microsoft Outlook message

 

Jun 25, 05 - 5:31 PM

I assume you want to hand over a path to a program (command line). If the program or the command line contains a space then quotation marks are necessary. Example: {{Start "C:\Program Files\MyProgram.exe" "D:\My Data\Data.pdf". In the macro it looks then like:
{{Start åC:\Program Files\MyProgram.exeå åD:\My Data\Data.pdfå

John Krauer, Kra-Tronic Corp.

 

 

 

 

Marshall
Guest




Posted: Sun Aug 14, 2005 9:07 pm    Post subject: Re: Cannot attach pdf file to Microsoft Outlook message

 

Jun 27, 05 - 3:09 PM

I like your thought but it didn't work. A slight variation on what you indicated: it is the path to a adobe pdf document which I want to attach to Microsoft Outlook message.

What I noticed too was that the double quote became the letter a with the umlaut above it(the letter a with the little half circle above like in the German language). In fact, in your reply below I see the double quotes in your Example but in your Start line it is the letter a with tiny quotes above.

I have designated the English-US keyboard.

Thanks.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:08 pm    Post subject: Re: Cannot attach pdf file to Microsoft Outlook message

 

Jun 27, 05 - 9:18 PM

Well the replacement of the quotation marks is described in the help:

Hints: Additional quotation marks (") entered in the editor are automatically changed to the substitute quotation mark (Normally: å; Depending on the language). This character can be changed in the language assignment. (This is normally not necessary) The new substitute can be entered in the language file in line: QuotationMark=å. The language files can be found in the Recorder subdirectory: NLS.

You can check the Recorder Logbook to see what kind of string is sent to your Outlook. Maybe this helps you to change the command for a propper call.

John Krauer, Kra-Tronic Corp.




 

 

 

 

93       {GetPixel x, y} Farbsystem, {{WaitForScreenChange}

 

Author

Message

noshky
Guest




Posted: Sun Aug 14, 2005 9:01 pm    Post subject: {GetPixel x, y} Farbsystem, {{WaitForScreenChange}

 

Jun 20, 05 - 7:18 AM

Hi John,
Vielen Dank für die großartige Pflege und Bearbeitung dieses Forums, auch für das tolle Programm, welches mir hoffentlich schon bald große Dienste erweisen wird .

Könntest du hier vielleicht näher erklären, in welchem System die Farben, die über den Befehl {{GetPixel } vom Bildschirm eingelesen werden, gespeichert werden? Handelt es sich um fortlaufende Zahlen, die bei Weiß beginnen und bei Schwarz enden (o.Ä.) oder handelt es sich um Blöcke, die sich aus den einzelnen Farbanteilen ergeben? Gibt es Tools, die mir zurückgegebene Zahlen als Farbe anzeigen?

Gibt es weiterhin die Möglichkeit, über den Befehl {{WaitForScreenChange} Bildschirmveränderungen abseits der Mausposition wahrzunehmen, z.b. mit vorgegebenen Koordinaten? Oder darf ich die Maus schon weiter arbeiten lassen, während noch auf den ScreenChange gewartet wird?

Über deinen hilfreichen Rat würde ich mich sehr freuen und ich wünsche dir alles Gute!

Viele Grüße,
Janosch

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:02 pm    Post subject: Re: {{GetPixel x, y} Farbsystem, {{WaitForScreenChange}

 

Jun 20, 05 - 9:25 PM

{{GetPixel gibt folgende Werte zurück:
0x00bbggrr (b = blau, g = grün, r = rot, Hexadezimal)
Für die Umwandlung kann der Befehl {{RGB verwendet werden.
Im Internet gibt es viele RGB Tools zum hin und her rechnen. (Vorsicht, die Frabreihenfolge ist nicht immer bei allen Autoren gleich..)
{{WaitForScreenChange wartet immer auf eine Veränderung hinter dem Cursor. (Dort wo der Cursor stand als der {{WaitForScreenChange Befehl aufgerufen wurde). Während dem Warten darf man also an der Maus rumfummeln

John Krauer, Kra-Tronic Corp.

 

 

 

 

noshky
Guest




Posted: Sun Aug 14, 2005 9:03 pm    Post subject: Re: {{GetPixel x, y} Farbsystem, {{WaitForScreenChange}

 

Jun 21, 05 - 1:10 AM

Hey John,
Vielen Dank für deine schnelle Antwort. Bei mir allerdings gibt {{GetPixel eine Zahl zurück, die bei Tests zwischen 5 und 8 Stellen hatte, Weiß entsprach der Zahl 16777215. Das hat mit RGB Anteilen weniger zu tun, so scheint es mir! (die Zahlen habe ich mir mit {{SetClipboard {{GetPixel -1, -1} ausgeben lassen.). Was geht hier vor?

{{WaitForScreenChange hat im Programm also auch die Nebenfunktion eines Delays, da das Programm nicht weiterarbeitet bis ein Screen Change auftritt oder die Zeit überschritten werden kann.
Mein Ziel ist es nun aber, einen ScreenChange zu beobachten, der nicht an der Mausposition auftritt, der aber durch die Mausbewegung verursacht wird. Der ScreenChange tritt also an einer anderen Stelle auf. Kann ich nicht den Makrocode weiterarbeiten lassen, während noch auf den Change gewartet wird? Gäbe es die Möglichkeit, dazu ein zweites Makro in vielleicht einer zweiten Instanz des Programms zu laden?

Hast du, oder auch alle anderen, irgendwelche Ideen?
Viele Grüße, Janosch

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:04 pm    Post subject: Re: {{GetPixel x, y} Farbsystem, {{WaitForScreenChange}

 

Jun 21, 05 - 7:45 AM

Nun ja, Weiss ist die höchste Zahl... also FF für blau, FF für grün und FF für rot gibt FFFFFF und das gibt wenn man diese Hex Zahl in Dezimal umrechnet: 16777215.
Alle WaitFor.. Befehle warten bis die erwartete Aenderung auftritt (oder bis zum Timeout).
Es ist möglich einen zweiten Recorder zu starten der nur auf den ScreenChange wartet. Die Kommunikation zwischen den beiden Recordern kann per Globale Variabeln erfolgen.

John Krauer, Kra-Tronic Corp.




 

 

 

 

94       {Switch command

 

Author

Message

Ricardo
Guest




Posted: Sun Aug 14, 2005 9:00 pm    Post subject: {Switch command

 

Jun 19, 05 - 2:55 PM

Hi.
I have 2 mozilla firefox windows. (can't use tabs in this case). Both with the same name (the page is the same). Is there a way to specify wich windows the {{Switch command sellects, the 1st or the second?
Thanks

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 9:01 pm    Post subject: Re: {{Switch command

 

Jun 20, 05 - 8:27 PM

The {{Switch command activates the first window it finds... That means you never know which one...

Workaround: Put your windows next to each other so you can see both. Then use an absolute mouse click to activate your desired window.

John Krauer, Kra-Tronic Corp.




 

 

 

 

95       White Cards" bei Vergleichoperation??

 

Author

Message

Dominik
Guest




Posted: Sun Aug 14, 2005 8:59 pm    Post subject: White Cards" bei Vergleichoperation??

 

Jun 16, 05 - 6:50 PM

Hallo!
Ist es möglich in der IF abfrage mit "WhiteCards" aller * zuarbeiten?

z.B.:

{{If StringText = *est*;{{Goto a;{{Goto b

so das die Option immer TRUE ist sobal in der Variablen nen wert drin steht wo irgendwo est drin ist..

Mit freundlichen Grüßen!

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:59 pm    Post subject: Re: "White Cards" bei Vergleichoperation??

 

Jun 20, 05 - 9:27 PM

Wildcards gibt es noch nicht... Gute Idee für eine Erweiterung in einer späteren Version.

John Krauer, Kra-Tronic Corp.




 

 

 

 

96       Runs only as administrator

 

Author

Message

Paul
Guest




Posted: Sun Aug 14, 2005 8:54 pm    Post subject: Runs only as administrator

 

Jun 9, 05 - 8:23 AM

I am trying out the recorder, however, it only runs if I am logged in as administrator...
"User" cannot use it...
What is my mistake?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:54 pm    Post subject: Re: Runs only as administrator

 

Jun 14, 05 - 10:19 PM

On a few PCs this happens. (In our tests we never found this situation) So we still searching for the reason - and we are happy for every hint we can get.

John Krauer, Kra-Tronic Corp.




 

 

 

 

97       I can not make Alt-D working

 

Author

Message

AllysonWu
Guest




Posted: Sun Aug 14, 2005 8:52 pm    Post subject: I can not make Alt-D working

 

Jun 6, 05 - 10:10 PM

I can start my window manually. I use Alt-D for selecting Display tab. But the word "Display" doesn't have underline under the letter D. This is older window program. I see my script can make my window forcus, but Alt-D doesn't have reaction. I use mouth instead, I can select Display tab. Need help

Thank you
Allyson

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:53 pm    Post subject: Re: I can not make Alt-D working

 

Jun 7, 05 - 9:15 PM

Often SW developer forget to assign hotkeys (( What you can try is to use the tab-key. Often this helps.

John Krauer, Kra-Tronic Corp.




 

 

 

 

98       Minimize to tray icon / drop down menu

 

Author

Message

Sebastian
Guest




Posted: Sun Aug 14, 2005 8:50 pm    Post subject: Minimize to tray icon / drop down menu

 

Jun 3, 05 - 8:37 AM

Hi,

is it possible, to minimize the recorder into tray icon?

Can I use a drop down menu (or anything like that) for preset text. I just want to allow certain text in my ask window...

Thanks
Sebastian

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:51 pm    Post subject: Re: Minimize to tray icon / drop down menu

 

Jun 3, 05 - 8:52 AM

The Mouse and Key Recorder can not be minimized to an icon, but it can be minimized to the taskbar. This can also be done in the macro itself by command {{Minimize.
The {{Ask command does not contain drop down lists. But you could do it that way: Example:

{{Ask1 Please enter text. {{CR}Allowed Text: {{CR}- I will do it{{CR}- I won't do it |I will do it

John Krauer, Kra-Tronic Corp.

 

 

 

 

Sebastian
Guest




Posted: Sun Aug 14, 2005 8:52 pm    Post subject: Re: Minimize to tray icon / drop down menu

 

Jun 3, 05 - 10:36 AM

Thanx so much.
That program is awesome




 

 

 

 

99       OR Command

 

Author

Message

Sebastian
Guest




Posted: Sun Aug 14, 2005 8:47 pm    Post subject: OR Command

 

Jun 2, 05 - 10:44 AM

Hi

i want to use the command OR for the IF instruction.

{{if {{WriteAsk1 = 1 OR 2 ;; doesnt work.

It should work like this: When Ask1 = 1 OR 2 then the condition is true.

Anybody know how to use this command??

Thanks Sebastian

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:48 pm    Post subject: Re: OR Command

 

Jun 2, 05 - 11:46 AM

There are no OR, AND, NOT commands existing in the Recorder.
Workaround:

{{Ask1 Please enter a number
{{if {{WriteAsk1} = 1 ;{{Goto Yes;
{{if {{WriteAsk1} = 2 ;{{Goto Yes;
{{MessageBox Neither 1 nor 2 was entered
{{Goto Continue
{{Label Yes
{{MessageBox 1 or 2was entered
{{Label Continue

John Krauer, Kra-Tronic Corp.

 

 

 

 

Sebastian
Guest




Posted: Sun Aug 14, 2005 8:49 pm    Post subject: Re: OR Command

 

Jun 2, 05 - 12:51 PM

Thank alot. Everything's working fine.

Could you explain how to save a with the mouse marked text or number to a variable?

Example:
I've got a website and Notepad and wanna transfer specific text to my Notepad. I don't want to switch that often between those applications.
Is there a possibility?


Thanks in advance
SEbastian

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:50 pm    Post subject: Re: OR Command

 

Jun 2, 05 - 1:04 PM

If a text is already selected you can use ^c (CTRL c). In the macro you can access the clipboard by the command {{Clipboard

John Krauer, Kra-Tronic Corp.




 

 

 

 

100   Help !!!

 

Author

Message

Erez
Guest




Posted: Sun Aug 14, 2005 8:45 pm    Post subject: Help !!!

 

May 29, 05 - 10:06 AM

I would like to know if i can use The program to close many notepad files opened with a script???

Thanks

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:45 pm    Post subject: Re: Help !!!

 

May 29, 05 - 10:14 AM

Yes, If you know the names of the files you can use:
{{Switch ...
and then the Notepad hotkey for closing.
By using {{CheckFocus you can see if a save is necessary and react accordingly.

Another option is using the tool: WindowCloser:
http://www.kratronic.com/tools/window-closer/index.html

John Krauer, Kra-Tronic Corp.

 

 

 

 

Erez
Guest




Posted: Sun Aug 14, 2005 8:46 pm    Post subject: Re: Re Help !!!

 

May 29, 05 - 2:34 PM

First of all thanks a lot for your help.
The wincloser is a good program for my problem but befor closing the files i have to save them and i dont know what the files names (I mean there is many files each time and the names are different).

Thanks
Erez

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:47 pm    Post subject: Re: Re Help !!!

 

May 29, 05 - 3:01 PM

Hmmmm Well, you could switch randomly to the first Notepad the macro finds..
{{Switch Notepad
Then the hotkeys for exit and by {{CheckFocus testing if saving is necessary and if yes: saving them.

By {{CheckWindow you can test if still another Notepad exists and go on or end the macro if all are executed.

John Krauer, Kra-Tronic Corp.




 

 

 

 

101   Complete example of a Script

 

Author

Message

DOUGLAS LINDSAY CHAPMAN



Joined: 13 Jul 2007
Posts: 3

Posted: Fri Jul 13, 2007 4:21 pm    Post subject: Complete example of a Script

 

Hello All

Excellent product. Using trial version. Could someone volunteer to post some examples of complete scripts of FindPattern, GetPixel. I have GetPixel working but when checking with FindPattern I am running into problems.

As with other people posting with little code experience the short snippets of how to use commands and variables are useful. I find full examples, help to fill in the missing links and general syntax of coding for this application.

I hoping to use this tool to test visual FoxPro which I can only check operations by changes in color as the screen displays are all graphics.

Maybe I am missing this option. A feature to add would be as I move my mouse around I can see the actual coordinates change beside the mouse or in a pop up box. Many times when I am editing all I want is the new location coordinates.

Thanks for all your past postings everyone. Very helpful.
Douglas
[/code]

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Jul 14, 2007 7:44 pm    Post subject:

 

Here is an example of a find pattern command

{{Mouse 1, 1, 637, 424, 1
{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{True};;{{ShowError}
{{IncVarFindPatternCoord_X_1} 25
{{IncVarFindPatternCoord_Y_1} 7
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0

To deliver a working example is difficult, because patterns of graphics are different depending of the used operating system and also resolution. They would most possibly not work on your PC. You need to record them on your PC

Here an example of GetPixel
{{RelativeMouse Windows Live Messenger, 1, 1, 40, 142, 0
{{If {{GetPixel -1, -1} = 13160660;{{Goto RightColor;{{Goto WrongColor

John Krauer, Kra-Tronic Corp.

 

 

 

DOUGLAS LINDSAY CHAPMAN



Joined: 13 Jul 2007
Posts: 3

Posted: Mon Jul 16, 2007 3:58 pm    Post subject: Thanks

 

John

Thanks for the code.

Douglas




 

 

 

 

102   Help with depressing hotkeys

 

Author

Message

Howard Parker
Guest




Posted: Sun Aug 14, 2005 8:43 pm    Post subject: Help with depressing hotkeys

 

May 22, 05 - 11:10 PM

Hello.

I am trying to use hotkeys on a different program and want my macro to implement them. If my hotkey on a different program is Ctrl+p, then in my macro I use:
{{CTRL 500 p
or
{{CTRL p
or
^p

While I believe these commands are functioning correctly, Windows XP doesn't recognize them. You can test it on NotePad and as an example, try to get it to print using the CTRL key.

Thanks!

 

 

 

 

Howard Parker
Guest




Posted: Sun Aug 14, 2005 8:43 pm    Post subject: Re: Help with depressing hotkeys

 

May 22, 05 - 11:17 PM

The "^p" command works for the print, but my actual applications requires an ALT key. The real application in question is a Windows Hide Program, which means that I can assign a hotkey to hide any program to make it instantly hide. I think the Mouse and Key Recorder cannot perform this function because it has to have an application to perform the action on. Is there a {{Switch command to switch the Recorder to the Windows environment?
Would that work?

Thanks!

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:44 pm    Post subject: Re: Help with depressing hotkeys

 

May 23, 05 - 7:31 PM

For using the ALT key you need to write %.
e.g. ALT e would be %e. There are some restrictions which can be found in the Help (F1) or at:
http://www.kratronic.com/tools/recorder/manual/index.html

John Krauer, Kra-Tronic Corp.




 

 

 

 

103   Stop Recorder during play

 

Author

Message

Jens
Guest




Posted: Sun Aug 14, 2005 8:41 pm    Post subject: Stop Recorder during play

 

May 20, 05 - 4:17 PM

Hi!
Is there a possibility to stop the recorder during replay? I have often the problem to stop it with the mouse when there is an error in my skript.
It would be nice to have a hotkey...

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:42 pm    Post subject: Re: Stop Recorder during play

 

May 20, 05 - 8:44 PM

Well.... The secret hint to this information is called F1...
When you press F1 you get the Recorder's help. There you type stop and then you read the first two hits

John Krauer, Kra-Tronic Corp.




 

 

 

 

104   Probleme mit den F-Tasten

 

Author

Message

Jürgen Wiegert
Guest




Posted: Sun Aug 14, 2005 8:40 pm    Post subject: Probleme mit den F-Tasten

 

May 20, 05 - 12:43 AM

Ich habe folgendes Problem:
Ein Programm benutzt die F-Tasten (F1-F10) zur Steuerung. Dieses Programm läuft im Hintergrund, ein echter Tastendruck auf der Tastatur [CTRL+F8 z.B.) schaltet entsprechend die Programmfunktionen.

Nun versuche ich, diese Tastaturdrücke im Recorder zu simulieren - ohne Erfolg. die Zeile ^{F8} ergibt keine Reaktion. Als Test habe ich danach mit {F1} die Recorder-Hilfe aufgerufen - geht ohne Probleme.

Woran kann es nun liegen, das ^{F8} nicht funktioniert? Ich bin vollkommen ratlos.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:40 pm    Post subject: Re: Probleme mit den F-Tasten

 

May 20, 05 - 6:32 AM

Der Maus und Tastatur Recorder gibt die F-Tasten richtig aus. Solche Probleme entstehen, wenn die Ziel-Applikation spezielle (Microsoft inkompatible) Methoden verwendet um die Tastendrücke zu lesen. Weil ihr Programm im Hintergrund läuft und keine Oberfläche hat ist es wohl nicht möglich dieses Problem zu umgehen....
Lösung: Anderes Programm oder ev. anderen Recorder verwenden.

John Krauer, Kra-Tronic Corp.




 

 

 

 

105   Graphical Error in MKR?

 

Author

Message

Johan Asplund
Guest




Posted: Sun Aug 14, 2005 8:38 pm    Post subject: Graphical Error in MKR?

 

May 18, 05 - 1:35 PM

Hi.

Sometimes MKR's GUI is all scrambled up when I stop my Macro. Chunks and pieces of pixels in the wrong place and grey areas. Anyone had a similar problem and solved it?

I'm runnig a script that usually runs for 4-5 hours. MKR is Minimized the whole time. It runs under Windows XP.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:38 pm    Post subject: Re: Graphical Error in MKR?

 

May 19, 05 - 9:40 PM

Often the source of such problems is the target application. Some applications have memory leaks. As long as you use them "normal" you do not recognize this, but if the Recorder works like crazy for hours the memory might get filled and then all applications will have problems.
Workaround: Close your target application every hour. Often this cleans the memory problem.
If necessary reboot every hour automatically.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Johan Asplund
Guest




Posted: Sun Aug 14, 2005 8:39 pm    Post subject: Re: Graphical Error in MKR?

 

May 19, 05 - 10:12 PM

I'll try that! Thanks




 

 

 

 

106   cannot start key recorder

 

Author

Message

bobi
Guest




Posted: Sun Aug 14, 2005 8:35 pm    Post subject: cannot start key recorder

 

May 9, 05 - 7:42 PM

when i try to start it says "you have not yet chosen a language. please go to 'tools, options, keyboard and chose a language. In the meantime the English keyboard is used." and i push the ok button and it closes.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:36 pm    Post subject: Re: cannot start key recorder

 

May 9, 05 - 8:42 PM

Did you install the Recorder as Administrator ? This is necessary to have it working properly.

John Krauer, Kra-Tronic Corp.

 

 

 

 

bobi
Guest




Posted: Sun Aug 14, 2005 8:36 pm    Post subject: Re: cannot start key recorder

 

May 10, 05 - 12:55 PM

yes i did

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:37 pm    Post subject: Re: cannot start key recorder

 

May 10, 05 - 8:25 PM

You might try the trick described in the FAQ:
http://www.kratronic.com/tools/recorder/faq/faq.htm#_Toc95056508

John Krauer, Kra-Tronic Corp.




 

 

 

 

107   too many windows error message

 

Author

Message

Cerrie McDonald
Guest




Posted: Sun Aug 14, 2005 8:33 pm    Post subject: too many windows error message

 

May 4, 05 - 11:11 PM

I have been using the macro below to import data into Microsoft Great Plains accounting software.
We are attempting to import a 11000 record file. After around 1000 records we get the following windows message: Windows Manager: Too many windows open. I was wondering if I could get any suggestions as to what the problem may be. We have tried this on multiple workstations and get the same message.

{{Switch Microsoft Business Solutions-Great Plains
{{ImportFile C:\Documents and Settings\CMcdonald\My Documents\Clients\Infoway\Data Conversion\Test Files\19-Dec03pos.csv
{{Label Start
{TAB}
{TAB}
{{DoImport}
{TAB}
{TAB}
DATA CONVERSION
{TAB}
{TAB}
{{DoImport}
{TAB}
{TAB}
{TAB}
{{DoImport}
{TAB}
{TAB}
{{DoImport}
{TAB}
{{DoImport}
{TAB}
{{DoImport}
{TAB}
{TAB}
{TAB}
{{DoImport}
{ENTER}
{{If {{ImportNextLine} = {{True} ;{{Goto Start;{{Goto End
{{Label End
{{MessageBox Import Successful!
{{CR}End of File.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:34 pm    Post subject: Re: too many windows error message

 

May 5, 05 - 11:07 AM

It looks like the program you access by the macro is producing this error.
You could close your program after every 800 entries and open it again and continue. This often helps.

John Krauer, Kra-Tronic Corp.




 

 

 

 

108   Mouse Parameter

 

Author

Message

Alec
Guest




Posted: Sun Aug 14, 2005 8:29 pm    Post subject: Mouse Parameter

 

May 3, 05 - 9:14 PM

Hello

Is it possible in Mouse And Key Recorder to delay the mouse movement WITH clicking (mouse down time) at the same time?
Thank you..

Hallo Leute,

Ist es eigentlich auch möglich mit gedrückter maustaste den Mausweg von A nach B zu verlangsamen? Danke für die Antwort im voraus..

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:30 pm    Post subject: Re: Mouse Parameter

 

May 3, 05 - 9:25 PM

No, the time for a drag and drop is fixed. The mouse picks just at the start location and drops after a few millisecounds at the target location. What for would you need this delay behaviour ?

John Krauer, Kra-Tronic Corp.

 

 

 

 

Alec
Guest




Posted: Sun Aug 14, 2005 8:31 pm    Post subject: Re: Mouse Parameter

 

May 3, 05 - 10:52 PM

I need it to drag and drop pictures in a programm.. If I move a selected picture too fast it stucks.. It would be fine if it could be moved a little slower ...

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:31 pm    Post subject: Re: Mouse Parameter

 

May 4, 05 - 6:45 AM

The problem there mostly is that the application expects stepwise dragging... means lots of position events on the way to the target. Since the recorder uses just two positions (start and end) the application is "disappointed".

John Krauer, Kra-Tronic Corp.

 

 

 

 

Alec
Guest




Posted: Sun Aug 14, 2005 8:32 pm    Post subject: Re: Mouse Parameter

 

May 4, 05 - 1:20 PM

Yes thatz right.. I think so, too.

So you think there is no solution to this problem ?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:33 pm    Post subject: Re: Mouse Parameter

 

May 5, 05 - 10:59 AM

Not at the moment. We will do some investigation if a solution would be possible in further Recorder versions.

John Krauer, Kra-Tronic Corp.




 

 

 

 

109   run in background

 

Author

Message

James
Guest




Posted: Sun Aug 14, 2005 8:29 pm    Post subject: run in background

 

May 2, 05 - 2:46 AM

First of all thank you. I submitted a previous post on Jan 15, 05 - 8:25 PM
http://pub25.bravenet.com/forum/2135884002/fetch/375519/3
and true to your word your upgrade contain the solution.

My current need is to have mkr run in the background. Using gpedit I tried to load as script but this does not seem to work , maybe cause windows is not loaded yet. Running as logon has the same effect as running in startup folder, it runs visible. My reason for wanting this is that i have the following marco for use in multi monitor browsing to automatically open links maximized on the next monitor. Since i browse with multimonitors and multiple pages on each monitors keeping the task bar clear and fast page load is important.

{{NoFocus}
{{Mouse 3, 1, 313, 599, 2, 300
{DOWN}
{DOWN}
{ENTER}
{{Mouse 2, 1, 718, 292, 2, 300
{{Delay 100} {{' Milliseconds
{{RelativeMouse {{GetWindowName}, 3, 1, 574, 25, 0, 300
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{DOWN}
{ENTER}

The problem is that having the marco start recorder and close it after each link is slow. But starting recorder with start up or logon using gpedit give me speed but makes it run visible. can it be hidden or simple stopped from showing up on the task bar?




 

 

 

 

110   Problem with Window Name

 

Author

Message

Ispanecabg
Guest




Posted: Sun Aug 14, 2005 8:26 pm    Post subject: Problem with Window Name

 

Apr 28, 05 - 10:36 PM

I'm using the program to click on a sites in internet but they have dynamic titles and the program nonstop blocks with this symbol ===>> , how to disable this debuging and make the program just click and type what i need ?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:26 pm    Post subject: Re: Problem with Window Name

 

Apr 28, 05 - 10:42 PM

You can use {{GetWindowName} to have the right name for accessing the window later on, or you use absolute mouse clicks. The help says:

---------------
Absolute Mouse Recording: In this mode all mouse clicks are stored related to the full screen. Mouse clicks are always on the same place on the screen, regardless of the location of the existing windows.


Relative Mouse Recording: In this mode the mouse clicks are stored relatively to the application window. That means a click on the Microsoft Word File menu will hit the file menu always, regardless where the Microsoft Word window is located on the screen and how large it is. Additional to the mouse coordinates the application window name is also stored to the macro. During macro run, the 'Mouse and Key Recorder' first switches to the window and then applies the mouse click. That means in the Relative Mouse Recording mode the window name must be the same during macro recording and macro run. Chapter 'Options' shows a way to ease this hard requirement. (Relative-Window-Filter) This chapter shows also how to switch between the absolute and relative mode.


Hints: Some applications get the focus too late after a mouse click. For these applications you get a wrong (or none) window name. When this happens a sound is played. Recommendation: Switch to the window by ATL TAB before you apply a mouse click.

Some Option windows need the parent window name for access. In such situations the mouse command needs to be corrected manually.

See also {{Switch for additional options. (Switching technique)
------------------

John Krauer, Kra-Tronic Corp.

 

 

 

 

Ispanecabg
Guest




Posted: Sun Aug 14, 2005 8:27 pm    Post subject: Re: Problem with Window Name

 

Apr 28, 05 - 10:58 PM

I have recorded the program to click on tabs in my Internet explorer. That's how look my code:

{{Delay 125 {{' Recorded delay
{{RelativeMouse Dark Throne (beta) Viewprofile - MyIE2, 1, 1, 999, 170, 0
{{Delay 1101 {{' Recorded delay
{{RelativeMouse Dark Throne (beta) Alliances - MyIE2, 1, 1, 292, 623, 0
{{Delay 1914 {{' Recorded delay
{{RelativeMouse Dark Throne (beta) Alliances - MyIE2, 1, 1, 981, 176, 0
{{Delay 726 {{' Recorded delay
{{RelativeMouse Dark Throne (beta) Alliances - MyIE2, 1, 1, 281, 613, 0
{{Delay 1179 {{' Recorded delay

I have a question - SIMPLE, how to disable debuging because the program sometimes works, sometimes - not, or how to REMOVE the checking of window title ?!?
Sorry about my english...

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:28 pm    Post subject: Re: Problem with Window Name

 

Apr 29, 05 - 6:31 AM

For absolute mouse recording you click Tools | Options | Recording and there you switch off 'Window relative mouse events'

John Krauer, Kra-Tronic Corp.




 

 

 

 

111   Problem with using Delay

 

Author

Message

Shay
Guest




Posted: Sun Aug 14, 2005 8:24 pm    Post subject: Problem with using Delay

 

Apr 28, 05 - 3:53 PM

Hey,
let's say i recorded something, and i want to replay it, and i want some - things i recorded to be slow enough to let the operation work and the other commands to work really fast.
I tried to use the delay option but it seems that i do something wrong or it's not working that way.
Can you explain how do i choose the order what to do fast and what slow?

Thanks in advance.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:25 pm    Post subject: Re: Problem with using Delay

 

Apr 28, 05 - 10:39 PM

Well, for that you can use {{SetGenDelay
The Help says:

{{SetGenDelay

{{SetGenDelay overwrites the General Line Delay set in the 'Mouse and Key Recorder' window. This command is especially handy for debugging. It lets you 'slow down' parts of the macro.

Hint: {{SetGenDelay used in a {{Master macro (containing {{LoadMacro) will take effect until all loaded macros have ended.

So you could use
{{SetGenDelay 0
for the fast parts
and
{{SetGenDelay 500
for the slow parts

John Krauer, Kra-Tronic Corp.




 

 

 

 

112   strange behavior

 

Author

Message

c.panel



Joined: 26 Sep 2007
Posts: 2

Posted: Wed Sep 26, 2007 5:23 pm    Post subject: strange behavior

 

Application behaves differently with FindPattern command if it has been launched by a command line "C:\Program Files\Recorder\RECORDER.EXE" "c:\bal\myfile.krc" -MKRHide or by recorder.exe once file is loaded.
All is well when the KRC file run from the application but when it runs from command line, it searchs c:\bal\myfile._FP_1.fpd instead of c:\bal\myfile_FP_1.fpd
So, FindPattern cannot be launched from command line...

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Sep 27, 2007 7:09 pm    Post subject:

 

Hmmm Yes this is an error.
What you can do is using the command line without -MKRHide and using {{Minimize in the macro itself. This works.
This error will be corrected in the next version

John Krauer, Kra-Tronic Corp.

 

 

 

c.panel



Joined: 26 Sep 2007
Posts: 2

Posted: Fri Sep 28, 2007 7:53 am    Post subject:

 

Thanks a lot!
I have an other embarrassing problem :
I tried MKR (MouseAndkeyRecorder) in my professionnal environnment but I have problem :
I work in protected environnment in a domain I can not administrate (for security reasons). But I can change domain, so install MKR on the microcomputer. When I come back to the domain, MKR behaves like trying time is out so I cant write new krc files. I can fortunately run "manually made" krc files.
I think MKR try to write in register and it cant.

I have tried it working with server environment but it don't : this is more comprehensive and I have a workaround : extract data from the server, working in local domain with MKR and reinjecting data to the server. I think there is no easy way for MKR to work in this situation, but the first problem could be resolved... isn't it?

In any case, MKR is a wonderful program and I found no equivallent for the possibilities it gives! Bravo!

Last question : can I send you a Mandat-Card to your adress:

John Krauer
mattweg 4
6037 ROOT
SUISSE

best regards

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Sep 28, 2007 5:48 pm    Post subject:

 

The test version of the mouse and key recorder can just be used by the person who installed it. MKR test version has a very strong protection agains license hackers. (Earlier on hundreds of pages where delivering hacked license codes and tools). The licensed version does not have this protection and can so be used by any user (Not just the installer)

What is a Mandat-Card ?

John Krauer, Kra-Tronic Corp.




 

 

 

 

113   Why do I have to register to enter a forum contribution ?

 

Author

Message

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Jul 14, 2007 8:30 pm    Post subject: Why do I have to register to enter a forum contribution ?

 

Posted: 28 Nov 2006 08:31 pm Post subject: Why do I have to register to enter a forum contribution ?

--------------------------------------------------------------------------------

Answer:
Open forums are flooded with spam. Instead of Recorder topics you would find all kind of Viagra, porn and financial spam.
The obligation to register keeps the spam roboters out.

I know registering is a pain in the neck, but spam would be a much larger pain....

John Krauer, Kra-Tronic Corp.




 

 

 

 

114   Problem with duration of keyboard commands

 

Author

Message

Halec
Guest




Posted: Sun Aug 14, 2005 8:18 pm    Post subject: Problem with duration of keyboard commands

 

Apr 24, 05 - 9:11 PM

Is there a command which can "press down" a key for several seconds? because i didnt fin it in the manual and nee for example the {right} button pressed for 5 seconds

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:18 pm    Post subject: Re: Problem with duration of keyboard commands

 

Apr 24, 05 - 11:04 PM

The duration of a keystroke can just be set for CTRL ALT SHIFT and Space.

John Krauer, Kra-Tronic Corp.




 

 

 

 

115   Problem with program not recognizing mouse movements

 

Author

Message

Joker
Guest




Posted: Sun Aug 14, 2005 8:07 pm    Post subject: Problem with program not recognizing mouse movements

 

Apr 11, 05 - 7:30 PM

Hey all I use mouse and key rocorder to make my online game play easier on Star Wars Galaxies (I really dont feel like getting carpel tunnel because they feel I should have to press a button 1 million times to advance). Well anyway its worked great up untill now but I am having a problem getting the game to recognize that the mouse is moving. It can click on stuff in the game just fine and interact in that way but for some menus in the game you have to move the mouse onto a specific spot without clicking anything and leave it there untill the menu appears (usuially no longer than 1/4 of a second depending on lag). I figured out how to make it move the cursor to the specific spot without clicking anything but when I have the macro move the cursor to that spot nothing happens. Its like the game dosent even know the mouse has moved, however when I move my mouse by hand it works just find and the menu I need appears. Anyone got any ideas?

Heres how I make it move to the spot I need without clicking.

{{RelativeMouse SwgClient, "0", 1, 38, 316, 0
I change the number in " " to a 0

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:08 pm    Post subject: Re: Problem with program not recognizing mouse movements

 

Apr 11, 05 - 10:38 PM

The Mouse and Key Recorder moves the mouse in a very fast and efficient way. The Recorder just takes the moust and immediately places it at the target location. Some applications do not like that... they need a real slow movement...
What you could try is using dragging without clicking. The manual says: (Chapter Mouse entries)
---------------
{{DragMouse 1, 1, 197, 307, 1, 371, 297, 50

Bold 1 means: Just move the cursor, no dragging (0 = dragging). This function can be used to show the way of a mouse movement.

Bold 50 means: Half speed moving. (100 = full speed, 200 = double speed)
---------------

Maybe this helps.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Joker
Guest




Posted: Sun Aug 14, 2005 8:09 pm    Post subject: Re: Problem with program not recognizing mouse movements

 

Apr 12, 05 - 12:00 AM

Tried the mouse draggin thing and t didnt work. It moves the cursor onto the correct spot but nothing happens. Its the strangest thing. If I tell it to click on that location after its done dragging it'll do that and make the menu go away, but if I tell it to move the cursor there without clicking it just stays there and the menu dosent appear. However if i move the mouse even the slightest bit by hand it brings up the menu I need.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:09 pm    Post subject: Re: Problem with program not recognizing mouse movements

 

Apr 12, 05 - 6:33 AM

Games often use "dirty" tricks to chatch mouse and keyboard. In this case the Mouse and Key Recorder is helpless....

John Krauer, Kra-Tronic Corp.

 

 

 

 

Joker
Guest




Posted: Sun Aug 14, 2005 8:10 pm    Post subject: Re: Problem with program not recognizing mouse movements

 

Apr 12, 05 - 9:48 AM

Yup dirty SOBs hehe. Well thanks for the help anyway.




 

 

 

 

116   on/off Trigger?

 

Author

Message

Xagest
Guest




Posted: Sun Aug 14, 2005 8:06 pm    Post subject: on/off Trigger?

 

Apr 10, 05 - 7:55 PM

I currently have a macro with an infinite loop that repeats the left mouse click really fast.

Is there a way I can put a switch of some sort on this? For example, the mouseclick only occurs when I have the CTRL button held down, or something to that effect?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:06 pm    Post subject: Re: on/off Trigger?

 

Apr 10, 05 - 8:07 PM

You could use the hotkey for a pause:
- Hotkey: ALT Break/Pause (Notebook Fn ALT Break/Pause)
See:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc94886436

John Krauer, Kra-Tronic Corp.




 

 

 

 

117   Logbuchfunftion im Hintergrund

 

Author

Message

Rico
Guest




Posted: Sun Aug 14, 2005 8:01 pm    Post subject: Logbuchfunftion im Hintergrund

 

Apr 8, 05 - 10:20 AM

Hallo,habe folgendes Problem:
Habe den Recorder v5.5 mit der erforderlichen Verküpfung im Startmenü (all users) erfolgreich installiert. Nach jedem Hochfahren des Rechners wird die Logbuchfunktion auch gestartet und eine Textdatei angelegt. Nach einigen willkürlichen Tastatureingaben fahre ich den Rechner runter und wieder hoch. Schaue mir dann die LogDatei an. Häufig sind die tastatureingaben dann nicht gespeichert und gelegentlich schon. Woran liegts? Der Recorder soll alle Eingaben speichern!!!

Danke für jegliche Hilfe

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:02 pm    Post subject: Re: Logbuchfunftion im Hintergrund

 

Apr 9, 05 - 7:31 PM

Der Recorder speichert im Log-Modus alle Tastatur-Eingaben nach jedem ENTER ab. Wenn nun vor dem Beenden von Windows kein Enter gedrückt wurde, wird dieser Textteil (bis zum vorherigen Enter) nicht gespeichert... Dies ist nun korrigiert. Bei der nächsten Recorder Version werden beim Beenden von Windows auch nicht mit Enter abgeschlossene Texte gespeichert.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Rico
Guest




Posted: Sun Aug 14, 2005 8:02 pm    Post subject: Re: Logbuchfunftion im Hintergrund

 

Apr 10, 05 - 6:03 PM

Wann wird die neue Version kommen? Danke.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:03 pm    Post subject: Re: Logbuchfunktion im Hintergrund

 

Apr 10, 05 - 6:09 PM

Erst im Herbst....
Aber wenn es wichtig ist, könnte ich eine Vorabversion abgeben..

John Krauer, Kra-Tronic Corp.

 

 

 

 

Rico
Guest




Posted: Sun Aug 14, 2005 8:04 pm    Post subject: Re: Logbuchfunftion im Hintergrund

 

Apr 11, 05 - 7:51 PM

Das wäre sehr nett. Danke

 

 

 

 

Rico
Guest




Posted: Sun Aug 14, 2005 8:04 pm    Post subject: Re: Logbuchfunftion im Hintergrund

 

Apr 20, 05 - 9:03 AM

Hallo , habe die exe. datei ausgefüht. Fehlermeldung: Konnte Verzeichnis 5 für Recorder.zip nicht finden. Run-Time error 383.
Benutze gerade noch eine Testversion und bin noch nicht registriert .

Können Sie mir bitte weiterhelfen? Danke

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:05 pm    Post subject: Re: Logbuchfunftion im Hintergrund

 

Apr 20, 05 - 10:15 AM

Well, you started Recorder.exe at the wrong location. You must put your new Recorder.exe to the original Recorder directory. (e.g. C:\Program Files\Recorder.

John Krauer, Kra-Tronic Corp.




 

 

 

 

118   Verzögerung bei Klicks verkürzen

 

Author

Message

Chris
Guest




Posted: Sun Aug 14, 2005 7:59 pm    Post subject: Verzögerung bei Klicks verkürzen

 

Apr 7, 05 - 7:55 PM

hallo,

also wenn ich die line-delay auf 1 ms oder 0 ms stelle, klickt das programm leider immer noch etwas zu langsam, daher meine frage geht das noch schneller?

danke.

mfg,
chris

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:00 pm    Post subject: Re: Verzögerung bei Klicks verkürzen

 

Apr 7, 05 - 11:09 PM

Nein, bei 0 ist es am schnellsten... Dann hilft nur noch ein schnellerer PC (oder ein gekürztzes Makro)

John Krauer, Kra-Tronic Corp.




 

 

 

 

119   Texte aus Speicher auslesen und vergleichen??

 

Author

Message

Dominik
Guest




Posted: Sun Aug 14, 2005 7:57 pm    Post subject: Texte aus Speicher auslesen und vergleichen??

 

Mar 24, 05 - 7:16 PM

Juten Tag!!

Ist es Möglich Texte aus der Zwischenablage mit einer Vorlage zuvergleichen?

habe dieses bisher versucht geht aba nicht


*Textstelle wird makiert und per Copy and paste kopiert*

{{SetStringBla} {{ClipBoard}}
{{If {{StringBla} = "der vorgegebene text";{{Goto X;{{Goto Y

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:58 pm    Post subject: Re: Texte aus Speicher auslesen und vergleichen??

 

Mar 24, 05 - 8:51 PM

Klar geht das..
Hier ein funktionierendes Beispiel:

{{SetClipboard åder vorgegebene textå
{{SetStringBla {{ClipBoard}
{{If {{StringBla} = åder vorgegebene textå;{{Goto X;{{Goto Y
{{Label X
{{MessageBox X
{{Goto End
{{Label Y
{{MessageBox Y
{{Label End

John Krauer, Kra-Tronic Corp.

 

 

 

 

Dominik
Guest




Posted: Sun Aug 14, 2005 7:59 pm    Post subject: Re: Texte aus Speicher auslesen und vergleichen??

 

Mar 30, 05 - 12:28 PM

genau so hab ich es auch gemacht...

habe auch mal deine zeilen mit meinen verglichen, alles passt 100%, komischer weise geht es nun auch..

*versteh ich net...*

Danke für die schnelle Antwort!!

PS: ein SUPER Programm!!!




 

 

 

 

120   kann der recorder einen ziffern-string in eine numerische Za

 

Author

Message

bernd
Guest




Posted: Sun Aug 14, 2005 7:55 pm    Post subject: kann der recorder einen ziffern-string in eine numerische Za

 

Mar 12, 05 - 6:58 PM

Kann der Recorder zB den String "105" in die Dezimalzahl 105 umwandeln?

Und gibt es einen Befehl wie ask, der nach einer Zahl fragt und nicht nur nach einem Text?

(Ich würde gern Zahlen aus Excel in Recorder-Variable bringen und schaffe das nicht)

Bernd

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:55 pm    Post subject: Re: kann der recorder einen ziffern-string in eine numerisch

 

Mar 12, 05 - 9:21 PM

Je nach Variable wird der Wert als Zahl oder String abgepeichert.
{{SetVar1 1155 ==> Zahl
{{SetString1 1155 ==> Text

{{Ask1 Zahl
{{SetVar1 {{WriteAsk1}
speichert die eingegebene Zahl als Zahl.

Excel hat eine spezielle Eigenheit. Siehe F1 (Help) und dann Excel.

John Krauer, Kra-Tronic Corp.

 

 

 

 

bernd
Guest




Posted: Sun Aug 14, 2005 7:56 pm    Post subject: Re: kann der recorder einen ziffern-string in eine numerisch

 

Mar 13, 05 - 12:06 PM

Das Leben kann so schön sein!!!
Danke John, dass Du immer für uns da bist!
Herzlichst! Bernd

 

 

 

 

gernot
Guest




Posted: Sun Aug 14, 2005 7:57 pm    Post subject: Re: kann der recorder einen ziffern-string in eine numerisch

 

Jun 15, 05 - 11:41 AM

{{Switch Excel
{{'copy EXCEL Cell in Clippboard
^c
{{SetStringOwnVar} {{Replace {{ClipBoard} | {{CR}{{LF} | | 1 | -1 }
{{'in {{SetStringOwnVar} is now only the EXCEL Value!




 

 

 

 

121   Problem with the combination of keys

 

Author

Message

henry vilchez
Guest




Posted: Sun Aug 14, 2005 7:52 pm    Post subject: Problem with the combination of keys

 

Mar 9, 05 - 3:57 PM

Dear Mrs of the Mouse and Key Recorder's makers, I am having problems with the combination : Ctrl+Alt+z, this combination I use in order to hide a windows, this combination is required for an application named QUICKHIDE, I tried all the syntaxis of your manual without good results.

Please help me, thanks in advance.

Henry

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:52 pm    Post subject: Re: Problem with the combination of keys

 

Mar 9, 05 - 8:23 PM

The right command would be
^%z
Sometimes applications use special tricks to read the keyboard. In such chases it can happen that the keystrokes sent by the Recorder are not received by the application. The Recorder uses a Windows command (SendKeys) to apply keystrokes. Windows compatible applications should chatch those (SendKeys) keystrokes.

John Krauer, Kra-Tronic Corp.

 

 

 

 

henry vilchez
Guest




Posted: Sun Aug 14, 2005 7:53 pm    Post subject: Re: Problem with the combination of keys

 

Mar 9, 05 - 11:57 PM

Please, could you tell me another alternative like a macro in order my application catch the commands sent by the Mouse and keyboard recorder.

Thanks in advance for your support.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:54 pm    Post subject: Re: Problem with the combination of keys

 

Mar 10, 05 - 8:32 AM

Well, different Key-Recorders use different means of sending key strokes. You might search the Interenet for other Key Recorders and try them with your application.

John Krauer, Kra-Tronic Corp.




 

 

 

 

122   Active Window

 

Author

Message

Patrick
Guest




Posted: Sun Aug 14, 2005 7:50 pm    Post subject: Active Window

 

Mar 4, 05 - 11:58 PM

Hi, everytime I run a macro, it does not keep the window that the macro was run on active. My macro is to tab through multiple fields at once. Once it's done, I have a command to minimize the recorder, but the window to my application is not active resulting in a mouse click to make it active.

I am trying to use a barcode scanner to scan a barcode with a function code that will run this macro.

Any help would be great.
Thanks,
Patrick

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:50 pm    Post subject: Re: Active Window

 

Mar 5, 05 - 12:06 AM

Well.... Try the command {{NoFocus}...

John Krauer, Kra-Tronic Corp.

 

 

 

 

Rob
Guest




Posted: Sun Aug 14, 2005 7:51 pm    Post subject: Re: Active Window

 

Apr 10, 05 - 1:33 AM

Yep, that worked for me too. Same question here. Thanks, guys.
I love the app.




 

 

 

 

123   DoImport setting as a Var

 

Author

Message

David Lazor
Guest




Posted: Sun Aug 14, 2005 7:48 pm    Post subject: DoImport setting as a Var

 

Mar 3, 05 - 11:20 PM

Hi

I am trying to take the value from DoImort and set it to a Var so I can type the value out later.

Here is my code that is not working.

{{ImportFile C:\TEMP\mouseandkeyrec\test.txt
{{Label Start
{{MessageBox {{DoImport}

NOTE Message box displays the correct number.


{{Var1}{{DoImport}
{{SetVar1}{{DoImport}

these 2 Var and SetVar produce 0 as the data.

HELP...

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:49 pm    Post subject: Re: DoImport setting as a Var

 

Mar 4, 05 - 9:30 AM

Well, Each {{DoImport consumes one entry in the import file.
You should write:
{{ImportFile C:\TEMP\mouseandkeyrec\test.txt
{{Label Start
{{SetVar1 {{DoImport}
{{MessageBox {{Var1}

John Krauer, Kra-Tronic Corp.




 

 

 

 

124   Makro verabschiedet sich nach 2-3h mit OpenOffice

 

Author

Message

Verzweifelter2



Joined: 08 Jul 2007
Posts: 5

Posted: Sat Jul 14, 2007 12:59 pm    Post subject: Makro verabschiedet sich nach 2-3h mit OpenOffice

 

Hallo,

der Verzweifelte hat mal wieder ein Problem:

Makro-Code ist O.K., dieser läuft auch in der Schleife knapp 180-200 mal durch. Alles ohne Probleme.
Aber nach einer gewissen Zeit, so um die 2-3 Stunden, dann schmiert der MTR ab. Eindeutig richtige Befehle klappen nicht mehr.

Im Forum gibts ein paar Einträge, die dich mit diesem Prob. befassen:
So denke ich, das mein Problem einfach auch an einem RAM-Überlauf hängt.
Jetzt habe ich mir ein Tool installiert, nennt sich FreeRAM (für XP, 98 etc). Das soll das RAM bereinigen und verlorenen Speicher freigeben.

Klappt soweit ja auch ganz gut, ABER:
Als Programm läuft OpenOffice, mit dem ich Dateien einlese, um diese in einem anderen Format zu speichern.
Das Tool FreeRAMgibt zwar verlorenen Speicher frei, aber das Problem bleibt (alles mit genügend Wartezeit...habe das mal kontrolliert).

Kennt sich jemand mit diesem Problem aus?
und
Hat Jemand eine Lösung?



Greetz
Der verzeifelte Verzeifelte

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Jul 14, 2007 8:23 pm    Post subject:

 

Nun, Programme sind für Menschen geschrieben worden, nicht für Machinen.... Ein Recorder tut so viel, so oft, wie es kein echter Mensch schaffen würde... Daher wurden die Programme auch nicht für so einen Supermenschen getestet.
Das heisst, allermeistens ist nicht der Recorder schuld (der wurde nämlich für solch unmenschliche Taten getestet) sondern das Programm das der Recorder steuert...
Was kann man tun?
Nach 100 Schlaufen das gesteuerte Programm schliessen und neu öffnen.
Es gibt Programme die schaffen es, den ganzen PC unstabil zu machen, wenn man sie so sehr fordert.
In so einem Fall nach einiger Zeit den PC per Makro runterfahren, Im Autostart Ordner den Recorder wieder starten mit dem richtigen Makro und mittels einer Variable (die ja in einer Datei gespeichert ist) am richtigen Ort weiterfahren.

John Krauer, Kra-Tronic Corp.




 

 

 

 

125   Detect Mouse and Key Recorder

 

Author

Message

Lenny Baxter
Guest




Posted: Sun Aug 14, 2005 7:47 pm    Post subject: Detect Mouse and Key Recorder

 

Mar 3, 05 - 2:31 AM

IS is possible for a program or website to detect that a Mouse and Key Recorder is running? or is Mouse and Key Recorder simply a program that moves the mouse and clicks keys?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:48 pm    Post subject: Re: Detect Mouse and Key Recorder

 

Mar 3, 05 - 9:27 PM

The Mouse and Key Recorder is a normal program like Word or Excel. If you look at the Windows TaskManager you can find the Recorder as process: Recorder.exe. Tat means each program can check the processes and find Recorder.exe the same way as the TaskManager does.

John Krauer, Kra-Tronic Corp.




 

 

 

 

126   timing how long mouse was pressed

 

Author

Message

michael
Guest




Posted: Sun Aug 14, 2005 7:45 pm    Post subject: timing how long mouse was pressed

 

Feb 14, 05 - 2:00 PM

hi , can ur tool record how long i pressed left or right mouse button on a specific location?
thanks for you quick answer

regards
michael

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:46 pm    Post subject: Re: timing how long mouse was pressed

 

Feb 14, 05 - 6:41 PM

No, this is not possible with the Mouse and Key Recorder.

John Krauer, Kra-Tronic Corp.

 

 

 

 

michael
Guest




Posted: Sun Aug 14, 2005 7:46 pm    Post subject: Re: timing how long mouse was pressed

 

Feb 15, 05 - 7:57 AM

but, shoulndt be a problem to include (from a technical point of view), right? Just asking because looks like I've to program it on my own then (but no clue yet, unfortunately *grin*)

Anyway, thanks for your ultra-fast reply.

Michael




 

 

 

 

127   Switching

 

Author

Message

Graham Sievwright
Guest




Posted: Sun Aug 14, 2005 7:43 pm    Post subject: Switching

 

Feb 4, 05 - 10:43 PM

I have an application that has a child window which has a large title. How can I switch back to this window? I have been tried to do this, but it seems that the application changes the first part of the window name. So, I tried to use the new syntax using the => to only select the text from the end of the window name, but this does not work. I have tried using oldswitch and that doesn't help either.

The macro snippet reads:
{{{Switch Liberty Information
{HOME}^+i
^c
{{' Product No.
{{Switch Notepad
^v
{{UseForeground}
===>> {{Switch Folder=>
{TAB}{TAB}

The name of the window I want to switch to is:
"11.)Editing an XXXX XXXXX PDF MSDS OLD from test folder Folder" but the number in the front (11) changes when different records are displayed.

Thanks in advance!
Graham

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:44 pm    Post subject: Re: Switching

 

Feb 5, 05 - 8:21 AM

Depending of the way the programmer has created the child window, sometimes it is not possible to reach this child window by {{Switch (or {{RelativeMouse). Workaround: Try to keep this window in a corner and not let covering it with other windows during macro run. Then you can reach this window always by {{Mouse

John Krauer, Kra-Tronic Corp.




 

 

 

 

128   Is Mouse and Key Recorder still free to try?

 

Author

Message

Ed
Guest




Posted: Sun Aug 14, 2005 7:41 pm    Post subject: Is Mouse and Key Recorder still free to try?

 

Jan 24, 05 - 8:55 PM

I just installed Mouse and Key Recorder (first time). When I started the program I got a message saying that I needed to choose a language... Next message said my test license was invalid and explained how to buy one.

I'm trying to test the read-pixel/variable functions of the program, but it says I have to store the macro first... but it won't let me store the macro without a valid test license...??

Is this program still free to test?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:42 pm    Post subject: Re: Is Mouse and Key Recorder still free to try?

 

Jan 24, 05 - 9:47 PM

Hello
This happens if you have had already an older test version on your PC. The Mouse and Key Recorder homepage says:
Important: You can not upgrade a Test-Version. If you want to use a newer version you need to use a licensed version.

http://www.kratronic.com/tools/recorder/download/index.html

John Krauer, Kra-Tronic Corp.

 

 

 

 

Ed
Guest




Posted: Sun Aug 14, 2005 7:43 pm    Post subject: Re: Is Mouse and Key Recorder still free to try?

 

Jan 24, 05 - 11:32 PM

Thanks for the reply John. I don't have any version installed at the moment, let alone an old test version. Guess I'll have to try something else for the project I'm working on.




 

 

 

 

129   Logging function

 

Author

Message

Danny
Guest




Posted: Sun Aug 14, 2005 7:37 pm    Post subject: Logging function

 

Jan 23, 05 - 9:20 AM

I am using "logging function" of Mouse and Key Recorder on Window98. Everything is working fine as i expected except it can't record the numeric keystrokes in Internet Explorer and also other application. Could someone help telling me any method to solve this problem.
Thanking in anticipation.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:38 pm    Post subject: Re: Logging function

 

Jan 24, 05 - 10:16 PM

Did you switch on NumLock ?

John Krauer, Kra-Tronic Corp.

 

 

 

 

Danny
Guest




Posted: Sun Aug 14, 2005 7:39 pm    Post subject: Re: Logging function

 

Jan 25, 05 - 6:45 PM

Thanks for John's reply.
I'm using the trial version V5.4 under Window 98SE and Window XP SP2. The result is same. I would like to say that this shareware is very useful and worthwhile.
Before I placing order, would John tell me that the version I buy is more updated than the trial version and can be sure that the bug as I mentioned before has already be cleared.
Looking forward to having good news.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:39 pm    Post subject: Re: Logging function

 

Jan 25, 05 - 9:02 PM

Tests have shown, that there was an error in the Mouse and Key Recorder. All NumPad keys were not logged.
This error is now corrected. Version V5.5 will log also NumPad keys.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Danny
Guest




Posted: Sun Aug 14, 2005 7:40 pm    Post subject: Re: Logging function

 

Jan 29, 05 - 6:54 PM

John,
Could u please tell me when will the V5.5 can be available so that i can place order.
Thanks

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:41 pm    Post subject: Re: Logging function

 

Jan 29, 05 - 11:39 PM

Release of V5.5 is planned in February 2005.

John Krauer, Kra-Tronic Corp.




 

 

 

 

130   Starten von Makros aus EXCEL heraus

 

Author

Message

Heiko
Guest




Posted: Sun Aug 14, 2005 7:36 pm    Post subject: Starten von Makros aus EXCEL heraus

 

Jan 19, 05 - 12:49 PM

Moin moin,

ich würde das Programm gerne für unsere Firma kaufen. Wichtig wäre jedoich die Funktion, dass ich Makros aufzeichnen kann, diesen einen Namen gebe und dann aus EXCEL heraus diese Makros starten kann.

Also wenn in Zelle A1 ein Wert steht, starte aufgezeichnetes Makro A, wenn dort nix steht starte Makro B.....

Geht das? Das wäre eine super Sache.


Heiko

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:37 pm    Post subject: Re: Starten von Makros aus EXCEL heraus

 

Jan 19, 05 - 1:33 PM

Ja, das kann man schon machen....
Erst zwei Makros erstellen und diese mit Schnelltasten (Hotkeys) versehen.

Dann einen Button im Excel Sheet einfügen und das folgende Makro dahinter legen:

Sub CommandButton1_Click()
If Cells(1, 1) = "" Then
SendKeys "^%+a"
Else
SendKeys "^%+b"
End If
End Sub

Wenn man nun auf den Button klickt wird das obige Excel Macro ausgeführt und je nach Inhalt von A1 wird das Maus und Tastatur Recorder Makro mit dem Hotkey CTRL ALT SHIFT a oder b gestartet.

John Krauer, Kra-Tronic Corp.




 

 

 

 

131   Problems installing

 

Author

Message

Plamen
Guest




Posted: Sun Aug 14, 2005 7:34 pm    Post subject: Problems installing

 

Jan 18, 05 - 5:59 PM

Does anyone know of a reliable way to install on Windows 2003 Server. The recorder always attempts rewrite system files, but then after restart, Windows just replaces them to get to the last known stable configuration.

I cannot disable system restore, because it is not in the system properties box.
Help, Please.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:35 pm    Post subject: Re: Problems installing

 

Jan 18, 05 - 9:56 PM

See:
http://www.kratronic.com/tools/recorder/faq/faq.htm#_Toc85377831

John Krauer, Kra-Tronic Corp.




 

 

 

 

132   Counter spy says file dwshk36.ocx is sypware

 

Author

Message

George Fisher
Guest




Posted: Sun Aug 14, 2005 7:31 pm    Post subject: Counter spy says file dwshk36.ocx is sypware

 

Jan 13, 05 - 11:42 PM

When Counter Spy is run it flags file dwshk36.ocx as spyware.. Is this true?? This file is inserted into windows/system32 on install.. I have downloaded a new file and run setup and the application that I have works.. But I am concerned about this file containing spyware on my system.. This did not do this until Christmas time. just wondering?
George

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:32 pm    Post subject: Re: Counter spy says file dwshk36.ocx is sypware

 

Jan 14, 05 - 11:18 PM

It is amazing what the errors of 10 years ago can create in todays computer world.

A little bit more info on this incident.

Counter Spy identifies the problem as SpyGraphica Professional 3.0.
with the following information, so you can see why I am concerned.

"SpyGraphica Professional 3.0
Type: Commercial Key Logger
Level: High

Description: SpyGraphica secretly monitors the PC and then delivers detailed remote activity reports to any e-mail address, as often as every 15 minutes.

Advice: This is a very high risk threat and should be removed immediately as to prevent harm to your computer or your privacy.

About Commercial Key Logger: A commercial key logger is a program that is installed by a user of a computer to explicitly monitor the activity of other users. These types of program can be installed using stealth tactics to hide themselves from other users. In addition these programs can be purchased from commercial organizations for this use."

There is no evidence that Spygraphica is calling another user or IP address, unless it has the ability to bypass Zone Alarm Pro.

Thanks
George Fisher

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:33 pm    Post subject: Re: Counter spy says file dwshk36.ocx is sypware

 

Jan 15, 05 - 9:30 AM

I see.
Counter Spy does a poor job. It looks like it just searches for the dwshk36.ocx file to identify SpyGraphica. But dwshk36.ocx is a program used for many other programs which are not designed for spying out a PC.

John Krauer, Kra-Tronic Corp.

 

 

 

 

George Fisher
Guest




Posted: Sun Aug 14, 2005 7:33 pm    Post subject: Re: Counter spy says file dwshk36.ocx is sypware

 

Jan 15, 05 - 5:04 PM

Thanks for your insights
I feel much better now but I expect that you will be getting more messages regarding this problem as the marketing people for Counter Spy gear up for action.

Just for interest if you follow-up on Counter Spy action list that removes the file than the application will produce an error message like " File DWSHK36.OCX has invalid association or is missing" The last part is correct because it has been deleted.
regards
George Fisher




 

 

 

 

133   Beep stopped working

 

Author

Message

Sandy
Guest




Posted: Sun Aug 14, 2005 7:30 pm    Post subject: Beep stopped working

 

Jan 13, 05 - 8:25 PM

I was getting frustrated with all those beeps, bells and whistles that created a racket when I open multiple pages so I turned most of them off at the control panel/sounds.

One of those I turned off must have supplied recorder beeps. I can play music on Windows media player, but I can't get recorder beep to beep again.

I tried turning all the beeps on in sounds, but the recorder beep never again beeped.

Which option in sounds is responsible for recorder beeps?

Sandy

 

 

 

 

Sandy
Guest




Posted: Sun Aug 14, 2005 7:31 pm    Post subject: Re: Beep stopped working

 

Jan 13, 05 - 8:41 PM

I messed around in sounds some more and beep started beeping, actually a bell sound. I turned off sounds one by one and beep still continued ringing. So, I don't know what made it start, but it's different.




 

 

 

 

134   Older Version.

 

Author

Message

Tyrone Lee
Guest




Posted: Sun Aug 14, 2005 7:26 pm    Post subject: Older Version.

 

Jan 9, 05 - 6:38 AM

I have ordered and older version of this product. (v4.2) And I was wondering if you offer free upgrades. To be honest, this version is working perfectly and I don't really NEED the upgrade but was just wondering if there were any benefits or new features added to the program.

I'd like to know if there was a way to execute the recorder and a particular script from an outside application.

Thanks for creating such a handy tool.

Tyrone W. Lee

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:27 pm    Post subject: Re: Older Version.

 

Jan 9, 05 - 10:03 PM

As the Mouse and Key Recorder site states, all updates are free.
http://www.kratronic.com/tools/recorder/ordering/index.html

An outside application can call the recorder by command line (See help for more information)
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc84636930

John Krauer, Kra-Tronic Corp.

 

 

 

 

Tyrone Lee
Guest




Posted: Sun Aug 14, 2005 7:28 pm    Post subject: Re: Older Version.

 

Jan 12, 05 - 12:37 AM

I have run into a small issue.. Can the latest version of the Key Recorder play scripts larger than 32K?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:28 pm    Post subject: Re: Older Version.

 

Jan 12, 05 - 7:21 AM

Yes, the old restriction of 32 kB is gone. But keep in mind if you create huge macros they run slower expecially if you use {{If s

John Krauer, Kra-Tronic Corp.

 

 

 

 

Tyrone Lee
Guest




Posted: Sun Aug 14, 2005 7:29 pm    Post subject: Re: Older Version.

 

Jan 15, 05 - 1:41 AM

Kudos to you!

I guess I will be upgrading..

Thanks again..




 

 

 

 

135   Clipboard in String kopieren-bek.Problem Sonderzeichen

 

Author

Message

Verzweifelter2



Joined: 08 Jul 2007
Posts: 5

Posted: Sun Jul 08, 2007 2:05 pm    Post subject: Clipboard in String kopieren-bek.Problem Sonderzeichen

 

Hallo,

völlig verzweifelt poste ich hier mein Problem und hoffe, das mir jemand helfen kann.
Zu meinem Problem gibt es eine Menge Postings und auch Lösungswege, die ich bereits gelesen und versucht habe. Leider ohne Erfolg...

Problemschilderung:
Es soll mit dem MTR aus einem Editor der Speichername in einen String gelegt werden.
--Speicherfenster im Editor öffnen, Dateiname auswählen, dann Ablage in die Zwischenablage, dann Zwischenablage in String

Funktioniert auch alles einwandfrei und fehlerfrei, BIS......
...im Speichennamen die 'MTR-Sonderzeichen' auftauchen (also: (), {}, [], +, ~, ^)
Der Fehler ist also lokalisiert.

Mein Problem ist jedoch, das die Sonderzeichen an unterschiedlichen Stellen innerhalb des Speichernamens liegen und die Speichernamen auch unterschhiedlich lang sind.
Ich kann also leider nicht, wie in anderen Postings beschrieben, eine feste Position mit den {} (geschwungene Klammern für die MTR-Sonderzeichen) ersetzen.

Was ich benötige ist ein Schritt, der die Zwischenablage nach den Sonderzeichen untersucht, findet und dieses dann unabhängig von Anzahl der Sonderzeichen, oder der Position der Sonderzeichen mit den MTR-Sonderzeichen ersetzt, damit ich den Speichernamen im Original habe....und nicht 'kastriert', wie in dem eben laufenden Makro.


Mittlerweile habe ich schon mehrere Wege probiert, komme aber nicht weiter.


Vielen Dank für Eure Hilfe
Der
Verzweifelte

 

 

 

Verzweifelter2



Joined: 08 Jul 2007
Posts: 5

Posted: Sun Jul 08, 2007 2:13 pm    Post subject: Makco-Code

 

...ganz vergessen, bin schon völlig durch...

der Makrocode, der zwar das Sonderzeichen am Ende der Zwischenablage ändert, aber eben nur am Ende.

{{'Speicher-Name in STRING2speichern
{{SWITCH Editor {{' Editor starten
{F12} {{'Speicherfenster Editor aufrufen
+{LEFT 4} {{'benoetigten Teil des Namens auswaehlen
^c {{' kopieren
{{'#############################################
{{'Hier testen auf % im Speichername/Zwischenablage
{{If {{InStr 1 | {{ClipBoard} | %} <> 0;;{{Goto ZuKlamAuf
{{SetVarLen {{Len {{ClipBoard}}
{{DecVarLen 1
{{SetClipboard {{Left {{ClipBoard} | {{VarLen}}
{{ClipBoard}
{%}

{{'Hier kommen die restlichen Sonderzeichen, nicht weiter aufgezeigt
{{'da die Schritte identisch sind
{{Label ZuKlamAuf



Greetz
Der Verzeifelte

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Jul 08, 2007 5:27 pm    Post subject:

 

Nun, da gibts einen einfachen Trick..
Den Text mit den Sonderzeichen erst in das Clipboard kopieren und dann per CTRL v (STRG v) ausgeben.

Hier ein Beispiel:
Im Editor steht (markiert)
+"*%/()

{{Switch Unbenannt - Editor
^c
{{SetStringTest {{Clipboard}
{{SetClipboard #emptyX5# {{' Clipboard leer machen
{{SetClipboard {{StringTest}
{RIGHT}
{ENTER}
^v

Ungeschickterweise kommen die geschwungenen Klammern trotzdem mit Klammern {{}
Geschwungene Klammern sind was spezielles, es sind ja die Befehlseinleitungs-Zeichen.
Aber trotzdem sollte das nicht so sein... Da ist wohl noch ein Fehler drin

John Krauer, Kra-Tronic Corp.

 

 

 

Verzweifelter2



Joined: 08 Jul 2007
Posts: 5

Posted: Sat Jul 14, 2007 12:45 pm    Post subject: THX

 

Danke für die Hilfe....klappt einwandfrei.

Was auch geht:
(um mal als Thread-Beginner auch was dazuzugeben!!!!)
einfach den Bereich der zu kopieren ist, blau markieren, in Zwischenablage kopieren (strg/c) und dann dieses in eine Text Datei von einem Editor (WordPad ist saufix) einfuegen.
Bei Bedarf dann diesen Bereich wieder kopieren....

Bei mir ist das Problem, das die Zwischenablage mehrmals überschrieben wird, bis der Inhalt benötigt wird.

Mit dieser Variante klappt es auch....

Es gibt ja auch Tools, die die Zwischenablage erweitern, so dass man mehrere Ablagen auswählen kann. Das habe ich aber nicht getestet.

Greetz
Der Verzweifelte




 

 

 

 

136   Run-time error '521' Cant'open Clipboard

 

Author

Message

Geoff
Guest




Posted: Sun Aug 14, 2005 7:22 pm    Post subject: Run-time error '521' Cant'open Clipboard

 

Jan 5, 05 - 11:11 AM

I have written a macro that copies data from an Excel spreadsheet into string variables by selecting a cell and then doing a mouse drag in the formula bar.
{{SetGenDelay 1
{{Mouse 1, 1, 253, 242, 0
{{DragMouse 1, 1, 172, 111, 0, 473, 110, 0
^c
{{SetStringMydata1 {{Clipboard}
{{Mouse 1, 1, 569, 177, 0
{{DragMouse 1, 1, 172, 111, 0, 473, 110, 0
^c
{{SetStringMydata2 {{Clipboard}
I do this a number of times to collect data in preparation for pasting into a form.
When I run the macro it works fine but when I run it again, sometimes I get the above error code and recorder closes. When I open and run the macro again I get the error again until I close excel and recorder a few times. This also happens when I {{SetGenDelay 10

Any ideas on this one?

Do you think trying to run the macro too fast is causing the problem?

The computer is a company workstation, 1.6G P4 256M memory with probabily basic video card running NT4 SP6.

I imagine that the default Replay Line Delay of 100ms is a setting that would insure that 99% of macros will run with success, and that in many cases macros could run much faster. In-particular commands that ran within Recorder, without screen, mouse or keyboard interaction could run much faster ie. 1ms line delay.
Would this be correct?
I will use your Hot key tips from previous post.
Thanks Geoff

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:23 pm    Post subject: Re: Run-time error '521' Cant'open Clipboard

 

Jan 5, 05 - 6:34 PM

The Help says for the clipboard command:

Hint: Reading the content of the clipboard several times can cause errors on certain PCs. (internal Windows problem). To avoid this you can copy the content of the clipboard to a variable. After that you use the variable for accessing the value.

Another possibility is to use longer delays. The Help says:
Hint: The delays have a resolution of 55 ms. That means if you set a delay of 10 ms the 'Mouse and Key Recorder' anyway waits 55 ms.

That means you could use 60 ms or 120 ms or 200... 10 do not make lots of sense, they are 55 ms. 0 ms are no delay.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Geoff
Guest




Posted: Sun Aug 14, 2005 7:24 pm    Post subject: Re: Run-time error '521' Cant'open Clipboard

 

Jan 6, 05 - 8:54 AM

As you can see from the sample code I included above, I am not reading the clipboard several times after each time I copy.
The code copies the content of the clipboard to a variable immediately after each time ^c (copy to clipboard) is performed, as recommended by the manual. Even when I set a longer delay I am still having this problem. I believe it may be something to do with trying to copy from Excel.

The Help says for coping text from Excel:

Using text copied from Excel cells is a little bit tricky. A text copied from an Excel cell to the clipboard contains always a carriage return and a line feed at the end of the text. That means your {{If statement needs to look the following way: {{If {{ClipBoard} = TEXT{{CR}{{LF};OK-Action;False-Action
To get rid of the surplus cr lf you can use the following code:
{{SetVarLen {{Len {{ClipBoard}}
{{DecVarLen 2}
{{SetStringExcel {{Left {{ClipBoard} | {{VarLen}}

I tried to use the above code to solve my problem but some of the cells I copy from are "merged cells" and then the content of the clipboard seems to contain(s) a tab(s) after the text, equal to the number of cells that are merged. This caused big problems on my form.
Do you know the ascii code for the character after the text when coping merged cells? Then maybe a can search that character and delete it.
"The delays have a resolution of 55ms" does that mean that even if I use command {{SetGenDelay 1 at the begining of a macro the minimum line delay will be 55ms?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:25 pm    Post subject: Re: Run-time error '521' Cant'open Clipboard

 

Jan 6, 05 - 7:25 PM

I tried to reproduce your error, but could not (even not with speed 0 ms) Btw. 1 ms is the same as 55 ms.
Maybe it has something to do with the data you have in your Excel.

To remove the surplus TAB characters you could use {{Instr to find the first TAB and then using {{Left to cut away the TABs.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Geoff
Guest




Posted: Sun Aug 14, 2005 7:25 pm    Post subject: Re: Run-time error '521' Cant'open Clipboard

 

Jan 7, 05 - 12:15 PM

I have changed my speed all to 60ms but still had this problem sometimes so then I changed from using ^c to using %ec and so far I didn't get the problem yet. Also I added extra delay 60ms directly before and after copy operation. Seems to be working much better Thankyou.




 

 

 

 

137   Pasting into a script file running in a DOS window

 

Author

Message

Geoff
Guest




Posted: Sun Aug 14, 2005 7:21 pm    Post subject: Pasting into a script file running in a DOS window

 

Jan 4, 05 - 9:24 AM

Hi John, I am using a DOS window that runs special script files that send commands to a Mainframe computer that controls telephone exchanges. I need to send the commands to enquire on customer service details etc. I can only use this application to send the commands (secure connection, passwords authentication etc). I want to run a script file that asks for input and then past my variable in using MKR. When I use ALT SPACE EP myself, the variable is paste into the input field. I press Enter and the Script continues running. However when I try to use % ep using MKR the variable is not input and my script file running in DOS stops waiting for input and my variable isn't even on the screen. Until recently I have been using a very early version of Recorder to paste variables into my script file running in DOS, it works ok but I can't do with it all the other things that MKR can do. Funny it works in this situation but I can't get MKR to work yet. I tried {{Start path->Recorder Path->Paste.rec from MKR. Recorder would open but Paste.rec gave an error talking about only 8 characters but the filename has less than 8 characters and I'm sure I will get other conflict trying to run MKR and Recorder at the same time. Do you have any advice or suggestions or ways to get around my problem?

Tip for MKR5.5
Put Assign Macro button and Print Macro button directly on the toolbar.
Put checkbox for Keep Recorder Window Always On Top on the toolbar
Make a button called Step Per Line on the toolbar for debugging
Thankyou for your help and advice and great product

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:22 pm    Post subject: Re: Pasting into a script file running in a DOS window

 

Jan 4, 05 - 5:52 PM

MKR can not enter any keys to a DOS window (see also Help for this information). What it can do is pasting in commands. Important: The command must contain also the Enter because the key enter can not be applied to a DOS box. Example for DIR:
{{SetClipboard dir c:\ {{chr 13}
{{Switch Command
%
ep

If you use the {{DOS command just 8.3 characters are allowed for directories and filenames. (See also Help)

Answers to Tips:
There is no room for more icons on the toolbar, otherwhise the bar needs two rows.
But you could use a hotkey-macro for changing the MKR settings...

Instead of Step per line you can use a long line delay and the hotkey for pause.

John Krauer, Kra-Tronic Corp.




 

 

 

 

138   var-Dateien sperrbar?

 

Author

Message

Steffen K.
Guest




Posted: Sun Aug 14, 2005 7:20 pm    Post subject: var-Dateien sperrbar?

 

Dec 28, 04 - 4:21 PM

Hallo John,

Wäre es möglich, dass man einen Befehl an den Anfang eines Makros setzt, der verhindert, dass eine .var-Datei gespeichert wird oder zumindest festlegt, dass vor dem Beginn des Makros die .var-Datei gelöscht wird?


MfG,
Steffen

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:20 pm    Post subject: Re: .var-Dateien sperrbar?

 

Dec 28, 04 - 6:56 PM

Nun, das löschen, kopieren oder umbenennen von VAR Files ist ganz einfach:

{{DeleteFile {{MacroPath}a1.var
{{CopyFile {{MacroPath}a1.var | {{MacroPath}a1_copy.var
{{RenameFile {{MacroPath}a1.var | {{MacroPath}a1_NewName.var

John Krauer, Kra-Tronic Corp.




 

 

 

 

139   Frage zu {{Inc}-Befehl

 

Author

Message

Steffen K.
Guest




Posted: Sun Aug 14, 2005 7:18 pm    Post subject: Frage zu {{Inc}-Befehl

 

Dec 28, 04 - 3:07 PM

Hallo John,

In deinem Beispielen in der Hilfe sehe ich z.B.
{{IncVar1} 5:

Muss der ":" immer am Ende sein? Warum?

Das gleiche gilt bei {{SetVar15} 25:
Muss auch hier der ":" sein?

MfG,
Steffen

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:19 pm    Post subject: Re: Frage zu {{Inc}-Befehl

 

Dec 28, 04 - 3:40 PM

Ochhh nein, die Doppelpunkte sind doch nur Hinweise, dass nun die Erklärung kommt
{{IncVar1} 5: ... kann man so lesen:
{{IncVar1} 5 bedeutet ....

Siehe auch Beispiele im Manual z.B.

{{SetVarZaehler 0
{{FlashBox Bitte Resultat prüfen. Ist es gut so ? | 1 | Abfrage | JA | NEIN
{{Label Nochmals
{{Delay 1000
{{IncVarZaehler 1
{{If {{VarZaehler} >= 10 ;{{Goto Weiter;
{{If {{VarFlashBoxEndedX55} = {{True} ;;{{Goto Nochmals
{{Label Weiter
{{FlashBox Dummy | 0
{{If {{VarFlashBoxAnswerX55} = {{True} ;{{MessageBox JA gedrückt oder 10 sec sind abgelaufen;
{{If {{VarFlashBoxAnswerX55} = {{False} ;{{MessageBox NEIN gedrückt;


John Krauer, Kra-Tronic Corp.




 

 

 

 

140   Mouse Position

 

Author

Message

Joe
Guest




Posted: Sun Aug 14, 2005 7:13 pm    Post subject: Mouse Position

 

Dec 24, 04 - 2:25 AM

Is there a way to make the macro pop up a box with the mouse's current position?
(x and y coordinates?)

P.S. AWESOME PRODUCT!!!

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:13 pm    Post subject: Re: Mouse Position

 

Dec 24, 04 - 3:11 PM

No, this is not possible in this version. What for would you need this function ?

John Krauer, Kra-Tronic Corp.

 

 

 

 

James
Guest




Posted: Sun Aug 14, 2005 7:14 pm    Post subject: Re: Mouse Position

 

Jan 15, 05 - 8:25 PM

A question regarding mouse position. I need to be able to execute a mouse right click (3,1,) at what ever position the mouse is at not a pre defined position can this be done. Leaving off the coordinates simple defaults to upper left of screen.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:15 pm    Post subject: Re: Mouse Position

 

Jan 15, 05 - 10:38 PM

Again.. What for would you need this function ? Maybe I have a workaround for you ?

John Krauer, Kra-Tronic Corp.

 

 

 

 

James
Guest




Posted: Sun Aug 14, 2005 7:16 pm    Post subject: Re: Mouse Position

 

Jan 21, 05 - 9:46 PM

I want to assign the following marco to a mouse button. I want to be able to click on a web link. Have it open up in a new browser window. Have that window maximize and then move over to the next monitor.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:16 pm    Post subject: Re: Mouse Position

 

Jan 22, 05 - 9:04 AM

I see, you want to navigate in the browser. Here an example which opens a browser window and logs into the SMS function:

{{Start åC:\Programme\Internet Explorer\IEXPLORE.EXEå
http://internet.sunrise.ch/de/hom/default.asp
{{If {{WaitForIEReady 30} = {{True};;{{ShowError}
{{Delay 600} {{' Milliseconds
{{If {{SetIEFocus
http://internet.sunrise.ch/de/hom/default.asp} = {{True};;{{ShowError}
^f
Login
{ENTER}
{ESC}
{TAB 2}
Name
{ENTER}
{{If {{WaitForIEReady 80} = {{True};;{{ShowError}
{{RelativeMouse sunrise - communication is life - Microsoft Internet Explorer, 1, 1, 1115, 140, 0
^f
e-Mail / SMS
{ENTER}
{ESC}
{TAB 4}
{ENTER}
{{Exit}

You use SetIEFocus to start on a certain location, then you use TAB to go to the link you need and click Enter.

John Krauer, Kra-Tronic Corp.

 

 

 

 

James
Guest




Posted: Sun Aug 14, 2005 7:17 pm    Post subject: Re: Mouse Position

 

Jan 27, 05 - 6:51 AM

Sorry to be a pain but I cannot find a multi-monitor software that actually does this and I love your software and have had great success in getting it to fullfill my needs until this point. okay, i dont want recorder to open ie for me. It will already be open. how do i get set focus or mouse coordinates to be variable.I need set focus or mouse coordinates to be where ever I position my mouse in real time not at a predefined point. I want to be able to point to a link in real time and click a mouse button. At point of mouse click I want marco excuted. I dont have problems with the actual marco. The problem I have is with mouse location at point marco starts excution. I need marco to excute on mouse click in real time at what ever coordinate the mouse is positioned at.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:18 pm    Post subject: Re: Mouse Position

 

Jan 27, 05 - 10:59 PM

I see. I have built in this function (Click on actual mouse location, drag from actual mouse location to target location.) Means the next version V5.5 will contain this function.

John Krauer, Kra-Tronic Corp.




 

 

 

 

141   Run-time error '310021'

 

Author

Message

Steven
Guest




Posted: Sun Aug 14, 2005 7:11 pm    Post subject: Run-time error '310021'

 

Dec 22, 04 - 9:02 PM

I'm using mouse and key recorder, it was working fine until a while ago, when I ran a scheduled task macro from it, and I got the error:

Run-time error '310021':
Unable to subclass specified window.

It worked fine with the scheduled tasks before, so I don't know what's went wrong

I'm using Windows XP

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:11 pm    Post subject: Re: Run-time error '310021'

 

Dec 23, 04 - 5:55 AM

Strange... very strange.. The whole Internet does not know anything about an VisualBasic error 310021.
So it must be a very very strange error..
It's difficult to say what you could do..

John Krauer, Kra-Tronic Corp.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:12 pm    Post subject: Re: How to kill macro

 

Dec 21, 04 - 11:08 PM

No, unfortunately there is no other possibility to stop/pause a macro.

John Krauer, Kra-Tronic Corp.




 

 

 

 

142   why don't write keyboard in terminal service ?

 

Author

Message

jjlee
Guest




Posted: Sun Aug 14, 2005 7:08 pm    Post subject: why don't write keyboard in terminal service ?

 

Dec 18, 04 - 10:09 AM

i open the terminal service windows,
and run MKR. but mouse run in terminal service window,
keyboard' key don't put in terminal service, don't write character.

terminal service is microsoft window terminal.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:09 pm    Post subject: Re: why don't write keyboard in terminal service ?

 

Dec 18, 04 - 3:59 PM

The Mouse and Key Recorder uses VisualBasic "SendKeys" for writing character. This is a normal Microsoft command you can also find in all the Office macro languages. You might try to do a test macro containing SendKeys in MS Word. If it does not work there, then this is a Microsoft issue. If it works you might have set the rights for the Recorder too tight.

John Krauer, Kra-Tronic Corp.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:09 pm    Post subject: Re: How do I stop or pause macros for debuging purposes. Can

 

Dec 15, 04 - 7:38 PM

Everything is possible.
The help says if you ask it for stop in part debugging)


----------------------------------
Stopping a macro:

Sometimes you have the need to stop a macro immediately. There are several possibilities to stop a macro.
- Stop-Icon (Quadrate in right top corner)

- Menu: Replay | Stop

- Hotkey: ALT Break/Pause (Notebook Fn ALT Break/Pause)

- Command {{Stop in the macro

Pausing a macro:

The hotkey: SHIFT Break/Pause (Notebook Fn SHIFT Break/Pause) pauses your macro. Pressing again the same key makes your macro continue again. Pausing means the macro stands still at the place you pressed the hotkey. All focuses stay as they are. That means you can do some possibly needed changes and continue the macro afterwards. Important: For continuing the macro you must have the same focus situation you had, when you paused the macro. Otherwise continuing the macro causes a mess…

Hint: If a Delay is running, pause is activated after Delay has ended.

Slow Macro-Run:

When you have finished a macro you should run it first in slow mode. Slow mode is activated by enlarging the value in 'Line Delay' (Tab General). Setting this value to e.g. 1000 causes a delay for one sec. for each line. That way you can easily watch what the macro does and stop it in time, if something goes wrong. If you have a long macro and you want to supervise just a part of it, you can use the command: {{SetGenDelay.

If you have the Recorder window with tab 'Macro Code' visible (maybe in a corner you do not need), you can see which command is carried out at the moment (the first two characters of a line get blue)

Macro Speed:

Computer programs are written for being used by human beings. Program developers do not expect a user like the Mouse and Key Recorder, which can operate a program incredibly fast. So they never test their program with such a fast user. That means if the Mouse and Key Recorder runs a macro too fast, all kinds of errors can occur in the target application. This is especially true for mouse clicks. (For keystrokes the Recorder waits until the last stroke is processed).

Recommendation: Add {{Delays where necessary or slow down the whole macro (or parts of the macro) by 'Line Delay' or by {{SetGenDelay.

Log-Book:

A log-book logs all activities during a macro run. This function can be activated in the menu: 'Tools' / 'Options' / 'Replay'. (Switch: 'Log Replay').The following entries are written to the Log-File:

- First line: Date and Time

- Second line: The original macro line

- Third to fifth line: Resolved macro lines. That means the content of the variables are shown.


The Log-Book allows to retrace the ways the macro used (in case of an {{If ), which value a variable had to which time, how a Loop filter ( {{<5} ) acted, etc.

------------------------

You see it might be worthwhile reading the help.
If you want to read the whole help in one piece you can access:
http://www.kratronic.com/tools/recorder/manual/index.html

John Krauer, Kra-Tronic Corp.

 

 

 

 

Geoff
Guest




Posted: Sun Aug 14, 2005 7:10 pm    Post subject: Re: How do I stop. I read the manual

 

Dec 16, 04 - 11:40 AM

Thanks for your reply John.
I spent some time reading the manual and I found the points you mentioned. My macros are starting to take shape and are working well.
I should have spent a little more time reading first than to bother you with such a simple question.
Thankyou for your time.




 

 

 

 

143   header / Tools / Options not showing for Recorder Window

 

Author

Message

John
Guest




Posted: Sun Aug 14, 2005 7:05 pm    Post subject: header / Tools / Options not showing for Recorder Window

 

Dec 11, 04 - 5:32 AM

How to phrase this,,, My Recorder Window has an incomplete header, ie, the only thing showing at top, is the Move/Size/Minimize/Close option button. there is no further buttons one would expect to see on a Window. I use WinXP, There is no Tools / Help / Copy, etc buttons, top of the Window. ??
Does that make sense??

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:06 pm    Post subject: Re: header / Tools / Options not showing for Recorder Window

 

Dec 11, 04 - 1:45 PM

There are several possibilities for happing this.
If the file recorder.exe is not started in the directory where it was installed then not all parts of the Recorder are shown. Displacing the file recorder.exe can happen if you want to create a shortcut but you copy or move the file recorder.exe.
Another reason can be a failure during installation. It is highly recommended to close all programs (also the ones in the right lower corner) before installing the Recorder.
A last (but seldom) reason are corrupted DLLs or OCX files on your PC. In this case it is difficult to find the offending part. (The recorder installation can not replace it if such components are newer than the ones it wants to install)

John Krauer, Kra-Tronic Corp.

 

 

 

 

John
Guest




Posted: Sun Aug 14, 2005 7:07 pm    Post subject: Re: header / Tools / Options not showing for Recorder Window

 

Dec 13, 04 - 7:02 AM

that last one sounds like the culprit, there was a file that it gave me an option not to replace, because it was older than a file i already had, so i told it not to replace. What kind of trouble might i get if i re-install, and this time, say to replace it? I normally use this comp for an online and pc games.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:07 pm    Post subject: Re: header / Tools / Options not showing for Recorder Window

 

Dec 13, 04 - 11:13 PM

The best way is to copy the file in question away before installing, then forcing the installing to overwrite the file. If this does not help or if then another program does not work properly any more you can copy back the original file.

John Krauer, Kra-Tronic Corp.




 

 

 

 

144   Buying Mouse and Key Recorder is easy

 

Author

Message

Geoff
Guest




Posted: Sun Aug 14, 2005 7:05 pm    Post subject: Buying Mouse and Key Recorder is easy

 

Dec 9, 04 - 12:39 PM

I recently purchase Mouse and Key Recorder through John Krauer's ordering website, KAGI.COM
It was easy and fast and I had no problems.
Thanks for a great product John.
I recomend it to everybody.
Cheers




 

 

 

 

145   Where can I buy Mouse and Key Recorder?

 

Author

Message

Geoff
Guest




Posted: Sun Aug 14, 2005 7:03 pm    Post subject: Where can I buy Mouse and Key Recorder?

 

Dec 7, 04 - 2:53 PM

Where can I buy Mouse and Key Recorder?

I don't want to send money to Kagi, they say on their website they are not responsible for supplying software eventhough they are the one you give the money to. Who ever heard of giving money to somebody who is not responsible for supplying the goods. I want to give the money to the person that will supply the software. I want to punch in my credit card number and then have the software download straight away.
Is that possible anywhere.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:04 pm    Post subject: Re: Where can I buy Mouse and Key Recorder?

 

Dec 7, 04 - 4:29 PM

I, John Krauer, Kra-Tronic Corp. garantee, that, after you have paid at Kagi you will get the licensed Mouse and Key Recorder within normally 30 minutes. (Information of the donwload location by E-Mail)

John Krauer, Kra-Tronic Corp.




 

 

 

 

146   import file

 

Author

Message

nebben
Guest




Posted: Sun Aug 14, 2005 8:19 pm    Post subject: import file

 

Apr 25, 05 - 8:22 PM

hi

I would like to import a file line by line into a varialbe and insert the variable into a textfield at some Mouseposition.

?
...
{{Mouse 1, 1,-517, 313, 0
+{INSERT}


Can you help me, please?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:20 pm    Post subject: Re: import file

 

Apr 25, 05 - 8:35 PM

You need the following commands:
ImportFile
DoImport
and possible: ImportNextLine
Example:
{{ImportFile c:\MyList.txt
{{Label Start
{{MessageBox {{DoImport}
{{If {{ImportNextLine} = {{True} ;{{Goto Start;{{Goto End
{{Label End

See the help (F1) for a description of each of the commands.

John Krauer, Kra-Tronic Corp.

 

 

 

 

nebben
Guest




Posted: Sun Aug 14, 2005 8:21 pm    Post subject: Re: import file

 

Apr 25, 05 - 8:54 PM

Like this you would get a line into the variable Var1,

{{ImportFile C:\test.txt
{{Label Start
{{SetVar1 {{DoImport}

don`t you?

But how can you insert the variable to some mouseposition textfield?

Can you just tell me, please?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:22 pm    Post subject: Re: import file

 

Apr 25, 05 - 9:11 PM

Well you locate the mouse by e.g.

{{RelativeMouse Microsoft Excel, 1, 1, 90, 163, 0
then you write your text:
{{Var1

John Krauer, Kra-Tronic Corp.

 

 

 

 

nebben
Guest




Posted: Sun Aug 14, 2005 8:22 pm    Post subject: Re: import file

 

Apr 25, 05 - 9:23 PM

Thank you it works.

{{Mouse 1, 1, 540, 440, 0
{{DoImport}^v

 

 

 

 

DOUGLAS LINDSAY CHAPMAN



Joined: 13 Jul 2007
Posts: 3

Posted: Fri Jul 13, 2007 7:50 pm    Post subject: Import from file list to specific mouse location

 

{{RelativeMouse HIFIS-SISA 3.40.1996, 1, 1, 72, 333, 0 {{'Setting of initial mouse position
{{ImportFile c:\HSBackup\names3.txt {{'Name and path of import file
{{Label Start {{'Name of Loop
{{SetClipBoard {{DoImport} {{'First word in the file list named names3.txt is stored in SetClipBoard with the command DoImport
{{RelativeMouse HIFIS-SISA 3.40.1996, 1, 1, 118, 333, 0 {{'Mouse Positiion is set at 118, 333, 0
{{ClipBoard

Thanks to others that have posted




 

 

 

 

147   Scheduled Task Multiple Users

 

Author

Message

Chris
Guest




Posted: Sun Aug 14, 2005 7:02 pm    Post subject: Scheduled Task Multiple Users

 

Dec 7, 04 - 1:32 PM

I am trying to run a scheduled task with Recorder. Recorder was loaded onto a Windows XP machine with admin rights to all users that are setup on it. I want the scheduled task to be able to run on anybody's user name, not just the one that the task was setup for. I have granted access rights to the task for all users, but it still only runs on the one user. How do I set it up to run for all users?

Thanks,
Chris

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:03 pm    Post subject: Re: Scheduled Task Multiple Users

 

Dec 7, 04 - 4:31 PM

Be aware of the restrictions of the Windows scheduler... The Help says:

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.

John Krauer, Kra-Tronic Corp.




 

 

 

 

148   How to kill without the Alt/Fn Pause Key

 

Author

Message

Fred Rodgers
Guest




Posted: Sun Aug 14, 2005 7:01 pm    Post subject: How to kill without the Alt/Fn Pause Key

 

Dec 2, 04 - 12:10 AM

Hello - is there another way to kill the macro other than clicking on the stop button or using the Alt/Fn Pause/Break key? I am using TightVNC (similar to pcanywere or gotomypc). When I am looking at my machine remotely, it cannot recognize those series of keystrokes.
Thank you in advance.




 

 

 

 

149   Teil aus einer txt zufällig importieren

 

Author

Message

Dagobert
Guest




Posted: Sun Aug 14, 2005 6:58 pm    Post subject: Teil aus einer txt zufällig importieren

 

Dec 1, 04 - 4:15 PM

Ist es möglich über den DoImport befehl auch einen zufälligen wert zu importieren? Anscheinend nicht,oder hab ich was übersehen?

falls nicht, kennt wer ne andere möglichkeit wie ich einträge aus einer txt zufällig auslesen kann?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:59 pm    Post subject: Re: Teil aus einer txt zufällig importieren

 

Dec 1, 04 - 8:49 PM

Hier ein Beispiel:

{{SetGenDelay 0
{{SetVarRandom {{RandomNumber 1, 100}
{{ImportFile C:\John.txt
{{SetVarCounter 1
{{Label Start
{{SetStringText {{DoImport}
{{IncVarCounter 1
{{ImportNextLine}
{{If {{VarCounter} < {{VarRandom} ;{{Goto Start;
{{MessageBox {{StringText}

Die Datei John.txt enthält 100 Zeilen Text

John Krauer, Kra-Tronic Corp.

 

 

 

 

Dagobert
Guest




Posted: Sun Aug 14, 2005 6:59 pm    Post subject: Re: Teil aus einer txt zufällig importieren

 

Dec 2, 04 - 3:06 PM

Vielen dank für die hilfe erstmal
leider wenn ich das einbaue, dann läuft der irgendwie die ganze zeti in einer endlosschleife. (oder liegt es daran das ich ne datei mit 3000 zeilen habe?)
Also im Recorder zählt der nur bis zeile 23 und dann wiederholt er von 1. Das andauernd, ohne das ne msgbox kommt

 

 

 

 

Dagobert
Guest




Posted: Sun Aug 14, 2005 7:00 pm    Post subject: Re: Teil aus einer txt zufällig importieren

 

Dec 2, 04 - 3:16 PM

es klappt jetzt...


{{SetGenDelay 0
{{SetVarRandom {{RandomNumber 1, 100}
{{ImportFile C:\John.txt
{{SetVarCounter 1
{{Label Start
{{SetStringText {{DoImport}
{{IncVarCounter 1
{{ImportNextLine}
{{If {{VarCounter} < {{VarRandom} ;{{Goto Start;
{{MessageBox {{StringText}


bei invarcounter 1 fehlte nur }}


Aber das ist irgendwie ziehmlich langsam, der braucht ziehmlich lang. Beschleunigen kann man den net oder?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 7:01 pm    Post subject: Re: Teil aus einer txt zufällig importieren

 

Dec 2, 04 - 8:34 PM

Nun für 100 Zeilen geht das, aber für 3000 ist das natürlich nicht die richtige Lösung.

Eine Möglichkeit würde sein, MS Word zu verwenden und dort die Funktion: Gehezu

{{Start D:\Programs\Microsoft Office\Office\WINWORD.EXE c:\john.txt
{{If {{WaitForFocus 28, 5, 1124, 666, 10, 3, 3, 3, 3} = {{True};;{{ShowError}
{{SetVarRandom {{RandomNumber 1, 3000}
%bg
%mz
%i
{{VarRandom}
{ENTER}
{ESC}
+{END}
^c
%{F4}
{{MessageBox {{Clipboard}




 

 

 

 

150   Funktionieren die Makros auch ohne das das Programm installi

 

Author

Message

Heiko
Guest




Posted: Sun Aug 14, 2005 6:55 pm    Post subject: Funktionieren die Makros auch ohne das das Programm installi

 

Dec 1, 04 - 12:38 PM

Moin moin,

mal eine Frage. Mal angenommen ich habe ein Makro mit dem Programm aufgezeichnet und möchte dieses Makro mit einem eigenen Button auf dem Desktop versehen. Das funktioniert auf meinem Rechner sicher sehr gut. Aber was, wenn ich das Makro auf einem anderen Rechner laufen lasse? Dort ist das Programm ja nicht vorhanden. Laufen die Makros trotzdem?

Vielen Dank.


Ciao Heiko

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:56 pm    Post subject: Re: Funktionieren die Makros auch ohne das das Programm inst

 

Dec 1, 04 - 8:34 PM

Der Maus und Tastatur Recorder braucht bestimmte DLLs und OCX Dateien, damit er läuft. Diese werden bei der Installation des Recorders auf den PC kopiert. Daher ist es nicht möglich, die Makros ohne installierten Recorder laufen zu lassen.
Microsoft bietet für diese Forderung die Sprache Visual Basic Scripts an. Diese Scripts laufen auf

John Krauer, Kra-Tronic Corp.

 

 

 

 

Heiko
Guest




Posted: Sun Aug 14, 2005 6:56 pm    Post subject: Re: Funktionieren die Makros auch ohne das das Programm inst

 

Dec 2, 04 - 3:11 PM

Moin moin,

gibt es denn einen solchen Makrorecorder auch für VBScript?

Ich hatte gedacht, dass ich das Makro aufzeichne und mir den Sript mittels eines Editors als eine VBS Datei abspeichere. Aber scheint ja nicht so einfach zu sein, oder gibt es doch eine Lösung?


Thanx and ciao Heiko

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:57 pm    Post subject: Re: Funktionieren die Makros auch ohne das das Programm inst

 

Dec 2, 04 - 8:40 PM

Ja, VBS wurde von Microsoft als Ersatz für den Windows Recorder in V3.1 entwickelt. Weil aber die Anwendung von VBS für "Nicht-Programmierer" viel zu kompliziert ist, habe ich den Maus und Tastatur Recorder entwickelt......

Einen Recorder der aus aufgezeichneten Tastenklicks ein sauberes VBS Script erstellt (mit Zugriff auf die Objekte der Programme die man steuern will), habe ich noch nicht gesehen... Das wäre eine echte grosse Herausforderung wohl nur mit einem grossen Millionen-Entwicklungs-Budget realisierbar...

John Krauer, Kra-Tronic Corp.




 

 

 

 

151   How can I write to a file after importing text from it?

 

Author

Message

Daniel Beiler
Guest




Posted: Sun Aug 14, 2005 6:54 pm    Post subject: How can I write to a file after importing text from it?

 

Nov 25, 04 - 2:18 AM

I would like to import text from a file, use it to guide excution of the program, and then write a response to the same text file.

Here is example:
{{ImportFile C:\PDF\List.txt
{{MessageBox {{DoImport}
{{WritetoFile C:\PDF\List.txt |Last line

An error message pops up with the following:
F:\PDF\List.txt can not be accessed

Is there any way to close the import file so I can then write to it?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:54 pm    Post subject: Re: How can I write to a file after importing text from it?

 

Nov 25, 04 - 6:47 AM

The import files stay open until the macro ends. That means you need to write to another file.
In the next Recorder version, import files not any longer needed, will be given free. So you could then use {{ImportFile C:\PDF\List2.txt to free your file.

John Krauer, Kra-Tronic Corp.




 

 

 

 

152   How Do You Set Arrow Keys Into A Macro

 

Author

Message

How to macro arrow keys?
Guest




Posted: Sun Aug 14, 2005 6:50 pm    Post subject: How Do You Set Arrow Keys Into A Macro

 

Nov 21, 04 - 6:08 AM

hi, im wondering how u make the macro record arrow keys... i cannot work it out...is it possible? and could i make the macro record my keystrokes, instead of having to key in the code for each one?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:51 pm    Post subject: Re: How Do You Set Arrow Keys Into A Macro

 

Nov 21, 04 - 1:08 PM

Welllll... Which version do you use ? Not directly recording the keys was in the version V2.0 and earlier...
In the actual version you click the red button (for recording) and then you press your keys and every key is recorded. (Exceptions: Print Screen, ALT TAB, CAPS LOCK.)
You can find this information also in the Help.
(F1)

John Krauer, Kra-Tronic Corp.

 

 

 

 

Steve
Guest




Posted: Sun Aug 14, 2005 6:52 pm    Post subject: Re: How Do You Set Arrow Keys Into A Macro

 

Nov 22, 04 - 11:58 PM

i just code them in, not sure if this is what you mean....

{down} down arrow
{left} left arrow

etc etc

 

 

 

 

Steve
Guest




Posted: Sun Aug 14, 2005 6:52 pm    Post subject: Re: How Do You Set Arrow Keys Into A Macro

 

Nov 22, 04 - 11:58 PM

i just code them in, not sure if this is what you mean....

{down} down arrow
{left} left arrow

etc etc

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:53 pm    Post subject: Re: How Do You Set Arrow Keys Into A Macro

 

Nov 23, 04 - 7:49 AM

Well, this is also a possibility to enter the key codes. You can read the Help (F1) Chapter: Recording macros to find out other ways.

Kind regards

John Krauer, Kra-Tronic Corp.




 

 

 

 

153   IExplorer versetzt nach Schließen des Fensters Computer in &

 

Author

Message

Neumeier
Guest




Posted: Sun Aug 14, 2005 6:50 pm    Post subject: IExplorer versetzt nach Schließen des Fensters Computer in &

 

Nov 18, 04 - 8:53 PM

Hallo!
Ich habe ein Problem:
Ich öffne mit dem Internetexplorer eine bestimmte Website, überprüfe, ob die da ist und wenn ja, dann schließe ich diese.
Beim Befehl Schließen (mit Alt-F4) bleibt aber alles stehen - und geht erst nach Betätigung der "Pause" Taste weiter. Was läuft hier schief?
Danke!
Gruß aus München
Johann




 

 

 

 

154   resolution

 

Author

Message

franco
Guest




Posted: Sun Aug 14, 2005 6:49 pm    Post subject: resolution

 

Nov 13, 04 - 1:55 PM

is there any way to trasform the position of the mouse in a certain resolution to another resolution .
I mean , if Mouse 1,1,32,174,0 is a position on a 1024*768 pixel what will be the same position in a 1280*1024 pixel ? it will be helpfull one utility to trasform one macro with different resolution .
all the best.




 

 

 

 

155   resolution

 

Author

Message

franco
Guest




Posted: Sun Aug 14, 2005 6:48 pm    Post subject: resolution

 

Nov 13, 04 - 1:55 PM

is there any way to trasform the position of the mouse in a certain resolution to another resolution .
I mean , if Mouse 1,1,32,174,0 is a position on a 1024*768 pixel what will be the same position in a 1280*1024 pixel ? it will be helpfull one utility to trasform one macro with different resolution .
all the best.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:48 pm    Post subject: Re: resolution

 

Nov 13, 04 - 3:12 PM

The position 1,1,32,174,0 on a 1024*768 is the same as on a 1280*1024 screen. The position is nearer to the left top corner, but also the application windwos are more dense on the higher resolution screen. That means you can use the same macros, as long as the applications itself not react to the different resolution with a different location. E.g. the center location will be on another place. In my experience the most applications keep the same locations, just a few change according the resolution. Often you get a shift of just a few pixel (if the application calculates the final location.)
PS if you use relative mouse commands you "feel" just the few pixel shift. The different location of the window is then adjusted automatically.

John Krauer, Kra-Tronic Corp.




 

 

 

 

Run-time error '5' Invalid Procedure call or argument

 

Author

Message

Anthony G
Guest




Posted: Sun Aug 14, 2005 6:38 pm    Post subject: Run-time error '5' Invalid Procedure call or argument

 

Nov 12, 04 - 1:00 AM

Hello,

I am trying to run the latest version of Recorder on my Windows 2000 machine signed in as administrator. The program seems to install fine but the error message: Run-time error '5' invalid Procedure call or argumen" appears, once I click OK the program starts but I cannot use it. It sort of sits there frozen. I have this program running on another Windows system and it works great.
Please help!

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:38 pm    Post subject: Re: Run-time error '5' Invalid Procedure call or argument

 

Nov 12, 04 - 9:18 AM

Searching the Internet news groups:
http://groups.google.ch/groups?hl=de&lr=&group=microsoft.public.vb you find mosty as a reason the setFocus command...
Do you start the Recorder minimized or in a way hidden on the errorous PC ?
Another reason for this behaviour could be corruped or invalid DLLs in this PC. Microsoft calls this situation DLL-hell... As the word suggests, it is mostly quite difficult to find the offending file.

John Krauer, Kra-Tronic Corp.

 

 

 

 

stevecoops
Guest




Posted: Sun Aug 14, 2005 6:39 pm    Post subject: Re: runtimer error 424

 

Nov 4, 04 - 6:36 AM

hey i got something more on this, the whole company is moving over to a acer desktop but still on the most current version of NT at the moment. had another user with the 424 prob earlier i tried to update the various ocx files and dlls but to no avail still get the error message, i even logged in with power user rights and still made no difference, will still be a while before we are on XP completly is there anyway at all to fix it ??

 

 

 

 

Len Fox
Guest




Posted: Sun Aug 14, 2005 6:40 pm    Post subject: Re: runtimer error 424

 

Nov 4, 04 - 1:23 PM

Am having similar problems as of 11/3. I re-ran the install and it replaced the ITSS.DLL with the older version in the zip. If corrupt I would have thought that would resolve issue.
It did not. Still receiving runtime 424 error.

 

 

 

 

Len Fox
Guest




Posted: Sun Aug 14, 2005 6:40 pm    Post subject: Re: runtimer error 424

 

Nov 4, 04 - 1:39 PM

I checked the faq and it mentioned admin right being a potential issue.
I turned them on and no more runtime errors.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:41 pm    Post subject: Re: runtimer error 424

 

Nov 5, 04 - 8:14 AM

The run time error 424 is an error which appears only on Win NT (mostly). If you need the recorder just for easy macros you could use the old Recorder V4.5. This one does not have built in Internet functionality and therefore has no problems running on not standard Windows NT.
You can find a Test-Version at:
www.kratronic.com/recorder/index45.html

John Krauer, Kra-Tronic Corp.

 

 

 

 

stevecoops
Guest




Posted: Sun Aug 14, 2005 6:42 pm    Post subject: Re: runtimer error 424

 

Nov 8, 04 - 5:24 AM

hmm ok thanks guys

the worst part is we are a very large telecommunications company who apparently has the most update technologies.

sorta embarrassing realy still using NT on admin desktops.

 

 

 

 

Reid
Guest




Posted: Sun Aug 14, 2005 6:42 pm    Post subject: Re: runtimer error 424

 

Nov 15, 04 - 9:39 AM

John, do you mean to say that there is no way to install 5.4 on NT4?

I encountered an additional issue trying to install 5.4 on NT4sp6:

title bar: "Click here to begin setup: Setup1.exe - Entry Point Not Found" description: "The procedure entry point GetLongPathNameA could not be located in the dynamic link library KERNEL32.dll"

Please provide solution.
Thanks.

Reid in Los Angeles

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:43 pm    Post subject: Re: runtimer error 424

 

Nov 15, 04 - 2:24 PM

Have you installed Internet Explorer 5.0 or higher ? See also FAQ:
http://www.kratronic.com/tools/recorder/faq/faq.htm#_Toc85377834

John Krauer, Kra-Tronic Corp.

 

 

 

 

Reid
Guest




Posted: Sun Aug 14, 2005 6:44 pm    Post subject: Re: runtimer error 424

 

Nov 15, 04 - 6:28 PM

Yes, I have IE55 (Netscape 475 also). Also, I followed the advice in Toc85377831 before posting to this forum because I had that problem first.

What about this error? --
title bar: Setup1.exe - Entry Point Not Found" description: "The procedure entry point GetLongPathNameA could not be located in the dynamic link library KERNEL32.dll"

So, I took your advice in this thread and installed 4.5. (Where to I enter my license code?)

Reid in Los Angeles

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:44 pm    Post subject: Re: runtimer error 424

 

Nov 15, 04 - 8:15 PM

This is strange. It looks like the setup causes this problem.... The command GetLongPathNameA is not built in into Windows NT. (Just Win 98 and higher) Maybe WinXP SP2 on my development PC has something to do with this problem..
I have to investigage..

John Krauer, Kra-Tronic Corp.

 

 

 

 

Reid
Guest




Posted: Sun Aug 14, 2005 6:45 pm    Post subject: Re: runtimer error 424 and "Entry Point Not Found"

 

Nov 16, 04 - 7:02 PM

here is addtl info re sequence
installation proceeds, then
1) error popup: "Click here to begin setup: setup1.exe - Entry Point Not Found" message: "The procedure entry point GetLongPathNameA could not be located in the dynamic link library KERNEL32.dll
2) click OK > notice popup - title bar: Recorder Setup
description: "An error occurred while registering the file: C:\WINNT\system32\itss.dll"
3) when IGNORE is selected, a message simiarly that of (1) appears
4) click OK > notice popup - title bar: Recorder Setup
description: "Recorder Setup was completed successfull."
5) click OK
launch Recorder > notice popup - title bar: Recorder, description: "Run-time error '424' Object required"
6) click OK > Recorder's GUI appears, but missing some buttons and not functional

 

 

 

 

Steve
Guest




Posted: Sun Aug 14, 2005 6:46 pm    Post subject: Re: runtimer error 424 and "Entry Point Not Found"

 

Nov 19, 04 - 3:11 AM

yeah thats what i get too, have to control alt del to shut it down.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:46 pm    Post subject: Re: runtimer error 424 and "Entry Point Not Found"

 

Nov 21, 04 - 1:17 PM

Finally I was able to set up a Windows NT 4.0 on my new test notebook (This was really a pain in the neck.. The HD did not accept NTFS, NT 4.0 SP1 could not access the CD Drive, modern notebooks do not have Floppy Drives, NT does not support Memory Sticks....).
You are right the new V5.4 installation causes an error during installation. Some DLLs can not be registered. That means some functions will not work. In other words I will remove Windows NT 4.0 from the supported operation systems for the Mouse and Key Recorder.
To help NT4 users (and Windwos 95 users) using the Mouse and Key Recorder anyway I intend to enlarge the old version V4.5 with the new functions in V5.4. The resulting V4.6 will have the old graphical user interface and all commands except all Internet commands. (It's anyway not recommended to acces the dangerous Internet with that old OS. Internet should only be used with the newest patches on the PC)

If everything goes on smoothly V4.6 will be released within one month.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Reid
Guest




Posted: Sun Aug 14, 2005 6:47 pm    Post subject: Re: runtimer error 424 and "Entry Point Not Found"

 

Nov 21, 04 - 8:12 PM

Thank you. John, for resolving this issue. Re NT, it's behind two firewalls (a router and Zone Alarm). Eventually, when time permts, I'm going to install Win2000. Reid in Los Angeles.




 

 

 

 

if else

 

Author

Message

mcxreflex



Joined: 13 Jun 2007
Posts: 6

Posted: Wed Jun 13, 2007 10:09 am    Post subject: if else

 

Kannn ich einstellen das wenn er nach Pattern sucht und es nicht findet einfach weitermacht bzw wenn er es findet etwas bestimmtes ausführt.

also:
1.Sucht Patter
2.Findet Patter führt einne bestimmten Befehl aus
3.Sucht erneut Patter
4.Findet kein Patter führt einen anderen bestimmten befehl aus

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Jun 14, 2007 6:10 pm    Post subject:

 

Klar geht das. Beispiel

{{Mouse 1, 1, 631, 693, 1
{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{True};{{...Befehl_1};
{{If {{FindPattern 2, -1, -1, 600, 200, 0} = {{True};;{{...Befehl_2}

1.
FindPattern => Wenn gefunden, wird Befehl 1 ausgeführt, wenn nicht gehts einfach weiter
2. FindPattern => Wenn NICHT gefunden, wird Befehl 2 ausgeführt, wenn Pattern gefunden wird gehts einfach weiter.

John Krauer, Kra-Tronic Corp.

 

 

 

mcxreflex



Joined: 13 Jun 2007
Posts: 6

Posted: Sat Jun 16, 2007 7:54 am    Post subject:

 

Thx keinne dass aus der C++ programmierung wie deklariere ich befehle?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Jun 17, 2007 4:34 pm    Post subject:

 

Beim Maus und Tastatur Recorder muss nichts deklariert werden. Es sind fix ca. 130 Befehle vorhanden. Diese können nicht verändert oder erweitert werden. Im Help steht, wie man die Befehle verwendet.

John Krauer, Kra-Tronic Corp.

 

 

 

mcxreflex



Joined: 13 Jun 2007
Posts: 6

Posted: Mon Jun 18, 2007 12:43 pm    Post subject:

 

gut werde ich mir ansehen kann es sein das du der einzige aktive member bist?^^

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Jun 19, 2007 5:22 pm    Post subject:

 

Nein, nein ich bin bloss der Site Admin.... Die meisten Fragen muss eben ich beantworten

John Krauer, Kra-Tronic Corp.

 

 

 

mcxreflex



Joined: 13 Jun 2007
Posts: 6

Posted: Sun Jul 08, 2007 7:47 am    Post subject:

 

So hab wieder mal weitergemacht nur er führt den Befehl nicht aus auch wenn die bedingung erfüllt ist:

{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{False};;{{RelativeMouse Freewar.de - RP Welt - Mozilla Firefox, 1, 1, 1187, 712, 0};

Hier wird ja nach dem patter gesucht und wenn es nicht gefunden wird ist die Bedienung falsch und müsste der befehl ausgeführt werden. Es wird zwar nach dem Patter gesucht doch wenn es nicht gefunden wird wird der Befehl nicht ausgeführt. Hab ich evtl. ein syntax fehler?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Jul 08, 2007 4:46 pm    Post subject:

 

Nun ja, das ist klar...
Es heisst ja: Wenn das Pattern NICHT da ist mache: Nix; Wenn es NICHT NICHT da ist ==> also wenn es da ist mache: {RelativeMouse Freewar.de....

{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{False};Mache etwas wenn das Pattern NICHT da ist;Mache etwas wenn das Pattern DA ist.

{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{TRUE};Mache etwas wenn das Pattern DA ist;Mache etwas wenn das Pattern NICHT da ist.

John Krauer, Kra-Tronic Corp.

 

 

 

mcxreflex



Joined: 13 Jun 2007
Posts: 6

Posted: Sun Jul 08, 2007 5:23 pm    Post subject:

 

das verstehe ich nicht ganz

{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{False}
Wenn das Muster nicht da ist ist die bedienung wahr. Und dann müsste er doch den Nach folgenden Befehl ausführen?

;;{{RelativeMouse Freewar.de - RP Welt - Mozilla Firefox, 1, 1, 1187, 712, 0};

oder wie wir das genau geschrieben?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Jul 08, 2007 5:43 pm    Post subject:

 

Ja, aber der nachfolgende Befehl war leer..

{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{False};;{{RelativeMouse ....
Also wenn das Pattern False ist dann ;;
und ;; ist eben leer, es ist nichts zwischen den beinden ;;


Hier die Anleitung aus dem Manual:

Beispiel: {{If {{Var1} = 5;{{Switch Microsoft Word;{{Switch Microsoft Excel. Resultat: Wenn der Zahlenspeicher 1 eine 5 enthält wird zu Word umgeschaltet, wenn der Zahlenspeicher 1 eine andere Zahl enthält wird zu Excel umgeschaltet.

 

 

 

mcxreflex



Joined: 13 Jun 2007
Posts: 6

Posted: Sun Jul 08, 2007 5:59 pm    Post subject:

 

Also:

{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{False};{{RelativeMouse ....}
?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon Jul 09, 2007 5:31 am    Post subject:

 

Och.....
Das Befehlsformat heisst doch: {{If Ausdruck Kondition Ausdruck ;Wahr-Aktion;Falsch-Aktion.

Also nicht nur ein ; sondern zwei ;;

{{If Ausdruck Kondition Ausdruck ;Kondition ist Wahr-Aktion ;Kondition ist Falsch-Aktion.

John Krauer, Kra-Tronic Corp.




 

 

 

 

156   problem installing after reformat

 

Author

Message

Devorock
Guest




Posted: Sun Aug 14, 2005 6:36 pm    Post subject: problem installing after reformat

 

Nov 3, 04 - 2:58 AM

when i click setup it says my System files are out of date it asks to update them i click yes..it says it needs to restart before i can try installing..i restart yet it still tells me my system files still out of date..i have all the Windows XP updates except SP2 it was causing problems reason i reformated ...does t need SP2?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:37 pm    Post subject: Re: problem installing after reformat

 

Nov 3, 04 - 7:29 AM

See FAQ:
http://www.kratronic.com/tools/recorder/faq/faq.htm

John Krauer, Kra-Tronic Corp.




 

 

 

 

157   {Label is not working

 

Author

Message

Anthony Chatelain
Guest




Posted: Sun Aug 14, 2005 6:34 pm    Post subject: {Label is not working

 

Oct 27, 04 - 9:10 PM

I have a set of commands to help me load different macros, but I always get the error message: The following label was not found: '1', when I input 1 for the Ask1.

{{Master}
{{SetCurrentDir C:\macros
{{Ask1
{{If {{WriteAsk1} = B;{{Goto B;
{{If {{WriteAsk1} = C;{{Goto C;
{{Label B
{{LoadMacro macrob.krc
{{Label C
{{LoadMacro macro1.krc

Don't know what I'm doing wrong.
Please advise

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:35 pm    Post subject: Re: {{Label is not working

 

Oct 27, 04 - 9:26 PM

Well, also here the help helps.. :
You find in the help for command {{Master
-----------
Restrictions: After a {{Master no {{GoTo is possible in the macro containing the {{Master} command. Also {{ImportFile, {{ImportNextLine and {{DoImport are not possible in this case.

A {{Master macro must not call (by {{LoadMacro) a second macro, which itself contains a {{Master command. Workaround: {{StartAndWait a second Recorder with the required macro.
----------

That means goto is not possible after a {{Master.
You need to structure your macros differently.

 

 

 

 

stevecoops
Guest




Posted: Sun Aug 14, 2005 6:36 pm    Post subject: Re: {{Label is not working

 

Oct 29, 04 - 1:04 AM

hmm you know i was originaly thinking of doing the same thing with a logical choice path loading particular macros as needed. i ended up embeding decision paths into the same script. the macro we use accesses 3 core databases and performs different actions depening on the data it initialy reads from a excel spreadsheet. this also includes various validation scripts (to make sure its on the right screen) also any error generation.

just a thought as i found the load macro functions a bit tricky with some OS's we use here.




 

 

 

 

158   {n} doesn't work

 

Author

Message

Roy Layden
Guest




Posted: Sun Aug 14, 2005 6:32 pm    Post subject: {n} doesn't work

 

Oct 27, 04 - 8:01 PM

I can't seem to get {{n} to work for me. If I place this in my Macro and immediately after it i place {{Beep}, the {{Beep} is executed every time through the loop, not just after the last time through.

 

 

 

 

Roy Layden
Guest




Posted: Sun Aug 14, 2005 6:33 pm    Post subject: Re: {{n} doesn't work

 

Oct 27, 04 - 8:11 PM

I just realized my syntax was incorrect. I wasn't putting my {{Beep} command on the same line as the {{n} command. I was assumming all commands beneath the {{n} would be executed only on the last loop.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:34 pm    Post subject: Re: {{n} doesn't work

 

Oct 27, 04 - 8:42 PM

Did you use the right sytax ?
Here a working example:

{{Delay 300
{{n}{{Beep

Let it run 10 times and during the last run it beeps..

John Krauer, Kra-Tronic Corp.




 

 

 

 

159   CheckWindow

 

Author

Message

Jorge Araujo
Guest




Posted: Sun Aug 14, 2005 6:28 pm    Post subject: CheckWindow

 

Oct 27, 04 - 5:55 PM

Hi i have a windows called "window: window1"
and when this windows finish her job the name changes for "window1" when this happens i need to do something
I use {{If {{CheckWindow Window1} = {{True} ;{{Goto SiEstawindow;{{Goto NoEstawindow

But MKR found "window: window1" as "window1" and my CheckWindow does not work properly

Regards

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:29 pm    Post subject: Re: CheckWindow

 

Oct 27, 04 - 8:39 PM

Well, there is a help in the help You find there:
----
Wrong Window found: If a window has just a short name like Editor it might happen that another window (e.g. Microsoft Visual Basic Editor - MKR) is found and activated. This can be avoided by using the two additional commands <= and =>. <=Editor means just a window with the word Editor located at the beginning of the name will be activated. Editor=> means just a window with the word Editor located at the end of the name will be activated.
-----

So you could use <=Window: to be sure to geht the first window or
: window1=>

John Krauer, Kra-Tronic Corp.

 

 

 

 

Jorge Araujo
Guest




Posted: Sun Aug 14, 2005 6:30 pm    Post subject: Re: CheckWindow

 

Oct 28, 04 - 10:18 PM

Ok i use tha with switch but when i use CheckWindow
the MKR show me the next error
command: {{Chewindow xxxxxxx=does not contain a brace(})¡

This is the code:
{{If {{CheckWindow Open Backorder and Unbilled Delivery Report=>} = {{True} ;{{Goto SiEstaZsd10;{{Goto NoEstaZsd10

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:30 pm    Post subject: Re: CheckWindow

 

Oct 29, 04 - 6:12 AM

Ohhhh you are right... in combination with an {{If this does not work...
Well, you could circumvent this the following way:

{{SetVarWindow {{CheckWindow Open Backorder and Unbilled Delivery Report=>}
{{If {{VarWindow} = {{True} ;{{Goto SiEstaZsd10;{{Goto NoEstaZsd10

John Krauer, Kra-Tronic Corp.

 

 

 

 

Jorge Araujo
Guest




Posted: Sun Aug 14, 2005 6:31 pm    Post subject: Re: CheckWindow

 

Nov 3, 04 - 4:07 PM

Hi i Try That but even though i dont understad it but it doesn't work

What you set on VarWindows with {{CheckWindow Open Backorder and Unbilled Delivery Report=>}???

i thought that SetVar was only for numbers

With {{SetVarWindow {{CheckWindow Open Backorder and Unbilled Delivery Report=>}
{{If {{VarWindow} = {{True} ;{{Goto SiEstaZsd10;{{Goto NoEstaZsd10
The macro never found the windows Open Backorder and Unbilled Delivery Report=>}

Any new idea


Regards

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:32 pm    Post subject: Re: CheckWindow

 

Nov 3, 04 - 11:43 PM

The Help to CheckWindow says:
If the window exists the Recorder switches to this window and writes a one, if the window does not exist the Recorder writes a zero.

That means the result of CheckWindow is a 1 or a 0. 1 or 0 fit well to a Var variable.

The idea behind the solution is to first check the window and then check the result by {{If. (If you use => in the {{if the {{if is cheated. {{If thinks => is already the condition.

You can use log file to see what happens during macro run.

John Krauer, Kra-Tronic Corp.




 

 

 

 

160   lesen aus GUI

 

Author

Message

drimsel
Guest




Posted: Sun Aug 14, 2005 6:27 pm    Post subject: lesen aus GUI

 

Oct 27, 04 - 10:00 AM

Ist es möglich mit einem Makro Daten aus dem TwixTel GUI zu lesen?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:28 pm    Post subject: Re: lesen aus GUI

 

Oct 27, 04 - 8:34 PM

Nun, der Recorder kann all das tun, was auch der Benutzer vor dem PC tun kann. (Allerdings hat er keine Augen, und darum kann er keinen Text, der nicht mit Find oder Tab anspringbar ist, auffinden. Text welcher mit CTRL c kopiert werden kann, kann der Recorder auch kopieren. Grafiken kann der Recorder nicht direkt, aber mit Hilfe eines ScreenSnappers ausschneiden und irgendowhin kopieren.

John Krauer, Kra-Tronic Corp.




 

 

 

 

161   {beep doesnt work

 

Author

Message

Misteimer
Guest




Posted: Sun Aug 14, 2005 6:23 pm    Post subject: {beep doesnt work

 

Oct 24, 04 - 1:34 PM

maybe someone of you can help me. The order {{beep doesnt make any sound. I already checked sound intensity of my notebook and turned it to the highest level but it doesnt work.
Someone know what i can do?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:24 pm    Post subject: Re: {{beep doesnt work

 

Oct 24, 04 - 6:17 PM

{{Beep uses a normal beep command within Visual Basic. That means you might get no beeps also not from other applications.
The reason might be, that your have blocked wav/MP3 sounds. If so, you have to de-block them. (Loadspeaker icon in the lower right hand corner)

John Krauer, Kra-Tronic Corp.

 

 

 

 

Misteimer
Guest




Posted: Sun Aug 14, 2005 6:24 pm    Post subject: Re: {{beep doesnt work

 

Oct 24, 04 - 7:47 PM

Thanks for the reply. I already checked the loudspeaker and it works. I can hear all sounds(like mp3) except that beep. I already tested the same version of the recorder on another notebook and it did work.

 

 

 

 

Misteimer
Guest




Posted: Sun Aug 14, 2005 6:25 pm    Post subject: Re: {{beep doesnt work

 

Oct 25, 04 - 3:09 PM

thanks for the reply. the problem is that i dont exactly know what you mean. the player i use for wav files is winamp and i also tried it with windows media player. but the beep still doesnt work.

 

 

 

 

Misteimer
Guest




Posted: Sun Aug 14, 2005 6:26 pm    Post subject: Re: {{beep doesnt work

 

Oct 27, 04 - 6:06 PM

does someone else know what i could do, that beep makes a sound? it would be very important to me

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:26 pm    Post subject: Re: {{beep doesnt work

 

Jan 13, 05 - 9:01 PM

Sombody had the same problem and found that he switched off some of the windows sounds... If the sound used by beep is switched off, then of course, beep does not sound any more...

John Krauer, Kra-Tronic Corp.




 

 

 

 

162   Featurerequest: Macro unterbrechen und fortführen

 

Author

Message

Marcus Bauer
Guest




Posted: Sun Aug 14, 2005 6:21 pm    Post subject: Featurerequest: Macro unterbrechen und fortführen

 

Oct 16, 04 - 10:02 PM

Hallo,

Wird es demnächst möglich sein ein Makro mit Variablen etc. über einen Hotkey/Tastenkombination anhalten zu können - und später wieder nahtlos genau an der gestoppten Stelle das Makro weiterlaufen zu lassen?

Ich würde mich sehr über eine Antwort freuen und verbleibe

Mit freundlichen Grüßen,
Marcus Bauer

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:22 pm    Post subject: Re: Featurerequest: Macro unterbrechen und fortführen

 

Oct 16, 04 - 11:35 PM

Version V5.4 enthält diese Funktion. Die Hilfe (F1) sagt:
Makro pausieren:
Mit der Schnelltaste (Hotkey): UMSCHALT Break/Pause (Notebook Fn UMSCHALT Break/Pause) kann ein Makro unterbrochen werden. Wenn man die gleiche Schnelltaste wieder drückt, läuft das Makro weiter. Unterbrechen bedeutet, das Makros steht still, alle Fokusse bleiben wie sie sind. Nun können ev. nötige Aenderungen vorgenommen und danach das Makro weitergeführt werden. Wichtig: Um das Makro erfolgreich weiterlaufen zu lassen, muss die Fokus-Situation die gleiche sein wie beim pausieren des Makros. Sonst kriegt man ein Durcheinander....
Hinweis: Bei einem laufenden Delay wird die Pause erst nach dem Ende des Dalays aktiviert.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Marcus Bauer
Guest




Posted: Sun Aug 14, 2005 6:22 pm    Post subject: Re: Featurerequest: Macro unterbrechen und fortführen

 

Oct 17, 04 - 10:51 AM

Stark!
Ganz ganz prima - Danke.




 

 

 

 

163   WaitForIEReady doesn't work anymore

 

Author

Message

Anthony Chatelain
Guest




Posted: Sun Aug 14, 2005 6:14 pm    Post subject: WaitForIEReady doesn't work anymore

 

Oct 16, 04 - 2:33 AM

I have been using MKR for a week now and have developed about 100 different macros for internet pages, etc. Up until yesterday, my macros worked flawlessly, but now the WaitForIEReady doesn't work anymore. It acts like Internet Explorer is not running. I've tried everything from {{Switch to just clicking on the page, but for some sudden reason, the command doesn't recognize IE is working. I think someone made some changes to our workstations at work. Without the WaitForIEReady option, all of my macros are completely useless.
Any suggestions?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:15 pm    Post subject: Re: WaitForIEReady doesn't work anymore

 

Oct 16, 04 - 9:19 AM

There are several reasons possible:
- WaitForIEReady works just with IE. If you change to another browser this command will not work.
- If two IE are running and one is ready and the other is still not ready, the command WaitForIEReady waits utnil all IE are ready.
- Pages with frames often show a ready between the frames. If this ready stays longer than 1,2 sec, then WaitForIEReady asssumes this page is ready. You can change this time with a additional parameter. Here the Text from the Help:

{{WaitForIEReady

WaitForIEReady allows waiting for an Internet page to be fully downloaded. Example:

{{If {{WaitForIEReady 10} = {{True} ;{{Goto OK;{{Goto error. If the page download needs more than 10 seconds, the macro jumps to the label error, otherwise to the Label OK. If no Internet Explorer is open, a False is returned. {{ShowError} can be used in the True-action or False-action part. {{ShowError} causes the macro to show an error and to end.

Additional Information: This command can only be used for Microsoft Internet Explorer V4.0 or higher. The Command does not work with Netscape or other browsers.

Recognizing the end of an Internet page download is tricky. Especially if frames are used in the page, the WebBrowser Object delivers a signal for every frame. Sometimes the ready signal appears for a short time between the individual frames. To overcome these problems the WaitForIEReady command checks the ready signal 8 times (with a delay of 0,15 sec between each try.) If these 8 loops are too less (or too high) the number of loops can be set.

Example: {{If {{WaitForIEReady 10,30} = {{True} ;{{Goto OK; {{ShowError}. In this example 30 loops are used. This needs 4,5 sec time.

Hint: If several Internet Explorer are active, then WaitForIEReady waits until all Explorers are ready.


John Krauer, Kra-Tronic Corp.

 

 

 

 

Anthony Chatelain
Guest




Posted: Sun Aug 14, 2005 6:15 pm    Post subject: Re: WaitForIEReady doesn't work anymore

 

Oct 27, 04 - 8:58 PM

This didn't help. Like I said, it was working before, but then one day (I'm assuming after I.T. updated something on the system) it no longer worked. Also, we do have a system here that does not run any of the login scripts, and this command still works on that box.

We ARE using IE, 6.0.2800.1106.xpsp2_gdr.040517-1325, to be exact. There are no other IE windows open. There are no frames - we were using it before just fine on any website, now it doesn't work for any website, even with a page as simple as Google.com. Please advise.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:16 pm    Post subject: Re: WaitForIEReady doesn't work anymore

 

Oct 27, 04 - 9:21 PM

I assume this happens just on one PC... We call them PC related problems. Some components in this PC are corrupt and that way some functions do not work properly. It is very difficult if not impossible to find such an error from afar. In such a case it is recommended to set up the PC new. This is a big work, but the corrupted components may also affect other programs and functions.

If all IT-PCs in your company have the same problem then it might be the script... Then I would be interested what they do to your PCs..

John Krauer, Kra-Tronic Corp.

 

 

 

 

Anthony Chatelain
Guest




Posted: Sun Aug 14, 2005 6:17 pm    Post subject: Re: WaitForIEReady doesn't work anymore

 

Oct 27, 04 - 11:35 PM

Yes, it is generally all PCs here, except the ones that have never authenticated to the network. I'm not sure if I can find out what script is running, but will try. We thought it might be a security patch from MS or even SP2, but not sure.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:17 pm    Post subject: Re: WaitForIEReady doesn't work anymore

 

Oct 28, 04 - 7:48 AM

It can't be just Windows XP SP2, because I tested the Recorder also on Win XP SP2.
This is very strange, because this function uses the object ShellWindows in the Library SHDocVw within C:\WINDOWS\System32\shdocvw.dll.
It looks then for each shell windows and tests if it is a HTMLDocument. As long as any of these HTMLDocuments are Busy the Recorder waits.

Maybe your IT exchanges some of the IE DLLs with their own ones.....
Or your Internet is suddenly that fast, that all pages are downloaded within the default 1.25s WaitForIEReady waiting time..

John Krauer, Kra-Tronic Corp.

 

 

 

 

Anthony Chatelain
Guest




Posted: Sun Aug 14, 2005 6:18 pm    Post subject: Re: WaitForIEReady doesn't work anymore

 

Nov 6, 04 - 12:42 AM

Looks like different versions of IE. The one that works (not on the network) and most likely has not been updated with any patches, etc is:
Version 6.0.2600.0000.xpclient.010817-1148

The one that does not work (all of our office PCs) is:
Version 6.0.2800.1106.xpsp2_gdr.040517-1325

Our PCs have not been updated with SP2, but it looks like from the version info that at least IE was updated with the IE update from SP2.

What version of IE have you tested on? Does the "Version" info on yours match ours?

Any suggestions?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:19 pm    Post subject: Re: WaitForIEReady doesn't work anymore

 

Nov 6, 04 - 10:06 AM

The both XP SP2 PCs (Desktop and Notebook) I have tested on, have both the same IE version:
6.0.2900.2180.xpsp_sp2_rtm.040803-2158

Maybe the combination: Not updated XP and updated IE makes the difference. To do tests I first had to create such an operating system version..

John Krauer, Kra-Tronic Corp.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:20 pm    Post subject: Re: WaitForIEReady doesn't work anymore

 

Nov 6, 04 - 1:26 PM

Well, I have now done tests with a Win XP without SP2. IE: V 6.0.2800.1106.xpsp2_gdr.040517-1325 and {{WaitForIEReady works well.
How do you use the command {{WaitForIEReady ? Can you show us a snipplet of your macro ?

John Krauer, Kra-Tronic Corp.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:20 pm    Post subject: Re: WaitForIEReady doesn't work anymore

 

Nov 6, 04 - 8:22 PM

Another thing... Do the pages you open in your browser contain frames ? If yes you can find a solution for that in the help:

Recognizing the end of an Internet page download is tricky. Especially if frames are used in the page, the WebBrowser Object delivers a signal for every frame. Sometimes the ready signal appears for a short time between the individual frames. To overcome these problems the WaitForIEReady command checks the ready signal 8 times (with a delay of 0,15 sec between each try.) If these 8 loops are too less (or too high) the number of loops can be set.

Example: {{If {{WaitForIEReady 10,30} = {{True} ;{{Goto OK; {{ShowError}. In this example 30 loops are used. This needs 4,5 sec time.

Hint: If several Internet Explorer are active, then WaitForIEReady waits until all Explorers are ready.

John Krauer, Kra-Tronic Corp.




 

 

 

 

164   using MKR to control a dos application

 

Author

Message

greatmgm
Guest




Posted: Sun Aug 14, 2005 6:13 pm    Post subject: using MKR to control a dos application

 

Oct 15, 04 - 9:14 AM

problem:

mkr starts the dos application, but
the application do not react.
the application is only controlled by keys
up, down, enter and so on

any solution




 

 

 

 

165   What is new in Ver5.4 ?

 

Author

Message

Marc Parham
Guest




Posted: Sun Aug 14, 2005 6:12 pm    Post subject: What is new in Ver5.4 ?

 

Oct 14, 04 - 2:00 PM

Do you have a brief description of what is new in version 5.4 ?
Marc

 

 

 

 

hrt
Guest




Posted: Sun Aug 14, 2005 6:12 pm    Post subject: Re: What is new in Ver5.4 ?

 

Oct 14, 04 - 4:17 PM

listed in the FAQ




 

 

 

 

166   Clipboard to String-Problems with {([+~ etc

 

Author

Message

Verzweifelter2



Joined: 08 Jul 2007
Posts: 5

Posted: Sun Jul 08, 2007 3:53 pm    Post subject: Clipboard to String-Problems with {([+~ etc

 

Hi to all,

my english is sad, but I'll try to tell my problem with the MTR.

I'll copy a selektion into the clipboard...no problem, but the marked selektion may have some symbols in it, like {}, (). [], +, ~,^ ...these are the sysmbols which MTR used with {x} --> ( {{}, {}} or {[}...i know.)

I need the original clipboard-selektion WITH all these symbols.
The search at this board, showed my some postings and some good help.

My problem is, that the marked selektion may have these special-MTR-symbols...but i dont thow the place, or the number of the used special symbols.

So I need a solution, like:

- copy marked selektion into clipboard
- change 'special MTR symbols' in the clipboard into {(}, {+} or {~}...so on
- copy clipboard (new one, with the special MTR-symbols) into STRING
- send STRING ino dokument (editor)


this is my 'code', which runs 50%...it changes only the position of the clipboard....but I need changing of different positions and symbols...

here's the code:
{{'Speicher-Name in STRING2speichern
{{SWITCH Editor {{' start Editor
{F12} {{'opens save-dialog
+{LEFT 4} {{'mark the shown name, without ending like .txt...
^c {{' copy to clipboard
{{'#############################################
{{'testing clipboard for %
{{If {{InStr 1 | {{ClipBoard} | %} <> 0;;{{Goto ZuKlamAuf
{{SetVarLen {{Len {{ClipBoard}}
{{DecVarLen 1
{{SetClipboard {{Left {{ClipBoard} | {{VarLen}}
{{ClipBoard}
{%}

{{'here will follow the rest of the MTR-special symbols
{{'I don't post them, cause they are like the step ahead
{{Label ZuKlamAuf


So, can someone help me?
Sorry, I posted this thread in german and english...hope my english is good enough to tell you the details of my problem...

Thank you
Verzweifelter2

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Jul 08, 2007 5:31 pm    Post subject:

 

You can use CTRL c and CTRL v, then the special characters are not converted

{{Switch Unbenannt - Editor
^c
{{SetStringTest {{Clipboard}
{{SetClipboard #emptyX5#
{{SetClipboard {{StringTest}
{RIGHT}
{ENTER}
^v

Unfortunately { and } are converted also in this case... seems to be an error, needs to be investigated.

John Krauer, Kra-Tronic Corp.




 

 

 

 

167   {Clipboard} misbehavoir with "%" character

 

Author

Message

aebongiovanni
Guest




Posted: Sun Aug 14, 2005 6:09 pm    Post subject: {Clipboard} misbehavoir with "%" character

 

Oct 13, 04 - 9:28 PM

The following section of code copies a row from an Excel spreadsheet, switches to a console app, and enters the clipboard:

{DOWN}
+
^c
{{Switch BTS
{{Clipboard}
{{Delay 1000}

One of the excel cells being pasted contains a string of text like this:

"at 1.75%" (without quotes)

However, it seems that the percent sign is being interpreted as ALT instead of plain text, and the macro tabs back to excel and types in the remainder of the clipboard's contents.

This was bypassed by using "at 1.75 pct" instead, but I'd prefer to use the symbol. Is there an escape character to force a literal interpretation of "%", or is this a new bug?

We haven't run into it before after over two years of use, but we've also not used {{Clipboard} a lot, either. We use it here because the console app does not accept CTRL-V, and I prefer to avoid mouseclick commands.

Mouse & Key Recorder version 5.2
Windows XP Pro SP1

Thanks,

Anthony

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:10 pm    Post subject: Re: {{Clipboard} misbehavoir with "%" character

 

Oct 13, 04 - 9:40 PM

The Help says:
Some characters are treated specially in the 'Mouse and Key Recorder'. These characters are:

The plus sign (+), caret (^), percent sign (%), tilde (~),parentheses ( ) Brackets ([ ]) and brace ({}). All these characters need to be enclosed by braces. {+},{^},{%},{~},{(},{)},{[},{]},{{},{}}

Means when you write:
at 1.75{%}
you get your percent sign.

John Krauer, Kra-Tronic Corp.

 

 

 

 

aebongiovanni
Guest




Posted: Sun Aug 14, 2005 6:10 pm    Post subject: Re: {{Clipboard} misbehavoir with "%" character

 

Oct 13, 04 - 10:15 PM

D'oh... I should have remembered that.

Thanks.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:11 pm    Post subject: Re: {{Clipboard} misbehavoir with "%" character

 

Oct 13, 04 - 10:39 PM

Here an expample:

{{Start Notepad
{{SetClipboard Hello%
{{If {{InStr 1 | {{ClipBoard} | %} <> 0;;{{Goto NoPercent
{{SetVarLen {{Len {{ClipBoard}}
{{DecVarLen 1
{{SetClipboard {{Left {{ClipBoard} | {{VarLen}}
{{ClipBoard}
{%}
{{Goto Ende
{{Label NoPercent
{{ClipBoard}
{{Label Ende

{{Delay 1000}

John Krauer, Kra-Tronic Corp.




 

 

 

 

Internetseite abfragen ?

 

Author

Message

Dominik
Guest




Posted: Sun Aug 14, 2005 6:02 pm    Post subject: Internetseite abfragen ?

 

Oct 13, 04 - 9:07 PM

Ich möchte eine Internetseite aktualisieren, und nach bestimmten Begriffen absuchen, welche auf ein bestimmtes Ereignis hinweisen.
Ich spiele ein Browsergame und will ein Skript erstellen, welches im Angriffsfall Alarm schlägt.
Da auf der Internetseite aber Werbebanner eingeblendet werden, lässt sich nicht zuverlässig mit einer bestimmten Anzahl von {Tab}s arbeiten.Ich hab das Ding soweit, dass es die Seite absuchtindem es die Suchfunktion mit STRG+F nutzt und diese einmal vorwärts und einmal rückwärts suchen lässt um den Begriff sicher zu finden.Taucht das Fehlerfenster wegen eines nicht gefundenen Begriffs auf, so erkennt es das Skript mit CheckFocus und schliesst es.Dann führt es wieder {Tab}s aus um das Suchfenster zu schliessen.Dannach ist der entsprechende Begriff markiert.Aber iregdwo kommt nun der Haken. ICh habe den richtigen Begriff in einem String vorgegeben und das Skript soll nun das ClipBoard mit diesem String vergleichen und aufgrund dessen eine wahr oder Falschaktion bewirken.starte ich das Skript das erste Mal, so funktioniert alles wunderbar, aber aus dem laufenden Betrieb herraus klappt es nicht.Ich weiss nicht, wo ich den Fehler gemacht habe. Es können viele Fehler sein, denn ich bin nicht sehr gut im Umgang mit der Skripterei...ich poste es hier einfach mal, und falls einem Fehler auffallen, so wäre ich sehr dankbar für eine oder mehrere Hilfestellungen.
Ich bitte um Verzeihung für die misserable äussere Form, aber ich hab sehr wenig Durchblick.
Bitte nicht kritisieren..ich befinde mich noch in der Lernphase

{{'################################################################
{{'Login###########################################################
{{'################################################################
{{Start Hier startet das Programm Mozilla neu um sich erneut einzuloggen
{{ Die folgenden im Skript 2mal wiederkehrenden Zeilen sind die Einlogsequenz
{{Delay 8000
{Enter}
{{Delay 5000}
{TAB}
{TAB}
{TAB}
{Enter}
{{Delay 5000}
{{'################################################################
{{'Beginn für die Prüfschleife##########################################
{{'################################################################
{{Label Start
{{SetClipboard #emptyX5#
{{Switch NameDesBrowserGames
{{SetString11 Übersicht
^f
Übersicht
{Enter}
{{If {{CheckFocus 22, 3, 561, 98, 3, 3, 3, 3} = {Esc};;{{Goto Ü1
{{Label Ü1
{Tab}
{Tab}
{Tab}
{Tab}
{Tab}
{Enter}
{{'SUCHE IM RÜCKWÄRTSMODUS
{{Switch NameDesBrowserGames
^f
{Tab}
{Tab}
{Tab}
{Left}
{Tab}
{Tab}
{Tab}
Übersicht
{Enter}
{{If {{CheckFocus 22, 3, 561, 98, 3, 3, 3, 3} = {Esc};;{{Goto Ü2
{{Label Ü2
{Tab}
{Tab}
{Tab}
{Tab}
{Tab}
{Enter}
{Esc}
^c
{Enter}
{{'##########################
{{'Zwischenablage checken####
{{'##########################
{{'Automatischer Reconnect####
{{'##########################
{{SetString2 {{ClipBoard}
{{If {{String2} = {{String11} ;{{Goto Conn2;{{Goto Conn1
{{Label Conn1
{{Switch NameDesBrowserGames
%d
b
{{Delay 8000
{{Start {{Start Hier startet das Programm Mozilla neu um sich erneut einzuloggen
{{Delay 8000
{Enter}
{{Delay 5000}
{TAB}
{TAB}
{TAB}
{Enter}
{{Delay 5000}
{{Label Conn2
{{SetVar1} {{RandomNumber 1, 7}
{{MulVar1} 1000
{{Delay {{Var1}}
{{'################################################################################
{{'################################################################################
{{SetClipboard #emptyX5#
{{SetString10 greift ihren
^f
greift ihren
{Enter}
{{If {{CheckFocus 22, 3, 561, 98, 3, 3, 3, 3} = {Esc};;{{Goto A1
{{Label A1
{Tab}
{Tab}
{Tab}
{Tab}
{Tab}
{Enter}
{{'SUCHE IM RÜCKWÄRTSMODUS
{{Switch NameDesBrowserGames
^f
{Tab}
{Tab}
{Tab}
{Left}
{Tab}
{Tab}
{Tab}
greift ihren
{Enter}
{{If {{CheckFocus 22, 3, 561, 98, 3, 3, 3, 3} = {Esc};;{{Goto A2
{{Label A2
{Tab}
{Tab}
{Tab}
{Tab}
{Tab}
{Enter}
{Esc}
{{Switch NameDesBrowserGames
{{Delay 5000
^c
{{'##########################
{{'Zwischenablage checken####
{{'Winamp startet Alarmsound##
{{'##########################
{{SetString1 {{ClipBoard}
{{If {{String1} = {{String10} ;{{Goto Angr3;{{Goto Angr2
{{Label Angr3
{{Start C:\Programme\Winamp\Winamp.exe
{{Delay 10000
{{Switch Winamp
%f
f
{Enter}
Warning1.m3u
{Enter}
{{Delay 1000
{{Switch NameDesBrowserGames
{{Exit}
{{Label Angr2
{{'################################################################################
{{'Auf Reconnecten prüfen############################################################
{{'################################################################################
{{Switch NameDesBrowserGames
{{SetString18 Fehler
^f
Fehler
{Enter}
{{If {{CheckFocus 22, 3, 561, 98, 3, 3, 3, 3} = {Esc};;{{Goto Ü4
{{Label Ü4
{Tab}
{Tab}
{Tab}
{Tab}
{Tab}
{Enter}
{{'SUCHE IM RÜCKWÄRTSMODUS
{{Switch NameDesBrowserGames
^f
{Tab}
{Tab}
{Tab}
{Left}
{Tab}
{Tab}
{Tab}
Fehler
{Enter}
{{If {{CheckFocus 22, 3, 561, 98, 3, 3, 3, 3} = {Esc};;{{Goto Ü5
{{Label Ü5
{Tab}
{Tab}
{Tab}
{Tab}
{Tab}
{Enter}
{Esc}
^c
{{'##########################
{{'Zwischenablage checken####
{{'##########################
{{'Automatischer Reconnect####
{{'##########################
{{SetString20 {{ClipBoard}
{{If {{String20} = {{String18} ;{{Goto Con8;{{Goto Con9
{{Label Con8
{{Switch NameDesBrowserGames
%d
b
{{Delay 8000
{{Start {{Start Hier startet das Programm Mozilla neu um sich erneut einzuloggen
{{Delay 8000
{Enter}
{{Delay 5000}
{TAB}
{TAB}
{TAB}
{Enter}
{{Delay 5000}
{{Label Con9
{{'################################################################################
{{'Warteschleife vor Neubeginn#######################################################
{{'################################################################################
{{SetVar1} {{RandomNumber 60, 90}
{{MulVar1} 1000
{{Delay {{Var1}}
{{Goto Start


P.S. gibt es eine Möglichkeit, die vielen {TAB}s hintereinander zu schreiben ?

 

 

 

 

Dominik
Guest




Posted: Sun Aug 14, 2005 6:03 pm    Post subject: Re: Internetseite abfragen ?

 

Oct 13, 04 - 9:16 PM

Ein anderes Problem ist, dass diese Begriffe, die nur in speziellen Bilschirmmeldungen vorkommen, wie das "greift" keine Schaltflächen sind, darum muss ich mit der Suchfunktion arbeiten.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:04 pm    Post subject: Re: Internetseite abfragen ?

 

Oct 13, 04 - 9:37 PM

Nun ja...
{{If {{CheckFocus 22, 3, 561, 98, 3, 3, 3, 3} = {Esc};;{{Goto Ü1
{{Label Ü1
Das ist falsch.
Nach dem = kann nur ein {{True}, {{False}, 0 oder 1 stehen. Zudem springt das Makro immer zu ü2 ob das if nun wahr oder falsch ist...

Mehrere Tabs kann man so schreiben: {TAB 7} für 7 tabs.

Mit {{SetIEFocus kann man den Focus auf das erste Element setzen. Dadurch funktioniert dann Find immer (was nicht der Fall ist wenn der Focus z.B auf der Adresse steht.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Dominik
Guest




Posted: Sun Aug 14, 2005 6:04 pm    Post subject: Re: Internetseite abfragen ?

 

Oct 13, 04 - 9:41 PM

Ich dank dir riesig für deine schnelle und kompetente Antwort...weil ich echt noch nicht so gut im Skripten bin....
Hättest du für dieses If-Problem einen Lösungsansatz parat ?
Vielleicht, wie ich diese Zeilen umformulieren könnte um die 1 bzw. 2 zu nutzen ?
ICh wäre dir sehr, sehr dankbar.

 

 

 

 

Dominik
Guest




Posted: Sun Aug 14, 2005 6:05 pm    Post subject: Re: Internetseite abfragen ?

 

Oct 13, 04 - 10:36 PM

Ich meinte natürlich das mit 1 und 0 ...
Ich stehe gerade ein bissle auf dem Schlauch.
Ich will nicht nerven...tut mir leid wegen den 1000 Posts..ich hab nur das Gefühl, dass ich total mies erkläre auf was ich hinaus möchte.
Ich wollte nur anfragen, ob eine andere If-Aussage...sprich Formulierung gibt, die funktioniert.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:06 pm    Post subject: Re: Internetseite abfragen ?

 

Oct 13, 04 - 10:46 PM

Hier ein Beispiel:

{{If {{CheckFocus 22, 3, 561, 98, 3, 3, 3, 3} = {{True};;{{Goto Ue1
{{' Hier kommt nun der Teil wenn CheckFocus wahr ist
{{Goto Weiter
{{Label Ue1
{{' Hier kommt der Teil wenn CheckFocus falsch ist
{{Label Weiter

John Krauer, Kra-Tronic Corp.

 

 

 

 

Dominik
Guest




Posted: Sun Aug 14, 2005 6:06 pm    Post subject: Re: Internetseite abfragen ?

 

Oct 13, 04 - 10:56 PM

Ahhh...so langsam lichtet sich das Dunkel

{{If {{String2} = {{String11} ;{{Goto Conn2;{{Goto Conn1
{{Label Conn1
{{Switch NameDesBrowserGames
%d
b
{{Delay 8000
{{Start {{Start Hier startet das Programm Mozilla neu um sich erneut einzuloggen
{{Delay 8000
{Enter}
{{Delay 5000}
{TAB 3}
{Enter}
{{Delay 5000}
{{Label Conn2
{{SetVar1} {{RandomNumber 1, 7}
{{MulVar1} 1000
{{Delay {{Var1}}


Dann liegt der Fehler bei dieser If-Verzweigung darin, dass ich für die zwei möglichkeiten Wahr und Falsch etwas hinter dem If eingesetzt habe.
Müsste diese If-Zeile dann wie folgt aussehen ?

{{If {{String2} = {{String11} ;Goto Falschroutine ?

Und nicht

{{If {{String2}={{String11};Richtigroutin;GotoFalschroutine ?

War das mit dem 1 und 0 so gemeint, dass ich nur einen einzigen Test mit IF machen darf...entweder positiv oder negativ ?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:08 pm    Post subject: Re: Internetseite abfragen ?

 

Oct 13, 04 - 11:19 PM

Hmmm, Der Recorder hat ein umfassendes Help (F1) der auf die allermeisten Fragen Antworten gibt. Dann gibt es noch das zusammenhängende Manual:
http://www.kratronic.com/tools-de/recorder/manual/index.html
und die HGF (Häufig gestellten Fragen)
http://www.kratronic.com/tools-de/recorder/faq/faq.htm

Wenn man das studiert hat, dann geht alles viel leichter und schneller....

John

 

 

 

 

Dominik
Guest




Posted: Sun Aug 14, 2005 6:08 pm    Post subject: Re: Internetseite abfragen ?

 

Oct 13, 04 - 11:21 PM

Habe verstanden )))
Trotzdem danke...war schon ein enormer Schritt vorwärts für einen Anfänger.




 

 

 

 

168   Scheduling

 

Author

Message

Chris
Guest




Posted: Sun Aug 14, 2005 6:01 pm    Post subject: Scheduling

 

Oct 13, 04 - 2:49 PM

Op Sys: Windows 2000
Program Version: 5.3

I am attempting to schedule a task, but a couple things go wrong:

1. The task will appear to begin and then stop immediately. I know this because I have the macro output a line to a text file when it begins. But, that is the only line that gets outputted and the macro never runs.

2. When I go back into the "Scheduled Tasks" tab, the date is reset to "11/30/1999"

I have tried scheduling it for a one-time task and a repeated task.
Please help, thanks.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:02 pm    Post subject: Re: Scheduling

 

Oct 13, 04 - 5:10 PM

The Help in V5.3 is not accurate for Scheduling.. You can find better information about Scheduling in the FAQ:
http://www.kratronic.com/tools/recorder/faq/faq.htm#_Toc85377838
or in the manual of the new Version 5.4:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc84636927

John Krauer, Kra-Tronic Corp.




 

 

 

 

169   runtimer error 424

 

Author

Message

Thomas
Guest




Posted: Sun Aug 14, 2005 5:56 pm    Post subject: runtimer error 424

 

Oct 12, 04 - 11:01 AM

Hi !

We have to run the program on windows xp with no admin rights on the clients. with local admin rights the program works. when we install it as user we get the error ' not able to register itss.dll' . when we install as admin the installation works but the program raises error 424 when we start it as user.
its very important for us to use the program with userrights. recorder corporate version and os win xp sp1 (sp2).

thanks for your help

thomas

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:56 pm    Post subject: Re: runtimer error 424

 

Oct 12, 04 - 12:31 PM

It looks like the file itss.dll on your PC is corrupt. You might replace and register this file by the one in the following Support Zip-File:
www.kratronic.com/tools/recorder/temp/MKRSupport54.zip

John Krauer, Kra-Tronic Corp

 

 

 

 

Thomas
Guest




Posted: Sun Aug 14, 2005 5:57 pm    Post subject: Re: runtimer error 424

 

Oct 12, 04 - 3:27 PM

Hi John !

Thanks for your fast reply.
The file is in windows/system32 and I have already granted full rights to the user to the hole directory. the installation was made with admin rights. i also searched the registry for the itss.dll and changed the permissions for this key to normal users cause this is sometimes a problem. the rights on itss.dll self are also ok. i tried on a other pc with the same config and it works ? where can i look else to fix it? my boss does not allow me to grant admin rights to the users on this machines.

thanks thomas

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:58 pm    Post subject: Re: runtimer error 424

 

Oct 12, 04 - 3:42 PM

Well, this shows, that this is a PC related problem. (Settings, corrupt DLLs...) Maybe the problem is not just the DLL showing registering problems, but also another DLL or OCX. You might check all the files in:
www.kratronic.com/tools/recorder/temp/MKRSupport54.zip whether they are registered, and not corrupt. You might replace them by the ones in the above zip file.

John Krauer, Kra-Tronic Corp

 

 

 

 

Thomas
Guest




Posted: Sun Aug 14, 2005 5:58 pm    Post subject: Re: runtimer error 424

 

Oct 12, 04 - 4:30 PM

thanks !

as i am a developer myself i dont really like pc related problems cause i tell this sometimes my clients myself.
i will try virtualcage to get the corrupt dll,ocx.

thanks thoams

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:59 pm    Post subject: Re: runtimer error 424

 

Oct 12, 04 - 12:40 PM

Another reason could be, that the user for the direcotroy where the file itss.dll is in, does not have access rights.

The installation must always be done with administrator rights.

John Krauer, Kra-Tronic Corp

 

 

 

 

stevecoops
Guest




Posted: Sun Aug 14, 2005 6:00 pm    Post subject: Re: runtimer error 424

 

Oct 14, 04 - 4:32 AM

sweet so it is the pc's

john this was a prob i had with my users moving onto acer desktops and with win
NT, some time ago

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 6:00 pm    Post subject: Re: runtimer error 424

 

Oct 14, 04 - 6:20 AM

Ahhh you said it is an XP... Well if NT then the missing or old IE could it be..

John Krauer, Kra-Tronic Corp.




 

 

 

 

170   mouse movement

 

Author

Message

karl
Guest




Posted: Sun Aug 14, 2005 5:53 pm    Post subject: mouse movement

 

Oct 12, 04 - 7:05 AM

I can't figure out a way to actually record the time between the click movements I make.

When I play the macro after recording it just skips from one click to another extremly fast.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:54 pm    Post subject: Re: mouse movement

 

Oct 12, 04 - 7:31 AM

You need to switch on automated delay recording at: Tools, Options, Tab: Recording, 'Add delays during recording'

John Krauer, Kra-Tronic Corp




 

 

 

 

171   Laufzeitfehler 5 helft mir

 

Author

Message

svensen01
Guest




Posted: Sun Aug 14, 2005 5:52 pm    Post subject: Laufzeitfehler 5 helft mir

 

Oct 9, 04 - 11:44 PM

Beim starten des Programm laufend fehler meldung "Laufzeitfehler`5´ Ungültiger Prozeduraufruf oder ungültiges Argument"
was kan das bloß sein.
MfG Svensen01

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:52 pm    Post subject: Re: Laufzeitfehler 5 helft mir

 

Oct 10, 04 - 10:52 AM

Der Run Time Error (Laufzeitfehler) 5 passiert, wenn irgend etwas mit bestimmten DLL oder OCX Dateien nicht in Ordnung ist. Das kann sein, dass diese nicht richtig registriert sind, oder dass neuere Versionen auf dem PC vorhanden sind, die aber nicht nach den offiziellen Regeln von DLLs und OCX verändert wurden.
Die folgende ZIP Datei enthält alle Versionen und ein Dokument mit Hinweisen:
www.kratronic.com/tools/recorder/temp/MKRSupport54.zip

John Krauer, Kra-Tronic Corp.




 

 

 

 

172   cannot kill macro

 

Author

Message

Jonathon
Guest




Posted: Sun Aug 14, 2005 5:50 pm    Post subject: cannot kill macro

 

Oct 7, 04 - 11:50 PM

Hello,

I try to use the Alt + Pause/Break keys on my desktop to abort the macro, but it does not work. The caps lock is off and I've tried everycombination. Ideas?

Thanks!

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:51 pm    Post subject: Re: cannot kill macro

 

Oct 8, 04 - 8:08 AM

What kind of keyboard do you have ? A small one with a blue Fn key like notebooks ? Then you had to use the combination: Fn ALT Pause/Break. You might consult your keyboard manual to see if special actions are necessary for some keys.

John Krauer, Kra-Tronic Corp.




 

 

 

 

173   Macro crashes after about 2.5-3 hours of use

 

Author

Message

Freddy
Guest




Posted: Sun Aug 14, 2005 5:47 pm    Post subject: Macro crashes after about 2.5-3 hours of use

 

Sep 30, 04 - 6:49 PM

Great Program!

I've got a macro that only uses local variables (about 25) and runs great for about 2.5 hours. At that point, it chunks the screen up and can no longer run. If I stop the macro every hour and then restart it, it doesn't seem to happen. Is this a RAM problem? Is it a variable problem? The *.var file seems to be small, so I doubt it.

Please help!

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:48 pm    Post subject: Re: Macro crashes after about 2.5-3 hours of use

 

Sep 30, 04 - 7:02 PM

Can you send the macro to me, so I can investigate ?

John Krauer, Kra-Tronic Corp.

actual e-mail see:
www.kratronic.com

 

 

 

 

Freddy
Guest




Posted: Sun Aug 14, 2005 5:48 pm    Post subject: Re: Macro crashes after about 2.5-3 hours of use

 

Oct 1, 04 - 2:45 AM

I just repeated the macro and it crashed after about 3 hours again. The application that it is running on (it clicks and performs keystrokes) turns grey and then the macro code text is superimposed over it. Then in the same font as the macro software, it states "replay 24" which superimposed on the grey field, which is over my application. It appears "24" refers to the line of code, although there is nothing special with that line as it has looped through there thousands of times while it checks to see if the application has updated.

I would guess it's a RAM problem since the macro's speed deteriorates over the course of the 3 hours. It is re-copying about 30k worth of text into the clipboard about every 15 seconds to cross-reference it with other data.

Think it's RAM? Any other ideas? Thanks!!!

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:49 pm    Post subject: Re: Macro crashes after about 2.5-3 hours of use

 

Oct 1, 04 - 6:22 AM

Well, driving an application with the Recorder for a long time is like a tough function test. The people who have created the application might never have imagined that a user would work that hard.. So they never tested their application for such a situation. To distinguish whether the crash comes from the driven application or from the Recorder you could create a "test" with a similar macro which would drive e.g. Notepad. (Notepad seems to be a very well testet application, since I have used it for 24 hours long term tests of the Recorder)
If the problem lies in the driven application you might slow down your macro (to extend the time until it crashes) or you close and reopen your application every hour.

John Krauer, Kra-Tronic Corp.

 

 

 

 

stevecoops
Guest




Posted: Sun Aug 14, 2005 5:50 pm    Post subject: Re: Macro crashes after about 2.5-3 hours of use

 

Oct 11, 04 - 12:48 AM

lol my longest macro run with it reading from a excel spreadsheet and updating 3 systems was 14 hours was a good run though




 

 

 

 

174   Upgrade

 

Author

Message

Markus
Guest




Posted: Sun Aug 14, 2005 5:46 pm    Post subject: Upgrade

 

Sep 30, 04 - 1:59 PM

Hallo

If i already did an upgrade from an older version to version 5.1 could i get an upgrade again to 5.3

Thank you

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:46 pm    Post subject: Re: Upgrade

 

Sep 30, 04 - 5:21 PM

Yes, all upgrades are free.
Just write an e-mail. Please mention the word Upgrade, your name or e-mail address you used for your previous order. You will get an e-mail containing the new link within a week.

John Krauer, Kra-Tronic Corp.




 

 

 

 

175   Non EXE file extension

 

Author

Message

Mike
Guest




Posted: Sun Aug 14, 2005 5:44 pm    Post subject: Non EXE file extension

 

Sep 29, 04 - 7:35 PM

I am trying to use this recorder to execute an appliaction with a .dtf (AS/400 file transfer) extension. Whenever I launch the .dtf application from within recorder.exe I get an "Application not found" error.
Is there a workaround for this?

Thanks!

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:45 pm    Post subject: Re: Non EXE file extension

 

Sep 29, 04 - 10:37 PM

The manual says:

{{Start can only start files with the extension .exe, .bat, .com.

For data files like .doc the filename can be added (as command line) to the application path. Example: {{Start "C:\Program Files\Microsoft Office\Office\WINWORD.EXE" D:\MyDocuments\MyWordFile.doc

Another way is to start the application (here MS Word). Then load the .doc file by the appropriate commands (ALT File….)

John Krauer, Kra-Tronic Corp.




 

 

 

 

176   Findpattern viewer

 

Author

Message

Knight1216



Joined: 15 May 2007
Posts: 5

Posted: Thu Jun 21, 2007 11:55 am    Post subject: Findpattern viewer

 

If there a way to view a recorded findpattern {fpd) file? Or even a macro that will change your fpd files into a format that can be viewed by another program?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Jun 21, 2007 6:50 pm    Post subject:

 

You can view such a file by an editor e.g. Notepad. Unfortunately you can not open this file in an graphic program. The Recorder uses its own format. Example:

3
16777215
1907482
16777215
16777215
1907482
16777215
16777215
1907482
16777215

First the number of pixel (here 3x3)
then the colors of the pixels (Same color-numbers as {{GetPixel delivers)

John Krauer, Kra-Tronic Corp.

 

 

 

Knight1216



Joined: 15 May 2007
Posts: 5

Posted: Thu Jun 21, 2007 8:19 pm    Post subject: Future Plans

 

Are there plans in the future to make a graphic viewer for the patters?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Jun 22, 2007 6:43 pm    Post subject:

 

No, I do not see a big demand for such a function. What for would one need this function ?

John Krauer, Kra-Tronic Corp.

 

 

 

Knight1216



Joined: 15 May 2007
Posts: 5

Posted: Thu Jun 28, 2007 12:18 am    Post subject: Find Pattern

 

If there is no demand for it I can see not going through the trouble of making a viewer. I am glad you respond to all the messages writen.

I do have a suggestion for an improvement of the findpattern command. I would like to see the command, find pattern, have the option not to bounce to the location where it is looking for the pattern. I would like to see it do something like the getpixel command does. In a macro I wrote I found it was faster to look at the 11 points rather than searching for the pattern starting in one place and searching the whole area. The mouse pointer would only go there in a debug command or if the user wanted to see where the pattern was being searched for. But when I have the program running the co-workers impression is the program does not look very professional. I ahve explained it is the fastest why to get the job done. The macro is far faster than any human could do it though.

Again thanks for answering all the messages.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Jun 30, 2007 6:43 pm    Post subject:

 

Well, if you search the whole screen for a large pattern then it needs much time...
The idea is to use the smallest possible pattern (which is still unique) and a search area which is as small as possible. (Maybe you maximize a window before to make sure the searched pattern appears at similar locations always). If you do so, {{FindPattern is reasonable fast.

Hints from the Manual:
The search speed depends on four factors: PC performance, size of the search area, size of the pattern and appearance of the pattern. The pattern appearance influences the search speed, because at each pixel in the search area, first the four corner pixel and the center pixel of the pattern square are tested. Is one of these pixels are different to the background the pattern comparison is ended and the next search area pixel is tested. Otherwise the Recorder starts to test the whole pattern square. Our example (30 pixel) is not optimal. The four corners are white like the most of the search area. Maybe the center pixel will help…

John Krauer, Kra-Tronic Corp.




 

 

 

 

177   GetPixel

 

Author

Message

Rob
Guest




Posted: Sun Aug 14, 2005 5:43 pm    Post subject: GetPixel

 

Sep 27, 04 - 5:25 PM

I was wondering what format the colour is in? I did a GetPixel and copied it to the clipboard but I can't figure out what colour format is used or how it is formatted.

EG: Black is 0

I need to know so I can see if the getPixel is actually getting the correct pixel.

Thanks

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:44 pm    Post subject: Re: GetPixel

 

Sep 27, 04 - 8:49 PM

You can convert the color by the many RGB converters in the web. e.g.
http://www.psyclops.com/tools/rgb/
First you have to convert the color you get from {{GetPixel to HEX:
http://www.parkenet.com/apl/HexDecConverter.html

eg: 13160660 >> C8D0D4 >>
http://www.321webmaster.com/colorconverter.php
200, 208, 212

John Krauer, Kra-Tronic Corp.




 

 

 

 

178   Search and Replace-

 

Author

Message

Warren Emerson
Guest




Posted: Sun Aug 14, 2005 5:42 pm    Post subject: Search and Replace-

 

Sep 23, 04 - 4:34 PM

I need a simple search and replace mechanism that I can open a document in notepad, search for one particular fixed string, replace it and then close the notepad back to the original file name.

It seems simple enough.. yet getting into and out of the program, switching to the notepad at the right moment and in the right manner seems a little daunting to me, a novice.

Does anyone have a ready made solution that will both serve my purpose and serve as a model for getting into and out of the macro player.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:42 pm    Post subject: Re: Search and Replace-

 

Sep 23, 04 - 4:56 PM

Here an expample:

{{Start Notepad c:\MyDocument.txt
{{Delay 1000
^h
Data
{TAB}
Dutu
%l {{' Replace all - Use your hotkey
{ESC}

John Krauer, Kra-Tronic Corp.




 

 

 

 

179   Zeichen in einem String ersetzen

 

Author

Message

Diethelm
Guest




Posted: Sun Aug 14, 2005 5:40 pm    Post subject: Zeichen in einem String ersetzen

 

Sep 23, 04 - 3:43 PM

Hallo

ich möchte in einem String prüfen ob bestimmte Zeichen enthalten sind und diese ersetzen. (Mit
diesem String wird später ein Verzeichnis angelegt)
Dazu habe ich mir die nachfolgende Routine einfallen
lassen. Mein Problem ist nur, dass die Schleife bei
einem 30 Zeichen langen Feld fast 1 Minute lang läuft. Fällt jemandem etwas schnelleres ein?

Danke


{' Erstellt am: Sep.21.2004, 09:44 (MTR Version: 5.3 )

{{' ******************************************************Textzeile festlegen ****************************************************
{{SetStringVarText a/c:ejgjgkjgjgkjgjkgjkgkjgkjgk
{{' ****************************************************** Variable initialisieren *************************************************
{{SetStringTeil1 .
{{SetStringTeil2
{{' ******************************************************Textlänge ermitteln ****************************************************
{{SetVarTextlaenge {{len{{StringVarText}}
{{' ****************************************************** Zähler festlegen *******************************************************
{{SetVarZaehler 0
{{SetVarZaehler1 -1
{{SetVarZaehler2 1
{{SetVarZaehlerEnde {{VarTextlaenge}
{{IncVarZaehlerEnde 1
{{' ******************************************************Schleifenbeginn *******************************************************
{{Label Start
{{' ****************************************************** Zähler ändern *********************************************************
{{IncVarZaehler 1
{{IncVarZaehler1 1
{{IncVarZaehler2 1
{{DecVarZaehlerEnde 1
{{' ****************************************************** String zerlegen (dynamisch) ****************************************
{{if {{VarZaehler1} > 0;{{SetStringTeil1 {{mid{{StringVarText}|1|{{VarZaehler1}};
{{SetStringTeil2 {{mid{{StringVarText} |{{VarZaehler2} | {{VarZaehlerEnde}}

{{' ****************************************************** Zeichen prüfen und ersetzen ***************************************
{{if {{mid{{StringVarText} |{{VarZaehler} |1} = å ;{{SetStringVarText} {{StringTeil1}-{{StringTeil2};;
{{if {{mid{{StringVarText} |{{VarZaehler} |1} = * ;{{SetStringVarText} {{StringTeil1}-{{StringTeil2};;
{{if {{mid{{StringVarText} |{{VarZaehler} |1} = : ;{{SetStringVarText} {{StringTeil1}-{{StringTeil2};;
{{if {{mid{{StringVarText} |{{VarZaehler} |1} = ? ;{{SetStringVarText} {{StringTeil1}-{{StringTeil2};;
{{if {{mid{{StringVarText} |{{VarZaehler} |1} = \ ;{{SetStringVarText} {{StringTeil1}-{{StringTeil2};;
{{if {{mid{{StringVarText} |{{VarZaehler} |1} = / ;{{SetStringVarText} {{StringTeil1}-{{StringTeil2};;
{{if {{mid{{StringVarText} |{{VarZaehler} |1} = | ;{{SetStringVarText} {{StringTeil1}-{{StringTeil2};;
{{if {{mid{{StringVarText} |{{VarZaehler} |1} = < ;{{SetStringVarText} {{StringTeil1}-{{StringTeil2};;
{{'if {{mid{{StringVarText} |{{VarZaehler} |1} = > ;{{SetStringVarText} {{StringTeil1}-{{StringTeil2};;

{{if {{VarZaehler} = {{VarTextlaenge} ;Goto Weiter ;{{Goto Start
{{' ******************************************************Schleifenende *******************************************************

{{Label Weiter
{{MessageBox {{StringVarText}

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:41 pm    Post subject: Re: Zeichen in einem String ersetzen

 

Sep 23, 04 - 4:43 PM

Hier eine schnellere Version:

{{SetGenDelay 0
{{SetStringVarText Startåb*c:d?e\f/g<h>j|Ende

{{MathStrSeparator @
{{SetStringVarText {{Replace {{StringVarText} @ å @ - @ 1 @ -1}
{{SetStringVarText {{Replace {{StringVarText} @ * @ - @ 1 @ -1}
{{SetStringVarText {{Replace {{StringVarText} @ : @ - @ 1 @ -1}
{{SetStringVarText {{Replace {{StringVarText} @ ? @ - @ 1 @ -1}
{{SetStringVarText {{Replace {{StringVarText} @ \ @ - @ 1 @ -1}
{{SetStringVarText {{Replace {{StringVarText} @ / @ - @ 1 @ -1}
{{SetStringVarText {{Replace {{StringVarText} @ < @ - @ 1 @ -1}
{{SetStringVarText {{Replace {{StringVarText} @ > @ - @ 1 @ -1}
{{SetStringVarText {{Replace {{StringVarText} @ | @ - @ 1 @ -1}
{{MessageBox {{StringVarText}
{{SetGenDelay 100

So dauerts noch 0,18 Sekunden.

John Krauer, Kra-Tronic Corp.




 

 

 

 

180   Send video to someone?

 

Author

Message

Kevin
Guest




Posted: Sun Aug 14, 2005 5:36 pm    Post subject: Send video to someone?

 

Sep 23, 04 - 5:09 AM

If I wanted to record my mouse doing what it does, and I have it set up and everything doing it find on my computer, is there some way that I could record what I see on my screen and send it as a mpeg or some video file to a friend so she may watch?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:37 pm    Post subject: Re: Send video to someone?

 

Sep 23, 04 - 6:59 AM

There are several products out there you could use for that purpose.
I made good experiences with camtasia.
http://www.techsmith.com/products/studio/default.asp?lid=CamtasiaStudioHome

John Krauer, Kra-Tronic Corp.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:38 pm    Post subject: Re: Text-Datei auslesen

 

Sep 20, 04 - 8:43 PM

Nun, da gibt es verschiedene Möglichkeiten. Die idealste ist die Verwendung der Befehle:
{{ImportFile, {{ImportSeparator, {{DoImport}, {{ImportNextLine}
Aber man kann natürlich die Text Datei auch mit Notepad öffnen und dann mit den Cursortasten (Auf, Runter, AnfangZeile, EndeZeile) arbeiten.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Basskicker
Guest




Posted: Sun Aug 14, 2005 5:38 pm    Post subject: Re: Text-Datei auslesen

 

Sep 20, 04 - 10:17 PM

also ich poste einfach mal mein script...
{{DragMouse 1, 1, 721, 75, 0, 687, 76, 0
{{ImportFile C:\liste.txt.
{{DoImport}, {{ImportNextLine}
{{NumPadEnter}
{{Delay 3000} {{' Millisekunden
{{Mouse 1, 1, 357, 135, 0
{{NumPadEnter}
{{Delay 300} {{' Millisekunden
{{Mouse 1, 1, 122, 78, 0
{{NumPadEnter}
{{Mouse 1, 1, 105, 130, 0
{{NumPadEnter}
{{DragMouse 1, 1, 721, 75, 0, 687, 76, 0
{{ImportFile C:\liste.txt.
{{DoImport}, {{ImportNextLine}
{{NumPadEnter}
{{Delay 3000} {{' Millisekunden
{{Mouse 1, 1, 357, 135, 0
{{NumPadEnter}
{{Delay 300} {{' Millisekunden
{{Mouse 1, 1, 122, 78, 0
{{NumPadEnter}
{{Mouse 1, 1, 105, 130, 0
{{NumPadEnter}

Hab hab kein plan - wie man bestimmt sieht...bin froh das ich es soweit gebracht habe.
Das is nun mit doppelter Wiederholung - ich möchte es nachher gern noch öfter wiederholen - so ca 100x

Problem is jetzt aber noch, das er mir nicht aus meiner textdatei die zahl einfügt - er markiert zwar die alte - fügt aber nicht die neue ein.
Wie muss die Text datei aussehen?
hab einfach nur die zahlen untereinander aufgeführt.

Bsp:
100
200
300

Wäre dankebar wenn mir jemand zur lösung helfen kann..

mfg

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:39 pm    Post subject: Re: Text-Datei auslesen

 

Sep 21, 04 - 7:42 PM

Hier ein Beispiel für die 3 Zahlen:

{{SetVarZaehler 1
{{Switch Microsoft Excel
{{ImportFile C:\liste.txt.
{{Label Start
{{DoImport}
{ENTER}
{{IncVarZaehler 1
{{If {{VarZaehler} > 3;{{Goto Ende;
{{ImportNextLine}
{{Goto Start
{{Label Ende

John Krauer, Kra-Tronic Corp.

 

 

 

 

Basskicker
Guest




Posted: Sun Aug 14, 2005 5:40 pm    Post subject: Re: Text-Datei auslesen

 

Sep 23, 04 - 1:41 PM

So hab mich nun noch mal ausgibig mit dem bsp beschäftig, aber weiss immer noch nciht so recht wie ich das auch meine vorstellung einbauen kann.

Mein Code:
{{SetVarZaehler 1
{{Switch Microsoft Excel
{{ImportFile C:\liste.txt.
{{Label Start
{{Mouse 1, 1, 803, 75, 0
{ENTER}
{{RelativeDragMouse - Mozilla Firefox, 1, 1, 801, 72, 0, 686, 69, 0
{{DoImport}
{ENTER}
{{IncVarZaehler 1
{{If {{VarZaehler} > 1;{{Goto Ende;
{{ImportNextLine}
{{Goto Start
{{Label Ende
{{SetVarZaehler 1

Mit diesen Code fügt er mir nun shconmal die erste zahl in meine adress zeile, aber wi ebekomm ich di enächste zahl darein???

Nochmal kurze erklärung was ich möchte:
!. Aus einer Datei (txt)sollen zahlen gelesen werden - aber immer nur eine und diese dann über nen Browser (Firefox) einfügen. Im Browser soll die adresse markiert werden und die letzte zahl von der adresse mit der zahl aus der liste editiert werden. Dannach soll der Browser aktualiesiert werden. Dann soll aus der liste die nähste zahl genommen werden und das selbe soll ausgeführt werden. Also wiederholt + das so ca 100 mal!

Is das möglich???
Wäre dankbar wenn mir jemand behilflich wäre...

mfg
Basskicker




 

 

 

 

181   CapsLockOff erratic result

 

Author

Message

Jean St-Arneault
Guest




Posted: Sun Aug 14, 2005 5:35 pm    Post subject: CapsLockOff erratic result

 

Sep 10, 04 - 1:35 PM

Hi,
I am running recorder 5.3 on Win XP Pro and have a problem with the capslockoff. The macro starts IE at the beginning and my first command is CapsLockOff, however it does not seems to take it every time. I need to send a lower case string to an IE page but at times it keeps it at Uppercase which result in an error.

Any advise?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:36 pm    Post subject: Re: CapsLockOff erratic result

 

Sep 10, 04 - 6:31 PM

Well, Tests on XP Pro have not shown any problems. Recommendation: If you start IE before {{CapsLockOff}, wait with the command {{CapsLockOff} until IE has opened (or carry out {{CapsLockOff before starting IE.) Try to use {{Delay. Try to use {{CapsLockOff} twice with a {{delay between.

John Krauer, Kra-Tronic Corp.




 

 

 

 

182   Wie kann man das FlashBox Fenster positionieren?

 

Author

Message

Zwinkerle
Guest




Posted: Sun Aug 14, 2005 5:33 pm    Post subject: Wie kann man das FlashBox Fenster positionieren?

 

Sep 9, 04 - 7:55 PM

Sorry leider bin ich dem Englisch nicht so mächtig das ich eine Frage damit stellen könnte.

Problem:
Ich arbeite mit 2 Monitoren (was ich sehr empfehlen kann) und lasse das Makro im ersten Monitor ablaufen. Um den Status zu erkennen wie oft das Makro schon abgelaufen wurde habe ich mittels den Befehl Flashbox eine Info dazu. Leider erscheint dieses Infofenster aber in dem Monitor wo das Makro abläuft, so das es immer im Hintergrund ist, wo ich es nicht sehen kann. Wie kann ich das FlashBox Infofenster positionieren, so das es immer sichtbar an einer anderen Stelle zu sehen ist?

Danke für Antworten -Bidde Bidde in Deutsch-

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:34 pm    Post subject: Re: Wie kann man das FlasshBox Fenster positionieren?

 

Sep 9, 04 - 9:22 PM

Man kann die FlashBox nicht positionieren. Diese positioniert sich wie auch die MessageBox in der Mitte des Bildschirms.
Möglicher Workaround: Im anderen Bildchirm am Anfang ein kleines Notepad Fenster öffnen und dann bei jedem Durchgang dort die Durchgang-Nummer reinschreiben.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Zwinkerle
Guest




Posted: Sun Aug 14, 2005 5:34 pm    Post subject: Re: Wie kann man das FlasshBox Fenster positionieren?

 

Sep 9, 04 - 10:11 PM

Danke für die Antwort, werde es dann mit Notepad machen müssen.

ciao




 

 

 

 

183   I want to use F1 thru F12 keys only - and no other prefixes

 

Author

Message

Carlos Perez
Guest




Posted: Sun Aug 14, 2005 5:32 pm    Post subject: I want to use F1 thru F12 keys only - and no other prefixes

 

Sep 7, 04 - 10:14 PM

I was very excited to read about that your company remenders the good old days - specific to the order recorder from windows 3.1 named Recorder which has a very similar icon or identical to the one your software displays... I was very excited.....I need one to work just like the old Windows recorder in which I was able to save approximately 10 recorders under hotkeys I assigned. For example F1, F2, F3 etc.. and thus when I open the application I work and use my recorder in I can easily press the f1 or f2 etc.. and it does what I want it to...it does not seem your recorder works the same way? Am I mistaken? I want to use single hotkeys and not have to use Ctrl or Shift keys prefixes...is this possible?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:32 pm    Post subject: Re: I want to use F1 thru F12 keys only - and no other prefi

 

Sep 8, 04 - 6:26 AM

Yes, single hotkeys are possible. Simply download a test version and try it. You can try the test version for 3 month before you need to buy a licensed one.

John Krauer, Kra-Tronic Corp.




 

 

 

 

184   Coming out of hibernation ?

 

Author

Message

jkf
Guest




Posted: Sun Aug 14, 2005 5:30 pm    Post subject: Coming out of hibernation ?

 

Sep 7, 04 - 10:11 AM

Does anyone know if it is possible for MKR to bring a laptop out of hibernate mode (and continue with a MKR macro) by simulating a key press after a given delay ?

Thanks.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:31 pm    Post subject: Re: Coming out of hibernation ?

 

Sep 7, 04 - 12:20 PM

Because MKR is not running in hibernate or standby mode, MKR can not wake up itself....
Modern PCs offer lots of wake on functions, like wake up on LAN, Wake up on USB, Wake up on RTC (Real time clock).
Maybe you can use one of them.

John Krauer, Kra-Tronic Corp.




 

 

 

 

185   Simple Macro Menu

 

Author

Message

Stagwillow
Guest




Posted: Sun Aug 14, 2005 5:29 pm    Post subject: Simple Macro Menu

 

Sep 1, 04 - 10:18 PM

To Everyone:

It just occured to me that much of the sample macros available available are too few.

Also many of the commands in the help files don't have a sample macro to demonstrate it sufficiently.

As I'm very new at this and have very little programming experience, i find it sometimes very challenging.

Today was just such a challenging day.
I spent several hours trying to figure out what {{Ask1} and {{Writeask1} can do. And the example provided left me very frustrated. After comparing {{Ask1} with the syntax of other commands, and lots of trial and error, I finnally came up with a macro that worked.

Since it took my hours to figure out, I shall provide below a simple demonstration of the {{ask1} to save the rest of you the effort.

Please remember that everyone has a differnt path i.e c:\xxx and therefore you may need to change it according to your needs.

Please note that Ask1 command line is one continuous string on one line in the macro recorder from {{Ask1} until 4 Internet Explorer | at end of line. And that the wordwrap display here has pushed some of it to the second line.

I hope many of you will return the favor and post
some of your challenging macros. I hope you enjoy it.
====================================================
Example A: Simple Macro Menu (using ask1 command)
====================================================
{{' Created at: Aug.30.2004, 18:14 (MKR Version: 5.3 )

{{Ask1}} Please make your selection from the following Menu: {{CR} 1 Note Pad {{CR} 2 Paint {{CR} 3 Caculator {{CR} 4 Internet Explorer |
{{SetVar1 {{WriteAsk1}
{{Minimize}

{{If {{Var1} = 1 ;;{{Goto sub2
{{Start C:\Windows\system32\notepad.exe
{{Goto End

{{Label sub2
{{If {{Var1} = 2 ;;{{Goto sub3
{{Start C:\Windows\system32\mspaint.exe
{{Goto End

{{Label sub3
{{If {{Var1} = 3 ;;{{Goto sub4
{{Start C:\Windows\system32\calc.exe
{{Goto End

{{Label sub4
{{If {{Var1} = 4 ;;{{Goto End
{{Start C:\Program Files\Internet Explorer\IEXPLORE.EXE
{{Goto End

{{Label End

 

 

 

 

Steve
Guest




Posted: Sun Aug 14, 2005 5:30 pm    Post subject: Re: Simple Macro Menu

 

Sep 2, 04 - 6:22 AM

i agree the MKR scripting is tricky at first but once you have it down you can do anything.

i spent the first few months playing with the scripts to see what it could do and ended up re writing my early scripts several times since as i now have better ways to do things.

ive found this forum most helpful




 

 

 

 

186   Holding specific keys

 

Author

Message

Alexi
Guest




Posted: Sun Aug 14, 2005 5:27 pm    Post subject: Holding specific keys

 

Aug 25, 04 - 11:50 AM

Im looking to create an instruction that allows me to hold the spacebar down for x seconds before releasing it.

Is this possible with Mouse and Key Recorder? Also, i can't seem to record the spacebar in a macro either.

Thanks in advance.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:28 pm    Post subject: Re: Holding specific keys

 

Aug 25, 04 - 12:04 PM

This is not possible in the Mouse and Key Recorder. (Just CTRL, SHIFT and ALT can be kept down for a certain time)

Recording the spacebar causes a simple space in the macro. You can also use the constant: #spaceX5# That way you see the space more clearly in a macro.

John Krauer, Kra-Tronic Corp.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:29 pm    Post subject: Re: Holding specific keys

 

Aug 27, 04 - 8:42 PM

Hint:
In the next version V5.4 it will be possible to press down the space key for a defined time.

John Krauer, Kra-Tronic Corp.




 

 

 

 

187   Find Pattern Farbe ignorieren :?:

 

Author

Message

oxy



Joined: 21 Jun 2007
Posts: 2

Posted: Thu Jun 21, 2007 2:55 pm    Post subject: Find Pattern Farbe ignorieren :?:

 

Hallo,
Bin Neu hier sowohl im forum als auch auf dem Recorder
Ich Hoffe mit kann hier jemand helfen +g+

Ich Möchte ein Makro schreiben, welches folgendes macht.

Einen bestimmten bereich überwachen.
Erkennen wenn ein bestimmter Text auftaucht.
Klicken, einen Text Kopieren.
Einen Text Ausgeben.

Mein Problem ist das ich die überwachung mit Findpattern gelöst habe.
Allerdings wird der text auf den gewartet wird in zufälligen Farben ausgegeben.

Das einfachste wäre, wenn es die möglichkeit gäbe über Findpattern Farben zu ignorieren. Geht das ? Vielleicht Hat auch jemand einanderen lösungsansatz:) Ich bin für jede hilfe dankbar!

Hier der Code zum besseren verständniss

Code:

{{Mouse 1, 1,  133, 662, 1
===>> {{If {{FindPattern 1, -1, -1, 316, 141, 0} = {{True};;{{ShowError}
{{IncVarFindPatternCoord_X_1} -128
{{IncVarFindPatternCoord_Y_1} -1
{{Mouse  1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
{{Delay 500} {{' Millisekunden
{{Mouse  1, 2, 257, 174, 0
{{Mouse  1, 2, 257, 174, 0
^c
%{F4
{{Mouse  1, 1, 115, 680, 0
TEXT
{ENTER}

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Jun 21, 2007 6:56 pm    Post subject:

 

Nun, wenn immer der gleiche Text in z.B. 3 gleichen Farben auftaucht, dann einfach mit allen 3 Pattern nacheinander testen.

Wenn der Text unterschiedlich ist, aber immer am gleichen Ort auftaucht, dann mit {{WaitForScreenChange auf den Text warten..

John Krauer, Kra-Tronic Corp.

 

 

 

oxy



Joined: 21 Jun 2007
Posts: 2

Posted: Thu Jun 21, 2007 8:21 pm    Post subject:

 

stargate wrote:

Nun, wenn immer der gleiche Text in z.B. 3 gleichen Farben auftaucht, dann einfach mit allen 3 Pattern nacheinander testen.

Wenn der Text unterschiedlich ist, aber immer am gleichen Ort auftaucht, dann mit {{WaitForScreenChange auf den Text warten..

John Krauer, Kra-Tronic Corp.




Hm daran habe ich auch schon gedacht aber das funktioniert denke ich nicht.
Der text ist scrollend in dem fenster von unten nach oben. Da ist also dauernd eine veränderung und der text taucht auch nicht immer an der gleichen stelle auf.

Habe mir in der Hilfe {{WaitForScreenChange angeschaut. Werde da nicht wirklich schlau drauß. Es steht aber da wo der text erwartet wird.
Und das mit den farben geht auch nicht so einfach da alle RGB farben benutzt werden.

Finde ich den Befel Auch über einfügen im Recorder?
Oder muss man das von hand schreiben? *mit der hilfe kämpf*

Ich steh wie der ochs vorm berg +g+

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Jun 22, 2007 6:56 pm    Post subject:

 

Was ist denn nicht klar ?
Erst den Cursor setzen mit einem Maus Befehl (Dort wo der Text durchläuft)
Dann den {{If {{WaitForScreenChange.... Befehl

Wichtig ist noch, dass die Aenderung hinter dem Cursor min. 0,15 Sekunden dauert. {{WaitForScreenChange prüft alle 150 ms ob sich was geändert hat.


Hier noch der Text aus dem Help:
1.10.1.63 {{WaitForScreenChange
WaitForScreenChange erlaubt es auf eine Änderung auf dem Bildschirm zu warten. Befehlsformat: : {{If {{WaitForScreenChange Maximale_Wartezeit, Pixel-Rechteck, Wiederholungen}

Beispiel:

{{RelativeMouse Corel PHOTO-PAINT, 1, 1, 688, 434, 0. Vor Verwendung von WaitForScreenChange muss der Cursor an die Stelle plaziert werden, wo die Bildschirm-Aenderung passieren wird.

{{If {{WaitForScreenChange 30,15,1} = {{True} ;{{Goto OK;{{Goto error. Wenn das Rechteck hinter den Cursor (15x15 Pixel) nicht innert 30 sec 1 mal ändert, springt das Makro zum Label error, sonst zum Label OK. Als Aktion kann auch der Befehl {{ShowError} benutzt werden. Dieser zeigt einen Fehlertext an und das Makro endet.

Bei einer Wiederholung von z.B. 5 {{WaitForScreenChange 30,15,5} muss eine Änderung für 5 x 150 ms konstant bleiben, bis sie akzeptiert wird.

Das Rechteck hinter dem Cursor wird von der Spitze aus berechnet. Beispiel für ein 15x15 Pixel Rechteck:

Wichtig: Der Cursor selbst wird nicht auf eine Änderung geprüft, nur die Pixel unter dem Cursor. Das bedeutet, dass eine Änderung des Cursors von Pfeil auf Sanduhr von dieser Funktion nicht registriert wird !
{{WaitForScreenChange ist nur für kleine Rechtecke gedacht (2..100 Pixel). Werte grösser 100 benötigen eine lange Zeit für die Verarbeitung. (Minuten oder bei grösseren Werten gar Stunden). Daher wird bei Werten >100 eine Warnung angezeigt.

Hinweise: {{WaitForScreenChange funktioniert nicht mit allen Grafik Karten.
Mit Windows Aero funktioniert {{WaitForScreenChange nicht richtig (dauert ewig lange). In diesem Falle kann der Befehl {{WindowsAeroOff} verwendet werden um Windows Aero auszuschalten


John Krauer, Kra-Tronic Corp.




 

 

 

 

188   using varibles

 

Author

Message

Steven
Guest




Posted: Sun Aug 14, 2005 5:25 pm    Post subject: using varibles

 

Aug 23, 04 - 8:22 AM

Hi All

hey does anyone know a way for me to use stored varibles so the MKR can search the stored var and stringes for a value to be used in a if statement ?

ie
var1 = 1
var2 = 2

macro get given a value to search looks through them all and will use a if statement if it finds one ?

 

 

 

 

Stagwillow
Guest




Posted: Sun Aug 14, 2005 5:25 pm    Post subject: Re: using varibles

 

Aug 31, 04 - 3:49 AM

Dear Steven:

Up until yesterday i knew very little about variable myself, but i experimented and have come up with the following below.

I hope it looks ok, but the wordwrap may distort the script.

You may need to change the path to reflect your own
system setup.

In my case i have truncated the path from:
C:\Documents and Settings\Stagwillow\My Documents\Recorder
to:
C:\My Documents\Recorder

As you can see in Examples A & C, I used the variable 3 to
get the script to branch to the 3rd subroutine and load test_doc_3.txt with my notepad.

I have tested it up to 10 subroutines and they all worked with success. Good luck Steven.

I hope my modest effort helps you.

============================================================================
Example A: Command Line Variables use in Desktop Shortcut (see below)
============================================================================

"C:\Program Files\Recorder\Recorder.exe" "C:\My Documents\Recorder\Test_branch.krc --Var1 3"

"C:\Program Files\Recorder\Recorder.exe" "C:\My Documents\Recorder\Test_branch.krc --Var1 5"

==========================================================================================
Example B: Command line Variable with Minimize and Hide functions of MKR
==========================================================================================

"C:\Program Files\Recorder\Recorder.exe" "C:\My Documents\Recorder\Test_branch.krc --Var1 1-MKRMinimize"

"C:\Program Files\Recorder\Recorder.exe" "C:\My Documents\Recorder\Test_branch.krc --Var1 1 -MKRHide"

===========================================================================
Example C: Test_branch.krc (see below)
===========================================================================

{{' Created at: Aug.30.2004, 18:14 (MKR Version: 5.3 )

{{If {{Var1} = 1 ;;{{Goto sub2
{{Start C:\Windows\system32\notepad.exe C:\My Documents\Recorder\Test_doc_01.txt
{{Goto End

{{Label sub2
{{If {{Var1} = 2 ;;{{Goto sub3
{{Start C:\Windows\system32\notepad.exe C:\My Documents\Recorder\Test_doc_02.txt
{{Goto End

{{Label sub3
{{If {{Var1} = 3 ;;{{Goto sub4
{{Start C:\Windows\system32\notepad.exe C:\My Documents\Recorder\Test_doc_03.txt
{{Goto End

{{Label sub4
{{If {{Var1} = 4 ;;{{Goto sub5
{{Start C:\Windows\system32\notepad.exe C:\My Documents\Recorder\Test_doc_04.txt
{{Goto End

{{Label sub5
{{If {{Var1} = 5 ;;{{Goto End
{{Start C:\Windows\system32\notepad.exe C:\My Docoments\Recorder\Test_doc_05.txt
{{Goto End

{{Label End

 

 

 

 

Steven
Guest




Posted: Sun Aug 14, 2005 5:26 pm    Post subject: Re: using varibles

 

Sep 1, 04 - 1:46 AM

yeah thank you

i was thinking about loading into a txt or file format for it to read. could also use the log file that is in the current version. its in a text format and will show all stored varibles in the loop.

 

 

 

 

Stagwillow
Guest




Posted: Sun Aug 14, 2005 5:27 pm    Post subject: Re: using varibles

 

Sep 1, 04 - 6:29 AM

I saw something in the help files for loging
under {{WriteToFile.

I imagine you can substitute variables instead of default text after the "|".

I have no idea. Needs to be tested. haven't seen any examples for it. Sorry man, wish i could help.




 

 

 

 

189   in the next version of this spectacular program....

 

Author

Message

Daniele
Guest




Posted: Sun Aug 14, 2005 5:22 pm    Post subject: in the next version of this spectacular program....

 

Aug 17, 04 - 1:45 AM

in the next version of this spectacular program....you can add a option that allow we to export a macro in a exe file that can will execute in another pc without M&K recorder???

 

 

 

 

Steven
Guest




Posted: Sun Aug 14, 2005 5:22 pm    Post subject: Re: in the next version of this spectacular program....

 

Aug 17, 04 - 4:59 AM

YAY trojan city

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:23 pm    Post subject: Re: in the next version of this spectacular program....

 

Aug 17, 04 - 6:25 AM

Unfortunately this is not possible. The Mouse and Key Recorder uses certain DLLs which are not on a Windows system by default.
Microsoft offers VBS (VisualBasic Scripts) for that reason. All modern Windows operating systems support VBS by default. VBS is powerful, but not easy to handle.....

John Krauer, Kra-Tronic Corp.

 

 

 

 

Daniele
Guest




Posted: Sun Aug 14, 2005 5:24 pm    Post subject: Re: in the next version of this spectacular program....

 

Aug 27, 04 - 2:31 PM

ehm.....scuse and then....
togheter the exe file....is not possible to make also the necessary dll?....




 

 

 

 

190   Periodic error during macro run

 

Author

Message

James Conaway
Guest




Posted: Sun Aug 14, 2005 5:10 pm    Post subject: Periodic error during macro run

 

Aug 16, 04 - 8:40 PM

I am getting this error about ever 3-4 days. It occurs when the recorder has been running for a period of time. It stops the recorder.

--------------------

c:\documents and settings\james\application data\recorder\global4107Kra.var

Error: Could not be deleted. Possible reason file is write protected.
-------------------

I never go into this directory nor touch these files in any way.

I have 2 instances of recorder running at the same time on the same machine. One maniuplates a client program and the other one just monitors to see if it is still active.

Any help would be apprecated on preventing this from occuring.

 

 

 

 

James Conaway
Guest




Posted: Sun Aug 14, 2005 5:11 pm    Post subject: Re: Periodic error during macro run

 

Aug 16, 04 - 8:49 PM

After thinking about this, Could it be that both recorder programs are using this var file to hold global vars and that one is holding it open when the other one is trying to delete it?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:11 pm    Post subject: Re: Periodic error during macro run

 

Aug 16, 04 - 9:04 PM

Well, this is bad.... The global variables are all saved in one file. That means if by coincidence both instances of the recorder access the global file the same time then it crashes. (One recorder writes and lockes the file during this time, the other one can not access it then).
For the next version I will change it that way that the blocked recorder waits for a few milliseconds and trys it again.
In the meantime you should try to use normal variables (Not global) or to synchronize the two instances. (Just one instance accesses at a time

John Krauer, Kra-Tronic Corp.

 

 

 

 

James Conaway
Guest




Posted: Sun Aug 14, 2005 5:12 pm    Post subject: Re: Periodic error during macro run

 

Aug 16, 04 - 9:09 PM

I thought as much. I have to keep using the glob vars due to this large macro being split into multiple macro files that all share the vars. I will just keep running it as is and pray they do not hit at the same time. Thank you for the verification, it helps to know exactly what is happening.

Any estimates on when the new version will be coming out?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:13 pm    Post subject: Re: Periodic error during macro run

 

Aug 16, 04 - 10:50 PM

Release is planned for autumn 2004. (Oct. or Nov.)

John Krauer, Kra-Tronic Corp.




 

 

 

 

191   Can I record the mousewheel ?

 

Author

Message

Novice User
Guest




Posted: Sun Aug 14, 2005 5:09 pm    Post subject: Can I record the mousewheel ?

 

Aug 6, 04 - 7:54 PM

Can I record the mousewheel ?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:09 pm    Post subject: Re: Can I record the mousewheel ?

 

Aug 14, 04 - 4:24 PM

No, this is not possible. But the wheel works like Page up, Page down or Up/Down or larger/smaller. All these activities can also be carried out by keys or mouse clicks. That means simply record the appropriate keystrokes or mouse clicks.

John Krauer, Kra-Tronic Corp.




 

 

 

 

192   How do I get this to work with the SIMS online???

 

Author

Message

Chall0
Guest




Posted: Sun Aug 14, 2005 5:07 pm    Post subject: How do I get this to work with the SIMS online???

 

Aug 6, 04 - 4:53 PM

Hi!

I was wondering if there is anyway I can get this mouse recorder to work with the sims online. I have an example webpages to what I need it to do.. please tell me if this is possible and what kind of codes i would have to enter to use it like this

THANKS A LOT!

THE Example webpage:
http://www.mysimsonlinecheats.com/theeye.asp

 

 

 

 

James Conaway
Guest




Posted: Sun Aug 14, 2005 5:08 pm    Post subject: Re: How do I get this to work with the SIMS online???

 

Aug 16, 04 - 8:25 PM

You are asking people to do all the work for you. I doubt you are going to get any help.




 

 

 

 

193   RECORD KEY AND MOUSE MOVEMENT IN REAL TIME

 

Author

Message

oliver angeles
Guest




Posted: Sun Aug 14, 2005 5:05 pm    Post subject: RECORD KEY AND MOUSE MOVEMENT IN REAL TIME

 

Aug 5, 04 - 12:38 PM

I'm thinking of setting up two identical computers (main and back-up) both running the same program independently.
What I want is that whatever I do to one computer (main), the other computer (back-up)should also follow almost instantly so that when main computer fail, I have my back-up doing the job for me.

Kindly give me some ideas...pls...

 

 

 

 

Steven
Guest




Posted: Sun Aug 14, 2005 5:06 pm    Post subject: Re: RECORD KEY AND MOUSE MOVEMENT IN REAL TIME

 

Aug 9, 04 - 1:39 AM

are both computers able to see a particular location ?

perhaps you could get pc 1 to create a log file or a file to a location regulary that pc 2 could check for every few mins and if it is not there or has not been updated recently since last check could then start running scripts ??

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:07 pm    Post subject: Re: RECORD KEY AND MOUSE MOVEMENT IN REAL TIME

 

Aug 14, 04 - 4:21 PM

You might think of Drive Mirroring:
http://www.pcworld.com/reviews/article/0,aid,9562,00.asp

or even Server mirroring:
http://www.webopedia.com/TERM/S/server_mirroring.html

http://www.techsoftpl.com/backup/index.htm?ref=google&id=34

John Krauer, Kra-Tronic Corp.




 

 

 

 

194   Macro drops control back out to MKR

 

Author

Message

Joe Donovan
Guest




Posted: Sun Aug 14, 2005 5:03 pm    Post subject: Macro drops control back out to MKR

 

Jul 31, 04 - 8:48 PM

I am trying to use MKR for something very basic, e.g. marking and inserting celles in Excel. I start in the application and use a hot key. The macro works, but drops control back out to MKR. Is there any way for control o stay in Excel after macro is complete?

 

 

 

 

Steven
Guest




Posted: Sun Aug 14, 2005 5:04 pm    Post subject: Re: Macro drops control back out to MKR

 

Aug 2, 04 - 12:49 AM

hi there

i use MKR heaps with spreadsheets and GUi's

just use the {{switch command.

make sure you only have one session of excel for best results. or if you need to use multiple sessions, name each session within the macro scripts.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:04 pm    Post subject: Re: Macro drops control back out to MKR

 

Aug 2, 04 - 11:57 AM

Or you use {{NoFocus}. This gives you the focus back to your application when the macro ends.

John Krauer, Kra-Tronic Corp.




 

 

 

 

195   Failure when run through Windows Remote Desktop Connection

 

Author

Message

ryan_melville
Guest




Posted: Sun Aug 14, 2005 4:47 pm    Post subject: Failure when run through Windows Remote Desktop Connection

 

Jul 29, 04 - 8:15 PM

Hi,

Looks like a great product. We're trying it out to automate some software builds but have an issue.

- Logon to WinXP Pro machine through Microsoft Remote Desktop Connection (standard w/ WinXP)

- Kick off scripts that eventually call command line MKR from batch file

- Minimize Remote Desktop session long before MKR runs

When the batch file runs MKR it launches the application it is supposed to launch but just sits there indefinitely. I know this because the log generated by our scripts is remotely viewable (via intranet website) and I can see that our scripts launched MKR but did not return.

When I maximize my Remote Desktop session I see the application there and within seconds MKR does its thing then closes the app and returns to our batch file. No action required on my part other than maximizing the Remote Desktop session.

When I keep the Remote Desktop session maximized the whole time I do not see this issue - MKR dutifully launches the app does its thing and closes without pause.

We really need MKR to run on an unattended machine even when the Remote Desktop session is minimized or closed (not logged off, just closed and ready for a reconnect).

We also need to to run with a Scheduled Task session which may launch even when nobody is logged in. I haven't tested this but have concerns because of the above issue.

If anyone has any suggestions or knows of this issue I would really appreciate any help!

Thanks,
Ryan

 

 

 

 

ryan_melville
Guest




Posted: Sun Aug 14, 2005 4:48 pm    Post subject: Re: Failure when run through Windows Remote Desktop Connecti

 

Jul 29, 04 - 8:24 PM

Thought I'd provide more information.

This is version 5.3.

The macro launches an app and here is the macro:

{{' Created at: Jul.28.2004, 12:18 (MKR Version: 5.3 )

%f
b
{{String1}
{TAB}
{TAB}
11223344
{ENTER}
{{Delay 5000}
{ENTER}
%f
x
{{Exit}

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:49 pm    Post subject: Re: Failure when run through Windows Remote Desktop Connecti

 

Jul 29, 04 - 8:52 PM

Hmmmm
I never tested this configuration... Do other programs going on when the window is minimized ?
At which command is the Recorder locked (You can see this in the MKR log file on the remote PC)

John Krauer, Kra-Tronic Corp.

 

 

 

 

ryan_melville
Guest




Posted: Sun Aug 14, 2005 4:49 pm    Post subject: Re: Failure when run through Windows Remote Desktop Connecti

 

Jul 29, 04 - 9:49 PM

Wow, fast response!

Yes, other programs continue to run when the RDC is minimized. Evidenced by the rest of our automated scripts (Perl and batch), development tools (Perl and batch scripts run Visual Studio .NET, et al) and I just tried the Disk Defragmenter, which made progress while minimized.

Here is the log file at the point where MKR waits indefinitely:




--------------------------------------------------------------------------------
Macro Logfile generated by Mouse and Key Recorder V 5.3
Start Date: 7/29/2004, 2:44:10 PM
Macro file: C:\Builds\license_wincepb_proj.krc
--------------------------------------------------------------------------------

2:44:10 PM (0.000 s)
Start Application: C:\Program Files\Windows CE Platform Builder\4.20\cepb\bin\cepb.exe

2:44:10 PM (0.203 s)
Comment: {{' Created at: Jul.28.2004, 12:18 (MKR Version: 5.3




...and here is the log file at completion (after I maximize my RDC window and MKR takes off doing its thing):




--------------------------------------------------------------------------------
Macro Logfile generated by Mouse and Key Recorder V 5.3
Start Date: 7/29/2004, 2:46:12 PM
Macro file: C:\Builds\license_wincepb_proj.krc
--------------------------------------------------------------------------------

2:46:12 PM (0.000 s)
Start Application: C:\Program Files\Windows CE Platform Builder\4.20\cepb\bin\cepb.exe

2:46:12 PM (0.219 s)
Comment: {{' Created at: Jul.28.2004, 12:18 (MKR Version: 5.3 )

2:46:12 PM (0.453 s)
SendKeys: %f

2:46:14 PM (2.125 s)
SendKeys: b

2:46:18 PM (5.973 s)
{{String1}
Content: C:\WINCE420\Builds\Aireo1EuShip\RelDir\AIREOARMV4IRelease\NK.bin

2:46:18 PM (6.098 s)
SendKeys: C:\WINCE420\Builds\Aireo1EuShip\RelDir\AIREOARMV4IRelease\NK.bin

2:46:18 PM (6.254 s)
SendKeys: {TAB}

2:46:18 PM (6.363 s)
SendKeys: {TAB}

2:46:18 PM (6.473 s)
SendKeys: 11223344

2:46:18 PM (6.598 s)
SendKeys: {ENTER}

2:46:18 PM (6.598 s)
{{Delay 5000}
{{Delay 5000}

2:46:23 PM (11.820 s)
SendKeys: {ENTER}

2:46:24 PM (11.930 s)
SendKeys: %f

2:46:24 PM (12.133 s)
SendKeys: x

2:46:24 PM (12.242 s)
{{Exit}

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:50 pm    Post subject: Re: Failure when run through Windows Remote Desktop Connecti

 

Jul 29, 04 - 10:05 PM

Hmmm... I had to test this configuration. Unfortunately this is not possible the next two weeks. (I'm abroad)
Why not simply letting the window open (not minimizing) until I have found the reason ?

John Krauer, Kra-Tronic Corp.

By the way.. does the Recorder also block if you call another program instead of cepb.exe. (e.g. Notepad)

 

 

 

 

ryan_melville
Guest




Posted: Sun Aug 14, 2005 4:51 pm    Post subject: Re: Failure when run through Windows Remote Desktop Connecti

 

Jul 29, 04 - 10:22 PM

Hi John,

I replaced cepb.exe with notepad.exe and experienced the same issue.

I also tried closing (instead of minimizing) the RDC session with the same result.

When I tried leaving the RDC window open, just not minimized, everything worked. Even when I made sure the RDC window did not have focus it worked. So it looks like it's just when the RDC window is closed or minimized.

Unfortunately I cannot leave the Remote Desktop Connection open on my development workstation because I have to do development on that machine while the build workstation is executing the build - that's why it's done on a different workstation. I could try leaving it open very small down in the corner I guess.

I'm also interested to see what happens tonight when Windows Scheduled Tasks launches the build with nobody logged on to the machine at all (RDC or otherwise). Do you know if MKR will work in that case?

Thanks for your prompt assistance!

Ryan

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:51 pm    Post subject: Re: Failure when run through Windows Remote Desktop Connecti

 

Jul 29, 04 - 11:05 PM

No, if nobody is logged in it won't work. Without a logged in user the MKR has not desktop to work on. The key strokes will go to nirwana..
You can find lots of information about scheduling in the Help (F1)

John Krauer, Kra-Tronic Corp.

 

 

 

 

Steven
Guest




Posted: Sun Aug 14, 2005 4:52 pm    Post subject: Re: Failure when run through Windows Remote Desktop Connecti

 

Jul 30, 04 - 3:53 AM

ive tried some 3rd paty applications for remote networking some pc's on our network. all running on windows nt and on a novel desktop.

didnt have much luck, but also have the same issue of a screen saver that will kick in if the pc is not active for a while. i eventualy found a way to stop the screen saver from comming on but the novel desktop gave a few probs for the remote connection and kicking off the MKR program.

 

 

 

 

ryan_melville
Guest




Posted: Sun Aug 14, 2005 4:53 pm    Post subject: Re: Failure when run through Windows Remote Desktop Connecti

 

Jul 30, 04 - 7:56 PM

Ok. Thanks. I'll make due for now and hope that you are able to find a solution or work around when you return.

I appreciate your looking into this.

Ryan

 

 

 

 

Ryan Melville
Guest




Posted: Sun Aug 14, 2005 5:01 pm    Post subject: Re: Failure when run through Windows Remote Desktop Connecti

 

Aug 27, 04 - 3:17 PM

Have you had a chance to investigate MKR usage through Remote Desktop Connection?

Ryan

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 5:02 pm    Post subject: Re: Failure when run through Windows Remote Desktop Connecti

 

Aug 27, 04 - 9:50 PM

Yes I did it today...
The reason for this behaviour is that the recorder needs a desktop to work on. (The recorder wants to press keys and klick the mouse)
When you establish a 'remote desktop' connection the host PC immediately switches back to logged out. That means the remote PC has no desktop any longer. The desktop is now on the client PC. If you minimize the remote desktop window - then the Recorder has no desktop (area) to klick to at all. So the Recorder waits until it gets some place back... If the Recorder contains just 'internal' commands like {{SetVar1, {{Goto etc. it works well also when the 'remote desktop' is minimized.

Conclusion: You need to let the remote desktop window open (at least a little bit) for keeping the Recorder running. If this is not possible I would recommend using e.g. VBS (Visual Basic Scripting) VBS allows to use the many objects in the programs itself. That way no mouse clicks and key strokes are necessary. VBS is Microsofts recommended way doing automation.

John Krauer, Kra-Tronic Corp.




 

 

 

 

196   free mouse movement while a macro left click constantly

 

Author

Message

Jason
Guest




Posted: Sun Aug 14, 2005 4:46 pm    Post subject: free mouse movement while a macro left click constantly

 

Jul 28, 04 - 10:59 PM

Is there a way that I can move my mouse freely throwout the screen while a macro just left click automatically and constantly?
There a few games on the Internet that all you got to do is to follow an object with your cursor and left click on them "see link below" But I have been unable to make a macro for it.
is it possible?

http://www.spikything.plus.com/games/kickups/

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:47 pm    Post subject: Re: free mouse movement while a macro left click constantly

 

Jul 29, 04 - 6:29 AM

No, this is not possible with the Mouse and Key Recorder. Every click is combined with a mouse location.

John Krauer, Kra-Tronic Corp.




 

 

 

 

197   Constant Right Click

 

Author

Message

rwl123
Guest




Posted: Sun Aug 14, 2005 4:44 pm    Post subject: Constant Right Click

 

Jul 28, 04 - 7:37 PM

Can i use this program to have my mouse constantly right click, but not record the coordinates of where it is clicking? and if so how can i do that?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:45 pm    Post subject: Re: Constant Right Click

 

Jul 28, 04 - 8:07 PM

Well as far as I understand you want to position the cursor on a certain location without clicking... The manual says:

Mouse command syntax: The mouse command has the following syntax: {{Mouse button, click, horizontal pixel, vertical pixel, move-switch, Alt/Ctrl/Shift. Examples: {{Mouse 3, 2, 430, 283, 1,+^%

3 = right button (1 = left button), 2 = double click, 430 = pixel horizontal, 238 = pixel vertical, 1 = Just place the cursor without click (0 = with click), + = SHIFT, ^ = CTRL, % = ALT


Means the solution is a 1 at the end of the mouse command...

John Krauer, Kra-Tronic Corp.

 

 

 

 

rwl123
Guest




Posted: Sun Aug 14, 2005 4:45 pm    Post subject: Re: Constant Right Click

 

Jul 29, 04 - 1:07 AM

What i meant was i wanted to mouse to always be right clicking.

I have tried other mouse macros but when i record it records the right clicks which i can then loop to make it constant, but along with that it will always snap the mouse back to where i was right clicking which i dont want.

so is there a way to make the mouse always be right clicking but i can also have control over where the mouse moves while its right clicking?




 

 

 

 

198   Need some suggest~about timer counter & Web click correc

 

Author

Message

slk230cc



Joined: 21 Mar 2007
Posts: 3

Posted: Wed Mar 21, 2007 3:07 pm    Post subject: Need some suggest~about timer counter & Web click correc

 

1.
I want to get some parameter from someone,and I use a lots of {{Ask .
but I want to decrease the script


Can I type the parameter and save them to a file , and then use Mouse and Key Recorder to get any one parameter from this file anytime ?



2.
I want to click Web site correctly , because the web site have the option boxs , and i want to click it correctly to enable some option , but sometime the marco record the option location will be error .



3.
my script have insert some delay time about 60~150 seconds , how can i display a timer counter to countdown the delay time ? or use messagebox to display timer countdown ?


appreciate your answer ~! ^_^

Last edited by slk230cc on Thu Mar 22, 2007 4:24 am; edited 1 time in total

 

 

 

slk230cc



Joined: 21 Mar 2007
Posts: 3

Posted: Thu Mar 22, 2007 4:15 am    Post subject:

 

Sorry ,

My Question 1 has modify by me.
I use {{Import and {{DoImport


but question 2 & 3 need some suggest.......

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon Apr 16, 2007 8:07 pm    Post subject:

 

For Question No 3:
You can use the command {{FlashBox and delays of 1 sec. The full delay would be controlled by a loop (Label and {{Goto )

John Krauer, Kra-Tronic Corp.

 

 

 

slk230cc



Joined: 21 Mar 2007
Posts: 3

Posted: Thu Jun 21, 2007 8:08 am    Post subject:

 

thanks a lot ~!

and Q2 can be solve ? or any suggest to me ...

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Jun 21, 2007 6:39 pm    Post subject:

 

Well, I would need more information..
Which command do you use to find the option box ?
In a browser window the location of boxes often change because advertisements on the top of the window change in size..

John Krauer, Kra-Tronic Corp.




 

 

 

 

199   Recorder freezes on print

 

Author

Message

Joerg
Guest




Posted: Sun Aug 14, 2005 4:42 pm    Post subject: Recorder freezes on print

 

Jul 28, 04 - 2:13 PM

Hi,

I came across Mouse and Key recorder a few days ago and am now using it for printing (to file) purposes. It works great (compliment: the most flexible recorder I have seen!!) just when I close the print dialog and before 'save as' appears in about 20% the macro freezes. CPU usage goes up to 99% and I can't move the mouse or anything. When I use ALT STRG DEL to activate the task manager the computer comes back to life.

I tried this on a Win2000 and a WinXP, same results. I closed nearly everything I could, still the same.

Does anybode have any idea about this? How could I avoid this behavior??

Many thanks for any hint!!
Joerg

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:43 pm    Post subject: Re: Recorder freezes on print

 

Jul 28, 04 - 8:04 PM

The Mouse and Key Recorder is able to work very fast on the keyboard or mouse.... too fast for some programs. Programmers have never tested their programs with such a fast user..
Means, such effects are often the result of "overloading" the application. Slowing down the macro by {{Delays or general line delay very often helps.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Joerg
Guest




Posted: Sun Aug 14, 2005 4:44 pm    Post subject: Re: Recorder freezes on print

 

Jul 28, 04 - 9:39 PM

Thanks for your reply! I already had the line delay to 250ms and a lot of delays of 1000ms or 2000ms in the macro.

I changed it to 2000ms line delay and it worked! Now I am going to look for more specific delays so that it wont take so long to play.

Thanks again!
Joerg




 

 

 

 

200   Wait for key

 

Author

Message

Oliver Eymann
Guest




Posted: Sun Aug 14, 2005 4:38 pm    Post subject: Wait for key

 

Jul 28, 04 - 8:02 AM

Hello,

I like to use this makro-programm to automatic my
work. For this I have to fill some fields in a formular. I have written a makro to get this sheet.
My question is, if it is possible to break the makro
and continue with any key, enter for example.
So that I have only one makro which wait for my input.

Thanks for help


Oliver

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:39 pm    Post subject: Re: Wait for key

 

Jul 28, 04 - 9:40 AM

There are two possiblilities:
- Using {{Stop ({{Switch necessary on next line)
- Using {{Delay. eg.
{{Beep
{{Delay 5000
{{Beep
{{Switch....

That means you have 5 sec. time after the beep to do your enty. Then the macro continues automatically.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Oliver Eymann
Guest




Posted: Sun Aug 14, 2005 4:40 pm    Post subject: Re: Wait for key

 

Jul 28, 04 - 2:21 PM

In the first case, you told, the makro doesn't
start again without using the mouse, does it?

How may I realize that?
Using a Delay doesn't make sense, because
of the timedifferences between the entries
I have to make.


A switch command isn't possible, too, because my window isn't part oft the taskbar.
The second case runs with the {{NoFocus command,
you told me in mail.

I hope, you can help me.

Oliver Eymann

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:40 pm    Post subject: Re: Wait for key

 

Jul 28, 04 - 8:01 PM

Well, if you can not use {{Switch you might be able to arrange the windows that way, that you can use a mouseclick to go back to your window

Or you create two macros and you start both with a hotkey. By minimizing the recorder your original window stays in front.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Oliver Eymann
Guest




Posted: Sun Aug 14, 2005 4:41 pm    Post subject: Re: Wait for key

 

Jul 29, 04 - 10:02 AM

But that doesn't work so.
If I leave the window, it shuts down.
So the stop command isn't the right tool.

I need a macro which react to a key after an entry.
In this case the enter key.


One thing I have to say.
With this programm I am able to do my word
nearly 100% more effective.
It is really great!!

 

 

 

 

Oliver Eymann
Guest




Posted: Sun Aug 14, 2005 4:42 pm    Post subject: Re: Wait for key

 

Jul 29, 04 - 11:20 AM

I think, I've got it!

Thank you for your help.




 

 

 

 

201   Upgrade V5.2 to V5.3 MKRecorder

 

Author

Message

Marc Parham
Guest




Posted: Sun Aug 14, 2005 4:36 pm    Post subject: Upgrade V5.2 to V5.3 MKRecorder

 

Jul 27, 04 - 12:54 PM

Can you upgrade to V5.3 if you have a license for V5.2
Marc

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:37 pm    Post subject: Re: Upgrade V5.2 to V5.3 MKRecorder

 

Jul 27, 04 - 5:54 PM

Upgrade is free. See:
http://www.kratronic.com/tools/recorder/ordering/index.html

John Krauer, Kra-Tronic Corp.

 

 

 

 

Steven
Guest




Posted: Sun Aug 14, 2005 4:38 pm    Post subject: Re: Upgrade V5.2 to V5.3 MKRecorder

 

Jul 28, 04 - 1:15 AM

hey John the new version is brilliant,

i love the log file, i have a number of users using MKR helps track what they have done and how it went wrong




 

 

 

 

202   {Switch {{String1} - posible ?

 

Author

Message

Daniel
Guest




Posted: Sun Aug 14, 2005 4:35 pm    Post subject: {Switch {{String1} - posible ?

 

Jul 27, 04 - 9:32 AM

Hi,

is there a way to change to a Program which name is stored in a {{String1} Varibable ?

Thank you

Daniel

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:36 pm    Post subject: Re: {{Switch {{String1} - posible ?

 

Jul 27, 04 - 5:56 PM

Sure...
See example:

{{SetStringName Microsoft Internet Explorer
{{Switch {{StringName}

John Krauer, Kra-Tronic Corp.




 

 

 

 

203   Scheduler and hot keys don't work

 

Author

Message

Pavel
Guest




Posted: Sun Aug 14, 2005 4:34 pm    Post subject: Scheduler and hot keys don't work

 

Jul 26, 04 - 6:31 PM

Hi all,

I am using Windows XP professional, MKR 5.3 – freeware.
I did not find answers in your FAQ section because it was on German only. Could you please help me with, it seems to me these very basic problems:

1. The hot keys don’t work – when I assign a combination of keys for a macros (Example ctrl + alt + shift + m) nothing happens (The MKR is active during this time). May be the file where this combination is stored is not saved by the program ? Do you know where I can check ?

2. The scheduler doesn’t work at all. Even when I use the Windows scheduler without MKR I can’t make any program to work at a specific time. I installed the ALO tool without any particular result. Usually I log in without a password. But even when I created one (I have an administrator account) the PC still doesn’t ask me a password when I log in and may be this influence the work of MKR. When I write manually my password in Windows scheduler I can replay the macros from the “Run task” button of MKR. If I try to run it again by using the hot keys it doesn’t run and after the “Run task” button doesn’t work (it is related with the hot keys somehow).

The macros I try to create is rather simple – On start up I would like a specific site to be open.
So, this is it. 2 problems: the hot keys and the scheduler. I hope that somebody could help. I saw already that other users had the same problem but they stayed unresolved.
Thanks a lot in advance.

Pavel

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:34 pm    Post subject: Re: Scheduler and hot keys don't work

 

Jul 26, 04 - 10:23 PM

You need to switch on hotkey functionality at Tools/Options/General/Use Hotkeys.

You can find a lot of information about the Windows Scheduler in the Help:

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


Windows XP: Windows XP allows setting up a user, which has no password. But.. the Windows function "Scheduled Tasks" needs an user with password. (Entries, which contain a user without password, will never run!)

Possible solutions:

Add a password to the user. Disadvantage: Every time during login the password needs to be entered.

Use another scheduler: Disadvantages: Task entry is more complicated. The external scheduler must run all time.

Recommendation: Add a password to the user and enforce an automated login by the tool: "ALO". This small tool can be found at:
www.kratronic.com/recorder/sw/ALO.exe

----------------------------------

If you can not make the windows scheduler run, simply use another shareware or freeware scheduler. They can be found in the different software archives:
http://www.kratronic.com/tools/recorder/links/index.html


John Krauer, Kra-Tronic Corp.




 

 

 

 

204   Get Pixel Color

 

Author

Message

James Conaway
Guest




Posted: Sun Aug 14, 2005 4:29 pm    Post subject: Get Pixel Color

 

Jul 24, 04 - 9:53 AM

I am having a problem using the Get pixel color command. The application I am using it with uses 24bit color and changes the UI colors depending on where the view is pointed within the UI.

The problem I am having is that the color at the pixel coords I record keep changing for some reason. I keep pointing the UI in the same direction, but it keeps changing the color.

Is there a way to use the get pixel command for color ranges? Like {{If {{GetPixel 100, 200} = 50000-60000;{{Goto DoItAgain; This is the only solution I can think of.

Thanks

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:30 pm    Post subject: Re: Get Pixel Color

 

Jul 24, 04 - 11:18 AM

Well, there are lots of possibilities by using {{If and {{Goto... Here an example:

{{If {{GetPixel 100,200} < 50000 ;{{Goto NotWithinRange;
{{If {{GetPixel 100,200} > 60000 ;{{Goto NotWithinRange;
{{MessageBox Pixel is within 50000 to 60000
{{Goto End
{{Label NotWithinRange
{{MessageBox Pixel is NOT within 50000 to 60000
{{Label End

John Krauer, Kra-Tronic Corp.

 

 

 

 

James Conaway
Guest




Posted: Sun Aug 14, 2005 4:30 pm    Post subject: Re: Get Pixel Color

 

Jul 24, 04 - 8:53 PM

That is a really good idea, I am going to try that out. I have one other question for you.

Does the GetPixel command get the pixel from the corner of the SCREEN or the selected WINDOW?

I ask this because I am using a app in windowed mode and it makes a difference.

Thanks!

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:31 pm    Post subject: Re: Get Pixel Color

 

Jul 24, 04 - 10:04 PM

The manual says:
{{GetPixel reads the color of a pixel on the screen.

Means not the selectet Window but the screen. If you want to read pixels in a window you might use {{GetPixel –1, -1. (First place the cursor by {{RelativeMouse...)

John Krauer, Kra-Tronic Corp.

 

 

 

 

James Conaway
Guest




Posted: Sun Aug 14, 2005 4:32 pm    Post subject: Re: Get Pixel Color

 

Jul 25, 04 - 10:24 AM

I am banging my head against the wall on this one. Please help me understand what I am doing wrong or if this is just some weird bug.

Below is code I have written to try to figure out why the color black (0) is being registered as a number greater than zero. The macro always stops at "> 0". I have run this test multiple times and every time I run it the clipboard reports the pixel at 415, 75 is 0.

Why is the IF statement stopping at > 0 when the clipboard getpixel command is ALWAYS returning 0?

{{Switch APP
{{ExtDelay 2
{{SetClipBoard {{GetPixel 415, 75}
{{If {{GetPixel {{415, 75} < 0;{{Stop};
{{If {{GetPixel {{415, 75} = 0;{{Stop};
===>> {{If {{GetPixel {{415, 75} > 0;{{Stop};

PASTE = 0

 

 

 

 

James Conaway
Guest




Posted: Sun Aug 14, 2005 4:32 pm    Post subject: Re: Get Pixel Color

 

Jul 25, 04 - 10:32 AM

Nevermind that last post. I am slapping myself for not seeing the human error of the extra {{ in the get pixel command. I removed them and it works now. This is what I get for working on this at 1:30am half asleep. I apologize for that post.

BAD = {{If {{GetPixel {{415, 75} < 0;{{Stop};
GOOD = {{If {{GetPixel 415, 75} < 0;{{Stop};

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:33 pm    Post subject: Re: Get Pixel Color

 

Jul 25, 04 - 10:34 AM

If you look at the log-file you see what is going on:

--------------------------------------------------------------------------------
Macro Logfile generated by Mouse and Key Recorder V 5.3 a
Start Date: 25.07.2004, 10:30:45
Macro file: C:\Dokumente und Einstellungen\John\Anwendungsdaten\Recorder\Temporary1.krc
--------------------------------------------------------------------------------

10:30:45 (0.016 s)
Comment: {{' Created at: Jul.25.2004, 10:30 (MKR Version: 5.3 a)

10:30:45 (0.266 s)
{{ExtDelay 2
{{ExtDelay 2

10:30:45 (0.266 s)
{{delay 2000}
{{delay 2000}

10:30:47 (2.375 s)
{{SetClipBoard {{GetPixel 415, 75}
{{SetClipBoard 13160660

10:30:47 (2.500 s)
{{If {{GetPixel {{415, 75} < 0;{{Stop};
{{GetPixel {{415, 75}
{{If 13160660 < 0 ;{{Stop};

10:30:47 (2.609 s)
{{If {{GetPixel {{415, 75} = 0;{{Stop};
{{GetPixel {{415, 75}
{{If 13160660 = 0 ;{{Stop};

10:30:47 (2.719 s)
{{If {{GetPixel {{415, 75} > 0;{{Stop};
{{GetPixel {{415, 75}
{{If 13160660 > 0 ;{{Stop};

10:30:47 (2.719 s)
{{Stop}

===>> {{If {{GetPixel {{415, 75} > 0;{{Stop};

Because 13160660 is larger than 0 the TRUE part is used. The true part says {{Stop.

John Krauer, Kra-Tronic Corp.




 

 

 

 

205   Switch problem

 

Author

Message

Jorge Araujo
Guest




Posted: Sun Aug 14, 2005 4:26 pm    Post subject: Switch problem

 

Jul 22, 04 - 3:56 PM

Hi
When i use the {{switch command some times it fails, the windows that i use with swich only start Flahing in Task bar and it doesn´t become maximized.

Thanks

Jorge from Mexico

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:27 pm    Post subject: Re: Switch problem

 

Jul 22, 04 - 6:37 PM

Hmm.. Witch application makes problems ?
Hint: Never minimize windows just let them go to the background. That way it is easier for the Recorder to bring it to the front.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Jorge Araujo
Guest




Posted: Sun Aug 14, 2005 4:28 pm    Post subject: Re: Switch problem

 

Jul 23, 04 - 7:02 AM

I will try to debug to find if somothing is minimizing a windows.

Thanks

FYI

I am User SAP R/3

The Fist Step is run the SAP LogOn and then this aplication Start SAP R/3 and from windows i start somo other windows
But All windows are Parents not child(Me refiero a ventanas Padres).

Thanks a Lot

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:28 pm    Post subject: Re: Switch problem

 

Jul 23, 04 - 7:16 AM

Aha SAP... SAP uses lots of "dirty" tricks (Windows incompatibilities). This makes automating SAP a challenge. You might need to find workarounds... (Mouse klicks, clipboard pasting.. etc.)

John Krauer, Kra-Tronic Corp.




 

 

 

 

206   Mouse down feature ?

 

Author

Message

bluey
Guest




Posted: Sun Aug 14, 2005 4:22 pm    Post subject: Mouse down feature ?

 

Jul 19, 04 - 9:56 AM

Can you record the time the mouse key is held down ?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:23 pm    Post subject: Re: Mouse down feature ?

 

Jul 19, 04 - 11:33 AM

No, when replaying the mouse key is kept down for fixed 50 ms.
What for do you need it ?

John Krauer, Kra-Tronic Corp.

 

 

 

 

bluey
Guest




Posted: Sun Aug 14, 2005 4:24 pm    Post subject: Re: Mouse down feature ?

 

Jul 19, 04 - 9:22 PM

To hold a button down on a webpage for a varible amount of time. a reaction scripts/games in php,java and flash

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:24 pm    Post subject: Re: Mouse down feature ?

 

Jul 19, 04 - 9:46 PM

I see...
Well, I could include a command {{MouseDownTime for the next release..

John Krauer, Kra-Tronic Corp.

 

 

 

 

bluey
Guest




Posted: Sun Aug 14, 2005 4:25 pm    Post subject: Re: Mouse down feature ?

 

Jul 19, 04 - 9:49 PM

That would be great. You will have a sale tomorrow then.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:26 pm    Post subject: Re: Mouse down feature ?

 

Jul 19, 04 - 10:12 PM

Terrible.... I already do not know what all is in my product.... {{MouseDownTime is already included in V5.3.... The help says:

MouseDownTime: For games sometimes the mouse button must be pressed for a certain time. The command {{MouseDownTime allows to set this time. Example: {{MouseDownTime 3000. Every mouse-click keeps down the mouse button for 3 seconds. {{MouseDownTime 0 sets back the click to the default time.

Its high time to complete the 'insert command' drop down list.... (this will be done with the next release)

John Krauer, Kra-Tronic Corp.




 

 

 

 

207   loops

 

Author

Message

Steven
Guest




Posted: Sun Aug 14, 2005 4:20 pm    Post subject: loops

 

Jul 19, 04 - 7:50 AM

hey is it possible to break a macro run (loops) that are set on the general tab ?

if the macro doesnt see any data on aline it is trying to read on a spreadsheet. can i get it to stop running loops if the general tab loops tells it to run more ?

 

 

 

 

David
Guest




Posted: Sun Aug 14, 2005 4:21 pm    Post subject: Re: loops

 

Aug 3, 04 - 4:40 AM

I have a similar issue and your recommendation could be the best solution, but it just bugs me that I can't get loops to run properly. Could you tell me what I'm doing wrong? Here is the line causing problems:

{{IF {{Var1} <= 15 ;{{Goto First;

It works just fine, gives me 15 loops, then freezes on an error about not finding the label "First". Of course that is odd because it just went to "First" 15 times. I'm using this within a Master macro. Is that the problem?

I tried moving my loop code to the slave-macro without success. There it tells me that:

{{var}, {{globvar}, {{setvar}, {{setglobvar}, {{ask} or {{writeask} without a number are not any longer allowed !

Thanks

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:22 pm    Post subject: Re: loops

 

Aug 14, 04 - 5:00 PM

The manual says:
Restrictions: After a {{Master no {{GoTo is possible in the macro containing the {{Master} command. Also {{ImportFile, {{ImportNextLine and {{DoImport are not possible in this case.

John Krauer, Kra-Tronic Corp.




 

 

 

 

208   reading windows

 

Author

Message

Steven
Guest




Posted: Sun Aug 14, 2005 4:18 pm    Post subject: reading windows

 

Jul 16, 04 - 3:57 AM

Hi all

anyone know a way to get the macro to read a window name inside a GUI that may not be visable from windows window names ?

i have a front end database gui with various different named windows that will pop up inside it.

curently using prepare screen change and wait for screen change commands but they can be unstable.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:19 pm    Post subject: Re: reading windows

 

Jul 16, 04 - 6:37 AM

Does {{GetWindowName not work ?

John Krauer, Kra-Tronic Corp.

 

 

 

 

Steven
Guest




Posted: Sun Aug 14, 2005 4:20 pm    Post subject: Re: reading windows

 

Jul 19, 04 - 7:48 AM

yeah i tried that already, some of the windows inside the gui can be seen outside by windows however the way the gui displays the window name is wierd. it shows the customer id we use to list the lines of data along with the customer name and then the window. only inside the gui does the windows have different names.

its not a very well designed gui.




 

 

 

 

209   Macro to open up a specific URL in IE7?

 

Author

Message

gedinfo2006



Joined: 23 Feb 2007
Posts: 4

Posted: Thu Jun 14, 2007 3:50 pm    Post subject: Macro to open up a specific URL in IE7?

 

I am attempting to open up a specific URL when starting IE7. In IE6, it was easy to get to the address line, but I can not seem to find the proper way to do this.

Has anyone successfully created a macro that addresses this issue?

Thank you.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Jun 14, 2007 6:12 pm    Post subject:

 

In the German IE7 the command for open is CTRL o. You can find it when you click ALT and then the menue line appears and there you click File.

John Krauer, Kra-Tronic Corp.




 

 

 

 

210   wow

 

Author

Message

Steven
Guest




Posted: Sun Aug 14, 2005 4:17 pm    Post subject: wow

 

Jul 15, 04 - 8:14 AM

Hi John,

i know this isnt the forum for it but i just tried that new window closer software, great idea. i like the clipboard cleaner. possible to get that combined with a future release of MKR ?

i sometimes get a full clipboard error with the macro which i can only fix with a restart. will be good to get it to clear at the end of a run.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:17 pm    Post subject: Re: wow

 

Jul 15, 04 - 7:23 PM

Well, you can empty the Clipboard with the following command:
{{SetClipboard #emptyX5#

John Krauer, Kra-Tronic Corp.

 

 

 

 

Steven
Guest




Posted: Sun Aug 14, 2005 4:18 pm    Post subject: Re: wow

 

Jul 16, 04 - 1:25 AM

that worked a treat, thank you




 

 

 

 

211   Checking to see if folder exists?

 

Author

Message

Jeremy
Guest




Posted: Sun Aug 14, 2005 4:15 pm    Post subject: Checking to see if folder exists?

 

Jul 13, 04 - 10:20 PM

I have been trying to use the FIND command. But it only seem to work on a file level. I need to see check for the existence of a FOLDER before a macro completes its steps.
Is this possible?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:15 pm    Post subject: Re: Checking to see if folder exists?

 

Jul 13, 04 - 10:44 PM

There is no direct command for this....
But you could use a trick...

{{WindowsKey r
explorer /select,c:\temp4
{ENTER}
{{Delay 500
{{If {{CheckFocus 82, 180, 75, 23, 3, 3, 3, 3} = {{True};{{Goto NoDirectory;

{{' ...
{{Label NoDirectory

If the directory temp4 does not exist an error box appears and the CheckFocus catches it..

John Krauer, Kra-Tronic Corp.

 

 

 

 

Jeremy
Guest




Posted: Sun Aug 14, 2005 4:16 pm    Post subject: Re: Checking to see if folder exists?

 

Jul 13, 04 - 11:39 PM

Thanks worked great. That is exactly what I needed.




 

 

 

 

212   Is pixel sampling possible?

 

Author

Message

Fuzz
Guest




Posted: Sun Aug 14, 2005 4:13 pm    Post subject: Is pixel sampling possible?

 

Jul 11, 04 - 11:46 PM

I am trying out the trial version of your software, and I like it! However, before I am willing to pay for a license, I need to know if it is possible to sample pixels, i.e. return colourcodes at a specific x,y-position in an application.
I can't find it myself.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:13 pm    Post subject: Re: Is pixel sampling possible?

 

Jul 12, 04 - 7:37 AM

Yes this is possible. (In Version V5.3). There you find the command: {{GetPixel
Here the description from the help:

{{GetPixel

{{GetPixel reads the color of a pixel on the screen. Syntax: {{GetPixel X-Coordinate, Y-Coordinate. Example: {{GetPixel 150, 288. If you want to get the pixel color beyond the cursor arrow you can use: {{GetPixel –1, -1. GetPixel allows you to wait for a certain color of a pixel. Example: {{If {{GetPixel 100, 200} = 13160660;{{Goto DoItAgain;

For checking the color you need to retrieve the color number. This can be done by:

{{SetClipBoard {{GetPixel 150, 288}. Let this command run. Afterwards you can paste the number into the macro.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Conny (Fuzz)
Guest




Posted: Sun Aug 14, 2005 4:14 pm    Post subject: Re: Is pixel sampling possible?

 

Jul 12, 04 - 12:45 PM

Wow, thank you! This command was too new for me, so I didn't have it in my version. I see now that it has been added recently. This command makes the macroengine complete to me. I will buy a license asap. Many thanks, and keep up the good work!




 

 

 

 

213   Errors in recorder

 

Author

Message

Markus
Guest




Posted: Sun Aug 14, 2005 4:09 pm    Post subject: Errors in recorder

 

Jul 9, 04 - 11:01 AM

Hallo

I would like to know if it is possible if I run a macro and it comes up with a error that will stop the macro to have that switched off. I would radar have it lock the error in a log file but to still continue with the rest of the macro. This would be a great help to me because I have very long macros and it’s a big pain if it stops because a file that needs to copy is locked and it stops the whole macro it would be better just to have an error log of what was not done.

I have the Mouse and key recorded version 5.1

Regards

Markus

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:10 pm    Post subject: Re: Errors in recorder

 

Jul 9, 04 - 3:59 PM

What happens on the screen, if the file is locked ? If there is any change on the screen you can sense it by e.g. CheckFocus or WaitForScreenChange or the new V2.3 command GetPixel), and you can react by the macro in a clever way. E.g. closing the erroneous file and carrying on with the next one.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Markus
Guest




Posted: Sun Aug 14, 2005 4:11 pm    Post subject: Re: Errors in recorder

 

Jul 9, 04 - 4:11 PM

It comes up with the error file is locked and cannot copy it to the new location. I don’t see how CheckFocus or Waitforscreenchange will work and i don’t know the GetPixel function as i only have version 5.1. Would it not be possible to add the function i mentioned to keep going even with errors in a new version. I could send you the File if you would like to have a look at it.

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:11 pm    Post subject: Re: Errors in recorder

 

Jul 9, 04 - 7:11 PM

No, we would not add this functionality, because every error and situation requires different reactions. The Mouse and Key Recorder has built in more than 100 commands to allow to react accordingly to situations on the screen.
If an error window appears you can use {{CheckFocus to catch it. Press F1 to get help or read the manual at:
http://www.kratronic.com/recorder/manual/index.html
to see how it works.

John Krauer, Kra-Tronic Corp.

 

 

 

 

Markus
Guest




Posted: Sun Aug 14, 2005 4:12 pm    Post subject: Re: Errors in recorder

 

Jul 12, 04 - 7:22 AM

Thank you any way the Checkfocus will not work because its not a error a aplication gives its a error the mouse and key recoder gives and there you can not run a checkfocus on

Markus




 

 

 

 

214   Star Wars Galaxy problem moves cursor, but will not click

 

Author

Message

Drake
Guest




Posted: Sun Aug 14, 2005 4:05 pm    Post subject: Star Wars Galaxy problem moves cursor, but will not click

 

Jun 13, 04 - 8:18 PM

Many of my friends use this program to craft in SWG in windows 98/XP environments and have no trouble at all. Unfortunately I seem to be the only one who can't get it to work. Once the macro is running it moves the cursor to the appropriate coordinates, but does not click. Does anyone know what my problem is? I an running windows ME and can't get it to click?

 

 

 

 

unhappy
Guest




Posted: Sun Aug 14, 2005 4:06 pm    Post subject: Re: Star Wars Galaxy problem moves cursor, but will not clic

 

Sep 26, 04 - 6:07 AM

I can't get this to double-click either... no resources being loaded.

 

 

 

 

Rob
Guest




Posted: Sun Aug 14, 2005 4:07 pm    Post subject: Re: Star Wars Galaxy problem moves cursor, but will not clic

 

Sep 26, 04 - 6:06 PM

If this guy didn't solve the problem here is something that may have helped:

{{Switch SwgClient
{{Delay 2000}

You would then press play from the macro application and it would switch to the process (SwgClient in his case) then pause for 2 seconds (could be more or less) for the computer to catch up with the switch. By the looks he was using a mouse click to focus the application.

 

 

 

 

matthias
Guest




Posted: Sun Aug 14, 2005 4:07 pm    Post subject: Re: Run-time Error 5

 

Jul 19, 04 - 7:05 AM

hi there ...

same problem with runtime error 5 ..

using a clean system ... with an xeon cpu and win2K

... try to install on other pc`s --> works ...

help please .... thanks .... matthias

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:08 pm    Post subject: Re: Run-time Error 5

 

Jul 19, 04 - 8:02 AM

What Recorder version do you use ? V5.3 ? Test version or licensed version ?

John Krauer, Kra-Tronic Corp.

 

 

 

 

matthias
Guest




Posted: Sun Aug 14, 2005 4:09 pm    Post subject: Re: Run-time Error 5

 

Jul 19, 04 - 9:07 AM

hi,

using version 5.3 demo ...

greets matthias




 

 

 

 

215   HUGE error in {{If {{GetPixel command

 

Author

Message

Shiverwarp
Guest




Posted: Sun Aug 14, 2005 4:04 pm    Post subject: HUGE error in {{If {{GetPixel command

 

Aug 10, 05 - 8:50 AM

when I copy and paste the exact command ({{If {{GetPixel 100, 200} ) from the manual I get this error: {{If-Command: One or more invalid separators in line

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:05 pm    Post subject: Re: HUGE error in {{If {{GetPixel command

 

Aug 10, 05 - 6:01 PM

Well you get the coodinates by recording a macro and clicking with the mouse. Depending on the settings in the options you get the relative coordinates or the absolute coordinates. See also help: "Mouse Entries"

John Krauer, Kra-Tronic Corp.




 

 

 

 

216   Warten auf Sanduhr Ende???

 

Author

Message

sek_is_back



Joined: 27 Aug 2007
Posts: 5

Posted: Wed Sep 26, 2007 5:32 am    Post subject: Warten auf Sanduhr Ende???

 

Hallo,

ich habe jetzt mein Macro soweit fertig und es läuft eigentlich auch.
Meine Problem ist, das nach den Mausklicks die Datenbank unterschiedliche Zeit benötigt, bis der Befehl ausgeführt wurde, dadurch habe ich das Gefühl, das der Macrorecorder schon versucht die Funktion auszuführen obwohl noch die Sanduhr läuft.

Gibt es eine Möglichkeit eines Delays auf die Sanduhr?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Sep 27, 2007 6:24 pm    Post subject:

 

Nein, auf die Sanduhr kann nicht gewartet werden. (FindPattern findet sie nicht). Aber es ändert sich sicher noch sonst was auf dem Bildschirm, wenn der Prozess fertig ist. Auf das kann man dann mit {{FindPattern warten.

John Krauer, Kra-Tronic Corp.




 

 

 

 

217   Screen print

 

Author

Message

Geoff
Guest




Posted: Sun Aug 14, 2005 4:01 pm    Post subject: Screen print

 

Aug 5, 05 - 5:43 PM

Hi, I would like to take a screen print during macro play. I am using HyperSnap DX to try to capture to file but I am unable to relyably capture the window.
example code I have tried...

{{Switch Notepad
{{Delay 500}
{{Switch HyperSnap-DX
^+A

This causes another window to be captured.
Is it possible to get MKR to capture during macro play?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:02 pm    Post subject: Re: Screen print

 

Aug 5, 05 - 6:14 PM

You can not use the HyperSnap hotkeys. (HyperSnap uses 'dirty tricks'. You must use the mouse.
Here an example:
{{Switch HyperSnap-DX
%c
w
{{Switch Unbenannt - Editor
{{RelativeMouse Unbenannt - Editor, 1, 1, 154, 11, 0
{{Delay 600} {{' Millisekunden
{{RelativeMouse Unbenannt - Editor, 1, 1, 154, 11, 0

Kind regards

John Krauer, Kra-Tronic Corp.

 

 

 

 

Geoff
Guest




Posted: Sun Aug 14, 2005 4:03 pm    Post subject: Re: Screen print

 

Aug 6, 05 - 4:57 PM

Thankyou for the tip John, I see how it works now, but what is the second line of {{RelativeMouse Unbenannt - Editor, 1, 1, 154, 11, 0 used for?

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 4:03 pm    Post subject: Re: Screen print

 

Aug 6, 05 - 10:02 PM

After selecting window captering you have to click on the window you want to capture.. I found you have to click twice with a certain delay between the clicks for working properly..
(HyperSnap-special-requirement.. )

John Krauer, Kra-Tronic Corp.

 

 

 

 

rick



Joined: 09 Jun 2007
Posts: 4

Posted: Sat Jun 09, 2007 11:28 pm    Post subject: PrintScrn

 

John,
I am using Microsoft keyboard and MKR does not record the Alt-PrintScrn and PrintScrn keys. Using %{PRTSC} or {PRTSC} also does not work. Do you have any remedy for capturing a window and saving it into a Word? Do I need to install the Hyper-Snap-DX?

Rick

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Jun 12, 2007 6:03 pm    Post subject:

 

The manual says:

PRINT SCREEN *) {PRTSC}

Italic commands containing a *) can not be recorded by the Recorder and can only be used in the Special-Text-Mode {{SendTextSpecial}.

John Krauer, Kra-Tronic Corp.




 

 

 

 

218   Check Button names with mkr?

 

Author

Message

trottl



Joined: 02 Jun 2007
Posts: 2

Posted: Sat Jun 02, 2007 12:55 pm    Post subject: Check Button names with mkr?

 

Hi,

is it possible to check specific button names and to execute them with their names?
(so im independent from the button position)
thx

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon Jun 04, 2007 9:08 pm    Post subject:

 

No it is not possible to check the buttons by ID-name.
You can use {{FindPattern to find your buttons.

John Krauer, Kra-Tronic Corp.




 

 

 

 

219   Mouse movement

 

 

 ::   

Author

Message

Knight1216



Joined: 15 May 2007
Posts: 5

Posted: Tue May 15, 2007 6:55 pm    Post subject: Mouse movement

 

I keep useing the same set of commands over and over. I would like to suggest a new command. MoveMouse , It would be very close to the dragmouse command but the third number would be to no click/number of clicks.

{{getcursorpos

{{dragmouse 1, 1,{{vargetcursorcoord_x},{{vargetcursorcoord_y},1,{{varmouseposition_x},{{varmouseposition_y},200

{{mouse 1,1,{{varmouseposition_x},{{varmouseposition_y},0

____________________________________________________________
The new command could be similar to the one below.


{{movemouse 1, 1, 1,{{varmousepostions_x}, {varmouseposition_y_},200

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu May 17, 2007 5:16 pm    Post subject:

 

Well, you can easily combine the already existing commands.
Example:

{{RelativeDragMouse Top Folder, 1, 1, 343, 747, 0, 528, 744, 0
{{RelativeMouse Top Folder, 1, 1, 488, 748, 2
{{RelativeMouse Top Folder, 1, 1, 488, 748, 2
{{RelativeMouse Top Folder, 1, 1, 488, 748, 2

The macro drags the object from 343, 747 to 528, 744
Then the mouse clicks on the actual mouse position 3 times.

John Krauer, Kra-Tronic Corp.

 

 

 

Knight1216



Joined: 15 May 2007
Posts: 5

Posted: Fri Jun 01, 2007 6:46 pm    Post subject: Mouse movement

 

This group of commands I use only move the mouse from the current position to a new position then is only one mouse click. The commands to not drag anything.

I would also like to make the mouse movement faster than 200. I would like to see it as fast as I can move it myself.




 

 

 

 

220   Auslesen aus Browser und verwerten sowie IF-Funktion

 

 

 ::   

Author

Message

wuschel83



Joined: 23 May 2007
Posts: 3

Posted: Wed May 23, 2007 2:44 pm    Post subject: Auslesen aus Browser und verwerten sowie IF-Funktion

 

Salü,

hab verzweifelt versucht das hinzubekommen, ging aber nicht. Daher wende ich mich mal an das Forum. Hab folgendes vor:
Will aus einer Webseite an einer bestimmten Stelle immer eine Zahl auslesen udn davor den Browser aktualisieren, z.B. 12,51. Wenn diese Zahl kleiner als 15,00 ist, soll er ein folge Befehl ausführen (in diesem Fall zwei Klicks und Wartezeit), wenn nicht wieder von vorne beginnen. Anbei mal mein Makroversuch:

{{Mouse 1, 1, 96, 310, 0
{{RelativeMouse Mozilla Firefox, 1, 1, 112, 62, 0
{{Delay 1000} {{' Millisekunden
{{RelativeDragMouse Mozilla Firefox, 1, 1, 807, 419, 0, 867, 416, 0
^c
{{Delay 300} {{' Millisekunden
{{If {{^v} > 15;{{Mouse 1, 1, 32, 790, 0;{{Delay 300};{{Mouse 1, 1, 32, 790, 0

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu May 24, 2007 5:59 pm    Post subject:

 

Nun, die letzte Zeile ist etwas sehr falsch..

^v ist ein Befehl um etwas aus der Zwischenablage in ein Fenster einzufügen.
Die Zwischenablage selber heisst {{Clipboard}
Also
{{If {{Clipboard} > 15 ;

Nun kommt der zweite Fehler..
Bei If gibt es nur ein entweder / oder, ein Wahr oder Unwahr..

Also
{{If {{Clipboard} > 15 ;{{Mouse 1, 1, 32, 790, 0;{{Goto MitDelay
{{Goto Ende
{{Label MitDelay
{{Delay 300}
{{Mouse 1, 1, 32, 790, 0
{{Label Ende

 

 

 

wuschel83



Joined: 23 May 2007
Posts: 3

Posted: Sat May 26, 2007 1:40 pm    Post subject:

 

vielen vielen vielen dank

 

 

 

wuschel83



Joined: 23 May 2007
Posts: 3

Posted: Mon May 28, 2007 12:48 pm    Post subject:

 

Nochmals ich, hab das nun so modifiziert:

{{RelativeMouse 1, 1, 771, 487, 0
{{Delay 400}
{{RelativeMouse 1, 1, 829, 344, 0
{{Delay 400} {{' Millisekunden
{{RelativeDragMouse 1, 1, 462, 415, 0, 582, 415, 0
^c
{{Delay 200} {{' Millisekunden
{{If {{Clipboard} = Schmidt ;{{RelativeDragMouse 1, 1, 806, 419, 0, 866, 422, 0;{{Goto MitDelay
{{Delay 100}
^c
{{Delay 200}
{{If {{Clipboard} < 1200 ;{{RelativeMouse 1, 1, 980, 416, 0;{{Goto MitDelay
{{Goto Ende
{{Label MitDelay
{{Label Ende

Funktioneirt auch ganz klasse so.
Das heißt er schaut erst ob der Name stimmt und wenn ja holt er sich andere Daten und kontolliert ob diese unter 1200 liegen, wenn ja, dann macht er eine Folgeaktion. Wenn nein, gehts von vorne los.

ABER, ich möchte das er auch nach Müller schaut und bei diesen nicht nach unter 1200 sondern unter 1500.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed May 30, 2007 8:18 am    Post subject:

 

Nun, dann einfach diesen Teil wiederholen (mit Müller) oder wenn es viele Namen sind, eine Sub Routine machen. Siehe Help: Thema: GoSub.

John Krauer, Kra-Tronic Corp.




 

 

 

 

221   Rounding

 

 

 ::   

Author

Message

codex



Joined: 26 May 2007
Posts: 1

Posted: Sat May 26, 2007 8:44 pm    Post subject: Rounding

 

Hi,
is there any command or some other way to round numbers? If no, it would be nice if you add a command to the next version for example {{RoundVarVariablename}.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed May 30, 2007 8:14 am    Post subject:

 

The command you are looking for is {{Div.
The Help-Text says:

This command divides two numbers and returns an integer result. Example: {{MessageBox {{Div 14 | 5}. Result 2. Hint: Before division is performed, the numbers are rounded. Maximal number for {{Div: 2'147'483'647.

To just round divide by 1.

John Krauer, Kra-Tronic Corp.




 

 

 

 

222   warte auf ?

 

 

 ::   

Author

Message

Sarela



Joined: 12 Apr 2007
Posts: 2

Posted: Wed May 09, 2007 12:23 pm    Post subject: warte auf ?

 

Hallo,

ich habe den MaK Recorder noch nicht lange und bin gerade ein wenig am experimentieren.

Ich möchte die Maus am Anfang der Startleiste positionieren und wenn in unregelmäßigen Abständen ein Popup auf geht, soll die Maus auf die Stelle der Startleiste klicken, um das Popup zu öffnen/anzuwählen um es dann (z.b. über rechtsklick) zu schließen.

Es soll aber klein regelmäßter Klick auf die Stelle erfolgen, also nur, wenn da wirklich ein Fensterbutton ist... ich hoffe ihr versteht, was ich meine...

Mit welchem Befehl wäre das möglich ?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu May 10, 2007 5:04 pm    Post subject:

 

Nun, wenn es Teile im PopUp gibt die immer gleich sind (und unterschiedlich vom restlichen Destktop) dann kann man {{FindPattern verwenden.
http://www.kratronic.com/tools-de/recorder/manual/index.html#_Toc155332045


John Krauer, Kra-Tronic Corp.

 

 

 

Sarela



Joined: 12 Apr 2007
Posts: 2

Posted: Sun May 27, 2007 1:10 pm    Post subject:

 

erstmal vielen dank für die Antwort, aber das ist nicht ganz das, was ich suche...

Ich möchte nicht in das popup selber klicken, sondern die Maus soll auf einem bestimmten Punkt der Startleiste bleiben und "warten". Wenn dann genau an der Stelle ein Fenster im Hintergrund aufgeht, soll ein Klick auf die Stelle folgen, welcher das Fenster öffnet.

Vielleicht gibt es auch jemanden, der mir 1-2 kleine Macros schreiben könnte oder mir hilft ? So als Kundenauftrag oder so ?

Bei Interesse einfach per PN melden

_________________
Grüße Sarela




 

 

 

 

223   Datei in Fenster auswählen

 

 

 ::   

Author

Message

Knut



Joined: 21 May 2007
Posts: 3

Posted: Mon May 21, 2007 9:15 am    Post subject: Datei in Fenster auswählen

 

Hallo,

ich nutze folgende Befehlszeilen, um eine einzelne Text-Datei einzulesen und Zeile für Zeile abzuarbeiten:


{{ImportFile D:\fun\test1.txt
{{Label Start
{{SetClipBoard {{DoImport}
.
.
.
{{If {{ImportNextLine} = {{True} ;{{Goto Start;{{Goto Ende
{{Label Ende


Jetzt möchte ich gerne weitere Text-Dateien verarbeiten: test2.txt, test3.txt usw.
Bisher habe ich für JEDE Text-Datei ein EIGENES Makro genutzt; gibt es auch die Möglichkeit,
aus dem Makro heraus eine bestimmte Datei an- bzw. auszuwählen?

Viele Grüsse
Knut

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue May 22, 2007 6:05 pm    Post subject:

 

Einfach mit {{ImportFile eine andere Datei wählen und mit {{DoImport wieder einlesen.

Was man nicht kann ist hin und her springen zwischen zwei Dateien. Nach dem Wechsel begint {{DoImport wieder am Anfang der Datei.

John Krauer, Kra-Tronic Corp.

 

 

 

Knut



Joined: 21 May 2007
Posts: 3

Posted: Wed May 23, 2007 4:56 pm    Post subject:

 

Vielen Dank für die Antwort.

Ev. habe ich mich missverständlich ausgedrückt:
Kann ich aus dem laufenden Makro eine Datei in einem Fenster
auswählen und das Makro dann mit dieser Datei weiterlaufen lassen?

Gruss
Knut

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu May 24, 2007 5:49 pm    Post subject:

 

Ja auch das ist möglich:


{{AskFile Datei Pfad und Name eingeben
{{ImportFile {{WriteAskFile}
{{' .....

John Krauer, Kra-Tronic Corp.

 

 

 

Knut



Joined: 21 May 2007
Posts: 3

Posted: Sat May 26, 2007 3:51 am    Post subject:

 

Funktioniert einwandfrei
Danke für die schnelle Hilfe.

Aus verständlichen Gründen liegen meine auszuwählenden Dateien jetzt
in oberster Ebene und haben einen kurzen Namen erhalten.

Wäre es auch möglich, wie in einem Explorer-Fenster auf die entsprechende
Ebene zu navigieren und die Datei dann auszuwählen?

Viele Grüsse
Knut

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat May 26, 2007 5:05 pm    Post subject:

 

Ja das ist auch möglich.. Man verwendet einfach den Notepad dafür...

{{Start Notepad
^o
{{MessageBox Bitte Datei auswählen und dann OK
{{Switch Öffnen
%n
^c
{{' .......................

John Krauer, Kra-Tronic Corp.




 

 

 

 

224   Problem mit {{Goto

 

 

 ::   

Author

Message

spence



Joined: 22 May 2007
Posts: 2

Posted: Tue May 22, 2007 7:39 am    Post subject: Problem mit {{Goto

 

hi @ all
ich habe folgendes problem.
wenn ich den unteren code ausführe kommt diese fehlermeldung:
{{Goto LAB1 kann nicht ausgeführt werden



wenn RandomNumber gleich 1 ist funzt alles so wie es soll ----> mausklick

wenn gleich 2 erscheint die fehlermeldung.

das label ist vorhanden und auch richtig geschrieben
also bitte sagt mir wo das problem liegt

DANKE im vorraus

{{Label start

{{if {{RandomNumber 1,2} = 1 ; ; {{Goto LAB1
{{RelativeMouse ............

{{Goto start

{{Label LAB1
{{RelativeMouse ............

{{Goto start

 

 

 

spence



Joined: 22 May 2007
Posts: 2

Posted: Tue May 22, 2007 7:55 am    Post subject:

 

oh man

hab das problem gefunden --> es war ein simples leerzeichen zuviel

{{if {{RandomNumber 1,2} = 1 ; ; {{Goto LAB1
-------------------------------------------||
--------------------------------------genau hier

4 tage suche wegen einem leerzeichen




 

 

 

 

225   Please, HELP me with symbol " (quotation marks)

 

 

 ::   

Author

Message

shraybikus



Joined: 14 May 2007
Posts: 1

Posted: Mon May 14, 2007 11:44 am    Post subject: Please, HELP me with symbol " (quotation marks)

 

1. Password String contain symbol "
After saving script this symbol is substituted by symbol, that configured in language file in string QuotationMark=
When I runing script, there are no reverse substitution. In password string transfered symbol from [QuotationMark=] value, not ["]
2. When I changing Keyboard Language, this working only current in program session. When I reload Mouse and Key Recorder, substitution of quotation marks worked as default language select, but paramether Keyboard Language same, as in the previous running of Mouse and Key Recorder.

Version of Mouse and Key Recorder: 6.0 (Test version)

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue May 15, 2007 5:51 pm    Post subject:

 

Well, I tried it with this small macro:

{{Start Notepad
{{' Giving out Password
My"Password

After saving the macro it looks that way:

{{Start Notepad
{{' Giving out Password
MyåPassword

When I run it it prints out into Notepad:
My"Password

So it seems to work...
Can you post a part of your macro so I can see what exactly is happening ?
What language settings are you using normally ?

John Krauer, Kra-Tronic Corp.




 

 

 

 

226   Problem using GetPixel

 

 

 ::   

Author

Message

dmbfck



Joined: 11 May 2007
Posts: 2

Posted: Fri May 11, 2007 1:28 pm    Post subject: Problem using GetPixel

 

I am trying to write a macro to have WinTV start recording after the screen changes. However, I've noticed that when I use GetPixel to determine the pixel color (i.e. {{SetClipBoard {{GetPixel 150, 288}) it always returns the same number regardless of where on the screen I've placed the curor. Below is the macro that I used to get the pixel color:

{{' Created at: May.11.2007, 00:27 (John Krauer is a genius Version: 5.7 )

{{Delay 1000

{{SetClipBoard {{GetPixel 150, 288}
{{SetStringRGB {{ClipBoard}
{{'DeleteFile C:\RGB.txt
{{WriteLineToFile C:\RGB.txt | {{StringRGB}

The above macro always stores the number "983055" in the file no matter where I place the curson on the WinTV screen.
Am I doing something wrong?

Thanks,
Dum

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat May 12, 2007 6:10 pm    Post subject:

 

Well, in the Manual (chapter: 1.10.1.63) you find:
-------------
If you want to get the pixel color beyond the cursor arrow you can use: {{GetPixel –1, -1.
-------------

Means - you need to use the parameters -1, -1 to use the coordinates behind the cursor..

John Krauer, Kra-Tronic Corp.

 

 

 

dmbfck



Joined: 11 May 2007
Posts: 2

Posted: Sat May 12, 2007 8:20 pm    Post subject:

 

Copy that! I did find my error after I had somebody else look at the macro. However, after changing the parameters to -1,-1 GetPixel still returns the same code. We believe the problem is with WinTV.



Thanks for you response!

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun May 13, 2007 4:43 pm    Post subject:

 

Well, pssibly you first have to set the mouse to the place you need...
Do you want to get a pixcel from the movie itself ? (Not from the WinTV Controls ?) Then it is clear you get always the same value...
Movies are often injected directly to the graphic card. So the PC does not know anything about the pixels you see...

John Krauer, Kra-Tronic Corp.




 

 

 

 

227   Feld auf Inhalt auslesen?

 

 

 ::   

Author

Message

sek_is_back



Joined: 27 Aug 2007
Posts: 5

Posted: Mon Aug 27, 2007 9:10 am    Post subject: Feld auf Inhalt auslesen?

 

Hallo,

folgende Problematik
1.) Zeile auswählen per Mausklick (OK)
2.) Prüfen ob eine andere Zeile dann einen Text enthält (ich weiß nicht wie)
3.) Wenn diese Zeile Text enthält, dann Mausklick ausführen (???)
4.) Wenn diese Zeile keinen Text enthält, dann überspringe den in Punkt 3 genannten Mausklick.


Könnt Ihr mir helfen, mit welchem Befehl das Funktioniert, habe in der Befehlsleiste nichts gefunden.

Gruß SEK

 

 

 

sek_is_back



Joined: 27 Aug 2007
Posts: 5

Posted: Thu Aug 30, 2007 4:51 am    Post subject:

 

Noch keine Antwort? ISt das mit dem Programm nicht möglich?
Kann man das evt über die RGB farbe für die Schrift lösen?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Aug 31, 2007 6:34 am    Post subject:

 

Nun, es ist nicht klar, ob die Zeilen den gleichen Text enthält. Dann könnte man {{FindPattern verwenden.
Echte Texte kann der Recorder nicht direkt lesen. Dazu braucht es ein OCR Programm. (Optical Character Reading). Damit kann man einen Text auf dem Bildschirm in einen editierbaren Text verwandeln.

Wenn der Text nicht als editierbarer Text nötig ist und wenn die Struktur auf dem Bildschirm immer gleich ist und der andere Text an einem bestimmten Ort immer eine bestimmte Farbe hat, dann könnte man {{GetPixel verwenden..

Ohne genaue Angaben über was da auf dem Bildschirm ist, ist es schwierig eine Lösung anzugeben..

John Krauer, Kra-Tronic Corp.

 

 

 

sek_is_back



Joined: 27 Aug 2007
Posts: 5

Posted: Mon Sep 03, 2007 6:22 am    Post subject:

 

Der Text ist immer anders, ist halt eine Zahlenfolge, aber ide ist eigentlich Egal, Wenn man mit getPixel arbeitet, kann man dan den radius etwas größer wählen als einen Pixel und somit einfach nur testen ob sich auf einem Sector von 5pixel mal schwarz befindet? das würde schon reichen.

[/img]

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Sep 04, 2007 8:47 pm    Post subject:

 

Nein, GetPixel liest nur einen einzigen Pixel... und bei {{FindPattern muss immer das gleiche erscheinen.
Eine weitere Möglichkeit ist Verwendung von {{WaitForScreenChange... Hier wird einfach auf eine Veränderung eines Bildschirm-Bereiches gewartet.

Mit freundlichen Grüssen

John Krauer, Kra-Tronic Corp.

 

 

 

sek_is_back



Joined: 27 Aug 2007
Posts: 5

Posted: Tue Sep 25, 2007 4:51 am    Post subject:

 

Hallo,

ich habe ein Feld gefunden bei dem der Inhalt immer gleich ist.
In diesem Feld steht immer eine "1" oder halt nicht, wie müsste die Befehlskette denn aussehen?

1.) Zeile auswählen per Mausklick (OK)
2.) Prüfen ob eine andere Zeile die "1" steht (schwarze Zahl auf weißem Hintergrund)
3.) Wenn diese Zeile die "1" enthält, dann Mausklick an anderer Position ausführen
4.) Wenn diese Zeile "1" enthält, dann überspringe den in Punkt 3 genannten Mausklick.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Sep 25, 2007 5:26 pm    Post subject:

 

Nun, wenn es mehrere Zeilen mit diesem 1 hat besteht das Problem, welches 1 dann mit {{FindPattern gefunden wird. Wenn sich die Zeilen nicht verschieben, dann kann man den Suchbereich so klein wählen, dass man sicher die richtige Zeile erwischt.

Das Makro würde dann etwa so aussehen:

{{Mouse 1, 1, 759, 488, 1
{{If {{FindPattern 1, -1, -1, 200, 50, 0} = {{True};;{{Goto Weiter
{{IncVarFindPatternCoord_X_1} 16
{{IncVarFindPatternCoord_Y_1} 72
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
{{Label Weiter

John Krauer, Kra-Tronic Corp.




 

 

 

 

228   Program BUG

 

 

 ::   

Author

Message

sradiev



Joined: 04 May 2007
Posts: 1

Posted: Fri May 04, 2007 8:05 am    Post subject: Program BUG

 

i have problem with starting program
I unistall program and instal ,but not startet.Please help me

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat May 05, 2007 7:52 pm    Post subject:

 

Well, it is difficult to find out from distance, what the reason for this run time error could be...
What operating system do you use ?
Is it a new PC or have you had alrady other problems with this PC ?
Have you installed it on another PC and it works ?

Often the reason is a corrupt operating system, missing files, or badly affected registries...

John Krauer, Kra-Tronic Corp.




 

 

 

 

 

 

229   Ctrl Ctrl+/-

 

Author

Message

guido24



Joined: 22 Mar 2007
Posts: 1

Posted: Thu Mar 22, 2007 12:56 pm    Post subject: Ctrl Ctrl+/-

 

Grüezi

Auch nach wiederholtem lesen der Anleitung, nach Durchsicht aller Forumbeiträge betr. Ctrl und Ctrl+/-, sind wir nicht fähig diesen Befehl zum funktionieren zu bringen.
Dieser Punkt in der Anleitung sollte unbedingt von jemandem OHNE Insiderwissen neu verfasst werden und mit einem Beispiel ergänzt werden.

Unser Haupt-Problem: (Scan to PDF - Makro)
In Acrobat 8 Professional kann das Fenster der Datei im Fenster des Programms mit gleichzeitigem drücken der Tasten »Ctrl und w« geschlossen werden; jetzt aber mit dem Recorder! Aber wie genau?

Weiteres Problem:
Beim Einfügen des Filenamens verwenden wir unter Anderem den » {{DateTime} « - Befehl um den Filenamen automatisch zu generieren und(!) damit jeder Filename unterschiedlich ist.
Nur ist das nicht gut leserlich » 2002-12-13-23-51-12 «
Besser (wie in guter Scannersoftware) wäre » 2002-12-13^1 « oder » 2002-12-13 1 «, also mit einer sich inkrementierenden Zahl.
Das spezielle Problem dabei ist, dass im Verzeichnis eine Datei mit der letzten Zahl gespeichert und jeweils eingelesen werden müsste.
Vielleicht sollte das Programm mit einem solchen Befehl ergänzt werden.

Wer weiss Rat?
Für Tipps danken wir im voraus.

Mit freundlichen Grüssen

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon Apr 16, 2007 8:17 pm    Post subject:

 

CTRL+ saltet CTRL ein (und nur CTRL), CTRL- schaltet CTRL aus. Ein Kombination von CTRL mit einer anderen Taste kann man einfach aufzeichnen. Dann erhält man ^w (Siehe auch Anleitung: http://www.kratronic.com/tools-de/recorder/manual/index.html#_Toc155331975

Um eine incrementierende Zahl zu erhalten kann man den Befehl {{IncVar verwenden.
{{Date-
{{VarCounter

....
{{IncVarCounter 1

John Krauer, Kra-Tronic Corp.




 

 

 

 

230   Autom. Ende bei Abspielfehler?

 

Author

Message

Gwolf



Joined: 21 Mar 2007
Posts: 2

Posted: Wed Mar 21, 2007 8:33 pm    Post subject: Autom. Ende bei Abspielfehler?

 

Hallo,
Wie kann ich eine Fehler-Routine einbauen, dass bei Fehler im Makro oder sonstigen Unterbrechungen des Recorders beim Abspielen - der Recorder beendet wird?

Naja, umständlich ausgedrückt...
Also, wenn der Recorder per Scheduler läuft, ich bin net da, und irgendwie hängt was - dann sollte der Recorder beendet werden, weil per Taskplanung verschiedene Makros zu verschiedenen Zeiten laufen sollen.
Oder wird bei einem neuen Task durch den Taskplaner der alte unterbrochen bzw. abgebrochen?
Um 6 Uhr läuft Makro1 - aus irgendeinem Grund - spinnt das aufgerufene Programm, z.B. IE oder Notepad und bleibt hängen, dann erscheint zwar eine Meldungsbox - doch um 7 Uhr soll ein anders Makro ausgeführt werden.
Wie kann ich erreichen, dass bei Fehleranzeige des Recorders das Makro beendet wird bzw. das neue Makro trptzdem automatsich zu gegebener Zeit startet?
Danke

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon Apr 16, 2007 8:02 pm    Post subject:

 

Der Taskplaner hat eine Option welche es erlaubt, ein noch laufendes Programm nach einer bestimmten Zeit zu schliessen (Option: 'Aufgabe beenden nach:'. Standardmässig ist diese Option auf 72 Stunden eingestellt. Wenn allerdings noch eine Meldungsbox offen ist, schliesst der Recorder nicht.. Andere Möglichkeit: Fehlermöglichkeiten abfangen und falls so ein Fehler auftritt ans Ende des Makros springen.

John Krauer, Kra-Tronic Corp.




 

 

 

 

231   Combining RandomNumber and RandomString

 

Author

Message

sarvik666



Joined: 17 Mar 2007
Posts: 1

Posted: Sat Mar 17, 2007 10:58 pm    Post subject: Combining RandomNumber and RandomString

 

Hello, is it possible to make random thing like this: 9c7j1DrQ with RandomNumber and/or RandomString ?
Thanks!

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon Apr 16, 2007 7:52 pm    Post subject:

 

Here an example:

{{SetStringResult {{RandomNumber 0, 9}
{{SetStringResult {{StringResult}{{RandomString 1, az, a}
{{SetStringResult {{StringResult}{{RandomNumber 0, 9}
{{SetStringResult {{StringResult}{{RandomString 3, az, a}
{{MessageBox {{StringResult}

John Krauer, Kra-Tronic Corp.




 

 

 

 

232   Order for {{Switch

 

Author

Message

garbledwords



Joined: 21 Feb 2007
Posts: 3

Posted: Wed Feb 21, 2007 5:37 pm    Post subject: Order for {{Switch

 

I open up mulitple windows that all have the same title (these are terminal sessions so they all have the name of the terminal program). I then use the {{Switch command to change to a window to change its title. This all works good. However, it seems that MKR selects the oldest used window to determine which window to switch to. Is it possible to select the last selected window?

 

 

 

garbledwords



Joined: 21 Feb 2007
Posts: 3

Posted: Wed Feb 21, 2007 5:53 pm    Post subject:

 

the snippet that I am using is:

the initial switch to a window:
{{Switch 127.0.0.1 - PuTTY

And the to get to the window menu:
{{RelativeMouse 127.0.0.1 - PuTTY, 1, 1, 14, 18, 0

However, the second on pops up a second window.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Feb 22, 2007 6:26 pm    Post subject:

 

The Mouse and Key Recorder uses a Microsoft function (API) to find all windows. The sequence of windows is delivered by Windows and can not be influenced by the Recorder.
Workaround: Size and place your windows that way that you can activate them by mouse.

John Krauer, Kra-Tronic Corp.

 

 

 

garbledwords



Joined: 21 Feb 2007
Posts: 3

Posted: Fri Mar 30, 2007 1:57 pm    Post subject:

 

I was afried that was going to be the answer. But thanks for the response.




 

 

 

 

233   Herstellerangabe: Suchen von Mustern auf dem Bildschirm ?

 

Author

Message

Freddl



Joined: 28 Feb 2007
Posts: 1

Posted: Thu Mar 01, 2007 10:33 am    Post subject: Herstellerangabe: Suchen von Mustern auf dem Bildschirm ?

 

Hallo, wollte nur nachfragen wie man die Funktion:

Suchen von Mustern auf dem Bildschirm
(laut Herstellerangabe) nutzen kann!

Bis jetzt habe ich nur die Funktion "WaitForScreenChange" kennengelernt.

Die Funktion nach Mustern auf dem Bildschirm zu suchen würde ich aber benötigen.

Vielen Dank

Fred

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Mar 01, 2007 5:25 pm    Post subject:

 

Dafür gibt es den Befehl: {{FindPattern}. Diesen Befehl gibt es seit der Version V5.6.

Siehe:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc155332191

John Krauer, Kra-Tronic Corp.




 

 

 

 

234   command line argument with parentheses

 

Author

Message

mrattray



Joined: 22 Feb 2007
Posts: 2

Posted: Thu Feb 22, 2007 11:26 pm    Post subject: command line argument with parentheses

 

Hi, I'm using the command line to pass in a filename to the recorder. This is being stored in {{String1}. Then I'm using this string to open the file in MS Word. However when I pass in a filename that includes parentheses, (i.e. mydoc(3).doc) When it gets to the open dialog of MS Word the string is pasted in as mydoc3.doc which it can't find. How do I get the recorder to behave the way I want it to in this situation? Thanks.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Feb 24, 2007 6:35 pm    Post subject:

 

Some characters need to have a special "treatment" in the Mouse and Key recorder. See:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc155332121
:
Some characters are treated specially in the 'Mouse and Key Recorder'. These characters are:

The plus sign (+), caret (^), percent sign (%), tilde (~),parentheses ( ) Brackets ([ ]) and brace ({}). All these characters need to be enclosed by braces. {+},{^},{%},{~},{(},{)},{[},{]},{{},{}}

John Krauer, Kra-Tronic Corp.

 

 

 

mrattray



Joined: 22 Feb 2007
Posts: 2

Posted: Mon Feb 26, 2007 7:08 pm    Post subject:

 

Alright so if I pass in mydoc{(}3{)}.doc for my previous example, then it goes and tries to open the file with the squigly brackets in it. So to reiterate when I pass in the following I get:
mydoc(3).doc -> mydoc3.doc
mydoc{(}3{)}.doc -> mydoc{(}3{)}.doc
So I don't know how to open a file using a command line filename with parentheses in it.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Feb 27, 2007 8:01 pm    Post subject:

 

Well, I tried it here... with the two following examples:
{{Start Notepad C:\meinFile(2).txt
{{Start D:\Programs\Microsoft Office\Office\WINWORD.EXE C:\meinFile(2).txt

Both work well.
What program do you use ? What operating system ?

John Krauer, Kra-Tronic Corp.




 

 

 

 

235   Can m & k recorder run in 2 applications simultaneously?

 

Author

Message

koganei



Joined: 24 Sep 2007
Posts: 1

Posted: Mon Sep 24, 2007 7:45 am    Post subject: Can m & k recorder run in 2 applications simultaneously?

 

hi all,

let's say I want to perform a macro on my microsoft word, while I go surf the net, is it possible?

meaning to say that, like there are 2 mouse in the computer

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Sep 25, 2007 5:19 pm    Post subject:

 

No, when the Recorder runs a macro, which uses keys and/or mouse clicks, then the real keyboard and mouse must not be used.

The macro can of course work in different applications, but everytime you want to handle an other appliction you need to switch to them before (Command {{Switch )

John Krauer, Kra-Tronic Corp.




 

 

 

 

236   MKR suggestion

 

Author

Message

gedinfo2006



Joined: 23 Feb 2007
Posts: 4

Posted: Fri Feb 23, 2007 4:07 pm    Post subject: MKR suggestion

 

John, Is it possible to have the Insert Command dialog box show up in alphabetical order? Even though it is possible to type in the command and go to it eventually, if a user does not know the exact command, I think that alphabetical is much more helpful.

Thanks for a great product.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Feb 24, 2007 6:40 pm    Post subject:

 

Hmmmm in the moment just this order is possible.... Maybe I could add an option to have it in alphabetic order.. I add this idea to the Enhancement list.

John Krauer, Kra-Tronic Corp.

 

 

 

gedinfo2006



Joined: 23 Feb 2007
Posts: 4

Posted: Sun Feb 25, 2007 4:35 am    Post subject: Recorder.doc minor issues

 

John, I found some minor issues with the Recorder.doc.

1). Page 9 - ContextMene Key - should this read ContextMenu?

2). Page 10 - Spcial-Text-Mode - should this read Special-Text-Mode?

3). Page 19 - {{ClipBaord} - should this read {{ClipBoard} ?

4). Page 20 - Annother - this should read Another

5). Page 25 - realible - this should read reliable?

6). Page 25 - rectanlge - this should read rectangle

7). Page 33 - charactercode - should this read character code?

. Page 34 - seperated - this should read separated

9). Page 35 - choosen - this should read chosen

10). Page 37 - regularely - this should read regularly

11). Page 40 - starded - this should read started.

12). Page 41 - periodes - this should read periods

13). Page 45 - klick - this should read click.

14). Page 45 - the the - remove one 'the'?

15). Page 55 - chatch - should this read catch?

16). Page 58 - als - should this read also?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Feb 27, 2007 7:10 pm    Post subject:

 

Ohhhh you have read the whole thing and found mistakes.. Thanks a lot. I will correct them in the next release.

John




 

 

 

 

237   Key combinations for Screen Capture do not seem to work

 

Author

Message

gedinfo2006



Joined: 23 Feb 2007
Posts: 4

Posted: Fri Feb 23, 2007 4:03 pm    Post subject: Key combinations for Screen Capture do not seem to work

 

I am using MKR v6.0, and have a screen capture utility running in the background on a Windows XP system. I have the screen capture set up to capture the screen with an Alt C combination, yet when I put %c in the macro, nothing happens!
I have looked in the document regarding ALT, and perceive it to be used for timing.
If I put {{ALT C in my macro, it stops there, and does not continue, whereas %c does not cause the macro to stop.

Any suggestions?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Feb 24, 2007 6:39 pm    Post subject:

 

Some programs use a special trick to catch key strokes. (Dirty programming). Then the key strokes sent by Mouse and Key Recorder are not recognized.
Workarounds:
- Use the mouse instead of keys
- Use {{SendTextSpecial} for those keys

John Krauer, Kra-Tronic Corp.




 

 

 

 

238   Zeilenimport und Zeile löschen ?

 

Author

Message

Surrendert



Joined: 10 Jul 2006
Posts: 2

Posted: Tue Feb 06, 2007 9:15 pm    Post subject: Zeilenimport und Zeile löschen ?

 

Ich möchte eine Zeile aus einer Textdatei lesen und diese daraufhin löschen.

{{1}{{ImportFile C:\meinFile.txt
{{DoImport}
//importierte Zeile im Textfile löschen

Ich könnte die Textdatei auf öffnen, eine Zeile markieren und löschen, aber die Zeilen sind unterschiedlich lang. Hat jemand eine Idee ?


Alternativ könnte ich die Zeilen des Textfiles auch mit Leerzeichen auf die gleiche Länge bringen. Nur die Funktion Trim funktioniert bei mir nicht.

{{Start: C:\WINDOWS\system32\notepad.exe åC:MeinFile.txtå
{{Switch MeinFile.txt
+{RIGHT}
+{RIGHT}
+{RIGHT}
+{RIGHT}
^x
{{SetClipBoard}{{Trim {{ClipBoard}}
^v

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Feb 08, 2007 7:02 pm    Post subject:

 

Warum nicht einfach das File umkopieren ?

{{SetGenDelay 0
{{ImportFile C:\meinFile.txt
{{Label Start
{{SetStringImport {{DoImport}

{{' Mach irgendwas

{{WriteLineToFile C:\meinFile2.txt | {{StringImport}
{{If {{ImportNextLine} = {{True};{{Goto Start;
{{ImportFile C:\meinFile2.txt {{' meinFile.txt freigeben
{{DeleteFile C:\meinFile.txt
{{CopyFile C:\meinFile2.txt | C:\meinFile.txt
{{ImportFile C:\meinFile.txt {{' mein File2.txt freigeben
{{DeleteFile C:\meinFile2.txt

-----------
{{Trim küzt nicht Stings, sondern entfernt nur Leerschläge vor und nach dem Text.

John Krauer, Kra-Tronic Corp.




 

 

 

 

239   Waiting for a Dialog Box to continue Script

 

Author

Message

Mhartman



Joined: 22 Jan 2007
Posts: 3
Location: Chesapeake, VA

Posted: Mon Jan 22, 2007 6:12 pm    Post subject: Waiting for a Dialog Box to continue Script

 

I am new to scripting, but wrote a script to automate some really boring work.

The Job is to Open up a drawing and then Print the drawing (PDF). The program is not a standard program (i.e. Microsoft, etc.), so at the end of the print, a dialog box comes up (always in the same spot).

I have everything working just fine other than having the script wait for this dialog box to come up (time varies on each PDF) and click the Ok button.

I just need to know how to set this up. I tried CheckFocus, WaitForFocus, WaitForEndFocus...I guess I'm not doing something right. Like I said, I still fairly new to scripting.

If I could get some help, It would be greatly appreciated.
Some Samples of How to do this would be awesome!
_________________
Mike

 

 

 

Mhartman



Joined: 22 Jan 2007
Posts: 3
Location: Chesapeake, VA

Posted: Tue Jan 23, 2007 12:45 pm    Post subject: Added Problem

 

I Think I pretty much got the WaitForEndFocus to work on my script, now the question would be how to label a subroutine.

On occasion some of these documents are multiple pages and a dialog box comes up bringing this to my attention. What I need to do is have the script check for this box (if it doesn't come up for a few seconds then continue from a different part of script). If it does appear simply click yes and continue.

One other portion of my problem is the files are on multiple CDs, sometimes the file asks for another CD even though it is the should be the right CD. I would like, when this box comes up, to have it run a subroutine to cancel and start the script over (at the beginning). Basically to skip this file and goto the next one. I have Thousands of files to open and PDF and want this to run over night (unattended).

Any help with subroutines would be greatly appreciated.
a small sample would be even better.
_________________
Mike

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Jan 23, 2007 6:44 pm    Post subject:

 

Here an example: (from the Manual)


{{' Calling the Subroutine the first time
{{SetVar1 1
{{GoTo Subroutine
{{Label GoOn1

{{' Calling the Subroutine the second time
{{SetVar1 2
{{GoTo Subroutine
{{Label GoOn2
{{Goto End

{{Label Subroutine
{{MessageBox Subroutine call no {{Var1}
{{goto GoOn{{Var1}

{{Label End
{{MessageBox Macro ends

In the subroutine you place (in exchange of the {{MessageBox) your commands

The manual also contains a comprehensive guidance for creating an {{WaitForFocus command:

WaitForFocus Example:
Open the Recorder. Open also Notepad manually (Start | Run | Notepad.exe). In the Notepad click File | Open. In the new window click on button Open (to set the focus on this button. The button gets a dashed frame.) On the Recorder activate WaitForFocus. Within 3 seconds change to notepad by using ALT TAB. The recorder asks now for a timeout. Set it to 100 and click ok. You get the following macro line: {{If {{WaitForFocus 322, 478, 75, 23, 100, 3, 3, 3, 3} = {{True};;{{ShowError}. Add the command {{Beep as additional line to the macro (AddCommand, {{Beep). Close the Open window of Notepad. Replay your macro. Nothing happens now; just the timeout is counting down. In the Notepad click now File | Open. In the new window click on button Open. At this moment you will hear a beep. That means the Recorder has now sensed the right focus and continues..
That means to use this command you first must create the focus situation and record it. Then during macro run the Recorder will wait until this focus situation appears or the timeout time runs out.

John Krauer, Kra-Tronic Corp.

 

 

 

Mhartman



Joined: 22 Jan 2007
Posts: 3
Location: Chesapeake, VA

Posted: Tue Jan 23, 2007 6:52 pm    Post subject: Thanks

 

I'll give it a try...Thanks alot. I think that will make it work for me.

I really appreciate your help.
_________________
Mike




 

 

 

 

240   ALT key codes and Internet Explorer 7.0

 

Author

Message

nl06734



Joined: 06 Dec 2006
Posts: 3

Posted: Thu Dec 07, 2006 7:19 am    Post subject: ALT key codes and Internet Explorer 7.0

 

At this moment we are using the macro recorder to run some test scripts against a web application. This web application is operated using key combinations (e.g. ATL-S for getting a Search screen). We do not use mouse clicks as the screens have different layouts pending on the screen resolution.

The above works well with Internet Explorer 6.0.

To my surprise it doesn't work anymore with Internet Explorer 7.0. What I see happening is that when I use an ALT-code in the macro code the cursus jumps to the IE menu instead of opening the menu in the web application as if it registers pressing the ALT key first andafter that pressing the S key instead of seeing a combined ALT-S. When pressing ALT-S myself on the keyboard it dows work however.

I have tried the following ways of getting into the webapplication menu, but none work anymore:

Option 1:
%s
- Just jumps to the IE menu

Option 2:
%(s)
%s
- Just jumps to the IE menu


Option 3:
{{ALT+
s
{{ALT-
- Just jumps to the IE menu

Option 4:
{{ALT 600 s
- Just jumps to the IE menu


Any ideas/solutions?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Dec 07, 2006 6:32 pm    Post subject:

 

Ohhhh that is not good.... That means that even Microsoft is not any longer compatible to its own tools... The Mouse and Key Recorder uses the command SendKeys to send the different keys. This command can also be found in all the Microsoft macro languages VBA in Word, Excel etc. It looks like I need to build in an additional way (by API) to click keys..

John Krauer, Kra-Tronic Corp.

 

 

 

nl06734



Joined: 06 Dec 2006
Posts: 3

Posted: Mon Dec 11, 2006 10:13 am    Post subject:

 

Great indeed......

Is there any workaround that could make this work for now?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon Dec 11, 2006 6:34 pm    Post subject:

 

Well..... using another Recorder

 

 

 

nl06734



Joined: 06 Dec 2006
Posts: 3

Posted: Wed Jan 17, 2007 9:07 am    Post subject:

 

Your new version 6.0 seems to have solved this issue with the introduction of the {{SendTextSpecial} command.
Thanks

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Jan 17, 2007 8:15 pm    Post subject:

 

Yessss, big work and good result

John Krauer




 

 

 

 

241   Mousing issue

 

Author

Message

Mysteryqueen



Joined: 15 Jan 2007
Posts: 1

Posted: Mon Jan 15, 2007 2:45 am    Post subject: Mousing issue

 

I'm setting up a macro, but having major problems with a mouse click.

here's the problematic part of the macro:

{{RelativeMouse Puzzle Pirates - Couldbe on the Sage ocean, 1, 1, 682, 238, 0
{{RelativeMouse Puzzle Pirates - Couldbe on the Sage ocean, 1, 1, 705, 533, 0

{{Delay 1700} {{' Milliseconds
{{RelativeMouse Puzzle Pirates - Pizzas on the Sage ocean, 1, 1, 679, 239, 0
{{RelativeMouse Puzzle Pirates - Pizzas on the Sage ocean, 1, 1, 700, 522, 0

{{Delay 1700} {{' Milliseconds
{{RelativeMouse Puzzle Pirates - Daveo on the Sage ocean, 1, 1, 682, 238, 0
{{RelativeMouse Puzzle Pirates - Daveo on the Sage ocean, 1, 1, 699, 520, 0


{{Delay 1700} {{' Milliseconds
{{RelativeMouse Puzzle Pirates - Jobme on the Sage ocean, 1, 1, 682, 238, 0
{{RelativeMouse Puzzle Pirates - Jobme on the Sage ocean, 1, 1, 695, 536, 0

{{Delay 1700} {{' Milliseconds
{{RelativeMouse Puzzle Pirates - Ahidell on the Sage ocean, 1, 1, 693, 237, 0
{{RelativeMouse Puzzle Pirates - Ahidell on the Sage ocean, 1, 1, 696, 537, 0

All 5 iterations are based on seperate 'clients' of the same window. However, in the last 3 iterations, the second mouseclick is 'too high' above the button when I run the Macro.

Copying the co-ordinates from the second iteration ( 1, 1, 700, 522, 0
) onto the last 3 fixes the issue for the 3rd one, but not the 4th or 5th, iteration, which still put the mouse 'too high'. Doing the same thing, but using the 'first iteration' co-ordinates doesn't help, either.

What's going on, and how can I fix it??
MQ

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Jan 16, 2007 7:07 pm    Post subject:

 

If all windows and the buttons inside are the same - why do you not simply use always the same coordinates ?
For me it looks the windows are different or the buttons are not all at the same place and therefore you have problems to hit the right buttons.
Why not recording all the necessary mouse clicks ? If the buttons do not move when you open the window the next time then you are done

John Krauer, Kra-Tronic Corp.




 

 

 

 

242   waitforkey

 

Author

Message

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Fri Jan 12, 2007 12:57 pm    Post subject: waitforkey

 

also der befehl ist schonmal drin. aber ich meinte das ein bischen anders.
er soll nicht auf irgendeine taste warten, sondern auf eine definierte.
also der befehl an sich is so auch ok, wenn ich danach ausesen kann welche taste ich gedrückt habe um danach eine i-then-verknüpfung zu basteln. vieleicht geht das ja auch schon und ich habs nur nich gesehn.

also nochmal was mein macro machen soll:
es soll an einer belibigen stelle halten und erst weiterfahren wenn ich eine taste drücke, die ich mir ausgesucht habe. richtig geil währe dann halt, wenn ich gleichzeitig auf verschidene tasten warten kann (z.b. mit einer or-verknüpfung, um danach auslesen zu können, welche taste es war. dann kann ich mit ner if-then-verknüpfung zu nem bestimmten label springen).
ich würd halt gern entscheidungen einbaun, das ich in nem spiel möglichst verschiedene funktionen schnell aufrufen kann. eine möglichkeit währe z.b. genau das beschrieben...
die andere möglichkeit währ (wie ich es jetzt mache) mit tastenkombinationen das macro, unter zuhilfenahme des nofocus-befehls, schnell zu starten ohne das irgendwas anderes in den vordergrund rückt.
das reicht mir an sich. aber da währen zwei ander kleinigkeiten:
1. gibt es immer eine minimale verzögerung beim starten des macros (mit der ich eigendlich auch klar komme, die aber bei der waitforneganzbestimmtetaste wegfallen würde).
2. ist die möglichkeit der schnelltasteneinstellungen ein bischen begrenzt, da ich nur mit standarteingaben arbeiten kann. es währ toll wenn man einfach was drücken kann und das prog erkennt die eingabe. z.b. strg+a+d oder eingaben von controlern, wie gamepads etc.
eins von beiden währe völlig ausreichend.

ansonsten ist 6.0 sehr gut. ich werds mir auch nahher oder morgen kaufen. wenn du der meinung bist, das diese änderungen für mich kleinen wicht zu viel arbeit machen, nehm ich dir das auch nich übel
nu muss ich aber erstmal mittag machen.

edit: ach ja, innerhalb des recoders nen macro mit der selben tastenkombi ab zu brechen, mit der man es auch startet, währe ein trozdem ne tolle ergenzung...

p.s. merkt man eigendlich doll, das ich den recoder ausschliesslich zum spielen benutze?

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Jan 13, 2007 9:30 am    Post subject:

 

Nun, warum ist der gedrückte Key nicht drin... Einfach, weil es hunderte von verschiedenen Keyboards gibt weltweit, und ich dann die ganze Zuordnung der Key-ID (Nummern) die ich vom System erhalte zu den richtigen Buchstaben machen muss....
Eine Alternative wäre nur diese Nummer abzuspeichern und die Nummer für ALT CTRL SHIFT z.B. als Variablen. Dadurch könnte das Makro feststellen welche Taste gedrückt wurde z.B. 119 4 = ALT F8.
Nachteil: Man muss erst testen welche Taste welche Nummer ist um das {{If zu schreiben.
Auf anderen Tastaturen muss man die Nummern im If ändern.

Ein Stop mit der Start-HotKey Kombination ist nicht so gut, weil das zur Verwirrung der normalen User führen würde... Momentan sind Hotkeys gesperrt, solange ein Makro läuft. Es ist nicht gut wenn mitten in einem Makro ein anderes losläuft.

Ja ja man merkt schon, dass das Spieler-Wünsche sind....

John Krauer, Kra-Tronic Corp.

 

 

 

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Sat Jan 13, 2007 12:23 pm    Post subject:

 

ich weis nicht ob ichs richtig verstanden habe...
es währe dann also so: ich teste über nen anderes prog welche ip für meine gedrückte taste ausgespuckt wird. damit kann ich nun die if-bedinung für das warten auf meine taste realisieren, indem ich über ne schleife mit label und ne if-bedinung nur dann aus der schleife rausspringe, wenn die id zu meiner taste passt.
währ in meinen augen auch ne möglichkeit. an sich würde es auch schon reichen wenn man diese id bei den tastenkombis angeben könnte, als schnelltaste für das macro. so könnt ich einfach mein gamepad belegen, ohne tastenkombis zu nutzen, die dann nebenbei noch was anderes auslösen, wie z.b. shift und buchstaben.
ka, wie das bei spieleconfigs gemacht wird. wenn das au über das prinzip läuft, das du für das warten-auf-taste beschrieben hast, währ doof, da zu viel arbeit... wenn es einfacher geht, würde es für meine zwecke absolut reichen, wenn ich für die hotkeys einfach nur joystick-/gamepadbuttons nutzen könnte.

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Jan 13, 2007 9:34 pm    Post subject:

 

Na gut, ich habe nun eine Testversion mit dem Abspeichern des Keys erstellt. Gedrückte Keys werden in die Variable: {{StringWaitForKeyX55} abgespeichert. Einschränkung: Es ist nur jeweils eine Taste möglich, also a oder F3 oder ALT. Aber nicht ALT a. In der Variablen stehen dann die Resultate z.B. a, ü, F3, ESC, ENTER, RIGHT...

Bitte prüfen ob es auf der nicht-Schweizerischen Tastatur auch geht....

Beispiel Makro:
{{' Created at: Jan.13.2007, 19:21 (MKR Version: 6.0 )

{{Label Start
{{WaitForKey
{{MessageBox {{StringWaitForKeyX55}
{{Goto Start

{{Mögliche Anwendung
{{Label Weiter
{{WaitForKey
{{If {{StringWaitForKeyX55} = F3 ;{{Goto Schiessen
{{If {{StringWaitForKeyX55} = z ;{{Goto Zurückziehen
{{If {{StringWaitForKeyX55} = RIGHT ;{{Goto Verschieben

{{Label Schiessen
.......
{{Goto Weiter
{{Label Zurückziehen
.......
{{Goto Weiter
{{Label Verschieben
.......
{{Goto Weiter

John Krauer, Kra-Tronic Corp.




 

 

 

 

243   Reliability spotty with key executions?

 

Author

Message

rougeqc21



Joined: 12 Jan 2007
Posts: 1

Posted: Fri Jan 12, 2007 6:19 pm    Post subject: Reliability spotty with key executions?

 

Alright here is my problem. When the second macro switches to the instance of microsoft word, it does not execute the following commands there after. This is a recurring problem in many of the macros I have. It will load to the correct instance, then skip over everything and continue on loading to the next set of commands in the next macro. Also, it works sometimes, and other it doesn't. The reliability is not there basically. Any way to improve this?







{{' Created at: Jan.10.2007, 15:52 (MKR Version: 6.0 )

+^{RIGHT}
{{Delay 500} {{' Milliseconds
^c
{{Delay 500} {{' Milliseconds
{{Switch StaffSuite
{{Delay 500} {{' Milliseconds
{{Alt 700
{{Delay 500} {{' Milliseconds
o
{{Delay 500} {{' Milliseconds
{RIGHT}
{{Delay 500} {{' Milliseconds
{RIGHT}
{{Delay 500} {{' Milliseconds
{DOWN}
{{Delay 500} {{' Milliseconds
{ENTER}
{{Delay 500} {{' Milliseconds
{TAB}
{{Delay 500} {{' Milliseconds
{TAB}
{{Delay 500} {{' Milliseconds
^v
{{Delay 200} {{' Milliseconds
{{LoadMacro C:\Documents and Settings\alex\My Documents\Recorder\v1B.krc


{{' Created at: Jan.10.2007, 15:52 (MKR Version: 6.0 )

{{Delay 500} {{' Milliseconds
{{Switch firstclean - Microsoft
{{Delay 500} {{' Milliseconds
{{Delay 200} {{' Milliseconds
{RIGHT}
{{Delay 500} {{' Milliseconds
{RIGHT}
{{Delay 500} {{' Milliseconds
{RIGHT}
{{Delay 500} {{' Milliseconds
{RIGHT}
{{Delay 500} {{' Milliseconds
+^{RIGHT}
{{Delay 500} {{' Milliseconds
^c
{{Delay 300} {{' Milliseconds
{{LoadMacro C:\Documents and Settings\alex\My Documents\Recorder\v1C.krc

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Jan 13, 2007 11:07 am    Post subject:

 

Are you working with IE7 ? If so please check the command {{SendTextSpecial

You switch to {{Switch firstclean - Microsoft If there is another window with this text in the name it could switch to the wrong one. Use: {{Switch firstclean - Microsoft Word

I tested your macro as far as I could... You switch to firstclean - Microsoft. If I want to switch to Word it looks like this: {{Switch firstclean.doc - Microsoft

Have you checked the Log file ? To see what exactly happens in your macro.

Have you used long Line Delays (e.g. 1500) to see exactly what is going on ? You can keep your Recorder on top in a corner to see the commands running.


John Krauer, Kra-Tronic Corp.




 

 

 

 

244   Bestimmte Texte aus einer Webseite in ein Textfile kopieren

 

Author

Message

tina



Joined: 02 Jan 2007
Posts: 2

Posted: Tue Jan 02, 2007 3:38 pm    Post subject: Bestimmte Texte aus einer Webseite in ein Textfile kopieren

 

Hallo, vorweg, Euch allen da draussen ein frohes neues Jahr!

Mein Name ist Tina und ich bin 13 Jahre alt.

Ich bin eine Pferdenärrin und ich möchte Rennergebnisse aus einer Webseite
in ein Textfile abspeichern.

Siehe:

http://wetten.germantote.de/rennen/starterfeld_kurz.html?rid=200410011101

Da steht jetzt z.B.:

Vollständiger Einlauf: 1.
Wingo (15,20) - 2. Felix Mill (16,10) - 3. Valentino Columbus (16,40) - 4. Gantar Top (16,60) - 5. Caithy (16,66) - 6. Bianca Rosa (16,80) - 7. Reine De Vie (17,76) - 8. Dream Memory (18,26)

Kann man jetzt Mouse an Key Recorder anweisen:

Suche nach "1." kopiere was dahinter steht bis ")", also: kopiere "1. Wingo (15,20)"
Suche nach "2." kopiere was dahinter steht bis ")", also: kopiere "2. Felix Mill (16,10)"
etc... und dies vorerst in ein Textfile.


Ist das möglich bei Mouse an Key Recorder?

Da es sich um Daten mehrere Jahre handelt, und ich jetzt erst einen Monat per "Hand" kopiert habe, habe ich eingesehen, das dies mehrere Wochen in anspruch nehmen würde, zwischenzeitlich habe ich mir auch eine Sehnenscheidenentzündung eingehandelt!

Vielen Dank im vorraus!
Tina

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Jan 02, 2007 6:58 pm    Post subject:

 

Hallo Tina..
Eine Sehnenscheidenentzündung und das schon mit 13...
Nun das muss nicht sein, denn der Recorder kann dir sicher helfen.
Er kann zwar nicht direkt im Internet Explorer mittels Cursortasten Texte markieren... aber es gibt da einen Trick.
Du speicherst die Internet Seite als Text in eine Datei:
Datei / Speichern unter.. als Text (txt) ab
Dann lädtst du diese Seite ins Microsoft Word. Dort kannst du dann mittels Suchen und markieren das gewünschte kopieren.

Hier ein Demonstrations Makro. Damit es läuft muss ein Microsoft Word offen sein.

{{' Demostrations-Makro

{{1}{{Start Notepad
{{Switch Microsoft Word
{RIGHT}
{{1}Vollständiger Einlauf: 1.
Wingo (15,20) - 2. Felix Mill (16,10) - 3. Valentino Columbus (16,40) - 4. Gantar Top (16,60) - 5. Caithy (16,66) - 6. Bianca Rosa (16,80) - 7. Reine De Vie (17,76) - 8. Dream Memory (18,26)

{{1}^{HOME}
^f
{{Loop}
.
{ENTER}
§
{ESC}
{RIGHT}
{RIGHT}
{F8}
^f
-
{ENTER}
{ESC}
^{LEFT}
^c
{{Switch Unbenannt - Editor
^v
{ENTER}


Wiederholungen auf 7 stellen und Zeilneverzögerung auf 150

Viel Spass

John Krauer, Kra-Tronic Corp.

 

 

 

tina



Joined: 02 Jan 2007
Posts: 2

Posted: Wed Jan 03, 2007 4:59 pm    Post subject:

 

Hallo John, vielen Dank, manchmal sieht man wirklich den Wald vor lauter Bäumen nicht

Viele Grüße aus Bad Harzburg
Tina




 

 

 

 

Wait for Mozilla

 

Author

Message

pulibo



Joined: 04 Oct 2006
Posts: 5

Posted: Wed Oct 04, 2006 3:10 pm    Post subject: Wait for Mozilla

 

Hallo zusammen,

erst mal find ich s schade, dass der keyrecorder nicht um eine "wait for mozilla" funktion erweitert wird, da dieser browser von sehr vielen leuten verwendet wird.

habe auch gelesen, dass man dies mit getpixel oder findpattern machen kann.

habe mich auch mit diesen befehlen probiert, jedoch klappt es nicht.

habe mich auch mit waitforscreenchange probiert, dies ist allerdings auch fehlgeschlagen

kann mal jemand einen master befehl dafür posten, wo ich nur noch die koordinaten des stop-buttons einfügen muss???

wäre für jede hilfe dankbar...

grüsse
pulibo

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Oct 06, 2006 5:52 pm    Post subject:

 

Well, I tried it here... and it works..

Here the Macro I used:

{{Switch Mozilla Firefox
%
x {{' Maximize window (to have the stop button always on the same location
{{' That way we can keep the search range of {{FindPattern small
^l
^v
{ENTER}
{{Label WaitAgain
{{Delay 300} {{' Millisekunden
{{Mouse 1, 1, 137, 47, 1
{{If {{FindPattern 1, -1, -1, 200, 200, 0} = {{True};{{Goto WaitAgain;

The pattern itself you should record on your PC.

John Krauer, Kra-Tronic Corp.

 

 

 

pulibo



Joined: 04 Oct 2006
Posts: 5

Posted: Sat Dec 23, 2006 9:23 pm    Post subject:

 

dieser code funktioniert bei mir nicht.
er fängt mit dem ersten klick an, fährt dann auch mit dem mauszeiger zum stop-button hoch, dort bleibt es dann aber auch. wenn ich die maus dann bewege, macht das programm mit dem nächsten schritt weiter, geht dann wieder mit dem mauszeiger zum stop-button hoch und bleibt dann wieder stehen. wenn ich die maus dann wieder bewege, macht das programm wieder einen schritt weiter usw. usw.

wo hab ich den fehler gemacht???
bei mir sieht es ungefähr so aus:

{{xxx - Mozilla Firefox, 1, 1, 50, 549, 0
{{Label WaitAgain
{{Delay 100} {{' Millisekunden
{{Mouse 1, 1, 145, 54, 1
{{If {{FindPattern 2, -1, -1, 100, 100, 0} = {{True};;{{Goto WaitAgain;
{{Mouse 1, 1, {{VarFindPatternCoord_X_2}, {{VarFindPatternCoord_Y_2}, 0
{{xxx - Mozilla Firefox, 1, 1, 295, 210, 0
{END}
{{Mouse 1, 1, 753, 589, 0
{{NumPad1}
{{NumPadEnter}
{{Label WaitAgain
{{Delay 100} {{' Millisekunden
{{Mouse 1, 1, 145, 54, 1
{{If {{FindPattern 2, -1, -1, 100, 100, 0} = {{True};;{{Goto WaitAgain;
{{Mouse 1, 1, {{VarFindPatternCoord_X_2}, {{VarFindPatternCoord_Y_2}, 0
{TAB}
{TAB}
56
{TAB}
3
{{Mouse 1, 1, 666, 515, 0
{{Label WaitAgain
{{Delay 100} {{' Millisekunden
{{Mouse 1, 1, 145, 54, 1
{{If {{FindPattern 2, -1, -1, 100, 100, 0} = {{True};;{{Goto WaitAgain;
{{Mouse 1, 1, {{VarFindPatternCoord_X_2}, {{VarFindPatternCoord_Y_2}, 0
{{xxx - Mozilla Firefox, 1, 1, 657, 584, 0
{{Label WaitAgain
{{Delay 100} {{' Millisekunden
{{Mouse 1, 1, 145, 54, 1
{{If {{FindPattern 2, -1, -1, 100, 100, 0} = {{True};;{{Goto WaitAgain;
{{Mouse 1, 1, {{VarFindPatternCoord_X_2}, {{VarFindPatternCoord_Y_2}, 0


einen weiteren versuch hab ich mit wait for screenchange gemacht. der code dafür sah so aus:

{{Mouse 1, 1, 145, 54, 0
{{PrepareScreenChange}
{{xxx - Mozilla Firefox, 1, 1, 50, 549, 0
{{If {{WaitForScreenChange 30,15,1} = {{True};;{{ShowError}
{{xxx - Mozilla Firefox, 1, 1, 295, 210, 0
{END}
{{Mouse 1, 1, 753, 589, 0
{{NumPad1}
{{Mouse 1, 1, 145, 54, 0
{{PrepareScreenChange}
{{NumPadEnter}
{{If {{WaitForScreenChange 30,15,1} = {{True};;{{ShowError}
{TAB}
{TAB}
56
{TAB}
3
{{Mouse 1, 1, 145, 54, 0
{{PrepareScreenChange}
{{Mouse 1, 1, 666, 515, 0
{{If {{WaitForScreenChange 30,15,1} = {{True};;{{ShowError}
{{Mouse 1, 1, 145, 54, 0
{{PrepareScreenChange}
{{xxx - Mozilla Firefox, 1, 1, 657, 584, 0
{{If {{WaitForScreenChange 30,15,1} = {{True};;{{ShowError}


das hat auch eigentlich ganz gut funktioniert, ausser beim letzten schritt, da macht er zu früh weiter (meine vermutung, es sind ja 2 bildschirmwechsel beim stop-button, von grau zu rot und von rot wieder zu grau. habe dann anstatt "{{If {{WaitForScreenChange 30,15,1} = {{True};;{{ShowError}" - "{{If {{WaitForScreenChange 30,15,2} = {{True};;{{ShowError}" aber damit hat garnichts mehr funktioniert... wo habe ich hier den fehler gemacht???

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Dec 26, 2006 10:28 am    Post subject:

 

Nun, in einem frühren Posting hat es das entsprechende Makro. Man muss allerdings dazu noch die Pattern-Datei erzeugen:
Menu: Insert / Find Pattern

John Krauer, Kra-Tronic Corp.

 

 

 

pulibo



Joined: 04 Oct 2006
Posts: 5

Posted: Wed Dec 27, 2006 10:21 am    Post subject:

 

ich bin ja auch über das menü: einfügen/finde muster gegangen.

aber wie gesagt, der mauszeiger geht dann auch zu der stelle, wo das muster erscheinen soll. das muster erscheint, aber es passiert dann nichts weiter. erst wenn ich die maus/den mauszeiger bewege, geht das programm einen schritt weiter und da dann wieder das gleiche.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Dec 28, 2006 10:22 pm    Post subject:

 

Nun, es sieht so aus, als ob das Makro das Pattern nicht findet. Dann kommt es zu einer endlosen Schlaufe...
Das könnte daran liegen, dass das Pattern ausserhalb der 100x100 Pixel liegt, die im {{FindPattern definiert sind...

John Krauer, Kra-Tronic Corp.

 

 

 

pulibo



Joined: 04 Oct 2006
Posts: 5

Posted: Fri Dec 29, 2006 1:08 am    Post subject:

 

dann verstehe ich aber nicht, warum das programm weiterläuft, sobald ich die maus bewege?!?

wenn das programm das muster nicht finden würde müsste es ja immer wieder zur warteschleife springen und nicht weiterlaufen, sobald ich die maus dann bewege.

werde mich morgen nochmal probieren, jetzt ist schon was spät dafür.

und noch so eine frage: für wann ist denn die neue version geplant???

vielen dank schonmal für die hilfe
grüsse
pulibo

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Dec 29, 2006 1:21 pm    Post subject:

 

Die neue Version erscheint im Januar 2007.

John Krauer, Kra-Tronic Corp.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Dec 29, 2006 2:12 pm    Post subject:

 

Ok ich habs nochmals mit dem neuesten FireFox getestet...

{{Switch Mozilla Firefox
% {{'' Don't remove this space. Necessary for maximizing
x {{' Maximize window (to have the stop button always on the same location
{{' That way we can keep the search range of {{FindPattern small
^l {{' Open Adress
www.kratronic.com
{ENTER}
{{Label WaitAgain
{{Delay 300} {{' Millisekunden
{{Mouse 1, 1, 135, 61, 1
{{If {{FindPattern 1, -1, -1, 200, 200, 0} = {{True};;{{Goto WaitAgain

Das Pattern muss man vom grauen Knopf machen (nicht vom roten) Es soll ja wenn es nicht grau ist nochmals Waiten...

John Krauer




 

 

 

 

245   Find patten

 

Author

Message

Cross



Joined: 23 Sep 2007
Posts: 1

Posted: Sun Sep 23, 2007 2:34 am    Post subject: Find patten

 

Hi,

I was looking for a way to wait for a pixel or pattern change but at the same time continue with the marco.
If the pixel does change the marco will start over in a different location in the marco, and continue at that point.

Is this possible?
Thanks

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Sep 25, 2007 5:14 pm    Post subject:

 

FindPattern or WaitForScreenChange wait until the condition is reached or until the timeout runs out. What you could do is running a second instance of the Recorder. You can synchronize them by using global variables.

John Krauer, Kra-Tronic Corp.




 

 

 

 

246   noch ein wunsch für die neue version.

 

Author

Message

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Thu Dec 07, 2006 10:01 am    Post subject: noch ein wunsch für die neue version.

 

wenn schnelltasten für ein macro fetgelegt sind, währ es cool, wenn die selbe schnelltasten kombi dieses macro auch wieder im laufenden betrieb abschaltet.

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Dec 07, 2006 6:36 pm    Post subject:

 

Für das Stoppen eines Makros gibt es bereits einen Hotkey. Das Help sagt:

Makro stoppen:
Manchmal ist es nötig, ein Makro möglichst rasch zu stoppen. Der Recorder enthält dafür verschiedene Möglichkeiten:
- Stopp-Zeichen (das Quadrat oben rechts)
- Menu: Makro | Stoppen
-> Schnelltaste (Hotkey): ALT Break/Pause (Notebook Fn ALT Break/Pause)
- Befehl {{Stop im Makro

John Krauer, Kra-Tronic Corp.

 

 

 

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Sat Dec 09, 2006 10:56 am    Post subject:

 

japp, ich weis...
ich benutz das prog aber meist beim spielen...
da bau ich meist macros die über den labelbefehl imme weiter laufen. es währe praktisch, wenn ich dann das macro mit der selben taste beenden kann, mit der ich es starte. das ist auch schon alles.

 

 

pulibo



Joined: 04 Oct 2006
Posts: 5

Posted: Thu Dec 21, 2006 8:59 pm    Post subject:

 

wenn es wirklich ne neue version geben soll, könnt ihr ja auch endlich mal die "wait for mozilla" - funktion einbauen. da würden sich bestimmt einige user drüber freuen, denn ich denke, dass der mozilla von einem grossteil der internet-comunity genutzt wird...

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Dec 26, 2006 10:24 am    Post subject:

 

Ich hab den Wunsch mal in die:
Recorder Enhancement List

aufgenommen..

John Krauer, Kra-Tronic Corp.




 

 

 

 

247   Getting code from Text file

 

Author

Message

chronohart



Joined: 14 Dec 2006
Posts: 2

Posted: Thu Dec 14, 2006 6:56 am    Post subject: Getting code from Text file

 

Does anyone know if there is a way to run code that is stored in a text file?

Thanks!

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Dec 14, 2006 7:26 pm    Post subject:

 

Why do you want to run code from a text file ?

Well, you could open the text file in Notepad, add the necessary start quotation mark and the last line like:
","","My Macro","100","0","00","00",#TRUE#,0,"10"

Then you store the file as .krc file and run it with {{LoadMacro...

John Krauer, Kra-Tronic Corp.

 

 

 

chronohart



Joined: 14 Dec 2006
Posts: 2

Posted: Thu Dec 14, 2006 8:24 pm    Post subject:

 

I just like doing things the hard way, really.

Thanks! I was going to try doing that, but I don't know what all that extra stuff at the bottom is. Do you know what each of those entries are, or is it even important at all?

Thanks again!

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Dec 17, 2006 10:25 pm    Post subject:

 

These are the Macro settings like general line delay... Simply set a macro to your needs and then use the last line for your purpose.

John Krauer, Kra-Tronic Corp.




 

 

 

 

248   Zeilenimport aus einer txt. Datei

 

Author

Message

sunasteroid



Joined: 07 Dec 2006
Posts: 3

Posted: Thu Dec 07, 2006 3:42 pm    Post subject: Zeilenimport aus einer txt. Datei

 

Ist es möglich beim Import aus einer Datei eine bestimmte Zeile zu wählen?
[Is it possible to select a specific line , e.g. line 5?]

Ich teste das Programm gerade und muss z.B. für Zeile 5 folgendes eingeben:

{{Label Start
{{ImportNextLine
{{ImportNextLine
{{ImportNextLine
{{ImportNextLine
{{DoImport}
{{Label Ende

Danke für eure Hilfe.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Dec 07, 2006 6:39 pm    Post subject:

 

Ja das ist richtig so. Es gibt keinen "Beschleuniger" für das. Bei 5 Zeilen ist das ja auch kein Problem.
Bei 500 Zeilen dauert es schon lange (Man kann dann für dieses Suchen eine {{If {{Goto Struktur bauen, und die Zeilenverzögerung für diesen Teil auf 0 stellen) aber auch dann dauerts...
Idee: Datei mit Word öffnen und dann Goto Zeile verwenden.

John Krauer, Kra-Tronic Corp.

 

 

 

sunasteroid



Joined: 07 Dec 2006
Posts: 3

Posted: Thu Dec 07, 2006 7:55 pm    Post subject:

 

Danke für die schnelle Hilfe,
das mit word sollte ja kein Problem sein. Wie lautet dafür jedoch der Befehl?

Danke

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Dec 10, 2006 8:02 pm    Post subject:

 

Siehe Beispiel in:
http://www.kratronic.com/tools-de/recorder/manual/index.html#_Toc120174937

Beispiel für das Wiederholen eines Makros oder eines Teiles des Makros

John Krauer, Kra-Tronic Corp.

 

 

 

sunasteroid



Joined: 07 Dec 2006
Posts: 3

Posted: Mon Dec 11, 2006 12:06 am    Post subject:

 

Ok danke, ich werde es dann aber doch so lassen wie es jetzt ist. Da es "nur" in etwa 120 Einträge sind ist die Wartezeit noch verkraftbar!




 

 

 

 

249   Anderes Macro nach der letzten Schleife ausführen.

 

Author

Message

Blubb



Joined: 04 Dec 2006
Posts: 2

Posted: Mon Dec 04, 2006 1:37 pm    Post subject: Anderes Macro nach der letzten Schleife ausführen.

 

Hi leutz,

ich würde gerne ein anderes Macro ausführen, wenn die letzte schleife durchlaufen wurde. Leider weiss ich nicht genau wie ich das anstellen soll... Von der Beschreibung her brauche ich dafür den Befehl {{n}.
Ich habs schon in mehreren Varianten probiert:

{{n} LoadMacro C:\Dokumente und Einstellungen\Markus\Eigene Dateien\Recorder\Macroname.krc

oder

{{n}
{{LoadMacro C:\Dokumente und Einstellungen\Markus\Eigene Dateien\Recorder\Macroname.krc


Doch nix hat bisher gefunzt.

 

 

 

Blubb



Joined: 04 Dec 2006
Posts: 2

Posted: Mon Dec 04, 2006 2:38 pm    Post subject:

 

Hat sich erledigt, hab nun die richtige Syntax.




 

 

 

 

250   Macromedia keine Reaktion

 

Author

Message

skills



Joined: 20 Nov 2006
Posts: 5

Posted: Mon Nov 20, 2006 2:22 pm    Post subject: Macromedia keine Reaktion

 

bei mir läuft es sehr gut nur ein problem gibt es zur zeit
bis dahin großen respekt an die progger

ich spiele ein spiel was auf macromedia flash player basiert es funktioniert alles außer die steuerung von meiner figur
die klicks zum game schafft er auch selbst im game schafft er zu klicken außer der befehl up und left geht nicht könnt ihr mir weiter helfen

mfg

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Nov 21, 2006 6:50 pm    Post subject:

 

Selbst Flash ist nicht ganz kompatible zu Microsoft.... Der Maus und Tastatur Recorder verwendet den Microsoft Befehl SendKeys zum Absetzen von TastaturKlicks... Flash akzeptiert leider einige davon nicht.

John Krauer, Kra-Tronic Corp.

 

 

 

skills



Joined: 20 Nov 2006
Posts: 5

Posted: Wed Nov 22, 2006 12:01 am    Post subject:

 

hi versteh das nicht richtig mit dem SendKeys kannst du mir vieleicht das genauer erklähren ich brauche eigentlich nur die pfeiltaste nach oben und nach links

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Nov 23, 2006 7:06 pm    Post subject:

 

Ganz einfach, das Spiel (Flash) ist nicht kompatibel zu Windows, heisst bestimmte normale Windows Befehle akzeptiert Flash nicht.

John Krauer, Kra-Tronic Corp.

 

 

 

skills



Joined: 20 Nov 2006
Posts: 5

Posted: Sun Nov 26, 2006 10:32 pm    Post subject:

 

gibt es nicht ne andere möglich kein um das hinzubekommen

 

 

 

skills



Joined: 20 Nov 2006
Posts: 5

Posted: Sat Dec 02, 2006 4:34 am    Post subject:

 

und ??????????????????????
ist mir wichtig

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Dec 02, 2006 10:03 pm    Post subject:

 

Nun eben ein anderes Produkt, einen anderen KeyRecorder suchen der das kann...

 

 

 

skills



Joined: 20 Nov 2006
Posts: 5

Posted: Sun Dec 03, 2006 5:19 am    Post subject:

 

entschuldige bitte für die dumme frage aber kannst du mir sagen welches programm damit kompatibel ist




 

 

 

 

how wait for input key

 

Author

Message

luis colina
Guest




Posted: Sun Aug 14, 2005 8:57 pm    Post subject: how wait for input key

 

Jun 12, 05 - 6:31 PM

like I could make in order to wait for that for input a key and carry out an operation according to the key pressed

 

 

 

 

John Krauer
Guest




Posted: Sun Aug 14, 2005 8:57 pm    Post subject: Re: how wait for input key

 

Jun 14, 05 - 10:37 PM

You can use the command {{Ask:
{{Ask1 Please enter key
{{If {{WriteAsk1} = x ;{{Goto X-Entered;
...
{{Label X-Entered

John Krauer, Kra-Tronic Corp.

 

 

 

 

Lisander
Guest




Posted: Sun Aug 14, 2005 8:58 pm    Post subject: Re: how wait for input key

 

Jun 15, 05 - 12:47 AM

thanks, but I used that metod, I want to know if exist a metod or command for input one letter or number with out use the enter key later and no show any dialog window

(am sorry, my english is no so good.)

Sample:

{{WaitKey1 ----> Wait for press any key and continue
{{If {{WriteKey1} = x ;{{Goto X-Entered;
...
{{Label X-Entered<p>--- --- --- --- --- --- --- --- ---</p><p><strong>Replying to:</strong></p><p>You can use the command {{Ask:
{{Ask1 Please enter key
{{If {{WriteAsk1} = x ;{{Goto X-Entered;
...
{{Label X-Entered

John Krauer, Kra-Tronic Corp.

 

 

 

 

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Fri Oct 27, 2006 12:57 pm    Post subject:

 

kannst du das bitte nochmal auf deutsch erklären? ich denk zwar ich habs verstanden, aber es läuft nicht...

{{WaitKey1 nimmt er bei mir nicht. steht auch nirgens als befehl aufgelistet, oder?

mein problem sieht wie folgt aus:
ich will ein macro baun, das an einer stelle stoppt und erst weiter läuft wenn ich eine bestimmte taste drücke...
die hotkeyfunktion oder das mit der verknüpfung ist für mich keine lösung, da ich nicht das fenster wechseln will, sprich ich will das macro starten, dann per hand in mein gewünschtes fenster wechseln, wo er dann wartet, dass ich eine bestimmte taste drücke, worauf er dann das macro fortsetzt. (das ganze soll eine schleife sein. das machro macht was und wartet dann wieder auf diese taste usw... die schleife is ja easy, nur halt das mit der tasteneingabe bekomm ich nich gebacken.)

thx schonmal.

nachtrag: http://kratronic.com/forum/viewtopic.php?t=17
hier schreibst du, dass das originalfenster geöffnet bleibt, wenn man nit hotkeys arbeitet und dabei den recorder minimiert.
das fenster bleibt zwar offen, aber er wechselt trozdem auf den mausrecorder... kann ich das irgendwie umgehen? vieleicht kann man den recorder irgendwie im hintergrund laufen lassen, wie programme die nur im tray-bereich sind. wenn ja, das würde mir schon helfen...

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Oct 29, 2006 2:39 pm    Post subject:

 

Ja dann ist es noch einfacher...

{{Ask1 Please enter key |1

Dieser Befehl stoppt das Makro und wartet bis Enter gedrückt wird.

Also:
Makro laufen lassen bis zum {{Ask1
dann die manuelle Aktion durchführen
Dann aufs Recoderfenster zurück gehen
Enter drücken...

John Krauer, Kra-Tronic Corp.

 

 

 

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Mon Oct 30, 2006 8:22 am    Post subject:

 

nich ganz. bei ask öffner er ja wieder ein fenster zu dem ich wecheln muss. das wichtigste ist aber, das ich zu keiner zeit das fenster wechsle.
ich will immer in dem fenster bleiben, da es ein 3-d-spiel ist und er immer ewig laden muss.
bei andern macroprogrammen läuft das über einen simplen warte-auf-tastendruck-befehl, sprich das macro stoppt (ohne irgend ein fragefenster, ohne programmwechsel) und sobalt man die vorgegebene taste(nkombination) drückt, geht es weiter.

das ist erlich gesagt die einzige funktion, wie mir in eurem programm fehlt. wenn das noch irgendwie geht, kauf ich es!

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Oct 31, 2006 8:09 pm    Post subject:

 

Hmmmm, diese Funktion gibt es noch nicht... (Gute Idee für eine nächste Version)
Aber man könnte den Befehl {{GetCursorPos verwenden... Wenn der Cursor z.B. in der linken untern Ecke ist geht es weiter...

John Krauer, Kra-Tronic Corp.

 

 

 

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Wed Nov 01, 2006 10:08 am    Post subject:

 

das währ ne möglichkeit, wenn auch ein wenig umständlich.
um nochmal auf die gute idee für die nächste version zurück zu kommen:
eben genau dieser befehl, dass das macro auf eine vorgegebene keybordeingabe wartet, ist genau das, was mir noch fehlt. absolut genial währe es, wenn das macro mit dem selben befehl eine entscheidung verbinden könnte, sprich man mehrere möglcie eingaben zum fortsetzen hat (sagen wir, man ver küpft mit einem "or" und hat dann die möglichkeit strg+1 oder strg+2 zu unterscheiden um mit einer if-then-bedinung dann zu jeweils anderen labels zu springen).
ich weis allerdings nicht ob das leistungseinbussen mit sich bringt, weil man ja im hintergrund jede tastatureingabe überprüfen müsste, oder ob das besser zu regeln ist oder vieleicht garnicht merkbar ist... hab halt nix mit programmieren am hut.

also, warten auf tastatureingabe währ für mich nen grund das prog zu kaufen. diese ergenzung die ich dazu genannt hab währ in meinen augen genial und als drittes währ es noch total super, was ein zu bauen um macros ein zu laden und ab zu spielen und den recorder dabei im hintergrund zu lassen, sprich es keinen wechsel von fenstern gibt wenn man mit master-macros oder hotkeys arbeitet.

edit: und es währ sehr schön, wenn man mustererkennung machen könnte, ohne das die maus springt. zur not kann sie ja springen, aber danach dann auch wieder an die ursprüngliche stelle... ganz ohne währ aber himmlisch ^^

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Nov 02, 2006 7:42 pm    Post subject:

 

Hmmm viele Ideen
In der Erweiterungsliste steht nun:

Neuer Befehl WaitForKey x Das Makro wartet bis man x drückt.
Das was man dann drückt ist auswertbar (z.B. in einer speziellen Variable gepeichert)
Eine Leistungseinbusse bringt dieser neue Befehl nicht, weil ja auf Events gewartet wird (kein Polling)

Wenn man den Befehl {{Minimize verwendet und dan Hotkey auslöst, wenn der Recorder minimiert ist, dann erscheint der Recorder auch bei einen LoadMacro nicht.

1.krc:
{{Minimize
{{LoadMacro {{MacroPath}2.krc


2.krc:
{{Beep


Bei der Mustererkennung kann man ja erst die Cursor Position lesen und nach der Mustererkennung wieder an die alte Stelle springen...

John Krauer, Kra-Tronic Corp.

 

 

 

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Mon Nov 13, 2006 10:48 am    Post subject:

 

könnte man das vieleicht zusätzlich noch so machen, das es in den optionen nen häckchen gubt, das der recorder minimiert bleibt, wenn er minimiert wurde, so das man nich immer extra nen mastermacro mit {{Minimize machen muss?

oder hab ich den befehl falsch verstanden?

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Mon Nov 13, 2006 10:12 pm    Post subject:

 

Na ja....
Uebrigens, {{NoFocus} ist auch ein intressanter Befehl bezüglich Fokus...

 

 

 

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Sat Dec 02, 2006 9:19 am    Post subject:

 

hab den befehl eben erst getestet...
du hast recht. zusammen mit shortcuts macht sich das super!




 

 

 

 

251   Duplicate desktop

 

Author

Message

Thireus



Joined: 29 Nov 2006
Posts: 1

Posted: Wed Nov 29, 2006 10:05 am    Post subject: Duplicate desktop

 

http://www.dareyourmind.net/
http://forum.dareyourmind.net/
http://dareyourmind.net/

Dare Your Mind | Hacker-Challenge | DareYourMind
_________________
http://www.dareyourmind.net/
http://forum.dareyourmind.net/
http://dareyourmind.net/

Dare Your Mind | Hacker-Challenge | DareYourMind




 

 

 

 

252   Why do I have to register to enter a forum contribution ?

 

Author

Message

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Nov 28, 2006 8:31 pm    Post subject: Why do I have to register to enter a forum contribution ?

 

Answer:
Open forums are flooded with spam. Instead of Recorder topics you would find all kind of Viagra, porn and financial spam.
The obligation to register keeps the spam roboters out.

I know registering is a pain in the neck, but spam would be a much larger pain....

John Krauer, Kra-Tronic Corp.




 

 

 

 

253   Any way to call/play a .WAV or other sound file?

 

Author

Message

Case



Joined: 16 Oct 2006
Posts: 9

Posted: Thu Nov 23, 2006 3:51 pm    Post subject: Any way to call/play a .WAV or other sound file?

 

Hi, John

The crossword answer key crack is working great. I've tweaked it to the point it'll test the whole 6,561 numbers in less than 50 minutes.

But the {{BEEP} command isn't loud enough to hear from a distance when the macro ends.

What I need to know is if there's any way to call and play a .WAV, MIDI or other sound file.

Can't find anything that addresses that in the manual.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Nov 23, 2006 7:41 pm    Post subject:

 

Well, you simply start the media player with your song:
{{Start åC:\Programme\Windows Media Player\wmplayer.exeå åD:\MP3_Good\Power-Songs\Celine Dion - The Power Of Love.mp3å

You might need to change the path.. e.g. to Program Files\

John Krauer, Kra-Tronic Corp.

 

 

 

Case



Joined: 16 Oct 2006
Posts: 9

Posted: Thu Nov 23, 2006 8:27 pm    Post subject:

 

Yep, works great.

Thanks, John.




 

 

 

 

254   Remote Desktop

 

Author

Message

jaylbrk



Joined: 17 Nov 2006
Posts: 2

Posted: Fri Nov 17, 2006 4:28 pm    Post subject: Remote Desktop

 

I'm using a Remote Desktop and have searched your forms found one other guy who was trying to do more complex things then i am.
I'm trying to get key strokes set to a remote desktop but what happens is the setup window i am using is just exiting out and i opened a note pad on the remote desktop and no words where typed into the text file. my entire help desk will be grate full.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Nov 18, 2006 8:31 am    Post subject:

 

On a remote desktop window just mouseclicks work, unfortunately key strokes do not..
The Mouse and Key Recorder uses the wellknown Microsoft "SendKeys" command. This command can also be found in all the Microsoft Macro languages (Excel, Word...) It looks like Microsoft is not compatible even in its own Remote Desktop area.

A nasty workaround would be to use {{SetClipboard and then using the mouse to past it in the remote desktop window...

John Krauer, Kra-Tronic Corp.

 

 

 

jaylbrk



Joined: 17 Nov 2006
Posts: 2

Posted: Wed Nov 22, 2006 1:00 am    Post subject:

 

it's ok i ended up useing auto hot key for this assingment www.autohotkey.com




 

 

 

 

255   warten auf Fenster im IE7

 

Author

Message

Hugo



Joined: 14 Sep 2007
Posts: 4

Posted: Tue Sep 18, 2007 12:04 pm    Post subject: warten auf Fenster im IE7

 

Hallo,

ich möchte abwarten bis das Fenster fuer die Eingabe einer URL im IE7 offen ist.
Das Programm bleibt in der fettgedruckten Zeile jedoch haengen.

WaitForFocus ist hier offensichtlich nicht der richtige Befehl???

{{Start C:\Programme\Internet Explorer\iexplore.exe {{' Internet Explorer oeffen
{{If {{WaitForIEReady 10000} = {{True};;{{ShowError} {{' warten bis Seite aufgebaut ist
{{Delay 1000} {{' Millisekunden
^o
{{Delay 1000} {{' Millisekunden
{{If {{WaitForFocus 27, 8, 1233, 619, 20, 3, 3, 3, 3} = {{True};;{{ShowError} {{' warten auf das Fenster fuer Eingabe URL

Mit freundlichen Grüßen

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Sep 18, 2007 5:43 pm    Post subject:

 

Nun, der IE ist immer etwas spezielles... Bei Windows Vista sind für den IE7 bestimmte Funktionen gesperrt (z.B. Aufzeichnen von Tastenklicks und Mausklicks)

Zudem hat das IE Fenster oft eine unterschiedliche Grösse, darum macht WaitForFocus nicht so viel Sinn.
Ich mache das jeweils so:

{{Start C:\Programme\Internet Explorer\iexplore.exe www.kratronic.com
{{Delay 1000} {{' Millisekunden
{{If {{WaitForIEReady 30} = {{True};;{{ShowError}

Wenn das erscheinen des IE mehr als 1 Sekunde benötigt den Delay etwas vergrössern.

John Krauer, Kra-Tronic Corp.




 

 

 

 

256   Zeitmessung

 

Author

Message

Dwalin



Joined: 18 Nov 2006
Posts: 1

Posted: Sat Nov 18, 2006 2:21 pm    Post subject: Zeitmessung

 

Hallo zusammen
ich hab mal eine frage, vielleicht könnt ihr mir weiterhelfen:

besteht generell die möglichkeit die zeit von einem bildschirmwechsel zu messen? sprich z.B. bei einer datenbankabfrage die zeit bis das ergebnis da ist.

würd mich freuen wenn mir jemand helfen kann.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Nov 19, 2006 8:17 pm    Post subject:

 

Ja, einfach {{SerialTime verwenden und die alte Zeit von der neuen abziehen... Das gibt dann die Sekunden zwischen den beiden {{SerialTime Befehlen.

John Krauer, Kra-Tronic Corp.




 

 

 

 

257   active x

 

Author

Message

hudowl



Joined: 12 Nov 2006
Posts: 1

Posted: Tue Nov 14, 2006 5:05 am    Post subject: active x

 

I need help using the scrips on an active x sub window, any ideas, I have a Windows xp and a registered copy of the recorder, thanks

hudson

hudowl@aol.com

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Nov 14, 2006 7:38 pm    Post subject:

 

What kind of window is it ? A window without title ?

You could use {{FindPattern to localize the window and activate it. After that you could use hotkeys (if existing) or mouse clicks..

John Krauer, Kra-Tronic Corp.




 

 

 

 

258   how to do Master Macro with branch and jump to?

 

Author

Message

garris2



Joined: 11 Aug 2006
Posts: 4
Location: Australia

Posted: Tue Oct 31, 2006 7:44 am    Post subject: how to do Master Macro with branch and jump to?

 

Hi, I want to make a Master macro and use the LoadMacro command to call some of my other macros in a long routine.
I have read the manual where it says no {{Goto is possible in the macro containing the {{Master command.
How can I skip certain code depending on conditional branching.
eg.
{{Master}
{{Loadmacro C:\....
{{If condition 1 then Loadmacro2 else condition2 do code below1,2,3
On return from macro2 skip code below and do macro3

code below1
code below2
code below3

Loadmacro3
end.

I hope you can follow my scenario and suggest a possible method I may be able to use.
Thankyou
Geoff

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Oct 31, 2006 8:25 pm    Post subject:

 

Well, if I understand right the solution could look like this:

{{Master}
{{Loadmacro C:\....1

{{If {{VarCondition} = 1 ;{{Loadmacro C:\....2;
{{If {{VarCondition} = 2 ;code below1;
{{If {{VarCondition} = 2 ;code below2;
{{If {{VarCondition} = 2 ;code below3;

{{Loadmacro C:\....3

John Krauer, Kra-Tronic Corp.

 

 

 

garris2



Joined: 11 Aug 2006
Posts: 4
Location: Australia

Posted: Wed Nov 01, 2006 12:26 am    Post subject:

 

Thanks John, it seems not the most elegant way of programming but I think it will work. I shall try it.

 

 

 

garris2



Joined: 11 Aug 2006
Posts: 4
Location: Australia

Posted: Thu Nov 02, 2006 11:52 am    Post subject:

 

Hi John, I have used your method described above and my macro is working well, however I had trouble writing the code as I wanted to do some nested if statements and using the method above was quite difficult working out the logic.
Could there be a chance to implement some kind of {{MGoto in the next version of MKR that would allow the use of a {{Goto in a Master Macro?
This could be something like {{MLoop} that you have created for the use in {{Master macros. Or something else that would work as {{Goto function.

cheers
Geoff

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Nov 02, 2006 7:59 pm    Post subject:

 

Well, I would like to implement some kind of goto to the Master function... but...
The Master function was imposed later in in the development live of the recorder. It was not planned in the basic architecture.
Basically it works like lots of single lines.. Every line of a Master Macro is saved in an array to keep the normal marco engine free for the loaded macros. Therefore all the commands jumping around in the macro can not be applied in this solution.

One way to solve this lack is to branch out the decisions into the loaded macros. Chaining Macros with LoadMacro without using Master...

John Krauer, Kra-Tronic Corp.




 

 

 

 

259   Schleife mit verschiedenen dateinamen

 

Author

Message

dukebla



Joined: 01 Nov 2006
Posts: 1

Posted: Wed Nov 01, 2006 6:03 pm    Post subject: Schleife mit verschiedenen dateinamen

 

Hallo,

ich möchte gerne ein makro schreiben das hintereinander eine datei abspeichert z.B. 000001.txt - 999999.txt
geht das denn.
habe es mit random versucht, aber es kommt ja auch mal die gleiche zahl zum vorschein. aber dann kommt ein fehler

danke schon mal im voraus

mfg

@Duke

 

 

 

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Thu Nov 02, 2006 10:53 am    Post subject:

 

bau einfach eine variable ein und addier bei jedem durchlauf eine 1 dazu. ich bin grad net daheim, drum musst du dir den code selber raussuchen. steht abba ganz gut im handbuch.

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Nov 02, 2006 7:44 pm    Post subject:

 

Oder verwende {{DateTime... Das gibt jede Sekunde einen neuen Filenamen...

John Krauer, Kra-Tronic Corp.




 

 

 

 

260   Help.

 

Author

Message

Figaro409



Joined: 30 Oct 2006
Posts: 1

Posted: Mon Oct 30, 2006 7:16 am    Post subject: Help.

 

I am trying to record a macro that involves hitting the Q key, but it wont pick up when I press record. I can only get it to pickup on keys like F1 and such.

Can you please tell me the Code to tell it to just press the Q key?

Thank you.

 

 

 

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Mon Oct 30, 2006 8:26 am    Post subject:

 

just write a Q

e.g.:
{{Label test
q
{{Goto test

this one is a simple loop for pressing the Q-button again and again.
you can also write:

{{Label test
qq q qqq
{{Goto test

it hits two times q, space, q, space an three times q before starting again.

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Oct 31, 2006 8:11 pm    Post subject:

 

Make sure you switch first to the application you want to write to... by e.g. {{Switch Microsoft Word
Otherwise the Recorder will write to itself... with no effect.

John Krauer, Kra-Tronic Corp.




 

 

 

 

261   Using MKR for control download speed

 

Author

Message

elkata



Joined: 04 Oct 2006
Posts: 4

Posted: Wed Oct 04, 2006 1:19 am    Post subject: Using MKR for control download speed

 

I'm trying to use this program for controling a download program (Bitcomet) in a computer

I only need help with a thing


I want to do an action (I know how), but i'd like to do this when other computer starts
They are in the same net, so i think it could be possible doing pings each 1 minute....but I can't understand how to know when the ping is correct...

I like to know when this PC starts for stop my internet downloads


Now I only can do this without knowing when the other pc starts


Coult it be posible to do a script for using in other pc without this program install?? Because in this way I could use this in my job too


Thanks for all and sorry for my english
This is one of the most usefull programs I have.... the first one is windows, the second the bitcomet, and then this

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Oct 05, 2006 6:22 pm    Post subject:

 

Well, you can do this in different ways...
You use the DOS command {{DOS ping
www.google.com > c:\ping.txt Then you open the ping.txt file by notepad:
{{Start Notepad c:\ping.txt

Then you search for the text timeout in notepad (Edit / Find). If you do not find it a window appears and you check in the Recorder for that window...
If the window is there your other PC is active...

Or you buy an Ping client and you use {{FindPattern to recognize the result.

{{DOS ping
www.google.com > c:\ping.txt
{{Label again
{{Delay 300} {{' Milliseconds
{{If {{CheckWindow command.com} = {{True} ;{{Goto again;
{{Start Notepad c:\ping.txt


It is not possibe to use the Mouse and Key Recorder macros without an installed Recorder.
We plan to adapt the Mouse and Key Recorder to U3 Memory sticks. That means you can then run the Recorder from a Memory stick without installing.


John Krauer, Kra-Tronic Corp.

 

 

 

elkata



Joined: 04 Oct 2006
Posts: 4

Posted: Mon Oct 09, 2006 1:12 am    Post subject:

 

It works

But there are a little problem


I'd like to run the program in background....and in this way the cmd window is allways active and I can't do other thing


How could I do this???


Thanks for all

 

 

 

elkata



Joined: 04 Oct 2006
Posts: 4

Posted: Mon Oct 09, 2006 7:04 pm    Post subject:

 

Oh shit


I thought it works, but it's not correct

I have changed this, because I can't install the program in the other PC, so instead the ping to google y can do the ping to the other pc for knowing when it's on

{{DOS ping 192.168.3.253 > c:\ping.txt
{{Label again
{{Delay 300} {{' Milliseconds
{{If {{CheckWindow command.com} = {{True} ;{{Goto again;
{{Beep}

In this way, the Beep is the instruction y want to do (Really it's not a beep, but for the example it's OK)

The computer do the loop a few times, but any time it's diferent

I don't understand the when the IF change...............


How could I solve it???

Are there any debugger for this program???


Thanks again


The problem with the active still continue

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Oct 10, 2006 5:35 pm    Post subject:

 

Well, because of the DOS redirection ( > c:\ping.txt ) you do not see anythin in the DOS Window.
For more DOS information see:
http://www.uv.tietgen.dk/staff/mlha/PC/Soft/DOS/
The IF goes on as soon as the Command window closes.

John Krauer, Kra-Tronic Corp.

 

 

 

gottill



Joined: 27 Oct 2006
Posts: 12

Posted: Mon Oct 30, 2006 2:49 pm    Post subject:

 

what about a message from the other pc?
e.g. you put al link to the autostart sendin al message via windowsmessenger. then you macro has to check if there is this textbox...
thx problem is, how did you know when the other pc is shuting down again.

an other way could be to work with an instandmessanger like icq or msn.
if the second pc is using icq when surfing, you can check the onlinestatus.
i don't know how, but you can find this in the sourcecode of nearly every forum. most forum i use, provide an online-status-check for icq.
or you can just take a peek to icq manual.

p.s.: are u german?

 

 

elkata



Joined: 04 Oct 2006
Posts: 4

Posted: Mon Oct 30, 2006 7:06 pm    Post subject:

 

I'm Spanish

I have done something like this in Visual Basic, but I have a little problem with it.

This program is perfect if you don't know how to do it yourself, but if you can do it....is better do as you want




 

 

 

 

262   fullscreen

 

Author

Message

futzinator



Joined: 23 Oct 2006
Posts: 2

Posted: Mon Oct 23, 2006 4:58 pm    Post subject: fullscreen

 

hi!

how is the code for fullscreen

ALT+SPACE+x

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Oct 24, 2006 6:03 pm    Post subject:

 

Yes it is ALT+SPACE+x (in e.g. German operating system). x is language dependent..

John Krauer, Kra-Tronic Corp.

 

 

 

futzinator



Joined: 23 Oct 2006
Posts: 2

Posted: Wed Oct 25, 2006 8:17 am    Post subject:

 

hi!

i have tested this:
{{Start C:\Programme\VideoLAN\VLC\vlc.exe --intf wx
ALT+SPACE+x

it doesent work

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Oct 26, 2006 7:55 pm    Post subject:

 

Well I assume you have not used the Recorder syantax....

SHIFT +

CTRL (CONTROL) ^

ALT %

= => % x

John Krauer, Kra-Tronic Corp.




 

 

 

 

Conditional statement needed to stop a macro

 

Author

Message

Case



Joined: 16 Oct 2006
Posts: 9

Posted: Tue Oct 17, 2006 4:03 am    Post subject: Conditional statement needed to stop a macro

 

John...

The purpose of this macro is to crack the scrambled answer for a daily crossword puzzle (Nothing illegal or unethical here -- it's just a puzzle.).

The Unlock key, which is published late the following day, is always a four-digit number never containing zeroes.

I have a list of all 6,561 possible permutations of the number.

The macro is really quite simple and nothing more than what's basically a dictionary attack on the crossword program that displays each puzzle.

Dependent upon how far along in the list of numbers the correct four-digit code is, it can take mere seconds or up to an hour to unscramble the answers.

And therein lies my problem: Currently, I have to be nearby monitoring the progress to manually stop the macro once it's unlocked the answers. Very inconvenient.

Otherwise, the macro will continue running to the end -- just placing numbers in the puzzle itself, since the Unlock button becomes dysfunctional after the correct numbers are entered.

I need some kind of conditional statement that will automatically stop the macro after the correct number is entered.

This is how the macro is written:

{{RelativeMouse Across Lite - C:\Crosswords_NYTimes\Todays_Puzzle\Todays_Puzzle, 1, 1, 505, 62, 0
1111
{ENTER}
{ENTER}
{{RelativeMouse Across Lite - C:\Crosswords_NYTimes\Todays_Puzzle\Todays_Puzzle, 1, 1, 505, 62, 0
1112
{ENTER}
{ENTER}
{{RelativeMouse Across Lite - C:\Crosswords_NYTimes\Todays_Puzzle\Todays_Puzzle, 1, 1, 505, 62, 0
1113
{ENTER}
{ENTER}
{{RelativeMouse Across Lite - C:\Crosswords_NYTimes\Todays_Puzzle\Todays_Puzzle, 1, 1, 505, 62, 0
1114
{ENTER}
{ENTER}

And so on...all the way to 9999.

I've screen-captured images of the dialog/messages and provided descriptions of each step in the process so you'll understand exactly what's going on and hopefully can recognize something that could trigger a conditional and stop the macro after the correct number is entered and the puzzle answer is unscrambled.



{{RelativeMouse Across Lite - C:\Crosswords_NYTimes\Todays_Puzzle\Todays_Puzzle, 1, 1, 505, 62, 0

Places the mouse pointer on and clicks the Unlock button, starting the cycle.



1111
{ENTER}


Writes a number in the dialog box and executes it.



{ENTER}

Dismisses the error message that the wrong number was entered and the entire cycle starts over.



{ENTER} (Same as previous)

Dismisses the success message when the correct number is entered. But the macro, of course, continues to run until I manually stop it.

At this point, unless I manually stop the macro, the cursor will continue clicking on the now dysfunctional, grayed-out Unlock button and the macro will continue entering numbers, only now in the puzzle grid.



The correct number having been entered, the Unlock button is now disabled and the Check and Reveal buttons are enabled.

That's the process, and I've tried a number of things with the {{IF command but, frankly, I'm not a programmer and most of this code and its syntax is very confusing to me.

I think the logical point to place the conditional code would be between or immediately after the two {ENTER} commands.

For example, I tried this:

{ENTER}
{{if {{CheckWindow Across Lite Information} = {{True} ;{{STOP
{ENTER}

And got this:



I copied it directly from the manual and only added ;{{STOP.

So far, I've come up with nothing that works -- or even hints of working.

I hope you can.

Thanks.

~ Henry

BTW: If you need the Across Lite host program that displays the puzzles, I can give you a direct link to the download. It's only 1.25 MB.

I can also give you links to a couple of locked puzzles, which are so small they download instantly.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Oct 17, 2006 8:54 pm    Post subject:

 

Hello

It's quite easy... you can use the command {{FindPattern. After every number you check the unlock button if it is still black. If its not any longer black {{FindPattern will not any longer find the pattern and then you can stop the macro.

You can find more about {{FindPattern at:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174737

John Krauer, Kra-Tronic Corp.

 

 

 

Case



Joined: 16 Oct 2006
Posts: 9

Posted: Wed Oct 18, 2006 12:29 am    Post subject:

 

stargate wrote:

It's quite easy... you can use the command {{FindPattern. After every number you check the unlock button if it is still black. If its not any longer black {{FindPattern will not any longer find the pattern and then you can stop the macro.


Easy for you, not for me.

I assume we're talking about the same kind of coordinates that place the curser each time the Unlock button is clicked.

I think I can deal with the coordinate thing, but I have no idea how to write the line to "check the unlock button if it is still black" and how to include the exact syntax to stop the program if it's not.

There's nothing in that reference about color.

Can you write me a sample line of code with the exact syntax that I'd put between my {ENTER} commands?

I have no idea how to go about that.

I told you I'm totally clueless about this code syntax.

If it helps any, I can tell you that Unlock button location never varies.

I'm also concerned about the length of the necessary code, which will have to be inserted between 6,561 possible numbers.

Just a single line alone would add another 6,561 lines to the macro, which already is humongously long.

There must be some length limit to a macro.

I went through the steps in that section of the manual and tried this in a snippet of the macro between all the {ENTER} commands:

{{Mouse 1, 1, 512, 57, 1
{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{True};;{{STOP}
{{IncVarFindPatternCoord_X_1} -2
{{IncVarFindPatternCoord_Y_1} 3
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0

The macro unlocked the puzzle where I'd placed the known key -- and kept right on running.

If you're going to help me, you're going to have to be a lot more specific.

I have no idea what to do with that code as it pertains to my specific macro.

 

 

 

Case



Joined: 16 Oct 2006
Posts: 9

Posted: Wed Oct 18, 2006 10:17 am    Post subject:

 

Well, after hours of trial and error juggling things around I finally came up with something that seems to work:

"{{' Created at: Oct.18.2006, 03:52 (MKR Version: 5.7 )

{{Mouse 1, 1, 515, 60, 1
{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{True};;{{STOP}
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
1111
{ENTER}
{ENTER}
{{Mouse 1, 1, 515, 60, 1
{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{True};;{{STOP}
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
1112
{ENTER}
{ENTER}
{{Mouse 1, 1, 515, 60, 1
{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{True};;{{STOP}
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
1113
{ENTER}
{ENTER}

And so on...

At least it stops when it hits the right answer key number.

But when running the entire macro, which is 39,366 lines long, the program just locks up when I click the Stop button on the "Stop" window that pops up partially under the program screen.

I've still got an hourglass and there's a line at the bottom right of the program screen that says "Macro running."

Maybe the extreme length of the complete macro is causing this.

If I run an abbreviated version of the macro with the known answer key edited in, I don't get the program lockup.

I tried adding {{Switch #MKRX5# after {{STOP} and it had no effect at all on the lockup problem.

At least it seems to be working, but it sure as hell doesn't exit gracefully.

The saved macro is named CrackAnswer.krc. What are the obviously associated files CrackAnswer.var and CrackAnswer_FP_1.fpd for?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Oct 19, 2006 7:59 pm    Post subject:

 

Good, you have found how {{FindPattern works...
The file .var saves the variables, the file .fpd means FindPatternData...

I would recommend using the soubroutine functionality for your macro. Then you need just about 20 lines for your full macro.

See:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174793
(gosub example)

John Krauer, Kra-Tronic Corp.

 

 

 

Case



Joined: 16 Oct 2006
Posts: 9

Posted: Fri Oct 20, 2006 1:26 am    Post subject:

 

stargate wrote:

I would recommend using the soubroutine functionality for your macro. Then you need just about 20 lines for your full macro.

See:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174793
(gosub example)


That example might as well be written in Greek, which -- as I've tried to impress on you -- I don't understand any better than I understand how to write computer code.

If I knew how to write computer code I wouldn't be here wasting my time and yours asking questions.

I have no idea how to adapt that example to this macro.

The macro is working fine now in getting the puzzle key, albeit very slowly, which I can live with if I have to.

The only problem with the macro now is that I almost have to turn off the damned computer to shut it down -- even after it stops, asks me if I want to continue or stop and I click stop.

As of now, the only way to end the program results in these messages:





Just tell me what's causing this and if there's any way to close the macro program short of killing it off with the task manager -- which doesn't always work -- or rebooting the whole computer.

Either I've got something written wrong in the macro or there's some problem with your program.

And my playing guessing games with your cryptic answers is getting nowhere.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Oct 20, 2006 7:37 pm    Post subject:

 

Well...
Here an example for the whole macro:

{{SetVarCount 1110
{{Label Start
{{IncVarCount 1
{{Mouse 1, 1, 515, 60, 1
{{If {{FindPattern 1, -1, -1, 600, 200, 0} = {{True};;{{STOP}
{{VarCount}
{ENTER}
{ENTER}
{{Goto Start

This macro runs until the color of the button changes.

To make it faster you could use a smaller pattern and search range for {{FindPatern

To stop a macro you can use the stop hotkey (Emergency stop):
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174694

 

 

 

Case



Joined: 16 Oct 2006
Posts: 9

Posted: Sat Oct 21, 2006 1:45 pm    Post subject:

 

Tried your macro and the mouse never clicked, but I couldn't have used it anyway for a couple of reasons:

The incrementing number would have included a lot of unnecessary zeroes, which wouldn't have been any big deal really, but the main issue would have been the possible inability to retrieve the answer code.

Anyway, my macro is working great now and running faster than ever.

I took your suggestion and tweaked the pattern search area to 200 x 200, and also dropped the line delay to 75 ms.

The macro processes each number now in .6 of a second -- half what it had been -- and the longest potential time for getting that answer key is back to only about an hour and five minutes.

And I now understand the issue with the program not returning to Ready immediately after clicking the Stop button: I don't know what it's doing but it's obviously busy with some kind of housekeeping.

If the full list of numbers is loaded, the program takes seven minutes to return to Ready, but if only a third are loaded it takes only 33 seconds.

Great program, John, and I love being able to work with everything in a plain ASCII text file.

A few more questions and some suggestions:

1. Is there any way to process a list of numbers (or anything else) from a text or .CSV file? If not, that might be a good feature to add.

2. I suggest you offer a .PDF version of the manual for those of us who don't have MS Word or a full-blown word processor. That would make printing it much easier.

3. Is the macro code mostly Visual Basic? If so, I might buy a book on that.

I'm heading over to register the program now, but I'll probably be back with more questions sometime later when I expand my use of it.

Thanks much for your help.

~ Henry

Whooops... Just went there and the PayPal checkout is in Deutsche, which I'd be even worse at interpreting than computer code.

How do I get to the English version?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Oct 22, 2006 10:04 am    Post subject:

 

Ohhhh the PayPal page was in German... Sorry, I changed it now to US English.

I recommend to read the manual.... there you find information to all commands and all functions of the Mouse and Key Recorder. You can find (and print out in landscape format) the manual at the internet address:
http://www.kratronic.com/tools/recorder/manual/index.html.

To use a text file as a source please read:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174713 and
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174771

Your Text file (C:\Temp\Numbers.txt) would look like
1111
1112
1113
1114
....

Your macro could then look like

{{1}{{ImportFile C:\Temp\Numbers.txt

{{Label Start
{{Mouse 1, 1, 515, 60, 1
{{If {{FindPattern 1, -1, -1, 200, 200, 0} = {{True};;{{STOP}
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
{{DoImport
{ENTER}
{ENTER}
{{If {{ImportNextLine} = {{True};{{Goto Start;


The Mouse and Key Recorder macro language is just partly similar to visual basic. But it is always a good idea to have knowledge about a programming language....


The stop command needs such a long time because of the huge macro.. The stop command wants to include a ===> at the location where the stop appeared. For that the Recorder has to go through every line and searching for that location..
The next recorder version will contian a switch for disabling the ====> marker.

Normally macros do not need to be that large. As you can see in my example your 39'000 lines can be condensed to 10 lines, if the possibilities described in the manual are used

John Krauer, Kra-Tronic Corp.

 

 

 

Case



Joined: 16 Oct 2006
Posts: 9

Posted: Sun Oct 22, 2006 7:28 pm    Post subject:

 

stargate wrote:

Ohhhh the PayPal page was in German... Sorry, I changed it now to US English.


Successfully registered. Thanks.

Your text file import macro works great and is obviously the much more sensible and efficient one to use.

All I had to change were the mouse coordinates. Here's the macro in its current form:

{{1}{{ImportFile C:\Crosswords_NYTimes\Permutations.txt
{{Label Start
{{Mouse 1, 1, 508, 59, 1
{{If {{FindPattern 1, -1, -1, 200, 200, 0} = {{True};;{{STOP}
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
{{DoImport
{ENTER}
{ENTER}
{{If {{ImportNextLine} = {{True};{{Goto Start;

However... It offers no way to know which number unlocked the answer key, whereas in the huge macro that includes the full list of numbers the correct key is just above the line number where the macro stopped or is simply the number immediately before the ===> marker in the code when the program returns to Ready.

So I tried this, hoping it would write the number that unlocked the puzzle answer to a text file:

{{1}{{ImportFile C:\Crosswords_NYTimes\Permutations.txt
{{Label Start
{{Mouse 1, 1, 508, 59, 1
{{If {{FindPattern 1, -1, -1, 200, 200, 0} = {{True};;{{Goto WriteKey
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
{{DoImport
{ENTER}
{ENTER}
{{If {{ImportNextLine} = {{True};{{Goto Start;
{{Label WriteKey
===>> {{WriteToFile C:\Crosswords_NYTimes |AnswerKey.txt
{{STOP}

That cracked the answer code okay, but you can see by the placement of the ===> marker that it couldn't write the successful number to the text file AnswerKey.txt and therefore returned this error message:



I tried it with both the AnswerKey.txt file already existing in that directory, unopened in any program, and without it existing.

Neither worked.

When it existed, AnswerKey.txt was just a blank text file with the Archive attribute.

Please correct the macro and explain how and where I went wrong.

UPDATE No. 1:

I thought about it some more and came up with this, which works:

{{1}{{ImportFile C:\Crosswords_NYTimes\Permutations_Sec2.txt
{{Label Start
{{Mouse 1, 1, 508, 59, 1
{{If {{FindPattern 1, -1, -1, 200, 200, 0} = {{True};;{{Goto WriteKey
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
{{DoImport
{ENTER}
{ENTER}
{{If {{ImportNextLine} = {{True};{{Goto Start;
{{Label WriteKey
{{DoImport
{{STOP}

The {{DoImport just writes the four-digit number immediately following the number that unlocked the answers to wherever the cursor exists in the puzzle grid.

That works fine, and lets me know exactly which number unlocked the answers, which will always be the immediately previous number.

But I'd still like to know how to write that last number to a text file.

I tried everything I could think of and nothing worked.

BTW: This code works basically exactly the same as the old DOS batch files, doesn't it?

It just reads each line like a list unless a goto, loop or something sends it in another direction.

Right?

UPDATE No. 2:

Got it!

{{1}{{ImportFile C:\Crosswords_NYTimes\Permutations_Sec2.txt
{{Label Start
{{Mouse 1, 1, 508, 59, 1
{{If {{FindPattern 1, -1, -1, 200, 200, 0} = {{True};;{{Goto WriteKey
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
{{DoImport
{ENTER}
{ENTER}
{{If {{ImportNextLine} = {{True};{{Goto Start;
{{Label WriteKey
{{WriteToFile AnswerKey2.txt |{{DoImport}
===>> {{STOP}

Through sheer trial and error I finally came up with that, which creates a new text file and writes the last number to it.

Is this | just a DOS pipe parameter?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Oct 24, 2006 6:02 pm    Post subject:

 

I see you have found the answers yourself..

But anyway some improvements could be made..

{{1}{{ImportFile C:\Crosswords_NYTimes\Permutations_Sec2.txt
{{Label Start
{{SetStringMyImport {{DoImport}
{{Mouse 1, 1, 508, 59, 1
{{If {{FindPattern 1, -1, -1, 200, 200, 0} = {{True};;{{Goto WriteKey
{{Mouse 1, 1, {{VarFindPatternCoord_X_1}, {{VarFindPatternCoord_Y_1}, 0
{{StringMyImport
{ENTER}
{ENTER}
{{If {{ImportNextLine} = {{True};{{Goto Start;
{{Label WriteKey
{{WriteLineToFile C:\AnswerKey2.txt |{{StringMyImport}


If you put your value from the DoImport to a variable you can use it several times... and that way save the right number to the file

For WriteToFile the whole path to the file is necessary

{{Stop is not necessary, since the macro stops anyway at the end..

In DOS | is a pipe signal, but in the Mouse and Key Recorder this character is used for separating parameters.

John Krauer, Kra-Tronic Corp.

 

 

 

Case



Joined: 16 Oct 2006
Posts: 9

Posted: Tue Oct 24, 2006 9:17 pm    Post subject:

 

Yep, it works, so I guess we can wrap up this project on that one.

Thanks much for your help, John.




 

 

 

 

263   Delays

 

Author

Message

flaming_hamster



Joined: 15 Oct 2006
Posts: 1

Posted: Wed Oct 18, 2006 3:09 pm    Post subject: Delays

 

what do i input to get an hour long delay on the mouse and key recorder?

thanks in advance

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Oct 19, 2006 8:01 pm    Post subject:

 

As always the solution can be found in the manual..
If you search for delay...
you find:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174709

1.10.1.33 {{Delay}, {{ExtDelay}
The 'Mouse and Key Recorder' already contains a command {{Delay. A {{Delay can be entered by clicking the hourglass icon or Menu: 'Insert', 'Delay'. The Delay-default value can be set in the Options, Tab 'Edit', 'Insert Delay'. This Delay has the unit ms (milliseconds). Example: {{Delay 2000: The macro waits for 2 seconds.

For larger delays large numbers have to be entered.

Extended Delay allows you to enter a delay in a more natural way.

Syntax: {{ExtDelay Days:Hours:Minutes:Seconds.

Example: {{ExtDelay 10:23:59:40}. The resulting delay is: 10 days, 23 hours, 59 minutes and 40 seconds. Other examples: {{ExtDelay 10:15} = 10 minutes, 15 seconds. {{ExtDelay 15} = 15 seconds. Maximum delay: 3650 days.

Hint: In Windows 98 and ME the command {{Delay has a resolution of 55 ms. That means if you set a delay of 10 ms the 'Mouse and Key Recorder' anyway waits 55 ms. The more modern operating systems have a resolution of 1 ms.

John Krauer, Kra-Tronic Corp.




 

 

 

 

264   Firefox: WaitForFirefoxReady Function

 

Author

Message

ramses2be



Joined: 13 Sep 2005
Posts: 1
Location: Austria / Burgenland

Posted: Tue Sep 13, 2005 7:00 am    Post subject: Firefox: WaitForFirefoxReady Function

 

Hi,
Is there a possibility for Firefox to get the same functionality which exists for IE?
Thanks for help
Martin

 

 

 

Oliver
Guest




Posted: Thu Sep 15, 2005 6:47 am    Post subject:

 

Hi,


I think there isn't any function like that for the firefox.
But just try the command {{FindPattern.
The Stop-Button in firefox just turnd form red to grey if the
page is completly loaded.

If you look for the grey button and don'f find it, wait for a moment
and try again.

It shoud work.


Oliver

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Oct 06, 2006 12:48 pm    Post subject:

 

Well, I tried it here... and it works..

Here the Macro I used:

{{Switch Mozilla Firefox
%
x {{' Maximize window (to have the stop button always on the same location
{{' That way we can keep the search range of {{FindPattern small
^l
^v
{ENTER}
{{Label WaitAgain
{{Delay 300} {{' Millisekunden
{{Mouse 1, 1, 137, 47, 1
{{If {{FindPattern 1, -1, -1, 200, 200, 0} = {{True};{{Goto WaitAgain;

The pattern itself you should record on your PC.

John Krauer, Kra-Tronic Corp.




 

 

 

 

265   web adresse eingeben nach Start Internet Explorer

 

Author

Message

Hugo



Joined: 14 Sep 2007
Posts: 4

Posted: Fri Sep 14, 2007 6:00 pm    Post subject: web adresse eingeben nach Start Internet Explorer

 

Ich bin neu hier,

deshalb erst mal ein Hallo.

Aber nun meine Frage. Ich möchte nach dem Start des Internet Explorer 7 eine webseite Seite aufrufen. Ich benötige eine Funktion bzw. Befehlsfolge mit welcher der Cursor in der Adresszeile des Internet Explorer 7 platziert wird. Das ganze ohne Maus, da die Programme ohne Maus arbeiten sollen.

 

 

 

Hugo



Joined: 14 Sep 2007
Posts: 4

Posted: Sat Sep 15, 2007 6:42 am    Post subject:

 

Hallo,

bin ein Stück weiter gekommen. Mit ^o kann man im IE7 dies Eingabemaske aufrufen zum Eingeben der url.

{{' Erstellt am: Sep.14.2007, 19:17 (MTR Version: 6.1 )

{{Start C:\Programme\Internet Explorer\iexplore.exe
{{Delay 1000} {{' Millisekunden
{{If {{WaitForIEReady 300} = {{True};;{{ShowError}
^o
{{If {{WaitForIEReady 300} = {{True};;{{ShowError}
www.google.de
{{If {{WaitForIEReady 300} = {{True};;{{ShowError}
{ENTER}

Im Moment hängt mein Programm in der fett gedruckten Zeile.

 

 

 

Hugo



Joined: 14 Sep 2007
Posts: 4

Posted: Sun Sep 16, 2007 7:50 am    Post subject:

 

Hallo,

Ich habe das Problem inzwischen gelöst.

{{Start C:\Programme\Internet Explorer\iexplore.exe
{{Delay 1000} {{' Millisekunden
{{If {{WaitForIEReady 300} = {{True};;{{ShowError}
^o
{{Delay 1000} {{' Millisekunden
www.google.de
{{Delay 1000} {{' Millisekunden
{ENTER}




 

 

 

 

266   change password?

 

Author

Message

svengalie1
Guest




Posted: Fri Sep 22, 2006 11:28 am    Post subject: change password?

 

how can i change my password on the forum? it remembers it when i login cos i told it to, but if i try and login on my laptop it says password failed so how can i change it please?

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sun Sep 24, 2006 6:50 pm    Post subject:

 

I have deletet the account svengalie1. So you can create it new with a new password.

John Krauer, Kra-Tronic Corp.




 

 

 

 

267   Maus und Tastatur sperren

 

Author

Message

sm



Joined: 19 Sep 2006
Posts: 2

Posted: Tue Sep 19, 2006 11:29 am    Post subject: Maus und Tastatur sperren

 

Ich würde gerne die Maus und Tastatur-Eingaben während der Wiedergabe eines Makros sperren, so das keine Eingabe möglich ist um den Verlauf des Makros nicht zu stören.

In der Hilfe habe ich so etwas nicht gefunden.

Gruß
sm

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Sep 19, 2006 6:01 pm    Post subject:

 

Dies ist leider nicht möglich, da der Maus und Tastatur Recorder die gleichen Funktionen wie die echte Tastatur und Maus verwendet. Wenn man die Maus und Tastatur-Eingaben sperrt, dann sperrt man auch das Makro aus....
Eine Möglichkeit ist eine "Maus-Garage" wo die Maus ungestört parkiert werden kann..

John Krauer, Kra-Tronic Corp.

 

 

 

sm



Joined: 19 Sep 2006
Posts: 2

Posted: Tue Sep 19, 2006 8:52 pm    Post subject:

 

Tut mir leid aber was ist eine Maus-Garage?
Habe ich noch nie von gehört.

Außerdem habe ich bei anderen Makro-Programmen sowas wie eine Sperrfunktion gesehen, deswegen gehe ich davon aus, dass es eine Möglichkeit gibt. Ich will nicht die Software wechsel, da mir der Tastatur und Maus Recorder sehr gut gefällt.

Man kann doch bestimmt die ankommenden Nachrichten der Tastatur sperren und die eigenen weitergeben, oder einen eigenen Treiber für eine Tastatur einsetzen und den von der Tastatur sperren (nur mal so eine Idee).

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Sep 21, 2006 4:46 am    Post subject:

 

Eine Mausgarage.... Nun das ist ein "Parkiermöglichkeit" für die Maus damit sie sauber versorgt ist. So ein Ding wird (oder wurde) von einzelnen Versandhäusern angeboten...




 

 

 

 

268   Ctrl + Alt

 

Author

Message

nicobaba



Joined: 08 Sep 2006
Posts: 3

Posted: Fri Sep 08, 2006 2:04 pm    Post subject: Ctrl + Alt

 

Hello

I would like to use Ctrl + Alt to switch between Tabs in Firefox. How can I do that? I read
this topic but I didn't found out how to proceed. Can you help me please?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Sep 09, 2006 5:48 pm    Post subject:

 

Hello

The manual (Help) (F1) says: (http://www.kratronic.com/tools/recorder/manual/index.html)



{{CTRL+/-, {{Shift+/-, {{Alt+/-

{{CTRL+/-, {{Shift+/-, {{Alt+/- allow to switch on and off these keys.

Examples:

{{CTRL+ switches on the CTRL key. The CTRL key stays on until a {{CTRL or a {{CTRL- command is used.

{{CTRL+ {{ALT+ switches on the CTRL and ALT key. The keys stays on until {{CTRL {{ALT or {{CTRL- {{ALT- command is used.

Important: If {{CTRL+, {{Shift+, {{Alt+ have been used in the macro, they MUST be switched off before the macro ends! Otherwise the keyboard acts very strange.

John Krauer, Kra-Tronic Corp.

 

 

 

nicobaba



Joined: 08 Sep 2006
Posts: 3

Posted: Mon Sep 11, 2006 7:59 am    Post subject:

 

Dear John

Thank you very much for your answer! But sorry, I made a fatal mistake... I wrote Ctrl + Alt, but I mean Ctrl + Tab... Is this also possible?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Sep 12, 2006 6:02 pm    Post subject:

 

Yes you can use any combination of the three buttons....

John Krauer, Kra-Tronic Corp.




 

 

 

 

269   Hack Protection?

 

Author

Message

Doughnutboy



Joined: 01 Sep 2006
Posts: 5

Posted: Sat Sep 02, 2006 2:43 pm    Post subject: Hack Protection?

 

hey i was trying to use your program on an application but it seems they have outsmartted me.

I can't use the keyboard commands. Every keyboard character from the macro is the same as if i was hitting the escape key.

any suggestions?

What does the macro program do differntly than acctually hitting keystrokes?

 

 

 

Doughnutboy



Joined: 01 Sep 2006
Posts: 5

Posted: Thu Sep 07, 2006 8:22 am    Post subject:

 

any chance for an answer on this?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Sep 07, 2006 6:00 pm    Post subject:

 

Some programs, espcecially games have an sensor built in. If they sense a key recorder they fake it to avoid that keystroke recorder user have an un-fair advantage...

John Krauer, Kra-Tronic Corp.

 

 

 

Doughnutboy



Joined: 01 Sep 2006
Posts: 5

Posted: Sun Sep 10, 2006 3:36 pm    Post subject:

 

in this case i was just telling the macro to hit a key. there was no recorder being used. if i could figure out what is difference between actually hitting the key and what this program does perhaps i could begin to fix this problem ( all keys = esc ).

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Sep 12, 2006 5:54 pm    Post subject:

 

The Mouse and Key Recorder uses the command SendKeys. This command can also be found in MS Word or MS Excel macros. You might experiment with these macro langauge to see what is going on...

John Krauer, Kra-Tronic Corp.




 

 

 

 

270   stop the macro

 

Author

Message

size



Joined: 05 Sep 2006
Posts: 4

Posted: Thu Sep 07, 2006 12:38 pm    Post subject: stop the macro

 

Can I stop quick the macro only by pressing a key or a clik with the mouse?
I know in help there is a combination but is not quick enough ....

Thanks !

 

 

 

nicobaba



Joined: 08 Sep 2006
Posts: 3

Posted: Fri Sep 08, 2006 2:05 pm    Post subject:

 

Alt + Pause - isn't that fast enough?




 

 

 

 

271   find a text in a web page

 

Author

Message

size



Joined: 05 Sep 2006
Posts: 4

Posted: Tue Sep 05, 2006 2:21 pm    Post subject: find a text in a web page

 

Hello,

This is a very useful tool.

I would like to make a macro to:

1.find a text in a web page- not find a function
2.if that text exist to click a button - I know how ,with "find pattern" function

Is it possible to find a text in a web page?

Thanks,
size

 

 

 

size



Joined: 05 Sep 2006
Posts: 4

Posted: Tue Sep 05, 2006 5:28 pm    Post subject:

 

can I use this :

Waiting for a text change in an Internet browser



{{SetString1 xx123xx67
{{Label Start
{{Delay 1000
{{RelativeDragMouse YourWebSite - Microsoft Internet Explorer, 1, 1, 457, 551, 0, 224, 551, 0

{{' Adapt the {{RelativeDragMouse to your needs !
^c
{{If {{ClipBoard} = {{String1} ;{{Goto Start;

{{SetString1 {{ClipBoard}
{{Beep {{' Here you can add what you need to do after the text appears.
{{' …………………..
{{Goto Start

I do not completly understand "RelativeDragMouse YourWebSite - Microsoft Internet Explorer, 1, 1, 457, 551, 0, 224, 551, 0"

Anyone can explain this command , please?And if I use Firefox?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Sep 05, 2006 8:41 pm    Post subject:

 

The command:
{{RelativeDragMouse YourWebSite - Microsoft Internet Explorer, 1, 1, 457, 551, 0, 224, 551, 0
selects a text in the browser (The text which will change)

You simply record a new {{RelativeDragMouse for your location and Internet page. You do this by clicking "Insert Recording" (the little camera in the top right corner), then you change to your browser by ALT TAB and select the text.

To have the browser title in the command you need to switch off the option "Use rel Window Filter" in: Tools, Options, Recording

John Krauer, Kra-Tronic Corp.

 

 

 

size



Joined: 05 Sep 2006
Posts: 4

Posted: Wed Sep 06, 2006 6:19 pm    Post subject:

 

Thanks John ,this is it.




 

 

 

 

272   Sample Macros Hi Im new

 

 

   

   Mouse and Key Recorder

Author

Message

Doughnutboy



Joined: 01 Sep 2006
Posts: 5

Posted: Fri Sep 01, 2006 5:40 am    Post subject: Sample Macros Hi Im new

 

Hi Im new I have noticed there is not much in the way of sample macros here or i just suck at finding them. I have written macro programs before for other applications. I have studied your forums and have beagn to undersatnd some of the commands and syntax from the help section.

anyway what i would like to use this program for is to look at some pixels on a game screen and dertermine if they are a certain color (or not) and then perfom certain keystrokes.

in order to do make this macro work I would like it very much if someone could answer the following questions. I realize i must convert the results to hexdecimal format ...

http://www.psyclops.com/tools/rgb/ ,
http://www.parkenet.com/apl/HexDecConverter.html

... i dont know how find the results to plug them in to the tools above.

1 I need to find out the color codes for mutilple single pixels on a game screen, these locations are: 341,28 228,542 295,542 417,542 482,542 597,542 and 670,542---- What is the proper syntax to tell the program to write these results of these color codes to the clipboard?

2. how do i open the clipboard and make sure all the color codes are on there ( lol not just one).

3. what is the correct syntax to say, "if pixel at 341,28 = (the value from the clipboard) then press key f6 goto subroutine3 - if not goto subroutine2."

4. how do i write a rem statement both on the clipboard and in my macro ?

5. what is the best way to find what x,y coordinates are for a specifi pixel on a game screen with resoulution 800x600? "" "" 1200 x 760 ? Do I need to use the minimum resoultion?

6. how do i start and stop the macro with hotkeys?

thank you in advance for your time and complete answer to each of my questions

Here is my feeble attempt at geetting those color codes

{{label sub1
{{SetClipBoard {{GetPixel 341,28}
{{setstring1 {{clipboard}

{{SetClipBoard {{GetPixel 228,542}
{{setstring2 {{clipboard}
{{SetClipBoard {{GetPixel 295,542}
{{setstring3 {{clipboard}

{{SetClipBoard {{GetPixel 417,542}
{{setstring4 {{clipboard}
{{SetClipBoard {{GetPixel 482,542}
{{setstring5 {{clipboard}

{{SetClipBoard {{GetPixel 597, 542}
{{setstring6 {{clipboard}
{{SetClipBoard {{GetPixel 670, 542}

{{setstring7 {{clipboard}

{{goto sub1



after i run this program and then hit cntrl v onto notepad I only get 1 number.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Sep 01, 2006 9:03 pm    Post subject:

 

Well…..

You can find sample macros in the help:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174793
and in the FAQ:
http://www.kratronic.com/tools/recorder/faq/faq.htm#_Toc120171407

To find the value of a certain pixel you can use the Recorder commands {{GetPixel and {{RGB:

1.10.1.59 {{GetPixel
{{GetPixel reads the color of a pixel on the screen. Syntax: {{GetPixel X-Coordinate, Y-Coordinate. Example: {{GetPixel 150, 288. If you want to get the pixel color beyond the cursor arrow you can use: {{GetPixel –1, -1. GetPixel allows you to wait for a certain color of a pixel. Example: {{If {{GetPixel 100, 200} = 13160660;{{Goto DoItAgain;
For checking the color you need to retrieve the color number. This can be done by:
{{SetClipBoard {{GetPixel 150, 288}. Let this command run. Afterwards you can paste the number into the macro. If the RGB format is known, the command {{RGB can be used. Example: {{If {{GetPixel 100, 200} = {{RGB 100,200,300} ;{{Goto DoItAgain;
Technical hint: {{GetPixel returns the following values: 0x00bbggrr (b = blue, g = green, r = red, Hexadecimal). For converting the number the command {{RGB can be used. In the Internet lots of tools van be found to convert those numbers. (Take care, the sequence of the colors is not always the same in these tools)
Hint: {{Mouse 1, 1, 430, 283, 1 and {{Mouse 1, 1, 430, 283, 0 place the curser not always on the same location. Difference: sometimes1 pixel. Reason: The two commands have to use different coordinate systems. This leads to rounding errors.

1.10.1.60 {{RGB
{{RGB converts color-information from RGB to the common format used by {{GetPixel. Example: {{RGB 128,100,255}. RGB stands for Red, Green, Blue. The individual colors can have a value between 0 and 255. This command can only be used as parameters. That means it must not start at the beginning of a line. Example for a parameter use: {{MessageBox {{RGB 128,100,255}.
Hint: Some other converting programs use BGR instead of RGB. If you have problems exchange the colors.


For more than one pixel you can use {{FindPattern. The description for this command can also be found in the manual part of the Recorder:
http://www.kratronic.com/tools/recorder/manual/index.html or in the help.

3:
{{If {{GetPixel {{Clipboard} = 13160660 ;;{{Goto PartNo
{F6}
{{SetVar1 1
{{Goto subroutine3
{{Label GoOn1
{{Label PartNo
{{Goto continue
{{SetVar1 2
{{Goto subroutine2
{{Label GoOn1
{{Label continue

Handling subroutines see:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174735

4.
If you search in the Help for comment you find:
1.10.1.1 {{' Text, {{'' Text
Lets you enter a comment. Comments can be entered anywhere in a command line. All text after {{' or {{‘’ will be ignored. Important: All text before a {{‘’ will be used. Example: {DELETE} {{‘’ delete this line. Result: The marked line will be deleted but you get two additional spaces ! If you do not want the

5
Normally coordinates are the same on different resolutions… except the game zooms… If it zooms then it is the best to record the new coordinate again in the new resolution.

6:
The manual says:
Stopping a macro:
Sometimes you have the need to stop a macro immediately. There are several possibilities to stop a macro.
- Stop-Icon (Quadrate in right top corner)
- Menu: Replay | Stop
- Hotkey: ALT Break/Pause (Notebook Fn ALT Break/Pause)
- Command {{Stop in the macro

Pausing a macro:
The hotkey: SHIFT Break/Pause (Notebook Fn SHIFT Break/Pause) pauses your macro. Pressing again the same key makes your macro continue again. Pausing means the macro stands still at the place you pressed the hotkey. All focuses stay as they are. That means you can do some possibly needed changes and continue the macro afterwards. Important: For continuing the macro you must have the same focus situation you had, when you paused the macro. Otherwise continuing the macro causes a mess…
Hint: If a Delay is running, pause is activated after Delay has ended.


John Krauer, Kra-Tronic Corp.

 

 

 

Doughnutboy



Joined: 01 Sep 2006
Posts: 5

Posted: Sat Sep 02, 2006 1:55 am    Post subject:

 

thank you john for your quick reply. However i believe i asked too many questions at once. Please forgive me for restating questions I didn't quite grasp:

these numbers correspond to the original post although the questions have been explained better.

1. what is the proper way to tell the macro to look at 7 different pixels on the screen? These pixels are not next to each other. I know you have to use the get pixel command but how to you use them together? I noticed you have every answered every question about color on the forum with standard answer from the help section. would it be okay for you to look at the example i wrote (above) and tell me how its wrong?


2. I dont know how to view the results of setclipboard command, please explain. I dont see the clipboard button anywhere (joke hahah). can you only view one result per macro?

----" ... Let this command run. Afterwards you can paste the number into the macro...."---------- please tell from where (and how) to copy from in order to paste the results to the macro. --------------------------------

3. i read your sample that you wrotye for me thank you it answerd much. I asked "what is the correct syntax to say, if pixel at 341,28 = (the value from the clipboard) then press key f6 goto subroutine3 - if not goto subroutine2."


you said
{{If {{GetPixel {{Clipboard} = 13160660 ;;{{Goto PartNo
{F6}
{{SetVar1 1
{{Goto subroutine3
{{Label GoOn1
{{Label PartNo
{{Goto continue
{{SetVar1 2
{{Goto subroutine2
{{Label GoOn1
{{Label continue

question a) i was confused why you had {{label goOn1 twice in the program but no code to take you there.
b) the decimal code for a color is used in your example.. does that mean we dont have to convert them hex decimal codes like 2a6c38 ?

c)this is how i was thinking to write it... would this also work?

label loop1
{{'is target there
{{If {{GetPixel {{Clipboard} = 13160660 ;;{{Goto subroutine2
{{' YES
{f6}
{{' NO
{{goto subroutine3
label subroutine2
{a}
{{delay3000
goto loop1
{{' look for target
label subroutine3
{b}
{{delay 3000
goto loop1

4. how do i write a rem statement both on the clipboard and in my macro ?

you said use {{'. and to learn the {{text command Okay thank you. once i read your answer on how to acess the clipboard (question 2) i think i will understand this part of the question better.

5. game zooms aside please tell a strategy to find the x,y coordinates on a screen. ----part2 can i use any resolution with your product?

6 ok great thank you for you answer on how to stop/pause. is there no hot key to replay the macro from the top ?


overall you gave some great answers after we are done i would love to post my macros for examples on how to use mulitple pixles for some lower brained a i in g ami ng.

Much Respect Thank You

Doughnutboy

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Sep 02, 2006 7:56 pm    Post subject:

 

Hello

You want to get the color of 7 pixels on your sceen.. First you need to know where they are. In your sample you use the clipboard to cache the colors. This is not really necessary. You can write:

{{SetString1 {{GetPixel 341,28}
{{SetString2 {{GetPixel 228,542}
………….

Since {{GetPixel delivers a number (colornumber) it would be wise to use var instead of string

{{SetVar1 {{GetPixel 341,28}
{{SetVar2 {{GetPixel 228,542}
……………

The content of the clipboard can be seen by writing it to an application:
{{Clipboard}
or by showing it in a message box:
{{MessageBox {{ClipBoard}


Ohhhh there is a fault in the example.. of course it should be: {{Label GoOn2 and not {{Label GoOn1

The {{GetPixel command delivers a decimal number like 13160660
The {{RGB command converts a RGB color like 128,100,255 to a {{GetPixel color like 13160660
If your RGB color is in HEX you first need to convert it into decimal: h80, h64, hFF â 128,100,255
For that you can use
http://www.psyclops.com/tools/rgb/

There is not yet a visa verse command in the Recorder for converting {{GetPixel colors to RGB colors.

In your example you use the word subroutine. In programming a subroutine is normally a part of code, which can be used several times. In your example the "subroutines" are normal labels. I would name it differently, that way not confusing people.

label loop1
{{'is target there
{{If {{GetPixel {{Clipboard} = 13160660 ;;{{Goto PixelNotFound
{{' YES
{f6}
{{' NO
{{goto continue
label PixelNotFound
{a}
{{delay3000
goto loop1
{{' look for target
label continue
{b}
{{delay 3000
goto loop1

A REM command is normally a comment in a program (or macro), which will not be carried out. In the Recorder syntax this is a {{'
Everything behind a {{' will not be carried out.

As I said, if the game not zooms then the pixels are always on the same coordinate e.g. 100,100. If the game zooms then they can be anywhere depending on the zoom factor.. e.g. 200,200 or 185,185… That means it depends on your game (program) whether you can use a Recorder macro on different screen resolutions unchanged or not.

Of course you can start a macro from the desktop…..
I really would recommend reading the manual. Most of the answers can be found there. e.g. hotkey from desktop:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174779


John Krauer, Kra-Tronic Corp.




 

 

 

 

273   Ergebnis einer Formel auslesen in Excel mit M+K Recorder

 

Author

Message

Madstar



Joined: 26 Aug 2006
Posts: 1

Posted: Sat Aug 26, 2006 6:42 am    Post subject: Ergebnis einer Formel auslesen in Excel mit M+K Recorder

 

Hallo,

Wie bekomme ich in Excel bei einer Zelle die mit einer Formel bestückt ist, mit den M+K Recorder nur das Ergebnis rausgelesen?Weil Excel hat von haus aus ein Enter Befehl beim kopieren einer Zelle eingebaut so dass immer die ganze Formel ausgelesen wird. Bitte um Hilfe?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Sat Aug 26, 2006 5:29 pm    Post subject:

 

Einfach auf die Zelle gehen, ^c (kopieren) und dann den Zeilenvorschub entfernen.
Siehe HGF Artikel:
http://www.kratronic.com/tools/recorder/faq/faq.htm#_Toc120171372
und Anleitung:
http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174794

John Krauer, Kra-Tronic Corp.




 

 

 

 

274   Wiederholen e.Makros x Mal und Pause bis Seite geladen ist

 

Author

Message

Baerliner



Joined: 17 Aug 2006
Posts: 2

Posted: Thu Aug 17, 2006 12:15 pm    Post subject: Wiederholen e.Makros x Mal und Pause bis Seite geladen ist

 

Ich bin gerade dabei mit dem Recorder zu exxperimentieren. Dabei sind mir 2 mögliche Anwendungsgebiete gekommen. Dafür fehlt mir aber das Know How, wie man es umsetzen könnte.

Also zum einen würde ich gerne das Makro x Mal durchlaufen lassen. Die Zahl X sollte vorher abgefragt werden, da diese immer variieren kann.

Das 2. wäre eine automatisierte Abarbeitung von Formularen im Internet Explorer. Keine Banke, ich will damit nix unrechtes machen. Ich muss nur hin und wieder eine Menge User in einer Anwendung Anlegen. Das Admintool funktioniert über das Internet. Da die Formulare recht umfangreich sind und die User meist gehäuft angemeldet werden sollen (Azubiseinstellungen 2 Mal im Jahr oder aber direkt nach Seminaren), nimmt es mir in dieser Zeit enorm viel Arbeitszeit weg, so dass ich teilweise Tage oder gar Wochen nur damit beschäftigt bin. Daher wäre es gut, wenn ich diese Internetformulare mit den Daten einer EXCEL Tabelle befülle und die User so automatisch anlegen kann. Dazu müßten aber die Seiten im Internet immer erst dann befüllt werden, wenn sie komplett geladen wurden. Das kann mal ein paar Sekunden betragen, mal aber auch etwas länger dauern. Für diesen Fall soll das Makro erst dann weiter laufen, wenn die Seite komplett da ist. Gibt es eine solche Möglichkeit, wenn ja welche.

Das wäre schon wichtig, da an diesen beiden Antworten die Entscheidung liegt, ob wir es für unsere Firma anschaffen werden oder nciht.

Vielen Dank.


Ciao Heiko

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Aug 17, 2006 5:27 pm    Post subject:

 

Nun, beides ist kein Problem für den Recorder.

Vordefinierter Loop:
{{AskNumber Wieviele Durchläufe ?

{{SetVarCounter 0
{{Label Start
{{IncVarCounter 1
{{MessageBox Durchlauf: {{VarCounter}
{{If {{VarCounter} < {{WriteAskNumber} ;{{Goto Start;

Warten auf InternetExplorer:
{{If {{WaitForIEReady 30} = {{True};;{{ShowError}

Siehe auch Help/Manual:
http://www.kratronic.com/tools-de/recorder/manual/index.html

John Krauer, Kra-Tronic Corp.

 

 

 

Baerliner



Joined: 17 Aug 2006
Posts: 2

Posted: Fri Aug 18, 2006 6:40 am    Post subject:

 

Na super. Dann werde ich doch glatt mal mit den Leuten sprechen, dass die das Programm besorgen sollen. Der Test sieht nämlich sehr gut aus.

Vielen Dank für die schnelle Hilfe.




 

 

 

 

275   Calculate serial date difference

 

Author

Message

garris2



Joined: 11 Aug 2006
Posts: 4
Location: Australia

Posted: Fri Aug 11, 2006 2:46 pm    Post subject: Calculate serial date difference

 

Hi everybody, I asked some time ago about how to calculate the serial difference between two dates.
I have worked how to do it below in the sample code. Please use it and tell me how you like it.
I have used two different date formats for the input just to demonstrate that you can adapt it for your situation. Of couse you can use the same input format for both dates if you modify the code a little bit. I have also included simple date format checking on the input so make sure you use the correct input format otherwise you won't get the correct calculation of the output.
The finish of this macro includes a place to put your own code to do something based on the result of the Serial Date Difference of the two dates.
I found the math to do this calculation on the internet.

I use this code to calculate whether an expiry date has passed and if not then how many days until it does.

Cheers from Geoff

Here's the code....

{{' Created on: 11th Aug 2005, 16:53 by Geoffrey K Harris - Australia. (MKR Version: 5.7 )

{{'Calculate serial date difference

{{Goto EnterDate1
{{Label Entercorrectdateformat1
{{Messagebox You did not enter the date in the correct format.{{CR}{{CR} It must be entered in the format... dd/mm/yyyy{{CR}{{CR}Try again.

{{Label EnterDate1

{{AskFirstDate} Enter your First Date in the form....{{CR}{{CR} dd/mm/yyyy |11/08/2006
{{SetStringFirstDate {{WriteAskFirstDate}

{{If {{Mid {{StringFirstDate} | 3 | 1 } = / ;;{{Goto Entercorrectdateformat1
{{If {{Mid {{StringFirstDate} | 6 | 1 } = / ;;{{Goto Entercorrectdateformat1
{{If {{Len {{StringFirstDate}} = 10 ;;{{Goto Entercorrectdateformat1


{{SetStringFirstDay {{Left {{StringFirstDate} | 2 }
{{SetVarSlash1pos {{Instr 1 | {{StringFirstDate} | / }
{{SetVarSlash1Posplus {{VarSlash1Pos}
{{IncVarSlash1Posplus 1}
{{SetStringFirstMon {{Mid {{StringFirstDate} | {{VarSlash1Posplus} | 2 }
{{SetVarSlash2pos {{Instr {{VarSlash1Pos} | {{StringFirstDate} | / }
{{IncVarSlash2pos {{VarSlash1Pos}}
{{IncVarSlash2pos 1}
{{SetStringFirstYear {{Mid {{StringFirstDate} | {{VarSlash2pos} | 4}
{{SetStringMyDate {{StringFirstDay}-{{StringFirstMon}-{{StringFirstYear}

{{Goto EnterDate2
{{Label Entercorrectdateformat2
{{Messagebox You did not enter the date in the correct format.{{CR}{{CR} It must be entered in the format... dd-MMM-yyyy{{CR}{{CR}Try again.

{{Label EnterDate2

{{AskSecondDate} Enter your Second Date in the form....{{CR}{{CR}dd-MMM-yyyy{{CR}{{CR}You entered {{StringMyDate} as your first date. |13-AUG-2006
{{CapsLockOff}
{{SetStringSecondDate {{WriteAskSecondDate}

{{If {{Mid {{StringSecondDate} | 3 | 1 } = - ;;{{Goto Entercorrectdateformat2
{{If {{Mid {{StringSecondDate} | 7 | 1 } = - ;;{{Goto Entercorrectdateformat2
{{If {{Len {{StringSecondDate}} = 11 ;;{{Goto Entercorrectdateformat2


{{SetStringSecondDay {{Left {{StringSecondDate} | 2 }
{{SetStringSecondMon {{Mid {{StringSecondDate} | 4 | 3 }
{{If {{StringSecondMon} = Jan;{{SetStringSecondMonNum 01;
{{If {{StringSecondMon} = Feb;{{SetStringSecondMonNum 02;
{{If {{StringSecondMon} = Mar;{{SetStringSecondMonNum 03;
{{If {{StringSecondMon} = Apr;{{SetStringSecondMonNum 04;
{{If {{StringSecondMon} = May;{{SetStringSecondMonNum 05;
{{If {{StringSecondMon} = Jun;{{SetStringSecondMonNum 06;
{{If {{StringSecondMon} = Jul;{{SetStringSecondMonNum 07;
{{If {{StringSecondMon} = Aug;{{SetStringSecondMonNum 08;
{{If {{StringSecondMon} = Sep;{{SetStringSecondMonNum 09;
{{If {{StringSecondMon} = Oct;{{SetStringSecondMonNum 10;
{{If {{StringSecondMon} = Nov;{{SetStringSecondMonNum 11;
{{If {{StringSecondMon} = Dec;{{SetStringSecondMonNum 12;
{{SetStringSecondYear {{Mid {{StringSecondDate} | 8 | 4 }


{{If {{StringFirstMon} = 01;{{SetVarFirstIndex 0};
{{If {{StringFirstMon} = 02;{{SetVarFirstIndex 31};
{{If {{StringFirstMon} = 03;{{SetVarFirstIndex 59};
{{If {{StringFirstMon} = 04;{{SetVarFirstIndex 90};
{{If {{StringFirstMon} = 05;{{SetVarFirstIndex 120};
{{If {{StringFirstMon} = 06;{{SetVarFirstIndex 151};
{{If {{StringFirstMon} = 07;{{SetVarFirstIndex 181};
{{If {{StringFirstMon} = 08;{{SetVarFirstIndex 212};
{{If {{StringFirstMon} = 09;{{SetVarFirstIndex 243};
{{If {{StringFirstMon} = 10;{{SetVarFirstIndex 273};
{{If {{StringFirstMon} = 11;{{SetVarFirstIndex 304};
{{If {{StringFirstMon} = 12;{{SetVarFirstIndex 334};

{{If {{StringSecondMon} = Jan;{{SetVarSecondIndex 0};
{{If {{StringSecondMon} = Feb;{{SetVarSecondIndex 31};
{{If {{StringSecondMon} = Mar;{{SetVarSecondIndex 59};
{{If {{StringSecondMon} = Apr;{{SetVarSecondIndex 90};
{{If {{StringSecondMon} = May;{{SetVarSecondIndex 120};
{{If {{StringSecondMon} = Jun;{{SetVarSecondIndex 151};
{{If {{StringSecondMon} = Jul;{{SetVarSecondIndex 181};
{{If {{StringSecondMon} = Aug;{{SetVarSecondIndex 212};
{{If {{StringSecondMon} = Sep;{{SetVarSecondIndex 243};
{{If {{StringSecondMon} = Oct;{{SetVarSecondIndex 273};
{{If {{StringSecondMon} = Nov;{{SetVarSecondIndex 304};
{{If {{StringSecondMon} = Dec;{{SetVarSecondIndex 334};



{{SetVarFirstDay {{StringFirstDay}
{{SetVarFirstYear {{StringFirstYear}
{{SetVarFirstY-1900 {{StringFirstYear}
{{SetVarFirstY-1 {{StringFirstYear}

{{DecVarFirstY-1900 1900
{{MulVarFirstY-1900 365}
{{DecVarFirstY-1 1}
{{DecVarFirstY-1 1900}
{{DivVarFirstY-1 4}
{{IncVarFirstY-1900 {{VarFirstY-1}}
{{IncVarFirstY-1900 {{VarFirstIndex}}
{{IncVarFirstY-1900 {{VarFirstDay}}
{{DivVarFirstY-1900 1
{{SetVarSerialFirstDate {{VarFirstY-1900}
{{SetVarFirstdotpos {{Instr 1 | {{VarSerialFirstDate} | . }
{{If {{VarFirstdotpos} = 0;{{Goto NoDecimalFirst;
{{DecVarFirstdotpos 1
{{SetVarSerialFirstDate {{Left{{VarSerialFirstDate} | {{VarFirstdotpos}}
{{Label NoDecimalFirst


{{SetVarSecondDay {{StringSecondDay}
{{SetVarSecondYear {{StringSecondYear}
{{SetVarSecondY-1900 {{StringSecondYear}
{{SetVarSecondY-1 {{StringSecondYear}

{{DecVarSecondY-1900 1900
{{MulVarSecondY-1900 365}
{{DecVarSecondY-1 1}
{{DecVarSecondY-1 1900}
{{DivVarSecondY-1 4}
{{IncVarSecondY-1900 {{VarSecondY-1}}
{{IncVarSecondY-1900 {{VarSecondIndex}}
{{IncVarSecondY-1900 {{VarSecondDay}}
{{DivVarSecondY-1900 1
{{SetVarSecondSerialDate {{VarSecondY-1900}
{{SetVarSeconddotpos {{Instr 1 | {{VarSecondSerialDate} | . }
{{If {{VarSeconddotpos} = 0;{{Goto NoDecimalSecond;
{{DecVarSeconddotpos 1
{{SetVarSecondSerialDate {{Left {{VarSecondSerialDate} | {{VarSeconddotpos}}
{{Label NoDecimalSecond


{{SetVarSerialDateDiff {{VarSerialFirstDate}
{{DecVarSerialDateDiff {{VarSecondSerialDate}


{{Messagebox {{StringFirstDate} First Date{{CR}{{CR}{{StringSecondDate} Second Date{{CR}{{CR}Date difference as Serial.{{CR}{{CR}({{VarSerialDateDiff}) Days{{CR}{{CR}A negative result means the First Date is earlier than the Second Date.



{{If {{VarSerialDateDiff} < 15;{{SetStringChangeDateFlag 1;{{SetStringChangeDateFlag 0
{{If {{StringChangeDateFlag} = 1;{{Goto ChangetheDate;{{Goto Don'tChangetheDate


{{Label ChangetheDate
{{'Your code here




{{Label Don'tChangetheDate
{{'Your other code here




 

 

 

 

276   CheckWindow

 

Author

Message

Osmar Mateus



Joined: 28 Aug 2007
Posts: 3

Posted: Tue Aug 28, 2007 3:18 pm    Post subject: CheckWindow

 

I don't understand why the "if" command goes to "Fim", instead of going to next line in this code:

{{' Created at: ago.28.2007, 10:52 (MKR Version: 6.1 )

{{Label Excel1
{{Switch Microsoft Excel
{{If {{CheckWindow 'Microsoft Excel - Reclassificação Fiscal.xls [Modo de Compatibilidade]'} = {{True}};;{{Goto Fim
{{RelativeMouse Microsoft Excel, 1, 1, 174, 343, 0
{{RelativeMouse Microsoft Excel, 1, 1, 191, 293, 0

{{Label Fim
{{MessageBox {{GetWindowName}

I want to apologize if I am making a dull question.

Thanks for the help.

Osmar Mateus

 

 

 

Osmar Mateus



Joined: 28 Aug 2007
Posts: 3

Posted: Wed Aug 29, 2007 11:48 am    Post subject:

 

I would like to add this:
- The name of the workbook is identical to the message I got.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Aug 31, 2007 6:27 am    Post subject:

 

If the {{If command goes to the "Wrong-Part" then the condition was not true....
I assume your Excel titel is not right...
I have never seen apostrophes (') in Excel titles..

Here a valid title: {{Switch Microsoft Excel - Mappe1

John Krauer, Kra-Tronic Corp.

 

 

 

Osmar Mateus



Joined: 28 Aug 2007
Posts: 3

Posted: Mon Sep 03, 2007 7:17 pm    Post subject: CheckWindow

 

Dear John

Thanks for your help.

I will revise carefully the name of the window and try again.

Osmar Mateus




 

 

 

 

277   Vergleich von String-Variablen

 

Author

Message

Feeble



Joined: 05 Aug 2006
Posts: 2

Posted: Sat Aug 05, 2006 11:21 am    Post subject: Vergleich von String-Variablen

 

Hallo zusammen,

ich möchte zwei globale String-Variablen miteinander vergleichen.
Leider funktioniert es nicht.
Folgend das Script:

Code:

{{If {{GlobStringBeginn} <> 01.01.1900 ;{{MessageBox {{GlobStringBeginn};{{Beep



Die Variable GlobStringBeginn hat definitiv den Wert: 01.01.2007

Die MessageBox in der True-Anweisung sollte folglich aufgehen, was sie nicht tut.

Kann mit jemand helfen?

Vielen Dank für die Hilfe.

Gruß
Norman

 

 

 

Feeble



Joined: 05 Aug 2006
Posts: 2

Posted: Sat Aug 05, 2006 11:51 am    Post subject: Problem gelöst

 

Hallo zusammen,

ich habe das Problem selbst lösen können.
Falls jemand von Euch das gleiche Problem mal haben sollte; hier die Lösung:

Code:

{{If {{GlobStringBeginn} <> "01.01.1900" ;{{MessageBox {{GlobStringBeginn};{{Beep



Bei Datumswerten muß man den zu vergleichenden Wert in " stellen.

Gruß
Norman




 

 

 

 

278   {{ALT {{CTRL {{SHIFT

 

Author

Message

Speedy



Joined: 30 May 2006
Posts: 4

Posted: Tue May 30, 2006 11:46 pm    Post subject: {{ALT {{CTRL {{SHIFT

 

I'm trying v 5.7 test version of the recorder. I can't make {{ALT, {{CTRL or {{SHIFT work. A few years ago I was using the macro recorder without this problem (a previous version), is this an issue with the version or is it because of the test period and it would be getting solved paying for the registry?

Do you have something on this issue? I've been looking at the forum and SW help but no clues about what's happening, it should be working correctly.

Thanks!

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Jun 01, 2006 6:03 pm    Post subject:

 

How do you test these functions ?
One way would be using the Pinball game. There you can use the Space button to play the ball...

John Krauer, Kra-Tronic Corp.

 

 

 

Speedy



Joined: 30 May 2006
Posts: 4

Posted: Tue Jun 06, 2006 12:50 am    Post subject:

 

I was recording a macro to open an application, then get into the menu with an ALT keystroke, but nothing was recorded on the MKR, but I wrote the function at the MACRO CODE tab where the command should be but nothing happend when I play the macro. I've also tried the {{ALT+ and {{ALT- command codes with no luck.

In the settings I don't have the HotKeys on, so this shouldn't be a bug. The language is setted as the OS. I also tried on a different computer but nothing happend.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Jun 06, 2006 8:25 pm    Post subject:

 

According to the help + must be enclosed by braces...

http://www.kratronic.com/tools/recorder/manual/index.html#_Toc120174670 says:

The plus sign (+), caret (^), percent sign (%), tilde (~),parentheses ( ) Brackets ([ ]) and brace ({}). All these characters need to be enclosed by braces. {+},{^},{%},{~},{(},{)},{[},{]},{{},{}}

John Krauer, Kra-Tronic Corp.

 

 

 

Speedy



Joined: 30 May 2006
Posts: 4

Posted: Fri Jul 07, 2006 5:19 pm    Post subject:

 

Yes, I know that the special caracters should be enclosed by braces "{}". But the original question was regarding {{ALT {{CTRL and {{{SHIFT.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Fri Jul 07, 2006 5:55 pm    Post subject:

 

Can you give a small macro example which does not work at your PC ?

John Krauer, Kra-Tronic Corp.

 

 

 

Speedy



Joined: 30 May 2006
Posts: 4

Posted: Wed Jul 26, 2006 8:18 pm    Post subject:

 

Lets say that I'm on Excel and I'm trying to open a document without using the mouse clicks recordings, so I'll be using the menu. The macro would be like this:


{{' Created at: Jul.26.2006, 11:18 (MKR Version: 5.7 )

{{Mouse 1, 1, 360, 9, 0
{{ALT
F
O



Well, when I do this the result I'm having is "FO" on cel A1. Because the {{ALT command is not working like it should be.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Jul 27, 2006 6:09 pm    Post subject:

 

Ahhhhhhhhhhh the normal ALT function combined with a character... Well the manual says:

Key Code

SHIFT +
CTRL (CONTROL) ^
ALT %


Examples: +^h = Shift Control h, +^%{F1} = Shift Control Alt F1

+(EC) = Keep shift down and click E and C. ^%2 = @ (^% represents Alt Gr)

For more ways to enter CTRL, Shift, Alt see the commands {{CTRL, {{Alt and {{Shift in chapter "Adding Commands"

John Krauer, Kra-Tronic Corp.




 

 

 

 

279   Just a question

 

Author

Message

nirious



Joined: 15 Feb 2006
Posts: 8

Posted: Wed Jul 19, 2006 12:41 pm    Post subject: Just a question

 

Is the current mouse and key recorder the final version or is there still being worked on?
If so what are the planned improvements and when will they be available for download?
And will there be a (free) update for the people who have a licenced version?

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu Jul 20, 2006 6:06 pm    Post subject:

 

Well, a software is never final....
There will be further releases. Not as frequently as in the past, because most of the mainly needed functions are implemented.
The next release (planned in cold winter) might contain the following improvements:
- Improved logging (keystrokes AND mouse clicks)
- Debug-window showing all variable-contents during runtime
- Setting Loop start value
- Serial Time converting

It is not planned to change the upgrade policy in future.

John Krauer, Kra-Tronic Corp.




 

 

 

 

280   change mouse position

 

Author

Message

nirious



Joined: 15 Feb 2006
Posts: 8

Posted: Wed Jul 19, 2006 2:01 pm    Post subject: change mouse position

 

Can I change the mouse position without registering a click?

 

 

 

nirious



Joined: 15 Feb 2006
Posts: 8

Posted: Wed Jul 19, 2006 2:32 pm    Post subject:

 

never mind, I found it. should bave spent more time reading the manual




 

 

 

 

281   Findpatern I do not get it?!

 

Author

Message

nirious



Joined: 15 Feb 2006
Posts: 8

Posted: Mon Jul 17, 2006 1:19 pm    Post subject: Findpatern I do not get it?!

 

I have these buttons, they all have the same border.
So instead of having to make a patern for every button separately I thought I'd make one of the buttoncorner and than just change the X value in the generated code afterwards.

But it only finds the patern in the one I created it with. With all other buttons it just donet work
I even took a screenshot and copied my original button onto the second one. It still din't work. I mean, come on, how indentical can you be. It is a copy for gods sake.

So I just changed:

Code:


{{Mouse 1, 1,  320, 359, 1
{{If {{FindPattern 3, -1, -1, 200, 200, 0} = {{True};;{{ShowError}
{{Mouse  1, 1, {{VarFindPatternCoord_X_3}, {{VarFindPatternCoord_Y_3}, 0



into:

Code:


{{'Mouse 1, 1,  320, 359, 1
{{Mouse 1, 1,  180, 359, 1
{{If {{FindPattern 3, -1, -1, 200, 200, 0} = {{True};;{{ShowError}
{{Mouse  1, 1, {{VarFindPatternCoord_X_3}, {{VarFindPatternCoord_Y_3}, 0



Here is the image I test on:


You can test it yourself if you do the findpatern first into the first piece and after that add 160 to the X value of your mouse coordinates.

 

 

 

nirious



Joined: 15 Feb 2006
Posts: 8

Posted: Tue Jul 18, 2006 11:50 am    Post subject:

 

Hmm,

I just tried it a few times over and it didn't work.
Until now, now it seems to work for every button I throw at it.
I have no idea what I'm now doing different in comparison to the other tries

Can you give me some intell in what might have happened.
As far as I know, all the buttons are identical.
With identical I mean the buttons themselves, not he images on them. I am checking a side of button.

Maybe an extra parameter would be nice. A percentual vallue to tell the program that it shouldn't be nagging about that one pixel being different and 9000 pixels being exactly the same. Would it be hard to check this.

I see that you convert the patern to a text file with numbers in it. Can I asume that it is the numbers that are compared to what we see on screen (also converted). if so than the percent option wont be too much of a problem to implement.

greetings,
Nirious

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Jul 18, 2006 5:48 pm    Post subject:

 

Well.... If you look more closely you see that the two pictures are not identically...



Doing lots of calculation to find similar patterns would be timeconsuming...
The PC has to check all start-pixels in the text square... (e.g. 200x600 = 120'000) and for each start pixel all pattern pixels..... e.g. 30x30 = 900 = 108 millions of operations.

John Krauer, Kra-Tronic Corp.

 

 

 

nirious



Joined: 15 Feb 2006
Posts: 8

Posted: Wed Jul 19, 2006 12:37 pm    Post subject: thx

 

Quote:

If you look more closely you see that the two pictures are not identically



Hmm, that is weird. I just did a copy paste
Gives a whole new meaning to the term "copy"

At least now I know what happened.
So no percentage value it is.
Its is funny how with all its processing power a computer can't recognize one picture as being similar to another while the mind of a 2 year old has no poblem with it.

Thank god there is still that one piece of the button that seems to be identical on every copy.




 

 

 

 

282   multiple ASK commands givng same value.

 

Author

Message

imarc



Joined: 10 Jul 2006
Posts: 2

Posted: Mon Jul 10, 2006 2:58 pm    Post subject: multiple ASK commands givng same value.

 

hello New User Here, apologise if im not getting it right but.........

I have these two commands at the begining of my macro

{{Ask Repetitions
{{Ask Subject

Repetitions is used to decide how many times a loop is performed using incvarcounter etc. and Ask subject is used throughout every loop.

However the Ask Subject input seems to overwrite the Ask Repetitons input.
if i output them both using Ask Write they are always the value of the last input.

am i getting something fundamentally wrong?

thanks in Advance. iMarc.

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Jul 11, 2006 5:18 pm    Post subject:

 

Well, you have to add a name for the Ask command..
e.g.
{{AskRep Repetitions
{{AskSub Subject

John Krauer, Kra-Tronic Corp.

 

 

 

imarc



Joined: 10 Jul 2006
Posts: 2

Posted: Tue Jul 11, 2006 6:29 pm    Post subject:

 

ok im an idiot!!

Thank you John, Great program.




 

 

 

 

283   Arbeiten mit Varaiblen

 

Author

Message

Surrendert



Joined: 10 Jul 2006
Posts: 2

Posted: Mon Jul 10, 2006 7:38 pm    Post subject: Arbeiten mit Varaiblen

 

Hi. Kann mir jemand erklären wie ich eine Variable anlege, bei jedem Durchlauf eins hochzähle und diese Zahl z.B. in Word schreibe. Blicke bei den Vars nicht wirklich durch. Danke

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Jul 11, 2006 5:22 pm    Post subject:

 

Hier ein Beispiel:

{{SetVarMeinSpeicher 0
{{Label Start
{{IncVarMeinSpeicher 1
{{If {{VarMeinSpeicher} < 10 ;{{Goto Start;
{{MessageBox Mein Speicher hat nun den Wert: {{VarMeinSpeicher}

John Krauer, Kra-Tronic Corp.




 

 

 

 

284   Why do I have to register to enter a forum contribution ?

 

Author

Message

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Wed Jun 28, 2006 6:54 am    Post subject: Why do I have to register to enter a forum contribution ?

 

Why do I have to register to enter a forum contribution ?

Answer:
Open forums are flooded with spam. Instead of Recorder topics you would find all kind of Viagra, porn and financial spam.
The obligation to register keeps the spam roboters out.

I know registering is a pain in the neck, but spam would be a much larger pain....

John Krauer, Kra-Tronic Corp.




 

 

 

 

285   Maustaste soll gedrückt bleiben

 

Author

Message

Absolute Beginner
Guest




Posted: Sun Jun 04, 2006 7:51 pm    Post subject: Maustaste soll gedrückt bleiben

 

Hallo liebe Leute,
wie ich gesehen habe, sind hier einige deutsche User, wodurch ich euch mein katastrophales Englisch schon mal ersparen kann

Wie schon in der Überschrift gesagt, würde ich gerne wissen, was ich tun muss, damit dem Programm klar wird, dass die Maustaste für z.B. 2 Sekunden gedrückt werden soll.

Würde mich über eure Hilfe sehr freuen!


Darüber hinaus, würde mich interessieren, ob es Einschränkungen in der Demo-Version gibt?

 

 

 

 

Absolute Beginner
Guest




Posted: Sun Jun 04, 2006 7:58 pm    Post subject:

 

also einfach ausgedrückt möchte ich, dass das Programm merkt, dass ich die Maustaste längere Zeit gedrückt halte. Falls das nicht funktioniert, kann mir vielleicht jemand sagen, wie ich dies anders hervorrufe

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Tue Jun 06, 2006 8:16 pm    Post subject:

 

Im Manual (Help) steht:

Maus-Unten-Zeit: Bei Spielen ist es hin und wieder nötig, die Maustaste für längere Zeit zu drücken. Der Befehl {{MouseDownTime erlaubt es diese Zeit zu setzen. Beispiel: {{MouseDownTime 3000. Jeder Mauscklick hält nun die Maustaste für 3 Sekunden unten. {{MouseDownTime 0 stellt die Maus-unten Zeit wieder auf den Normalwert zurück.

Siehe auch:
http://www.kratronic.com/tools-de/recorder/manual/index.html

John Krauer, Kra-Tronic Corp.




 

 

 

 

286   setup cannot continue because.....

 

Author

Message

sumter
Guest




Posted: Thu May 25, 2006 12:21 pm    Post subject: setup cannot continue because.....

 

I use System Mechanic and every time I do I have to reload mouse and key recorder, and each time I reload I get a new entry of recorder. Yesterday I deleted all but the first entry and now I can't reload recorder.

All I get every time is "setup cannot continue because some of the files are out of date on your system. Click OK if you would like setyup wo update these files for you now. You will need to restart Windows before you can run setup again. Click cancel to exit setup without updating system files".

I have clicked oK and rebooted two dozen times and I still keep getting this message. I have run sfc /scannow. I have deleted recorder and downloaded a new program. Nothing works. I keep getting the setup cannot continue message.

 

 

 

 

stargate
Site Admin


Joined: 14 Aug 2005
Posts: 193

Posted: Thu May 25, 2006 4:34 pm    Post subject:

 

See FAQ entry:
http://www.kratronic.com/tools/recorder/faq/faq.htm#_Toc120171352

John Krauer, Kra-Tronic Corp.