• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: String works, variable that's a string does not.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String works, variable that's a string does not.


  • Subject: Re: String works, variable that's a string does not.
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Thu, 29 Apr 2004 11:30:15 +1000

At 2:43 PM -0700 28/4/04, Michelle Steiner wrote:
On Apr 28, 2004, at 1:38 PM, Lorin Rivers wrote:

Howcum?

Because text returned of a dialog is a unicode string, and the file type and creators require plain old ASCII strings.

"Set text_returned to text_returned as string" will not do it, even though it appears to make the change. here is a work around that works:

<snip>

Michelle, you really love to type.

What's wrong with this: set text_returned to "" & text_returned


--
Malcolm Fitzgerald
Database Manager
The Australian Society of Authors

Promoting and protecting the
professional interests of
Australia's literary creators.

ph: 02 9318 0877 fx: 02 9318 0530 <http://www.asauthors.org>
PO Box 1566 Strawberry Hills NSW 2016
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: String works, variable that's a string does not.
      • From: Michelle Steiner <email@hidden>
References: 
 >String works, variable that's a string does not. (From: Lorin Rivers <email@hidden>)
 >Re: String works, variable that's a string does not. (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: String works, variable that's a string does not.
  • Next by Date: Re: Scripting Adobe Illustrator CS?
  • Previous by thread: Re: String works, variable that's a string does not.
  • Next by thread: Re: String works, variable that's a string does not.
  • Index(es):
    • Date
    • Thread