TID's in Snow Leopard
TID's in Snow Leopard
- Subject: TID's in Snow Leopard
- From: Luther Fuller <email@hidden>
- Date: Sun, 30 Aug 2009 08:40:40 -0500
Here is a small snippet of code I've been using for years without error in 10.4 and 10.5 ...
set x to "" set AppleScript's text item delimiters to {tab} set y to (text item 1 of x)
If x = "", then y = "" without error. But, in 10.6 the last line returns the error message
Can't get text item 1 of "".
It took me more than an hour to find this one line of code.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden