VixinG Posted May 19, 2013 Share Posted May 19, 2013 Hey I wanted to 'multitask' - register actions in a single window and do the same thing in a different one at the same time. Everything I type should be send to the other window and every mouseclick should be clicked there. This is for educational purposes. No keyloggers and forbidden stuff. I know the rules. I just started and I'm looking for the most efficient way to achieve that. I started with this, but it's not really good idea: #include <Misc.au3> While 1 For $i = 1 To 256 $h = Hex($i,2) If _IsPressed($h) Then ControlSend("[CLASS:Notepad]", "", "Edit1", Chr("0x"&$h)) EndIf Next WEnd It doesn't do what was intended. Are there any similar commands to _IsPressed? Tell me please what functions can I use. [indent=3][/indent] Link to comment Share on other sites More sharing options...
Terenz Posted May 19, 2013 Share Posted May 19, 2013 (edited) Education purpose or not, isn't allowed: Only few keys and check for 256 value isn't few Edited May 19, 2013 by Terenz Nothing is so strong as gentleness. Nothing is so gentle as real strength Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 19, 2013 Moderators Share Posted May 19, 2013 VixinG, I agree with Terenz. Thread locked. 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 Link to comment Share on other sites More sharing options...
Recommended Posts