Mikeneedshelp Posted July 6 Posted July 6 Hi! I Really Appreciate everyone's support! I'm usually able to find an answer using the search tool here, but I'm having trouble with this script. I'm trying to hold the 'down' key on my keyboard down for 10 seconds, that triggers when I press the down arrow on my keyboard: I'm not using this function for anything that may be against rules. I'm trying to scroll down my facebook messages to find old messages from 1-2 years ago. I hope somebody can kindly share the script with me. Thank you so much!
Nine Posted July 7 Posted July 7 (edited) Holding down a key (to get repetitions) is a keyboard hardware thing more than a software thing (although there are some exceptions. e.g. ). So in order to get the right result, you could use this : SendTimer("{DOWN}", 3000) Func SendTimer($sChar, $iTime) Local $hTimer = TimerInit() While TimerDiff($hTimer) <= $iTime Send($sChar) WEnd EndFunc Edited July 7 by Nine “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
argumentum Posted July 7 Posted July 7 5 hours ago, Mikeneedshelp said: I'm trying to hold the 'down' key on my keyboard down for 10 seconds With the code above, I'd use "Page down". And I'll have to admit that, I don't get why/how you'd use this to visually find anything. It'd be more practical to just hold the page down key. My 2 cents Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
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