Demo entry 6350544

python

   

Submitted by anonymous on Mar 13, 2017 at 00:03
Language: Python 3. Code size: 149 Bytes.

from Foundation import *
ascrpt = 'tell app "Finder" to activate'
s = NSAppleScript.alloc().initWithSource_(ascrpt)
s.executeAndReturnError_(None)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).