From: Bob J. <jac...@us...> - 2008-03-31 03:35:40
|
Update of /cvsroot/jmri/scripts/jython In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv27609 Modified Files: AppleScript.py Log Message: friendlier org Index: AppleScript.py =================================================================== RCS file: /cvsroot/jmri/scripts/jython/AppleScript.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AppleScript.py 31 Mar 2008 03:32:27 -0000 1.1 --- AppleScript.py 31 Mar 2008 03:35:36 -0000 1.2 *************** *** 21,25 **** # to do, but it's a good example. ! script = "tell application \"Finder\"\n make new folder at desktop\nend tell\n" # Create an NSAppleScript object to execute our script --- 21,28 ---- # to do, but it's a good example. ! script = \ ! "tell application \"Finder\"\n"+ \ ! " make new folder at desktop\n"+ \ ! "end tell\n" # Create an NSAppleScript object to execute our script |