Hi all!
Can you confirm if this works?
word -1 of (do shell script "curl http://checkip.dyndns.org/ | grep 'Current IP Address'")
And, as a curiosity, this code, too (I recently had some problems with “word” concept when working with unicode text, and I’d like to know if a coercion to string solves the problem…):
set myIP to characters 1 thru -2 of (words 31 thru 32 of ¬
((do shell script "curl [url=http://checkip.dyndns.org/)]http://checkip.dyndns.org/")[/url] as international text) as text) as text
Cheers…