Macro recorder
Started by
polyethene
, Sep 28 2007 04:35 PM
56 replies to this topic
Similar to AutoScriptWriter with additional features such as recording mouse movements (relative or absolute), timing intervals between actions and combining send keys i.e. automatically converting 'aaaaaaa' to {a 7}, and yet more to come. This is an alpha release.
Download
Download
#1
-
Posted 28 September 2007 - 04:35 PM
autohotkey.com/net Site Manager
Contact me by email (polyethene at autohotkey.net) or message tidbit
nice. I think this will help quite a bit.
Can you make it also generate ControlSend when possible?
Can you make it also generate ControlSend when possible?
#2
-
Posted 28 September 2007 - 04:55 PM
Where I can get Anchor.ahk ?
When I try to launch Recorder.ahk, it says: #include file "Anchor.ahk" cannot be opened
Or why this won't work :S ?
When I try to launch Recorder.ahk, it says: #include file "Anchor.ahk" cannot be opened
Or why this won't work :S ?
#4
-
Posted 29 September 2007 - 02:37 PM
I found anchor.ahk on the net, then had to find RegExMatchAll.ahk, which then caused error messages duplicate labels with guiclose andGuiSize, followed by error message "call to nonexistant function, at which point I realized author may be humoring himself with newbies.
#5
-
Posted 29 September 2007 - 03:24 PM
AHK v 1.0.47.01
XP Pro SP2
German Keyboard Layout
XP Pro SP2
German Keyboard Layout
--------------------------- Recorder.ahk --------------------------- [color=red]Error[/color]: "¬" is not a valid key name. The current thread will exit. Line# 209: { 211: Loop,2 211: { 212: Loop,Parse,keys,,, 213: if (state == " up" && InStr(keys_mouse, A_LoopField)) 214: Continue 215: Else ---> 215: Hotkey,*~%A_LoopField%%state%,LogKey,on ? "On" : "Off" 216: state := up 217: } 218: } 221: { 223: Loop,cch * 2 224: str .= Chr(*(lpch - 1 + A_Index)) 225: if code = 0 --------------------------- OK ---------------------------
#7
-
Posted 29 September 2007 - 06:50 PM
On Exitapp, ask if the user wants to save,that bugged me SO much on the old AutoScriptWriter
#9
-
Posted 29 September 2007 - 09:39 PM
#11
-
Posted 29 September 2007 - 10:23 PM
I've translated the Gui text to German, using/including simple text files named with its Telco country code*. Wouldn't it make sense to assign the GUIs default language (and keyboard layout pattern) to the one which is used/set at the OS'es regional settings?
#Include 49.txt . . . Gui, Add, GroupBox, vsec1 Section ym w200 r6.5, %[color=blue]GroupBox1[/color]% Gui, Add, CheckBox, vgui_sleep xp+15 yp+25 Checked%gui_sleep%, %[color=blue]CheckBox1[/color]% Gui, Add, CheckBox, vgui_window Checked%gui_window%, %[color=blue]CheckBox2[/color]% Gui, Add, CheckBox, vgui_ctrl Checked%gui_ctrl%, %[color=blue]CheckBox3[/color]% Gui, Add, CheckBox, vgui_keyboard Checked%gui_keyboard%, %[color=blue]CheckBox4[/color]% Gui, Add, CheckBox, vgui_clicks Checked%gui_clicks%, %[color=blue]CheckBox5[/color]% Gui, Add, CheckBox, vgui_movements Checked%gui_movements% gMov, %[color=blue]CheckBox6[/color]% Gui, Add, Edit, vgui_moveinte xp+86 yp-2 w50 Limit4 Gui, Add, UpDown, vgui_movint Range100-5000, %gui_movint% Gui, Add, CheckBox, vgui_moverel xp+56 yp+2 Checked%gui_moverel%, %[color=blue]CheckBox7[/color]% Gui, Add, GroupBox, vsec2 xs w200 r3, %[color=blue]GroupBox2[/color]% Gui, Add, Text, vlbl1 xp+15 yp+25, %[color=blue]Text1[/color]% Gui, Add, Hotkey, vgui_start xp+40 yp-2 w128 Limit1 gHotkey, %gui_start% Gui, Add, Text, vlbl2 xp-40 yp+27, %[color=blue]Text2[/color]% Gui, Add, Hotkey, vgui_stop xp+40 yp-2 w128 Limit1 gHotkey, %gui_stop% Gui, Add, Button, vsave xm yp+10 w94 Disabled gSave -Wrap, %[color=blue]Button1[/color]% Gui, Add, Button, vclear xp+230 w55 Disabled gClear, %[color=blue]Button2[/color]% Gui, Add, Button, vlbl3 xp+65 w55 Default gStart, %[color=blue]Button3[/color]%44.txt (English)
GroupBox1 = Recording options GroupBox2 = Hotkeys CheckBox1 = &Time intervals CheckBox2 = &Window actions CheckBox3 = &Use control commands CheckBox4 = &Keyboard actions CheckBox5 = Mouse c&licks CheckBox6 = &Movements CheckBox7 = Rel Text1 = S&tart: Text2 = St&op: Button1 = &Save As... Button2 = &Clear Button3 = Sta&rt49.txt (Deutsch)
GroupBox1 = Aufnahmeoptionen GroupBox2 = HotKey CheckBox1 = &Zeitintervale CheckBox2 = &Fensteraktionen CheckBox3 = &Control-Befehle CheckBox4 = &Tastaturaktionen CheckBox5 = &Mausklicks CheckBox6 = &Bewegungen CheckBox7 = Rel Text1 = St&art: Text2 = St&op: Button1 = &Speichern unter... Button2 = Z&urücksetzen Button3 = Sta&rtHuh, have forgotten to include the tooltip messages :shock:. Coming soon ...
#13
-
Posted 29 September 2007 - 11:17 PM
Wunderbar! I took your translations and put it into CSV format, when you have the time could you please fill in the missing ones:
Any other translations will be much appreciated. German support will be added in v0.11a.
lang = ( en,de ;,fr,es,it Recorder, Recording options,Aufnahmeoptionen &Time intervals,Aufnahmeoptionen &Window actions,&Zeitintervale &Use control commands,&Control-Befehle &Keyboard actions,&Tastaturaktionen Mouse c&licks,&Mausklicks &Movements,&Bewegungen Rel, Hotkeys,&Fensteraktionen S&tart:,St&art: St&op:,St&op: &Save As...,&Speichern unter... &Clear,Z&urücksetzen Sta&rt,Sta&rt by, Macro, Save As..., AutoHotkey Scripts, Recording macro...`nPress $1 to stop., "Loading script, please wait...","" Save script, Would you like to save the current script before closing?, )
Any other translations will be much appreciated. German support will be added in v0.11a.
#14
-
Posted 29 September 2007 - 11:41 PM
autohotkey.com/net Site Manager
Contact me by email (polyethene at autohotkey.net) or message tidbit
lang = ( en,de ;,fr,es,it Recorder,Rekorder Recording options,Aufnahmeoptionen &Time intervals,&Zeitintervalle &Window actions,&Fensteraktionen &Use control commands,&Control-Befehle &Keyboard actions,&Tastaturaktionen Mouse c&licks,&Mausklicks &Movements,&Bewegungen Rel,Rel Hotkeys,Hotkeys S&tart:,St&art: St&op:,St&op: &Save As...,&Speichern unter... &Clear,Z&urücksetzen Sta&rt,Sta&rt by, von Macro,Makro Save As...,Speichern unter... AutoHotkey Scripts,AutoHotkey Scripts Recording macro...`nPress $1 to stop.,Makroaufzeichnung...`nBeenden mit $1 "Loading script, please wait...","Lade Skript, bitte warten..." Save script,Skript speichern Would you like to save the current script before closing?,Vor Beenden speichern? )Btw. I'd replace 'Start' and 'Clear' on-the-fly (@ same pos&size) and vice versa, to prevent overlappings of those buttons at fixed pos, based on their different size if using another language eg.
German (Start=5/Zurücksetzen=12)
English (start=5/clear=5)
German special keys: °,^,!,",§,`$,`%,&,/,(,),=,?,``,*,',;,:,_,>,<,€,@,|,.,#,-,~,+,[,],{,},;ö,ä,ü
#15
-
Posted 30 September 2007 - 12:40 AM