• 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
asc ascii file extensions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

asc ascii file extensions


  • Subject: asc ascii file extensions
  • From: James Roberts <email@hidden>
  • Date: Fri, 25 Mar 2011 12:16:23 -0400

I did a quick search of the list and didn’t find anything related to this. If I missed something I apologize and please send me a link to the thread.

I have a couple of scripts that manipulate files base on there extensions. I noticed that a couple of files failed to process every time.

What I found confuses me.

tell application "Finder"
get name extension of document file "test.txt" of folder "tmp" of home
--> "txt"
end tell

Result:

"txt"


tell application "Finder"
get name extension of document file "test.asc" of folder "tmp" of home
--> ""
end tell

Result:

""

tell application "Finder"
get name extension of document file "test.ascii" of folder "tmp" of home
--> ""
end tell

Result:

""
 Is this a known problem or am I missing something (most likely:-)? This happens on both 10.6.7 and 10.5.8


exjimmy

 _______________________________________________
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: asc ascii file extensions
      • From: "Mark J. Reed" <email@hidden>
    • Re: asc ascii file extensions
      • From: KOENIG Yvan <email@hidden>
  • Prev by Date: Re: Naming a duplicated file
  • Next by Date: Re: Naming a duplicated file
  • Previous by thread: Re: Zippin'
  • Next by thread: Re: asc ascii file extensions
  • Index(es):
    • Date
    • Thread