Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/13/2017 in all areas

  1. This is an small script to Control Android Devices by USB using adb, you can use it with phones with a Cracked Screen or not working Touch Screen. What it Does: - Show your Android Screen on your Desktop. - Allow you to Swipe or Tap on the screen. - Allow you to send BACK button event. - Allow you to send WakeUp event. - Allow you to move in List Menu using Swipe gestures or Mouse Wheel Forward or Backward. - Refresh Screen with Wheel Click(Wheel Down)(To update your device screen on your desktop view). - Allow you to unlock your Device with Pattern only 3 points pattern for now. What it does not: - Complex Unlock Pattern not supported yet I'm working on that. - Complex Swipe gesture not supported yet, only straight lines. - PC Keyboard to write SMS or Email not Supported yet, I'm working on that. - Volume UP or Down not supported yet I will add it soon. - No configuration interface or file yet, keys and actions are pre set on script code. I will change that. What it Requires: - In order to Compile the Script you need 3 files: adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll - In order to use the script without these files or without compile it you need to copy that files to user Temp Dir, or windows Temp dir I mean @TempDir. Keys Used and Notes: - Left Click will tap on the screen. - Keep Left Click down, move the mouse and release it with perform a Swipe operation.(Mouse Drag = Swipe). - Right Click will go back. - Enter on the keyboard will send WakeUp event(Power Button) - Wheel Down will Refresh the screen on your desktop, also F5.(Take last pictures of your android device screen) IMPORTANT: There is an $scale variable on the script that scale down your Phone screenshot image to a good resolution to show on your Desktop, I use 1.5 of scale factor because my phone resolution is 480x800 and my Desktop Screen is 1366x768 and that scale factor is good enough for me.(I will calculate that in the future to make it automatic). IMPORTANT 2: If you feel is very slow feel free to decrease Sleep() values from 400 to 200, that will be faster but you will need to Refresh with Wheel Click after you perform certain actions. Thanks and Credits: UDFs\MouseControl.au3 Base on Low Level Mouse Hook by @_Kurt all credits to him. UDFs\GUICtrlPicPNG.au3 Based on PNG work around by @UEZ from the help file, All credits to him. Kind Regards Alien. AndroidControl.zip
    1 point
  2. Melba23

    Get last active process

    Ascer, I already pointed you to the Forum rules when I locked your first thread - and specifically mentioned the "no gaming" rule - and yet here you are again asking about game interaction. So the thread gets locked again - we take our rules seriously and enforce them rigidly. And you have used up the final element of flex we were prepared to show you. Either follow the rules in future or leave the community - and we will force your departure if necessary. Your choice - please choose wisely. M23
    1 point
  3. In Post#11 remove the GUICtrlSetOnEvent($hUnLock, "ButtonEnable") function so it now does nothing, click "Lock me!" its now disabled and escape doesn't work, now click the "Unlock" button (it does nothing) but if you press escape it will now close. As mentioned above when you click "Lock me!" the focus is still on that disabled button which no longer accepts notifications, you have to change the focus to a non disabled control which will accept notifications.
    1 point
  4. Jos

    Auto Healer

    Yes we have: we updated the forumrules not to discuss game automation anymore so our problem is solved. Please familiarize yourself with these rules. Jos
    1 point
  5. nice, I like bringing you to the darkside
    1 point
  6. @trancexx thank you lady. You're right. I really know all those types of ObjetCreateItnerface But I'm too lazy to set all correct ones (it does not mean that ptr was wrong) but I dont want to go so deep into interfaces documentations. For that I use most of the times ptr type (Also I love working with ptrs and structs...) Kisses for you too (here where our romance starts...) Saludos
    1 point
  7. The general way I circumvent this (but I am admin on my machine) to have a virtual machine (or remote desktop in our datacenter) running where I can keep the screen unlocked and if my laptop gets locked the virtual machine keeps running indepently.
    1 point
  8. if you want to query a remote client, you have to use /node:ClientName and if necessary also /user:userid and /password:pass Local $sClientName = "clientname" Local $sUserID = "userid" ; or $sClientName & "\userid" if is a user of the remote client Local $sPassword = "YourPass" Local $sOutput = "", $STDERR_MERGED = 8 Local $sWMICquery = "wmic /node:" & $sClientName & " /user:" & $sUserID & " /password:" & $sPassword & " csproduct get Name, identifyingnumber /format:value" ; local $sWMICquery = "wmic /node:" & $sClientName & " csproduct get Name, identifyingnumber /format:value" ; using current user's credentials Local $iPID = Run($sWMICquery, "", @SW_HIDE, $STDERR_MERGED) While ProcessExists($iPID) $sOutput &= StdoutRead($iPID) WEnd $sOutput = StringReplace(StringStripWS(StringStripCR($sOutput), 7), @LF, @CRLF) ; remove extra @CR and @LF ClipPut($sOutput) ; result goes to clipboard MsgBox(0, $sClientName, $sOutput)
    1 point
×
×
  • Create New...