All ranged attacks use Dex for the to-hit roll, but not all ranged weapons have Str for the damage roll (like crossbows or splash weapons, which do flat damage). Dex for to-hit is assumed, but Str for damage must be specified.
Edit: Specifying attacks, rather than weapons.