1834, "involuntarily, unconsciously," from automatical (see automatic (adj.)) + -ly (2).
Entries linking to automatically
automatic adj.
"self-acting, moving or acting on its own," 1812 (automatical is from 1580s; automatous from 1640s), from Greek automatos of persons "acting of one's own will;" of things "self-moving, self-acting," used of the gates of Olympus and the tripods of Hephaestus (also "without apparent cause, by accident"), from autos "self" (see auto-) + matos "thinking, animated" (from PIE root *men- (1) "to think").
Of involuntary animal or human actions, from 1748, first used in this sense by English physician and philosopher David Hartley. The meaning "done by self-acting machinery" is by 1850. In reference to a type of firearm, from 1877; specifically of machinery that imitates human-directed action from 1940.
-ly 2
common adverbial suffix, forming from adjectives adverbs signifying "in a manner denoted by" the adjective, Middle English, from Old English -lice, from Proto-Germanic *-liko- (cognates: Old Frisian -like, Old Saxon -liko, Dutch -lijk, Old High German -licho, German -lich, Old Norse -liga, Gothic -leiko); see -ly (1). Cognate with lich, and identical with like (adj.).
Weekley notes as "curious" that Germanic uses a word essentially meaning "body" for the adverbial formation, while Romanic uses one meaning "mind" (as in French constamment from Latin constanti mente). The modern English form emerged in late Middle English, probably from influence of Old Norse -liga.