| Article: |
Using Python and AppleScript Together | |
| Subject: | Shorter alias | |
| Date: | 2007-05-10 09:57:22 | |
| From: | noahgift | |
|
Response to: Shorter alias
|
||
|
I have been abducted by python brainwashing experts and now I always am forced to use the zen of python in everything I do.
|
||
Showing messages 1 through 2 of 2.




app(u'/Applications/DiskWarrior.app')...
u should declare a variable:
dw=app('DiskWarrior')
dw.activate(timeout=3600)
dw.disk['main'].rebuild(replacing=k.yes_,
timeout=3600)
dw.quit(timeout=3600)