Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 64f9f71

Browse files
committed
Added a note about the new (since 2.0) OSA architecture.
1 parent 3f4c173 commit 64f9f71

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

Mac/Demo/applescript.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,16 @@ <H2>Creating the Python interface module</H2>
9494
<code>_signature</code> which is the default application this class will talk
9595
to (you can override this in various when you instantiate your class, see
9696
<code>aetools.py</code> for details).
97-
<p>
97+
<p>
98+
<blockquote>
99+
Let us do another sidebar. Since MacPython 2.0 this new structure, with packages
100+
per application and submodules per suite, is used. Older MacPythons had a
101+
single level of modules, with uncertain semantics. With the new structure
102+
it is possible for programs to override standard suites, as programs often do.
103+
It is a good idea to convert your own old programs to the new scheme, but if you
104+
really want the old standard suites are still available in
105+
<code>:Mac:Lib:lib-scripting</code>.
106+
</blockquote>
98107

99108
The <a href="applescript/Disk_Copy/Special_Events.py">Special_Events</a>
100109
module is a nice example of a suite module.

0 commit comments

Comments
 (0)