Xafonys Posted April 23, 2009 Posted April 23, 2009 (edited) Hi, I would like to know if it is possible to record a keyboard sequence with AutoIt. I don't want to send keys but to hold them for a certain time. I'm not sure if I'm very clear as I'm french and don't speak very good english... I would like to tell AutoIt to press the key A for like 10 seconds. But I think the hardest part is to record the sequence I need, because it could be A for 6.49 seconds and then K for 2.94seconds etc. I know the software Hot Keyboard Pro can do that but it would be useful for me to do it with AutoIt Thanks for your help Edited April 23, 2009 by Xafonys
bogQ Posted April 23, 2009 Posted April 23, 2009 (edited) Xafonys said: Hi,I would like to know if it is possible to record a keyboard sequence with AutoIt. I don't want to send keys but to hold them for a certain time. I'm not sure if I'm very clear as I'm french and don't speak very good english...I would like to tell AutoIt to press the key A for like 10 seconds. But I think the hardest part is to record the sequence I need, because it could be A for 6.49 seconds and then K for 2.94seconds etc. I know the software Hot Keyboard Pro can do that but it would be useful for me to do it with AutoItThanks for your helpfastest way from help fileOpt("SendKeyDownDelay", 1) ;1 millisecondother way from help file Send()To hold a key down (generally only useful for games) Send("{a down}") ;Holds the A key down Send("{a up}") ;Releases the A keycombinate with sleep() commandSleep(5000) ;five secondsor try forum search to see if there r other solutionsand all that can combinated with _IsPressed and _Timer_Diff Edited April 23, 2009 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) Reveal hidden contents There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.
spudw2k Posted April 23, 2009 Posted April 23, 2009 Have you seen the AutoItMacroGenerator? It comes with the latest ver of SciTE here. AutoItMacroGenerator uses thehook.dll Read this too in case of an antivir issue. Reveal hidden contents Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now