Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'Bad' characters from AS Studio text fields



Hello,
     I've run into an interesting snag while porting my OS 9 AppleScript-based programs to AS Studio.
     One program my reporters use standardizes "slugs" (story names) and inserts byline coding when stories are created in our central database. In my AS Studio version of this longstanding program, any text that has been entered in an AS studio text field is reported as having "bad characters" by our database. If I hardcode the string in my AS Studio program  and avoid the text fields (set txtByline to "Jim Trebilcock" instead of  set txtByline to contents of text field "txtByline" of window "winStory"), this works fine and the database is happy.
      Question: What is being returned by AS Studio text fields that is NOT being returned by a vanilla AppleScript string? How can I coerce these items out of the byline (and other) strings when read from an AS studio text field?
     Thanks


-- 
email@hidden

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.