AXElements / mouse

High Level Mouse Manipulation for Ruby via CGEvents
12 stars 2 forks source link

Add swappable animation functions #4

Open ferrous26 opened 11 years ago

ferrous26 commented 11 years ago

Right now, when you call Mouse.move_to the animation is a straight from start to finish. It would be nice if Mouse.move_to supported an additional argument that matched to an animation function, or perhaps take a block.

Mouse.move_to [10, 10] # default
Mouse.move_to [10, 10], :bezier
Mouse.move_to [10, 10], :wacky
ghost commented 11 years ago

Wacky sounds interesting !