-
-
Notifications
You must be signed in to change notification settings - Fork 259
Expand file tree
/
Copy pathaetools.po
More file actions
109 lines (96 loc) · 4.09 KB
/
Copy pathaetools.po
File metadata and controls
109 lines (96 loc) · 4.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1990-2016, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 2.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-30 10:44+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../Doc/library/aetools.rst:3
msgid ":mod:`aetools` --- OSA client support"
msgstr ""
#: ../Doc/library/aetools.rst:12
msgid ""
"The :mod:`aetools` module contains the basic functionality on which Python "
"AppleScript client support is built. It also imports and re-exports the core "
"functionality of the :mod:`aetypes` and :mod:`aepack` modules. The stub "
"packages generated by :mod:`gensuitemodule` import the relevant portions of :"
"mod:`aetools`, so usually you do not need to import it yourself. The "
"exception to this is when you cannot use a generated suite package and need "
"lower-level access to scripting."
msgstr ""
#: ../Doc/library/aetools.rst:20
msgid ""
"The :mod:`aetools` module itself uses the AppleEvent support provided by "
"the :mod:`Carbon.AE` module. This has one drawback: you need access to the "
"window manager, see section :ref:`osx-gui-scripts` for details. This "
"restriction may be lifted in future releases."
msgstr ""
#: ../Doc/library/aetools.rst:27
msgid "This module has been removed in Python 3.x."
msgstr ""
#: ../Doc/library/aetools.rst:30
msgid "The :mod:`aetools` module defines the following functions:"
msgstr ""
#: ../Doc/library/aetools.rst:35
msgid ""
"Stores parameters and attributes in a pre-created ``Carbon.AE.AEDesc`` "
"object. ``parameters`` and ``attributes`` are dictionaries mapping 4-"
"character OSA parameter keys to Python objects. The objects are packed using "
"``aepack.pack()``."
msgstr ""
#: ../Doc/library/aetools.rst:43
msgid ""
"Recursively unpacks a ``Carbon.AE.AEDesc`` event to Python objects. The "
"function returns the parameter dictionary and the attribute dictionary. The "
"``formodulename`` argument is used by generated stub packages to control "
"where AppleScript classes are looked up."
msgstr ""
#: ../Doc/library/aetools.rst:51
msgid ""
"Converts a Python keyword argument dictionary ``arguments`` to the format "
"required by ``packevent`` by replacing the keys, which are Python "
"identifiers, by the four-character OSA keys according to the mapping "
"specified in ``keydict``. Used by the generated suite packages."
msgstr ""
#: ../Doc/library/aetools.rst:59
msgid ""
"If the ``arguments`` dictionary contains an entry for ``key`` convert the "
"value for that entry according to dictionary ``edict``. This converts human-"
"readable Python enumeration names to the OSA 4-character codes. Used by the "
"generated suite packages."
msgstr ""
#: ../Doc/library/aetools.rst:64
msgid "The :mod:`aetools` module defines the following class:"
msgstr ""
#: ../Doc/library/aetools.rst:69
msgid ""
"Base class for the proxy used to talk to an application. ``signature`` "
"overrides the class attribute ``_signature`` (which is usually set by "
"subclasses) and is the 4-char creator code defining the application to talk "
"to. ``start`` can be set to true to enable running the application on class "
"instantiation. ``timeout`` can be specified to change the default timeout "
"used while waiting for an AppleEvent reply."
msgstr ""
#: ../Doc/library/aetools.rst:79
msgid ""
"Test whether the application is running, and attempt to start it if not."
msgstr ""
#: ../Doc/library/aetools.rst:84
msgid ""
"Create the AppleEvent ``Carbon.AE.AEDesc`` for the verb with the OSA "
"designation ``code, subcode`` (which are the usual 4-character strings), "
"pack the ``parameters`` and ``attributes`` into it, send it to the target "
"application, wait for the reply, unpack the reply with ``unpackevent`` and "
"return the reply appleevent, the unpacked return values as a dictionary and "
"the return attributes."
msgstr ""