Saki Posted November 28, 2013 Posted November 28, 2013 (edited) What I'm trying to do is to do a key hold down as a ControlSend. I got it to work as a send, but I'm not sure how to work it with ControlSend Send("{LEFT down}") Sleep(3000) Send("{LEFT up}") ^ This is the working ControlSend($WinTitle, "", "", "{LEFT down}", 0) Sleep(3000) ControlSend($WinTitle, "", "", "{LEFT up}", 0) This seems to only be sending LEFT once Edited November 28, 2013 by Saki
Danp2 Posted November 28, 2013 Posted November 28, 2013 Can you explain why you need to repeatedly send the left arrow key to a specific control? If you provide a more detailed explanation of what you are trying to accomplish, then perhaps we can recommend another alternative. P.S. This looks awfully similar to your other thread that was locked. Latest Webdriver UDF Release Webdriver Wiki FAQs
Moderators Melba23 Posted November 28, 2013 Moderators Posted November 28, 2013 Saki,I agree with Danp2. Do NOT start a third thread on this - our patience has limits. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts