Jump to content

BlackBerry password...


emmanuel
 Share

Recommended Posts

if you have a blackberry, and it gives a password prompt when you connect it, and this annoys you, here's a script to automate clicking that. I have it in startup, so each morning I get one prompt, and it stays in memory ready to pounce on any annoying popups when you plugin.

;bb password
$password = InputBox("Handheld Password Required", "Please enter the password for your handheld.", "", "*", 293, 155, 0,0)

While 1
   If WinWait("Handheld Password Required", "Please enter the password for your handheld.") = 1 Then
      ControlSetText("Handheld Password Required", "Please enter the password for your handheld.", "Edit1", $password)
      Sleep(100)
      ControlClick("Handheld Password Required", "Please enter the password for your handheld.", "Button1")
   EndIf
   Sleep(250)
Wend

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...