The present invention generally relates to a driving tool, such as a nailer, with a solenoid that is operable for causing a driver to be moved into contact with a flywheel, and more particularly to a methodology for adjusting a position of the solenoid.