• 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
What Finder character is a diamond with "?" in it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: What Finder character is a diamond with "?" in it?
      • From: "Steven D. Majewski" <email@hidden>
  • Prev by Date: Re: A Different Rsync Question
  • Next by Date: Re: What Finder character is a diamond with "?" in it?
  • Previous by thread: Re: Paths that work fine from AS don't work when launched from the command line
  • Next by thread: Re: What Finder character is a diamond with "?" in it?
  • Index(es):
    • Date
    • Thread