SRD said:Sniping
If you’ve already successfully hidden at least 10 feet from your target, you can make one ranged attack, then immediately hide again. You take a -20 penalty on your Hide check to conceal yourself after the shot.
sukael said:Yes, it does allow you make a ranged attack while hidden, though it doesn't say anything about denying the target Dex to AC.