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

Skip to content

Commit 880be6f

Browse files
committed
Use the new, now preferred, form of referring to object specifiers (through
the object, not the module).
1 parent 8475d02 commit 880be6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Mac/OSXResources/app/Resources/English.lproj/Documentation

Mac/OSXResources/app/Resources/English.lproj/Documentation/scripting.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h1>Controlling other Applications from MacPython</h1>
2121
import Finder
2222

2323
f = Finder.Finder()
24-
print f.get(Finder.window(1).name)
24+
print f.get(f.window(1).name)
2525
</pre></tt></blockquote>
2626

2727
<p>is identical to the following piece of AppleScript:</p>

0 commit comments

Comments
 (0)