In fact, it looks like the keyboard is US(?) except for alpha and some other keys (AutoHotKey 1.0.44.08 ). Such windows respond to each keystroke and mouse click as though you had performed it manually, which allows repetitive tasks to be automated with high speed and. The most common activity of a macro is to send simulated keystrokes and mouse clicks to one or more windows. the '-' is recorded '6' (which is the same key, but uppercase). A macro is a series of scripted actions that is 'played' upon demand. Maybe this would need an additional function that receives any other hotkey than those already used and would be able to say which key it is.īy the way, AutoScriptWriter does not record the right keys on my french keyboard (W2000 or XP), e.g. However, it would be (in this case) far better and probably not that difficult to get rid of AutoScriptWriter and directly record the keystrokes inside the recorder script. I'm pretty sure that would interest Bruce ) to work around a bit of mess (there might be a better way though).Īn interesting feature would be to repeat the script N times, N being given by WinDown, N, WinUp. Waits for the Win key to be UP before starting and stopping recording (well, maybe there's already an option for that somewhere. AutoScriptWriter window is minimized only after having pressed the buttons because on my W2000 it doesn't work otherwise. Mouse moves are disabled but can be re-enabled if needed. The script is automatically recorded in script_written.ahk, and loaded. You can also then record a new script simply by re-pressing Win-F7 and so on. Modify the AutoScpritWriter path if needed, save this script to recorder.ahk for example, launch it, then go to notepad (or excel or.), start recording with Win-F7, type your keys, stop with Win-F8, and use the macro with Win-F9 and you're done! ControlClick, Button8, AutoScriptWriter II window text buttonĬontrolClick, Button9, AutoScriptWriter II don't record Mouse movesĬontrolClick, Button1, AutoScriptWriter II press record buttonĬontrol, Show, Edit2, AutoScriptWriter II activate edit fieldĬontrolGetText, RecordedCode, Edit2, AutoScriptWriter II get the codeįileAppend, %RecordedCode%, script_written.ahk Here's BoBo's script, just modified a little in order to be more like ProKey:ĪSWPath = C:\AutoHotkey\AutoScriptWriter\AutoScriptWriter.exe I'm quite new to AHK, but it's really awesome!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |