Don't get it.
Don't get it.
- Subject: Don't get it.
- From: Todd Geist <email@hidden>
- Date: Wed, 13 Dec 2006 18:35:52 -0800
Hello everyone,
I am trying to understand how something works
I have a variable called "my_string". It is a list of one item of
class utxt.
if I push it through text Wrangler like so
tell application "TextWrangler"
set the text of document 1 to my_string
set my_string to the text of document 1 as string
end tell
it comes out as TEXT and works great when I pass it to the
AppleEventData.osax
If however I just try to cast the variable as a String like so
set my_string to my_string as string
it still comes out as TEXT, But the OSAX doesn't like it.
So the question is what is Text Wrangler doing to the string? And
how can I do it without using Text Wrangler?
Any ideas
Todd
Todd Geist
email@hidden
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden