| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I've written a little applescript that takes the currently playing song name and artist name and writes them to disk
However, I noticed that names with "odd" characters show up oddly, for example, Björk gets saved as Bjsrk
Relevant code:
set current_song to (name of current track) as string set current_artist to (artist of current track) as string set write_to_disk to current_song & " - " & current_artist & return
set fileID to open for access file file_location with write permission set eof of fileID to 0 write write_to_disk to fileID close access fileID
Any suggestions?
write write_to_disk to fileID as string
Emmanuel _______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/mailman//archives/applescript-users
| References: | |
| >Strange character changes (From: "W. Thomas Leroux" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.