curious bug
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.