• 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
curious bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

curious bug


  • Subject: curious bug
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 16 Oct 2003 18:37:17 -0700

I wrote the following script, accidentally omitting "text returned of"

set file_Name to display dialog "Name the file." default answer ""
tell application "Finder"
make new file at the desktop with properties {name:file_Name}
end tell

Instead of throwing an error, it created a file.

--> document file "7Tr" of folder "Desktop" of folder "michelle" of folder "Users" of startup disk of application "Finder"

The file name in the result is a dot, a capital O with a circumflex, a capital Y with an umlaut, and a lower-case r.

On the desktop, it's two Chinese characters (Kanji or Hanja, depending on whether you name them in Japanese or Korean).

--Michelle

--
Support our troops. Bring them home NOW!
_______________________________________________
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: curious bug
      • From: Mr Tea <email@hidden>
    • Re: curious bug
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Re: dropStuff
  • Next by Date: Re: curious bug
  • Previous by thread: Re: FMP container scripting
  • Next by thread: Re: curious bug
  • Index(es):
    • Date
    • Thread