AppleScript Info

November 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Oct   Dec

contact: rob at donotsell.net

 Saturday, November 30, 2002
Xenophaquinox 1.0

Xenophaquinox, which was created with AppleScript Studio, is an intriguing puzzle game for OS X that can be played in both one and two person modes. Price is 10 dollars and it requires OS X 10.1.2 or higher.
10:47:19 AM    



Tip: Obtaining a usable POSIX path
When using 'POSIX path' from Standard Additions, the returned path does not escape spaces in folder and file names. This makes the path unsuitable for use in shell scripts. I've removed the enclosing quotes from each result (below) for better readability. Both results are returned as strings. Tested in OS X 10.2.2.

Example:
POSIX path of (choose folder)
--> /Users/someUser/Desktop/Virex Reports/

This can be overcome by using 'quoted form of POSIX path'.

quoted form of POSIX path of (choose folder)
--> '/Users/someUser/Desktop/Virex Reports/'

The difference is subtle but important. Thanks to Dan Shockley for the tip.
8:51:26 AM