|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
You're right, Scott. Safari returns theURL as Unicode text, and the coercion to text/string, while returning a class of string, actually results in international/styled text. In other words, the text still retains some encoding. Since there are several ways to strip this from the text, here's a selection:
------------------
set {text:keyName} to theURL as text
------------------
set keyName to theURL as string as record as list as string
------------------
set keyName to (theURL as string as record)'s «class ktxt»
------------------
Emmanuel _______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| References: | |
| >Re: Fwd: Validating email address (From: has <email@hidden>) | |
| >Convert URL to text? (From: Scott Dunn <email@hidden>) | |
| >Re: Convert URL to text? (From: kai <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.