What Finder character is a diamond with "?" in it?
What Finder character is a diamond with "?" in it?
- Subject: What Finder character is a diamond with "?" in it?
- From: Brett Conlon <email@hidden>
- Date: Fri, 14 Sep 2007 17:16:24 +1100
Hiya,
The script I wrote to fix Mac names
to be PC compliant is choking on some files. The file names show in the
script as question marks "?" but in the Finder the characters
are black diamonds with a white question mark in it. I've not seen these
characters before. Is this Mac OS X's way of saying it can't display those
characters? The files may have come from another platform.
The error returned is "Can't
make \"FileName? (Colour).eps\" into type string."
The last line of the below snippet of
my code is highlighted when the code stalls with the error:
tell
application
"Finder" to
repeat
with
currItem
in
itemlist
set
currName
to
currItem's
name
set
newname
to
change
myListOfChar
into
myReplacementChar
in
currName
if
newname
is
not
currName
then
Ta muchly,
Cojcolds
_______________________________________________
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