How to unlock my broken Iphone?

I have broken my iphone's touch screen(both glass and touch) and i can't enter my password*.Is there anyway to enter my password from my pc or connect the phone with a keyboard directly so i can get my files from it.

*Basically only the I-J-N column is broken and i can type all my password except the number 7

Additional info
Ios 7
Iphone 4

Added (1). PS i only want to get my pictures and my notes from it

The Picture is easy. Simply plug it in and go to the folder where the pictures resides.
My suggestion is to go on Ebay and pick yourself up a replacement screen. Replacing a screen is fairly easy. Watch plenty of Youtube and when you are ready. Have at it.

  • When apple replaces a broken iphone, do you get to keep the old broken one? The back camera on my iPhone 4s broke (just stopped working), so I called Apple and I have an appointment set up to replace the old phone with a brand new one. But, I want to know if when they give me the new phone, will they let me keep the old one? The phone still works fine except for the camera. In fact, it's almost perfect. And obviously I want to sell the old one on ebay to make a boat load.
  • Unlock scroll bar on broken iPhone? Details below? There was rumors going around that if you crack the screen on your iPhone / iPod that the scroll bar to unlock the phone will eventually stop working, is this true? And approximately how long till that happens?
  • Unlock iPhone 4S AT&T baseband 3.0.04 on 6.0.1 with IMEI Unlock? I have iPhone 4S with modem firmware / baseband 3.0.04 running iOS 6.0.1 locked to AT&T, how could I make factory unlock to it?
  • Unlock iPhone 4 difficulty getting an unlock code? I need to get my iPhone unlocked to use with an Australian sim card. I have called Vodafone in Ireland to get this done but they have just tried to call me back and i do not have enough credit on my Irish number to receive the call as i'm in Australia at the moment. I can't perform the unlock procedure through Vodafone online either.