• 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: Struggling with a script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Struggling with a script


  • Subject: Re: Struggling with a script
  • From: Paul Thompson <email@hidden>
  • Date: Tue, 25 Apr 2006 15:35:40 -0400


On 19-Apr-06, at 10:40 AM, Emmanuel wrote:

My guess: your file was written as UTF-16 while it expected ASCII, because you wrote:


write thecontents to f

Write:

write thecontents to f as string

instead.

If you feel like you could use some help regarding Unicode, spend a few seconds in the following page of ours:
<http://www.satimage-software.com/en/unicode_and_applescript.html>


Emmanuel

Hi Emmanuel,

Thank you very much for the help. It appears that my script is working now. The link was an interesting read. I have a question with regards to login/logout hooks. This is the first time I'm going to try one of these, and I was wondering what the best way to save an AppleScript would be to use it? I'm leaning towards saving it as an application, with the "Run Only" box checked, but I was wondering what you and others on the list think. Any gotcha's I should watch out for?

  Thank you,

  Paul
_______________________________________________
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


  • Follow-Ups:
    • Re: Struggling with a script
      • From: Emmanuel <email@hidden>
    • Re: Struggling with a script
      • From: dev_sleidy <email@hidden>
    • Re: Struggling with a script
      • From: Michelle Steiner <email@hidden>
References: 
 >Struggling with a script (From: Paul Thompson <email@hidden>)
 >Re: Struggling with a script (From: Emmanuel <email@hidden>)

  • Prev by Date: Passing variable from javascript to applescript
  • Next by Date: Re: Passing variable from javascript to applescript
  • Previous by thread: Re: Struggling with a script
  • Next by thread: Re: Struggling with a script
  • Index(es):
    • Date
    • Thread