コード例 #1
0
ファイル: Keynote.py プロジェクト: brainysmurf/asw
    def __init__(self, slideshow_number=None):
        """
        Sets up Keynote so that it uses whichever slideshow throughout
        """
        AppleScriptWrapper.__init__(self, "Keynote")
        if not slideshow_number:
            slideshow_number = 1

        self._edit = []
        """
コード例 #2
0
    def __init__(self, slideshow_number=None):
        """
        Sets up Keynote so that it uses whichever slideshow throughout
        """
        AppleScriptWrapper.__init__(self, "Keynote")
        if not slideshow_number:
            slideshow_number = 1

        self._edit = []
        """
コード例 #3
0
 def extention_of_current_document(self):
     name = AppleScriptWrapper.name_of_current_document(self)
     if name:
         s = re.search(r'.*\.\w{3,4} \((\w{3,4}).*?\)', name)
         if s:
             return s.group(1)
         else:
             return self.default_extension
コード例 #4
0
 def name_of_current_document(self):
     name = AppleScriptWrapper.name_of_current_document(self)
     if name:
         s = re.search(r'(.*)\.\w{3,} \(.*?\)', name)
         if s:
             return s.group(1)
         else:
             return name
コード例 #5
0
ファイル: QuickTime.py プロジェクト: brainysmurf/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, "QuickTime Player")
コード例 #6
0
ファイル: Word.py プロジェクト: imclab/asw
 def __init__(self):
     s = "hi"
     AppleScriptWrapper.__init__(self, "Microsoft Word")
コード例 #7
0
ファイル: TextEdit.py プロジェクト: brainysmurf/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'TextEdit')
コード例 #8
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "iTunes")
コード例 #9
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "System Preferences")
コード例 #10
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Preview")
コード例 #11
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Photo Booth")
コード例 #12
0
ファイル: TextEdit.py プロジェクト: imclab/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'TextEdit')
コード例 #13
0
ファイル: iTunes.py プロジェクト: brainysmurf/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, "iTunes")
コード例 #14
0
ファイル: ProVoc.py プロジェクト: brainysmurf/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, "ProVoc")
コード例 #15
0
ファイル: QuickTime.py プロジェクト: imclab/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, "QuickTime Player")
コード例 #16
0
ファイル: Pages.py プロジェクト: imclab/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Pages")
     self._selection = None
コード例 #17
0
ファイル: Pages.py プロジェクト: brainysmurf/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Pages")
     self._selection = None
コード例 #18
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Firefox")
コード例 #19
0
ファイル: Finder.py プロジェクト: brainysmurf/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Finder")
コード例 #20
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'Safari')
コード例 #21
0
ファイル: Safari.py プロジェクト: brainysmurf/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'Safari')
コード例 #22
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Finder")
コード例 #23
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "ProVoc")
コード例 #24
0
ファイル: Word.py プロジェクト: brainysmurf/asw
 def __init__(self):
     s = "hi"
     AppleScriptWrapper.__init__(self, "Microsoft Word")
コード例 #25
0
ファイル: SystemPreferences.py プロジェクト: brainysmurf/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, "System Preferences")
コード例 #26
0
ファイル: Preview.py プロジェクト: brainysmurf/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Preview")