• 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: coerce record to string - does this work in other System languages?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coerce record to string - does this work in other System languages?


  • Subject: Re: coerce record to string - does this work in other System languages?
  • From: Skeeve <email@hidden>
  • Date: Thu, 25 Mar 2010 22:17:51 +0100

Stockly, Ed schrieb:
Yours didn't work for me, but this modification does:
Check out this modification which seems to work:

display dialog to_String(info for POSIX file "/tmp")

on to_String(the_record)
   try
       {a:0} as string
   on error cutoff
       set l to offset of "{" in cutoff
       set r to 3 - ((length of cutoff) - l)
   end try
   try
       the_record as string
   on error the_record
       set the_record to text l thru r of the_record
   end try
   return the_record -- as string
end to_String



_______________________________________________
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/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: coerce record to string - does this work in other System languages? (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: coerce record to string - does this work in other System languages?
  • Next by Date: old script fails AND BUG in Smile 3.5.2 (build 609)
  • Previous by thread: Re: coerce record to string - does this work in other System languages?
  • Next by thread: Re: coerce record to string - does this work in other System languages?
  • Index(es):
    • Date
    • Thread