Class: Osaka::Keynote
Instance Attribute Summary
#control
Instance Method Summary
collapse
#activate, #close, #close_dialog_sheet_with_dont_save, #copy, #create_dialog, #create_document, #cut, #do_and_wait_for_new_window, #duplicate, #duplicate_and_close_original, #duplicate_available?, #focus, #get_info, #initialize_copy, #new_document, #open, #paste, #print_dialog, #quit, #raise_error_on_open_standard_windows, #running?, #save, #save_as, #save_pops_up_dialog?, #select_all, #select_file_from_open_dialog, #wait_for_application_to_quit, #wait_for_save_dialog_and_save_file, #wait_for_window_and_dialogs_to_close
Constructor Details
Returns a new instance of Keynote.
10
11
12
|
# File 'lib/osaka/keynote.rb', line 10
def initialize
super "Keynote"
end
|
Instance Method Details
#create_print_dialog(location) ⇒ Object
14
15
16
|
# File 'lib/osaka/keynote.rb', line 14
def create_print_dialog(location)
KeynotePrintDialog.new(control.name, at.window("Print"))
end
|
#light_table_view ⇒ Object
23
24
25
26
27
|
# File 'lib/osaka/keynote.rb', line 23
def light_table_view
if control.exists?(at.("Light Table").(1).("View").(1))
control.click(at.("Light Table").(1).("View").(1))
end
end
|
#select_all_slides ⇒ Object
18
19
20
21
|
# File 'lib/osaka/keynote.rb', line 18
def select_all_slides
light_table_view
select_all
end
|