Ejemplo n.º 1
0
    def synchronise(self):
        ''' Resets the slideshow to the current slide, synchronsises
        the build counter appropriately '''
        slide = keynote_script.get_current_slide()
        keynote_script.go_to_slide(slide)

        self.current_slide = slide
        self.current_build = self.build_for_slide(slide)
Ejemplo n.º 2
0
    def start_slide_show(self):
        ''' Starts the slideshow; stops all builds. '''
        keynote_script.start_slide_show()
        slide = keynote_script.get_current_slide()
        keynote_script.go_to_slide(slide)

        self.current_slide = slide
        self.current_build = self.build_for_slide(slide)
Ejemplo n.º 3
0
    def start_slide_show(self):
        ''' Starts the slideshow; stops all builds. '''
        keynote_script.start_slide_show()
        slide = keynote_script.get_current_slide()
        keynote_script.go_to_slide(slide)

        self.current_slide = slide
        self.current_build = self.build_for_slide(slide)
Ejemplo n.º 4
0
    def synchronise(self):
        ''' Resets the slideshow to the current slide, synchronsises
        the build counter appropriately '''

        sync_truth_keynote = self.major_version != 6

        if sync_truth_keynote:
            slide = keynote_script.get_current_slide()
            keynote_script.go_to_slide(slide)
            self.current_slide = slide
        else:
            # don't change slide
            slide = self.current_slide
            keynote_script.go_to_slide(slide)

        self.current_build = self.build_for_slide(slide)
Ejemplo n.º 5
0
    def synchronise(self):
        ''' Resets the slideshow to the current slide, synchronsises
        the build counter appropriately '''
        
        sync_truth_keynote = self.major_version != 6

        if sync_truth_keynote:
            slide = keynote_script.get_current_slide()
            keynote_script.go_to_slide(slide)
            self.current_slide = slide
        else:
            # don't change slide
            slide = self.current_slide
            keynote_script.go_to_slide(slide)

        self.current_build = self.build_for_slide(slide)