Last active
December 11, 2015 03:18
-
-
Save ferrous26/4536483 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
finder = AX::Application.finder | |
dock = AX::Application.dock | |
click dock.application_dock_item(title:"Finder") | |
sleep 2 | |
type "\\SHIFT+\\COMMAND+\\G" | |
type "~" | |
click finder.window.button(id: "_NS:48") | |
click finder.window.radio_button(description: "icon view") | |
right_click finder.window.image(title: "Applications") do | |
findermenu = finder.standard_window.menu | |
findermenu.select_menu_item menu.item(title:"Share") | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment